Script Name:Gates for CTF
Script Description:Player can create a gate(shows flames) for his team. Teammates will be teleport from team flag to the created gate when they very close to team flag.
Original Author(s):Zop
Core Version:2.6.3
Code:download and read if you need please.
Detail:1. There is only one gate can be created at once for each team.
2. The first one say !gate and stand still for 5 seconds become GateKeeper and will create gate.
3. There will be a flame mark at where gate is.
4. GateKeeper can say !close to close the gate.
5. Teammate will be teleported from team flag to gate flame when stand close to Flag-Gate for 3 seconds or type /gate for saving time.
6. Gate will disppear after a short time.(default 60 seconds)
7. Gate will disppear if used too many times. (default 5 times)
8. Flag-Gate will show flame if flag leave the teleport position some far.
9. You can close enemy's gate by stand close to it for a while.(default 5 seconds)
10. Gate can't be built if it too close to flag (both team flags).
11. Can't teleport back from flame gate to team Flag-Gate.
12. You can't use gate when you got flag with you.
Please tell me if you find any bug, or any suggestion, or anything.
Thank you.
==============================================
20080827-01_update:v1.0f
-Fixed when multi-teammates are closing same door, it will count down normally now.(again ="=)
-Fixed Die ppl can't open gate.
-Gate will not disppear when flag leave base now.(but flag should be in base to open the gate.)
20080826-01_update:v1.0e
Bug Fixed:
-Fixed when multi-teammates are closing same door, it will count down normally now.
20080825-01_update:v1.0d
Bug Fixed:
-Server will record both flag positions at beginning now.(Again ="=)
You can't build gate near both flag bases.
20080823-01_update:v1.0c
Bug fixed :
-Fixed teammates should get a msg when gate open.
20080822-02_update: v1.0b
*Bug fixed :
-Fixed player can't teleport if PlayerID is not 1 or 2.
-Server will record both flag positions at beginning now.
20080822-01_update:
-Add zip file. Thanks for remind.