addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt1.7 KB
No file matches.
Antidote Relay 1.0.0 (olds.ro)
==============================
Zombie Plague 5: when a zombie is cured, a timer follows how long that player
then survives as a human. Reinfection, death, leaving or the end of the round
stops it. At round end everyone sees the longest one:
Antidote relay: Alpha held on for 45 s after a cure.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10.0.5490 or newer
- Zombie Plague 5.0 (zp50_core and zp50_gamemodes)
Install
1. Compile scripting/olds_relay.sma and copy olds_relay.amxx to
addons/amxmodx/plugins/, below the Zombie Plague plugins.
The compiler needs ReAPI's include files.
2. Copy data/lang/olds_relay.txt to addons/amxmodx/data/lang/.
Settings (addons/amxmodx/configs/plugins/olds_relay.cfg, created on first run)
olds_relay_mintime 20 shortest streak, in seconds, shown in the recap (0-600)
Command: olds_relay_status (ADMIN_CFG) lists running and finished streaks.
How it works
- zp_fw_core_cure / zp_fw_core_cure_post: a cure starts a timer only if the
player was a living zombie just before it. Zombie Plague also "cures"
every player who spawns as a human; those cures start nothing.
- zp_fw_core_infect_post and RG_CBasePlayer_Killed stop a timer; so does
leaving the server.
- zp_fw_gamemodes_start opens the round; zp_fw_gamemodes_end closes it,
stops every timer and posts the recap to everyone (client_print). Cures
and infections after that are ignored. A round that ends without the
mode-end forward is recapped at round end.
- The recap names only the longest streak, and nothing if it is shorter
than olds_relay_mintime.
No downloads: chat text, and the stock items/smallmedkit1.wav for the cured
player.