This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "GroundMaterial"
From BZFlagWiki
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 a ground anything u would like it to be. |
==Code== | ==Code== | ||
+ | To put a GroundMaterial in your map, first it must be defined: | ||
+ | {| | ||
+ | | | ||
material | material | ||
name GroundMaterial | name GroundMaterial | ||
texture file name | texture file name | ||
end | end | ||
+ | |} | ||
+ | valid parameters for a Material are: | ||
+ | <properties> | ||
+ | name=name used to define that its a GroundMaterial | ||
+ | texture=set the texture (must be .png but don't include the extension) |
Revision as of 03:55, 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) |