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" }
Sidst redigeret af Interneted; 24. apr. kl. 6:53
< >
Viser 1-2 af 2 kommentarer
awkw  [udvikler] 24. apr. kl. 7:34 
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.
Sidst redigeret af awkw; 24. apr. kl. 7:34
Interneted 24. apr. kl. 8:05 
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.
Sidst redigeret af Interneted; 24. apr. kl. 23:06
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50