addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt1.7 KB
No file matches.
Crossfire Debrief 1.0.0 (olds.ro)
=================================
Hostage rescue: counts the damage players deal to hostages in each named map
sector (where the hostage stood when hit), so admins can see where hostages
keep getting caught in crossfire.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10.0.5490 or newer (hamsandwich)
Install
1. Compile scripting/olds_crossfire.sma and copy olds_crossfire.amxx to
addons/amxmodx/plugins/; add it to plugins.ini.
The compiler needs ReAPI's include files next to the stock includes.
2. Copy data/lang/olds_crossfire.txt to addons/amxmodx/data/lang/.
3. Copy configs/olds_crossfire/ to addons/amxmodx/configs/olds_crossfire/
and write one <mapname>.ini per map (see _example.ini).
Use
amx_crossfire this round's hostage damage by sector, highest
first, in the console (ADMIN_MAP)
Settings (addons/amxmodx/configs/plugins/olds_crossfire.cfg, created on first run)
olds_crossfire_post 1 1 = post the sector with the most hostage damage to
chat at round end
What is counted
- Ham_TakeDamage on hostage_entity and monster_scientist: the pre hook notes
the hostage's health and the post hook counts what was actually taken
(shooting a hostage in "bridge" for 40 damage adds 40 to bridge).
- Only damage whose attacker is a player. The world, falls, doors and
triggers are ignored.
- The plugin only reads: damage, frags and money stay exactly as the game
computed them.
- Damage outside every sector box is counted as "(no sector)"; a map with
no file still shows that total.
- Counters start over at every round restart.
No downloads: output is console and chat text only.