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

Editing GroundMaterial

Jump to: navigation, search

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 is an option for a [[Material]] that allows you to set the ground texture.
+
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 ''<fileName or URL>''
+
   texture ''<file name>''
 
  end
 
  end
 
|}
 
|}
Valid parameters for groundmaterial are:
+
valid parameters for a Material are:
{|{{Prettytable}}
+
<properties>
|-
+
name=name used to define that its a GroundMaterial
| {{Hl3}} |'''Parameter'''
+
texture=set the texture (must be .png but don't include the extension)
| {{Hl3}} |'''Description'''
+
</properties>
|-
+
| '''name''' || name GroundMaterial must be used as name for to work.
+
|-
+
| '''texture''' || set the texture file, either a filename (without .png extension) or URL eg. <nowiki>http://server.name/path/to/file</nowiki>
+
|}
+
 
+
[[Category:Map Making]]
+
[[Category:Map Objects]]
+

Please note that all contributions to BZFlagWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BZFlagWiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Templates used on this page: