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

From BZFlagWiki
Jump to navigation Jump to search
remove incorrect info in "noWalls" that I had added last week. It appears that noWalls doesnt work at all.
Undo revision 4632 by 141.158.90.103 (Talk)
Line 17: Line 17:
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.
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.
flagHeight=defines the height in Z of the standard flagpole.
noWalls=removes the default outer stone walls  
noWalls=removes the default outer stone walls (and the radar signature of the wall), from the map. This is different than "set _wallHeight 0", which leaves the radar alone.
freeCtfSpawns=after a team-flag is captured, players spawn randomly,  not at the base.
freeCtfSpawns=after a team-flag is captured, players spawn randomly,  not at the base.
</properties>
</properties>

Revision as of 13:19, 23 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 (and the radar signature of the wall), from the map. This is different than "set _wallHeight 0", which leaves the radar alone. freeCtfSpawns=after a team-flag is captured, players spawn randomly, not at the base. </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.