Description
Renders colored fog that changes based on the location of teams. Requires only ES 2.0+
Options:[syntax="es"]// TeamFog release 4 options
// ./addons/eventscripts/teamfog/teamfog.cfg
// http://addons.eventscripts.com/addons/view/teamfog
// Load this addon with: es_load teamfog
// ***** General options *****
// Note that fog distance is relative to each player.
teamfog_updatedelay 1
// Number of seconds between fog updates [default 1]
teamfog_distance_min 50
// Distance from the player fog starts [default 50]
teamfog_distance_max 1500
// Distance from the player at which the fog is completely opaque [default 1500]
// ***** Color options *****
teamfog_t_red 0
// Red value for Terrorist fog (0 to 255 inclusive) [default 0]
teamfog_t_green 150
// Green value for Terrorist fog (0 to 255 inclusive) [default 150]
teamfog_t_blue 0
// Blue value for Terrorist fog (0 to 255 inclusive) [default 0]
teamfog_ct_red 0
// Red value for Counter-Terrorist fog (0 to 255 inclusive) [default 0]
teamfog_ct_green 0
// Green value for Counter-Terrorist fog (0 to 255 inclusive) [default 0]
teamfog_ct_blue 255
// Blue value for Counter-Terrorist fog (0 to 255 inclusive) [default 255][/syntax]
Please see the forum link below if you have questions or comments.