Enemy Outline Glow 1.0.0 (olds.ro)
==================================
An accessibility aid: every living enemy gets a team-coloured outline on your
screen, so enemies are easier to spot. Teammates never glow. Each player can
turn it off or on with say /glow.
Requirements
- AMX Mod X 1.10.0.5490 or newer, ReAPI
Install
1. Compile scripting/olds_glow.sma and copy olds_glow.amxx to
addons/amxmodx/plugins/.
2. Copy data/lang/olds_glow.txt to addons/amxmodx/data/lang/.
No downloads: kRenderFxGlowShell uses the engine's built-in shell texture
on the normal player model.
Settings (addons/amxmodx/configs/plugins/olds_glow.cfg, made on first run)
olds_glow_amount 25 outline thickness (1-255)
olds_glow_t "255 40 40" outline colour of Terrorists, R G B (0-255)
olds_glow_ct "40 80 255" outline colour of CTs, R G B (0-255)
olds_glow_mode 0 0 = every enemy the server sends you
1 = only enemies in your view cone (90 degrees)
with no wall in between
A colour that is not three numbers 0-255 is logged and the previous colour
stays.
Players
say /glow turns the outlines off or on, for you only
Admins
amx_glow_status (ADMIN_KICK) for every player: team, alive, /glow state,
own renderfx and whom they see outlined
How it works
- The card asked for set_user_rendering on spawn. That sets the rendering
for everybody, so teammates would see their own team glow and /glow
could not be per player. Instead the outline is written per viewer into
the entity state the server sends each frame (FM_AddToFullPack, post):
renderfx kRenderFxGlowShell, the team colour and olds_glow_amount.
- The player's real rendering is never touched, so weapon pickups, model
changes and other plugins' rendering keep working, and there is nothing
to clear: a player killed (RG_CBasePlayer_Killed) is no longer outlined
and the dead body never keeps the shell.
- Outlines only go to living viewers on T or CT. Spectators and dead
viewers get no outlines; the plugin never changes what they see.