Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hud_alpha <value> #125

Open
SmileyAG opened this issue Jun 8, 2021 · 3 comments
Open

hud_alpha <value> #125

SmileyAG opened this issue Jun 8, 2021 · 3 comments

Comments

@SmileyAG
Copy link
Contributor

SmileyAG commented Jun 8, 2021

@chinese-soup

@chinese-soup
Copy link
Contributor

chinese-soup commented Jun 8, 2021

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?

@SmileyAG
Copy link
Contributor Author

SmileyAG commented Jun 8, 2021

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)

@chinese-soup
Copy link
Contributor

chinese-soup commented Jun 8, 2021

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants