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
mNo edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
valid parameters are: | valid parameters are: | ||
<properties> | <properties> | ||
name=name used to | 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> | texture=set the texture file, either a filename (without .png extension) or URL eg. <nowiki>http://server.name/path/to/file</nowiki> | ||
</properties> | </properties> | ||
Revision as of 16:30, 6 March 2008
GroundMaterial is an option for a Material that allows you to set the ground texture to any local, or hosted texture.
Code
To utilize GroundMaterial in your map, first it must be defined:
material name GroundMaterial texture <fileName or URL> end |
valid parameters are: <properties> 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 </properties>