OpenAG icon indicating copy to clipboard operation
OpenAG copied to clipboard

hud_alpha <value>

Open SmileyAG opened this issue 4 years ago • 3 comments

@chinese-soup

SmileyAG avatar Jun 08 '21 21:06 SmileyAG

hud_color is already additive (see for example very transparent grey: 30 30 30, or very transparent red 30 0 0), so I don't think this is possible (at least, not without engine hacking - which is not in line with the views of this "clean" client DLL), unfortunately, since it's drawn by the engine and it only lets you select the R G B color.

I might be wrong, though. So let's ask @YaLTeR & @tmp64?

chinese-soup avatar Jun 08 '21 21:06 chinese-soup

hud_color is already additive (see for example very transparent grey: 30 30 30, or very transparent red 30 0 0), so I don't think this is possible (at least, not without engine hacking - which is not in line with the views of this "clean" client DLL), unfortunately, since it's drawn by the engine and it only lets you select the R G B color.

I might be wrong, though. So let's ask @YaLTeR & @tmp64?

It was possible, look for some Bunnymod Pro implemenations e.g., https://bitbucket.org/YaLTeR/bunnymod-pro/src/cb4058ddfd253773c70d377b284ce28a2aaffc79/cl_dll/ammo.cpp?at=master#ammo.cpp-893

I could do implement it myself, but i horrible how code will be looks finally, so it's better trust do it to pro mens)

SmileyAG avatar Jun 08 '21 21:06 SmileyAG

Ooh a fade hack thingy(?)*, didn't think of that. I'll check it out.

EDIT: * And ScaleColors, right, that makes sense, sorry.

chinese-soup avatar Jun 08 '21 21:06 chinese-soup