Left 4 Dead 2

Left 4 Dead 2

stalemateHUD
Fix for the HP Freeze.
Set every single HealthNumber's fieldName back to HealthNumber.

Add a new key called monochrome_color in Health and set it to Gray, now it will use healthbar_image_grey and healthbar_image_grey_ticks as the textures.

Now it should remove the health number upon death.

Example for localplayerpanel.res:
"HealthNumber" { "ControlName" "Label" "fieldName" "HealthNumber" "xpos" "4" "ypos" "50" "wide" "56" "tall" "22" "visible" "1" "enabled" "1" "labelText" "%HealthNumber%" "textAlignment" "west" "font" "HUDHealth" "zpos" "2" "fgcolor_override" "255 255 255 255" }

"Health" { "ControlName" "HealthPanel" "fieldName" "Health" "xpos" "4" "ypos" "70" "wide" "100" "tall" "2" "visible" "1" "enabled" "1" "zpos" "1" "monochrome_color" "Gray" "new_material_style" "1" "healthbar_image_grey" "vgui/hud/healthbar_withglow_white" "healthbar_image_grey_ticks" "vgui/hud/healthbar_ticks_withglow_white" }
Last edited by Interneted; 24 Apr @ 6:53am
< >
Showing 1-2 of 2 comments
awkw  [developer] 24 Apr @ 7:34am 
Checked. No longer HP freezes, but color of health number is now gray instead of white.
Set monochrome_color to White instead of Gray. Still works, no HP freezes, health number is white, big W.

I think there is no point to make any changes in incap versions.
Last edited by awkw; 24 Apr @ 7:34am
yeah, the incap panels can be left as it is.

edit: instead of writing the color names, you can use rgba values, such as "0 0 0 255" or whatever value you want.
Last edited by Interneted; 24 Apr @ 11:06pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50