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 1: Line 1:
A GroundMaterial is used to make the texture of a ground anything u would like it to be.
+
A GroundMaterial is used to make the texture of the ground anything u would like it to be.
  
 
==Code==
 
==Code==

Revision as of 04:03, 30 September 2007

A GroundMaterial is used to make the texture of the 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)