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.
World (object): Difference between revisions
 add freeCtfSpawns, perhaps this page needs several other options, such as waterLevel.  I think more changes to this page are in order.  | 
				|||
| Line 9: | Line 9: | ||
   size 400.0  |    size 400.0  | ||
   flagHeight 10.0  |    flagHeight 10.0  | ||
  freeCtfSpawns  | |||
  end  |   end  | ||
|}  | |}  | ||
| Line 17: | Line 18: | ||
flagHeight=defines the height in Z of the standard flagpole.  | flagHeight=defines the height in Z of the standard flagpole.  | ||
noWalls=removes the default outer stone walls from the map.  | noWalls=removes the default outer stone walls from the map.  | ||
freeCtfSpawns=Players do not spawn at the base, after a flag capture.  | |||
</properties>  | </properties>  | ||
Revision as of 02:53, 19 May 2008
A World object is a BZW map structure that defines various options for the map.
Code
The code for a world object is as follows
world name example_world size 400.0 flagHeight 10.0 freeCtfSpawns end  | 
Valid parameters for a world object are <properties> name=the name of the map, generally unused. size=the size of the outer world walls from the center of the map to each wall. The default is 400 world units, providing a world 800 units across. flagHeight=defines the height in Z of the standard flagpole. noWalls=removes the default outer stone walls from the map. freeCtfSpawns=Players do not spawn at the base, after a flag capture. </properties>
The world object can only be specified once in a map.
History
The world object was added in v1.10.
Editor Support
The world object is only fully supported by the BZWTools blender plug-in.