Evie Addon Details

Watch - Add Favorite

ColoredHealth - Version 3

posted on 2007-06-20 02:42:24
by SuperDave
12
w00ts
w00t!
Requires: Tags: addon colors css effects fun gameplay health

Description

Sets the color and transparency of players based on health. Requires only ES 2.0+

Options:
// ColoredHealth release 3 options
// ./addons/eventscripts/coloredhealth/coloredhealth.cfg
// http://addons.eventscripts.com/addons/view/coloredhealth
 
// Load this addon with: es_load coloredhealth
 
 
// ***** Options *****
 
// The following server command adds color levels:
 
// coloredhealth_level_add -health- -t red- -t green- -t blue- -t alpha- -ct red- -ct green- -ct blue- -ct alpha-
 
// When a player is between levels that player's color will be a blend of the two levels. Acceptable color and alpha values are 0 to 255.
// Players with health above the highest level or below the lowest level will be the color of the closest level.
 
// The following options are provided as an example and should be changed, added to, or removed as desired:
 
 
coloredhealth_level_add 100 255 255 255 255 255 255 255 255
// A terrorist with 100 health will be 255 red, 255 green, 255 blue, and 255 alpha
// A counter-terrorist with 100 health will be 255 red, 255 green, 255 blue, and 255 alpha
 
coloredhealth_level_add 70 0 200 0 255 0 200 0 255
// A terrorist with 70 health will be 0 red, 200 green, 0 blue, and 255 alpha
// A counter-terrorist with 70 health will be 0 red, 200 green, 0 blue, and 255 alpha
 
coloredhealth_level_add 40 255 255 0 255 255 255 0 255
// A terrorist with 40 health will be 255 red, 255 green, 0 blue, and 255 alpha
// A counter-terrorist with 40 health will be 255 red, 255 green, 0 blue, and 255 alpha
 
coloredhealth_level_add 10 200 0 0 200 200 0 0 200
// A terrorist with 10 health will be 200 red, 0 green, 0 blue, and 200 alpha
// A counter-terrorist with 10 health will be 200 red, 0 green, 0 blue, and 200 alpha
 
 
// Although the above examples are in descending order by health, no order is required.
 
 
 
// The following server command removes color levels:
 
// coloredhealth_level_remove -health-
 
// NOTE: This command is only for removing levels already set.
// Due to the fact levels are set and can be removed above, this command will not be used by most users.


Please see the forum link below if you have questions or comments.

Version Notes For 3 (Announce this update)

Updated on: 2007-10-22 07:52:09 EST
Updated to ES 2.0
( Previous Versions )