-
Notifications
You must be signed in to change notification settings - Fork 195
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
[feature request] Add an option to customize transparency of player immunity #933
Comments
Why these models are supposed to not support transparency? |
They do not support low values of transparency, I dunno why. When I set transparency to 128, it works fine but when it is 120 the models completely disappear. It is correct both for |
I guess that is related to textures, that do not support an value less than 128 in alpha channel.
For now you have to rewrite
with an amxx plugin and make you own copy of that:
|
While I can rewrite it with amxx plugin, it is good to have an option to customize immunity transparency value with almost no additional cost for implementing such an option. |
Issue
There are custom player models which do not properly support transparency. I noticed it when I set transparency to 64 in resemiclip. The model is completely hidden and there is only weapon that you can see on the image (near crosshair).
I "fixed" it by increasing transparency to 128, however there is no such option in regamedll. I can see only these cvars:
It looks like regamedll sets transparency below 128 to indicate player immunity.
Solution
It would be nice if we could have an option to customize it. If there are any plans on new effects to indicate immunity, possibly an option could be added, else we can rename mp_respawn_immunity_effects to mp_respawn_immunity_transparency, where
mp_respawn_immunity_transparency 255
is equal tomp_respawn_immunity_effects 0
mp_respawn_immunity_transparency <255
adds new possibilities to customize transparency effectThe text was updated successfully, but these errors were encountered: