This wiki is archived and useful information is being migrated to the main bzflag.org website

Base

From BZFlagWiki
Revision as of 22:22, 19 February 2007 by SpazzyMcGee (Talk | contribs) (Appearance)

Jump to: navigation, search

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

BasesAppearance.png

Editor Support

The box object is supported by all known editors.