Fixed minor stuff with damage effects

master
AlmTech 5 years ago
parent 3b6bf2f4f6
commit dccd33cbcf
  1. 4
      gamemode/core/client/cl_hud.lua

@ -64,8 +64,8 @@ hook.Add( "RenderScreenspaceEffects", "Quantum_HUD_RenderLowHealth", function()
[ "$pp_colour_addr" ] = 0,
[ "$pp_colour_addg" ] = 0,
[ "$pp_colour_addb" ] = 0,
[ "$pp_colour_brightness" ] = Lerp( LocalPlayer():Health() / LocalPlayer():GetMaxHealth(), -0.5, 0 ),
[ "$pp_colour_contrast" ] = Lerp( LocalPlayer():Health() / LocalPlayer():GetMaxHealth(), 0.7, 1 ),
[ "$pp_colour_brightness" ] = Lerp( LocalPlayer():Health() / LocalPlayer():GetMaxHealth(), -0.25, 0 ),
[ "$pp_colour_contrast" ] = Lerp( LocalPlayer():Health() / LocalPlayer():GetMaxHealth(), 0.2, 1 ),
[ "$pp_colour_colour" ] = Lerp( LocalPlayer():Health() / LocalPlayer():GetMaxHealth(), 0.8, 1 ),
[ "$pp_colour_mulr" ] = 0,
[ "$pp_colour_mulg" ] = 0,

Loading…
Cancel
Save