This plugin is inspired by Infected Health Gauge plugin, this will allow to give relative knowledge of the health of the infected through a health bar
Details
The health bar is shown on the hud "env_instructor_hint", through a text within it, you can change the size of the bar width, as well as the text that represents the points of damage and health.
// 0:Disable, 1:Enable Show Hud HP Bar for Boomer
// -
// Default: "0"
l4d2_infected_hudhpbar_on_boomer "0"
// 0:Disable, 1:Enable Show Hud HP Bar for Charger
// -
// Default: "0"
l4d2_infected_hudhpbar_on_charger "0"
// 0:Disable, 1:Enable Show Hud HP Bar for Hunter
// -
// Default: "0"
l4d2_infected_hudhpbar_on_hunter "0"
// 0:Disable, 1:Enable Show Hud HP Bar for Jockey
// -
// Default: "0"
l4d2_infected_hudhpbar_on_jockey "0"
// 0:Disable, 1:Enable Show Hud HP Bar for Smoker
// -
// Default: "0"
l4d2_infected_hudhpbar_on_smoker "0"
// 0:Disable, 1:Enable Show Hud HP Bar for Spitter
// -
// Default: "0"
l4d2_infected_hudhpbar_on_spitter "0"
// 0:Disable, 1:Enable Show Hud HP Bar for Witch
// -
// Default: "1"
l4d2_infected_hudhpbar_on_witch "1"
// 0:Disable, 1:Enable Show Hud HP Bar for Tank
// -
// Default: "1"
l4d2_infected_hudhpbar_on_tank "1"
// Set range Instuctor Hint For Tank (0 = infinite range)
// -
// Default: "750.0"
// Minimum: "0.000000"
// Maximum: "750.000000"
l4d2_infected_hudhpbar_range "750.0"
// Set time out in seconds HP Bar (0 = no time out)
// -
// Default: "3.0"
// Minimum: "0.000000"
l4d2_infected_hudhpbar_showtime "3.0"
// Set width size for health bar
// -
// Default: "10"
// Minimum: "2.000000"
// Maximum: "100.000000"
l4d2_infected_hudhpbar_size "10"
// Set text for damage point
// -
// Default: "··"
l4d2_infected_hudhpbar_textdmg " "
// Set text for health point
// -
// Default: "-"
l4d2_infected_hudhpbar_texthp "-"
// Set text for dead hint ("" = no dead hint)
// -
// Default: ""
l4d2_infected_hudhpbar_textdead ""
// Set RGB color for full HP
// -
// Default: "0,255,0"
l4d2_infected_hudhpbar_colorfull "0,255,0"
// Set RGB color for half HP
// -
// Default: "255,255,0"
l4d2_infected_hudhpbar_colorhalf "255,255,0"
// Set RGB color for critic HP
// -
// Default: "255,0,0"
l4d2_infected_hudhpbar_colorcritic "255,0,0"
2020-10-14 (v1.2)
* Added new cvar for enabling HP Bar on Witch
* Added CFG file for customize HP Bar for each Special Infected
2020-02-22 (v1.1)
* Fixed set custom characters in cvars text points
* Added new cvar for hint on infected dead
* Added new cvars for custom colors on HP Bar
2020-02-17 (v1.0)
* Initial release.
Last edited by xZk; 10-14-2020 at 20:39.
Reason: v1.2