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.
FlagStay: Difference between revisions
Jump to navigation
Jump to search
New page: The FlagStay plugin allows a mapmaker to specify the zone where he/she wants the flag to be. This is similar to a regular zone but with this FlagStayZone the flags that are put in the zone... |
No edit summary |
||
| Line 1: | Line 1: | ||
The FlagStay plugin allows a mapmaker to specify the zone where he/she wants the flag to be. This is similar to a regular zone but with this FlagStayZone the flags that are put in the zone may not leave the zone. This plugin may be useful so a player won't take a Guided Missile flag out of a tower. Or a ShockWave flag can't be taken into a Base and camp there. To define the FlagStayZone use the examples below. | The FlagStay plugin allows a mapmaker to specify the zone where he/she wants the flag to be. This is similar to a regular zone but with this FlagStayZone the flags that are put in the zone may not leave the zone. This plugin may be useful so a player won't take a Guided Missile flag out of a tower. Or a ShockWave flag can't be taken into a Base and camp there. To define the FlagStayZone use the examples below. | ||
<nowiki> | |||
For a box that goes from +- 10 in X, +- 20 in Y, and 0 to 30 in Z that keeps GM and SW | For a box that goes from +- 10 in X, +- 20 in Y, and 0 to 30 in Z that keeps GM and SW | ||
FlagStayZone | FlagStayZone | ||
bbox -10 10 -20 -20 0 30 | bbox -10 10 -20 -20 0 30 | ||
Flag GM | Flag GM | ||
Flag SW | Flag SW | ||
end | end | ||
For a cylinder that centered at X 10 Y 20 that goes from Z 0 to Z 10 with a radius of 100. | For a cylinder that centered at X 10 Y 20 that goes from Z 0 to Z 10 with a radius of 100. | ||
FlagStayZone | FlagStayZone | ||
cylinder 10 20 0 10 100 | cylinder 10 20 0 10 100 | ||
Flag GM | Flag GM | ||
Flag SW | Flag SW | ||
end | end</nowiki> | ||
Revision as of 01:57, 8 February 2009
The FlagStay plugin allows a mapmaker to specify the zone where he/she wants the flag to be. This is similar to a regular zone but with this FlagStayZone the flags that are put in the zone may not leave the zone. This plugin may be useful so a player won't take a Guided Missile flag out of a tower. Or a ShockWave flag can't be taken into a Base and camp there. To define the FlagStayZone use the examples below.
For a box that goes from +- 10 in X, +- 20 in Y, and 0 to 30 in Z that keeps GM and SW FlagStayZone bbox -10 10 -20 -20 0 30 Flag GM Flag SW end For a cylinder that centered at X 10 Y 20 that goes from Z 0 to Z 10 with a radius of 100. FlagStayZone cylinder 10 20 0 10 100 Flag GM Flag SW end