flagstay, KOTH, rabbidRabit, and wwzone Updates
Posted: Fri May 22, 2015 11:04 pm
Moving forward beginning with 2.4.3+, the map syntax for flagstay, KOTH, rabbidRabit, and wwzone zones have changed; the bbox and cylinder syntax is now deprecated. The existing syntax has been replaced with the familiar syntax all other map objects follow in order to keep things consistent and math is no longer required for the map maker to calculate what the bbox or cylinder syntax is.
All of these plug-ins make use of the new bz_CustomZoneObject class available in the BZFS API, which supports the bbox and cylinder syntax but are now deprecated and will be removed by BZFlag 2.6. If you are a plug-in developer and would like to make use of this class, I've documented the process here.
BBOX Syntax
New Syntax
Cylinder Syntax
New Syntax
All of these plug-ins make use of the new bz_CustomZoneObject class available in the BZFS API, which supports the bbox and cylinder syntax but are now deprecated and will be removed by BZFlag 2.6. If you are a plug-in developer and would like to make use of this class, I've documented the process here.
BBOX Syntax
Code: Select all
koth
bbox -30 30 -30 30 10 40
teamplay
holdtime 60
end
Code: Select all
koth
position 0 0 30
size 30 30 30
teamplay
holdtime 60
end
Code: Select all
koth
cylinder 0 0 20 40 15
holdtime 100
teamplay
autotime 5 25
nosound
end
Code: Select all
koth
position 0 0 20
height 20
radius 15
holdtime 100
teamplay
autotime 5 25
nosound
end