Assist Window 1.0.0 (olds.ro)
=============================
When a teammate finishes an enemy you hurt shortly before, you get a short
private DHUD line with your last hit on that enemy and a soft beep:
Assist on Rex: 40 dmg, 3.0 s ago
It tells you your damage counted even though someone else got the kill.
What counts
- Only a hit of at least olds_assistwin_mindmg damage, made at most
olds_assistwin_secs seconds before the kill.
- The damage shown is the health your last hit took off the enemy (armor
can make it lower than the weapon's damage).
- Hits on yourself, on a teammate and from the world never count.
- Hits from an earlier life never count: when you or the enemy respawn, the
old hits are forgotten.
- The killer gets no assist line for their own kill; every other teammate
who qualifies gets their own line.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10 or newer
- Tested on AMX Mod X 1.10.0.5490, ReAPI 5.29.0.358, ReGameDLL_CS 5.30.0.814,
ReHLDS 3.15.0.896
Install
1. Compile scripting/olds_assistwin.sma with amxxpc 1.10 and copy
olds_assistwin.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's
include files (reapi.inc and reapi_*.inc) in addons/amxmodx/scripting/include/.
2. Copy data/lang/olds_assistwin.txt to addons/amxmodx/data/lang/.
3. Copy configs/plugins/olds_assistwin.cfg to addons/amxmodx/configs/plugins/.
4. Add olds_assistwin.amxx to addons/amxmodx/configs/plugins.ini.
Settings (addons/amxmodx/configs/plugins/olds_assistwin.cfg)
olds_assistwin_secs 6 look-back window in seconds (1 - 30)
olds_assistwin_mindmg 10 least damage of the hit (1 - 500)
Commands
None.
The beep is the stock buttons/blip1.wav, so nothing is downloaded. Texts are in
data/lang/olds_assistwin.txt (English).
Credits and licence
Written from scratch by alexit (olds.ro workshop) for workshop card AMX-028.
Licence: GPL-3.0-or-later.