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
SpazzyMcGee (talk | contribs)  | 
				 cleanup text, add info on 0 size bases  | 
				||
| Line 1: | Line 1: | ||
A base is a [[BZW]] map object that defines a [[box]] with the specific properties of being a base for capture the flag. In   | A base is a [[BZW]] map object that defines structure very similar to a standard [[box]], but has with the specific properties of being a base for [[CTF|capture the flag style]] game play modes. In standard CTF games, each team (excluding rogues) will be allocated one or more bases to which they must take an opposing team's flag to to capture.  | ||
==Code==  | ==Code==  | ||
The code for a   | The code for a box object is as follows  | ||
  base  |   base  | ||
| Line 14: | Line 14: | ||
*'''position'''; defines the center of the box in X and Y and the bottom of the box in Z.  | *'''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.  | *'''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.  | *'''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. A Z size of 0 creates a thin base with no thickness or walls.  | ||
*'''color'''; defines the team that that base is allocated to: 1 = red, 2 = green, 3 = blue, 4 = purple.  | *'''color'''; defines the team that that base is allocated to: 1 = red, 2 = green, 3 = blue, 4 = purple.  | ||
| Line 20: | Line 20: | ||
==Appearance==  | ==Appearance==  | ||
The vertical walls of a base a colored striped texture, unlike the standard [[box]]. The top and bottom of the base are textured with a colored base logo. The color if the textures corresponds to the team that owns the base, for  easy recognition. A base with a Z size of 0 will not have any vertical walls.  | |||
[[Image:BasesAppearance.png]]  | [[Image:BasesAppearance.png]]  | ||
==Editor Support==  | ==Editor Support==  | ||
The   | The box object is supported by all known editors.  | ||
==History==  | |||
The base is one of the original objects supported by BZFlag and has been a mainstay of CTF maps since the very beginning. Bases added automatically for random CTF maps by the [[BZFS]] server.  | |||
[[Category:Map_making]]  | [[Category:Map_making]]  | ||
[[Category:Map_Objects]]  | [[Category:Map_Objects]]  | ||
Revision as of 00:25, 20 February 2007
A base is a BZW map object that defines structure very similar to a standard box, but has with the specific properties of being a base for capture the flag style game play modes. In standard CTF games, each team (excluding rogues) will be allocated one or more bases to which they must take an opposing team's flag to to capture.
Code
The code for a box 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. A Z size of 0 creates a thin base with no thickness or walls.
 - 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
The vertical walls of a base a colored striped texture, unlike the standard box. The top and bottom of the base are textured with a colored base logo. The color if the textures corresponds to the team that owns the base, for easy recognition. A base with a Z size of 0 will not have any vertical walls.
Editor Support
The box object is supported by all known editors.
History
The base is one of the original objects supported by BZFlag and has been a mainstay of CTF maps since the very beginning. Bases added automatically for random CTF maps by the BZFS server.
