GroundMaterial

From BZFlagWiki
Jump to: navigation, search

GroundMaterial is an option for a Material that allows you to set the ground texture.

Code[edit]

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