This wiki is archived and useful information is being migrated to the main bzflag.org website
Editing WaterLevel
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: | ||
− | |||
A waterLevel object is a [[BZW]] map structure that defines a plane of water that spans the entire map. This water plane is deadly to all tanks that cross it. | A waterLevel object is a [[BZW]] map structure that defines a plane of water that spans the entire map. This water plane is deadly to all tanks that cross it. | ||
==Code== | ==Code== | ||
The code for a waterLevel object is as follows | The code for a waterLevel object is as follows | ||
− | + | ||
− | + | ||
waterLevel | waterLevel | ||
name example_waterlevel | name example_waterlevel | ||
height -1.0 | height -1.0 | ||
end | end | ||
− | + | ||
Valid parameters for a waterLevel object are: | Valid parameters for a waterLevel object are: | ||
− | + | *name : the name of the water level, generally unused. | |
− | + | *height : the value in world units of the water. Values less then 0 turn the water off. No water is the default. | |
− | + | *materials : the water object will take any valid [[Materials]] parameter and use them to override it's default look. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
The waterLevel object can only be specified once in a map. | The waterLevel object can only be specified once in a map. | ||
==Appearance== | ==Appearance== | ||
− | + | The water created with the water level is light blue in color by default and will cover the entire world boundry. | |
+ | [[image:Box_water.jpg]] | ||
+ | |||
==History== | ==History== | ||
The options object was added in [[BZFlag 2.0.0|v2.0.0]]. | The options object was added in [[BZFlag 2.0.0|v2.0.0]]. | ||
==Editor Support== | ==Editor Support== | ||
− | The | + | The options object is only fully supported by the [[BZWTools]] blender plug-in. |
− | [[Category: | + | [[Category:Map_making]] |
− | [[Category: | + | [[Category:Map_Objects]] |