Rally Ticket 1.0.0 (olds.ro)
============================
A living human sends a rally ticket to a human teammate. When the teammate
accepts, they are moved to one of the map's rally pads, then the sender
waits olds_rally_cooldown seconds before the next ticket.
Requirements
- AMX Mod X 1.10.0.5490 or newer, ReAPI
- Zombie Plague 5.0 (zp50_core). Without it the plugin stays off.
Install
1. Compile scripting/olds_rally.sma and copy olds_rally.amxx to
addons/amxmodx/plugins/, listed after the ZP 5.0 plugins.
2. Copy data/lang/olds_rally.txt to addons/amxmodx/data/lang/.
3. Copy configs/olds_rally/ to addons/amxmodx/configs/olds_rally/.
No downloads: the move plays the stock weapons/c4_beep1.wav.
Pads (configs/olds_rally/<map>.ini)
One "x y z" player origin per line, pad 1 first, at most 8 pads. Lines
starting with ; are comments; malformed lines are logged and skipped. A map
without a file has no pads. de_dust2.ini ships with 3 pads (bombsite A,
bombsite B, CT spawn) measured from the stock map.
Settings (addons/amxmodx/configs/plugins/olds_rally.cfg, made on first run)
olds_rally_cooldown 60 seconds between two moves of one sender (0-3600)
Players
say /rally <name> [pad] sends a ticket to that living human teammate for
the pad (pad 1 when none is given). The teammate
gets a menu (Accept / Decline, 15 seconds).
Admins
amx_rally_status (ADMIN_KICK) pads, whether each is clear, open tickets,
cooldowns
How it works
- Only one explicit "Accept" moves anybody. At that moment both players
must still be living humans and the pad must be clear: a standing-player
hull test (EngFunc_TraceHull) at the pad that also counts players. Only
then the teammate is moved (EngFunc_SetOrigin) and the sender's cooldown
starts.
- A ticket is void when either player is infected (zp_fw_core_infect_post),
dies, disconnects or the round restarts; accepting it then only says so.
- A pad with a player parked on it, or blocked by the world, refuses the
move; nobody is moved and the cooldown does not start.
- A sender has one open ticket at a time, and a teammate one open ticket.