This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

GroundMaterial: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
A GroundMaterial is used to make the texture of the ground anything u would like it to be.
GroundMaterial allows you to set the texture of the ground to anything you would like it to be.


==Code==
==Code==
To put a GroundMaterial in your map, first it must be defined:
To utilize GroundMaterial in your map, first it must be defined:
{|
{|
|
|
Line 14: Line 14:
name=name used to define that its a GroundMaterial
name=name used to define that its a GroundMaterial
texture=set the texture (must be .png but don't include the extension)
texture=set the texture (must be .png but don't include the extension)
</properties>

Revision as of 11:59, 30 September 2007

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: <properties> name=name used to define that its a GroundMaterial texture=set the texture (must be .png but don't include the extension) </properties>