This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.
GroundMaterial: Difference between revisions
Jump to navigation
Jump to search
added categories |
improved display of content |
||
| Line 10: | Line 10: | ||
end | end | ||
|} | |} | ||
Valid parameters for groundmaterial are: | |||
{|{{Prettytable}} | |||
name | |- | ||
texture | | {{Hl3}} |'''Parameter''' | ||
| {{Hl3}} |'''Description''' | |||
|- | |||
| '''name''' || name GroundMaterial must be used as name for to work. | |||
|- | |||
| '''texture''' || set the texture file, either a filename (without .png extension) or URL eg. <nowiki>http://server.name/path/to/file</nowiki> | |||
|} | |||
[[Category:Map Making]] | [[Category:Map Making]] | ||
[[Category:Map Objects]] | [[Category:Map Objects]] | ||
Latest revision as of 17:58, 31 January 2017
GroundMaterial is an option for a Material that allows you to set the ground texture.
Code
To utilize GroundMaterial in your map, first it must be defined:
material name GroundMaterial texture <fileName or URL> end |
Valid parameters for groundmaterial are:
| Parameter | Description |
| name | name GroundMaterial must be used as name for to work. |
| texture | set the texture file, either a filename (without .png extension) or URL eg. http://server.name/path/to/file |