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.
Base: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
SpazzyMcGee (talk | contribs)  | 
				SpazzyMcGee (talk | contribs)  | 
				||
| Line 2: | Line 2: | ||
==Code==  | ==Code==  | ||
The code for a   | The code for a base object is as follows  | ||
  base  |   base  | ||
Revision as of 00:19, 20 February 2007
A base is a BZW map object that defines a box with the specific properties of being a base for capture the flag. In most circumstances, each team (excluding rogues) will be allocated a base to which they must take an opposing team's flag to to capture.
Code
The code for a base object is as follows
base position 10 20 30 rotation 45 size 1 2 3 color 1 end
Valid parameters for a base are
- position; defines the center of the box in X and Y and the bottom of the box in Z.
 - rotation; defines a rotation around the Z axis for the box, in degrees.
 - size; defines the distance from the center to the side of the box in X and Y, and the total height of the box in Z.
 - color; defines the team that that base is allocated to: 1 = red, 2 = green, 3 = blue, 4 = purple.
 
Bases do not support Material, Texture Matrix, or Physics Drivers.
Appearance
Each base will be colored depending on the team to which it belongs. It has a patterned top and bottom, and striped walls for easy recognition.
Editor Support
The base object is supported by all known editors.
