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

GroundMaterial

From BZFlagWiki
Revision as of 00:55, 13 February 2008 by 99.240.251.108 (Talk)

Jump to: navigation, search

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)