most code is copied from Renderer.dll
-
Download and install MetaHookSv.
-
Build or download .dll file into
svencoop/metahook/plugins
directory. -
Add HUDColor.dll in
svencoop/metahook/configs/plugins.lst
as a newline. -
Enjoy.
CVar | Value | Comment |
---|---|---|
hud_color_r | 0~255 | change main color of HUD |
hud_color_g | 0~255 | change main color of HUD |
hud_color_b | 0~255 | change main color of HUD |
hud_color_pain_r | 0~255 | change dying color of HUD |
hud_color_pain_g | 0~255 | change dying color of HUD |
hud_color_pain_b | 0~255 | change dying color of HUD |
hud_color_dizzy | 0/1/2 | 0 Disable dizzy effect, 1 RGB disappear effect, 2 Rainbow cycle effect |
hud_color_dizzy_time | 0~9999999 | time of dizzy disappearance |
-
Clone or download MetaHookSv source code.
-
Clone or download
HUDColor
source code -
Put
HUDColor
directory intoMetaHookSv/Plugins
-
Open
.sln
with visual studio. -
Build.