This wiki is archived and useful information is being migrated to the main bzflag.org website
Editing GroundMaterial
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The administrator who locked it offered this explanation: Archived wiki
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | GroundMaterial | + | GroundMaterial allows you to set the texture of the ground to anything you would like it to be. |
==Code== | ==Code== | ||
Line 7: | Line 7: | ||
material | material | ||
name GroundMaterial | name GroundMaterial | ||
− | texture ''< | + | 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) | |
− | + | </properties> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |