Difference between revisions of "GroundMaterial"

From BZFlagWiki
Jump to: navigation, search
m
Line 13: Line 13:
 
<properties>
 
<properties>
 
name=name used to define that its a GroundMaterial
 
name=name used to define that its a GroundMaterial
texture=set the texture (must be .png but don't include the extension)
+
texture=set the texture (must be .png but you don't need to include the extension for local textures)
 
</properties>
 
</properties>

Revision as of 00:55, 13 February 2008

GroundMaterial allows you to set the texture of the ground to anything you would like it to be.

Code

To utilize GroundMaterial in your map, first it must be defined:

material
 name GroundMaterial
 texture <file name>
end

valid parameters for a Material are:

name name used to define that its a GroundMaterial
texture set the texture (must be .png but you don't need to include the extension for local textures)