Difference between revisions of "World (object)"

From BZFlagWiki
Jump to: navigation, search
m (World(object) moved to World (object): Picky me, I want a space.)
m (Category:Map_making to Category:Map Making)
Line 3: Line 3:
 
==Code==
 
==Code==
 
The code for a world object is as follows
 
The code for a world object is as follows
 
+
{|
 +
|
 
  world
 
  world
 
   name example_world
 
   name example_world
Line 9: Line 10:
 
   flagHeight 10.0
 
   flagHeight 10.0
 
  end
 
  end
 
+
|}
 
Valid parameters for a world object are
 
Valid parameters for a world object are
 
*'''name '''; the name of the map, generally unused.
 
*'''name '''; the name of the map, generally unused.
Line 23: Line 24:
 
The world object is only fully supported by the [[BZWTools]] blender plug-in.
 
The world 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 20:12, 11 March 2007

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
end

Valid parameters for a world object are

  • 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.

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.