Page 1 of 1

Objective Proximity Warning

Posted: Mon Nov 22, 2021 6:28 pm
by greenie
This plugin will show a hudmessage to all players when one or more player(s) is close to the objective for a map.

Most cvars are in units, for reference: players are 72 units high.

Cvars:
-ow_vip_dist (default 1000.0) - Distance from VIP to VIP escape zone to start showing the warning.
-ow_hos_dist (default 1000.0) - Distance from CTs to hostages to start showing the warning.
-ow_bomb_dist (default 1000.0) - Distance from the terrorist with the bomb to the bomb site to start showing the warning and the distance between CTs and the planted bomb.
-ow_escape_dist (default 1000.0) - Distance from terrorists to escape zone (es_ maps) to start showing the warning.

-ow_bomb_warnt (default 1; 1|0) - Set whether or not to show the warning when terrorists are approaching the bomb site.
-ow_bomb_warnct (default 1; 1|0) - Set whether or not to show the warning when CTs are approaching the planted bomb.

To disable a warning all together, set the cvar to 0.0.

plugin
source