Spawn Buddy Window 1.0.0 (olds.ro)
==================================
Deathmatch: when you respawn, the plugin notes once whether a living teammate
was near you (within olds_buddy_radius units and, with olds_buddy_trace 1, in
line of sight). When you die, your personal recap says whether you had a
spawn buddy that life:
Spawn buddy this life: yes, a teammate was within 600 units and in sight when you spawned.
Only you see it, only after your death, and it is a plain yes or no: no
positions, names or distances are ever sent.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10.0.5490 or newer (fakemeta)
- CSDM 2.1 (csdm_main)
Install
1. Compile scripting/olds_buddy.sma and copy olds_buddy.amxx to
addons/amxmodx/plugins/, below csdm_main.amxx. The compiler needs
ReAPI's include files.
2. Copy data/lang/olds_buddy.txt to addons/amxmodx/data/lang/.
Settings (addons/amxmodx/configs/plugins/olds_buddy.cfg, created on first run)
olds_buddy_radius 600 distance in units (100-3000)
olds_buddy_trace 1 1 = the teammate must also be in line of sight
(EngFunc_TraceLine eye to eye; walls block it)
Details
- The check runs in CSDM's respawn callback csdm_PostSpawn(player, fake),
after CSDM has placed the player, once per life: a repeated spawn
callback or a later team switch changes nothing.
- Bots count as teammates but never get a recap.
No downloads: chat text only.