This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "WaterLevel"
From BZFlagWiki
m (Category:Map_making to Category:Map Making) |
m (depluralize link) |
||
Line 13: | Line 13: | ||
*name : the name of the water level, generally unused. | *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. | *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 : the water object will take any valid [[Material]]s 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 | + | The water created with the water level is light blue in color by default and will cover the entire world boundary. |
[[image:Box_water.jpg]] | [[image:Box_water.jpg]] | ||
Line 25: | Line 25: | ||
==Editor Support== | ==Editor Support== | ||
− | The | + | The WaterLevel object is only fully supported by the [[BZWTools]] blender plug-in. |
[[Category:Map Making]] | [[Category:Map Making]] | ||
[[Category:Map Objects]] | [[Category:Map Objects]] |
Revision as of 23:19, 12 March 2007
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.
Contents
Code
The code for a waterLevel object is as follows
waterLevel name example_waterlevel height -1.0 end |
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.
Appearance
The water created with the water level is light blue in color by default and will cover the entire world boundary.
History
The options object was added in v2.0.0.
Editor Support
The WaterLevel object is only fully supported by the BZWTools blender plug-in.