Outbreak Atlas 1.0.0 (olds.ro)
==============================
For Zombie Plague 5.0 servers. In every infection round it notes where the
outbreak spread: for the first few humans infected by a zombie (3 by default),
the named map zone each one stood in. When the round ends the list is printed
in chat; say /atlas shows it again, or mid-round shows the infections so far.
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; checked against 5.0.8)
Install
1. Compile scripting/olds_atlas.sma and copy olds_atlas.amxx to addons/amxmodx/plugins/.
The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc
files from the ReAPI release, addons/amxmodx/scripting/include/) next to
the stock AMX Mod X includes. The ZP include files are not needed.
2. Copy data/lang/olds_atlas.txt to addons/amxmodx/data/lang/.
3. Copy configs/olds_atlas/ to addons/amxmodx/configs/olds_atlas/ and write one
<mapname>.ini per map (see _example.ini).
4. Add olds_atlas.amxx to plugins.ini below the Zombie Plague plugins.
What is recorded
- Only rounds whose game mode is "Infection Mode" or "Multiple Infection
Mode", read from Zombie Plague's current game mode, not from who is a
nemesis or survivor. Nemesis, Survivor, Swarm, Plague, Armageddon and
other modes record nothing, write nothing to the log and print no report.
- Only humans infected by a zombie player. The zombies the game mode picks
at the start, and respawns as zombie, are not counted.
- Recording stops the moment the round is decided (also when another
plugin ends it), so nothing during the round-end delay is counted.
- The zone is where the infected human stood. Outside every zone it is
"unmapped". Only zone names are shown, never coordinates, so /atlas
cannot give away where a living human is.
- Each recorded infection is written to the AMX Mod X log and plays the
game's own buttons/blip1.wav. Infections past the limit are not recorded.
Settings (addons/amxmodx/configs/plugins/olds_atlas.cfg, created on first run)
olds_atlas_count 3 infections recorded per round (1-10); read when a round starts
Commands
say /atlas this round's records so far, or last round's report
amx_atlas_reload reload this map's zone file (ADMIN_RCON)
olds_atlas_status zones, round state and records (ADMIN_CFG)
olds_atlas_where your own position and zone, for writing zone files (ADMIN_CFG)
No sounds, models or sprites are added.