Difference between revisions of "GroundMaterial"

From BZFlagWiki
Jump to: navigation, search
(added categories)
Line 15: Line 15:
 
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>
 +
 +
[[Category:Map Making]]
 +
[[Category:Map Objects]]

Revision as of 01:55, 1 December 2016

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 are:

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