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
Win Xp (talk | contribs)
No edit summary
Line 1: Line 1:
GroundMaterial allows you to set the texture of the ground to anything you would like it to be.
GroundMaterial is a option for a [Material] that allows you to set the ground texture to any local, or hosted texture.


==Code==
==Code==
Line 7: Line 7:
  material
  material
   name GroundMaterial
   name GroundMaterial
   texture ''<file name>''
   texture ''<file name (can be local (for example, 'caution.png), or hosted, with an http:// path.)>''
  end
  end
|}
|}

Revision as of 00:59, 13 February 2008

GroundMaterial is a option for a [Material] that allows you to set the ground texture to any local, or hosted texture.

Code

To utilize GroundMaterial in your map, first it must be defined:

material
 name GroundMaterial
 texture <file name (can be local (for example, 'caution.png), or hosted, with an http:// path.)>
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 you don't need to include the extension for local textures) </properties>