This wiki is archived and useful information is being migrated to the main bzflag.org website
Teleporter
From BZFlagWiki
A Teleporter is a BZW map structure that defines a object which transports the user to another teleporter in a different part of the world/map.
Contents
Code
The code for a teleporter object is as follows
teleporter name example_teleporter position 0.0 0.0 0.0 size 5 0.125 20 rotation 0.0 border 1.12 end |
Valid parameters for a teleporter are
- position; defines the center of the teleporter in X and Y and the bottom of the teleporter in Z.
- rotation; defines a rotation around the Z axis for the teleporter, in degrees.
- size; defines the distance from the center to the side of the teleporter in X and Y, and the total height of the teleporter in Z.
- border; defines the yellow caution border around the teleporter entry point.
Appearence
Teleporters appear with a yellow/black caution texture on the outer border of the object and with a pulsing texture in the middle.
History
Editor Support
Supported by all known editors.