This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "GroundMaterial"

From BZFlagWiki
Jump to: navigation, search
Line 5: Line 5:
 
{|
 
{|
 
|
 
|
material
+
material
 
   name GroundMaterial
 
   name GroundMaterial
 
   texture file name
 
   texture file name
end
+
end
 
|}
 
|}
 
valid parameters for a Material are:
 
valid parameters for a Material are:

Revision as of 03:56, 30 September 2007

A GroundMaterial is used to make the texture of a ground anything u would like it to be.

Code

To put a 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 don't include the extension)