Don't get flashed when not looking at the flashbang
Normally even if you are looking away from a flashbang it will still fully blind you.
|
Re: Don't get flashed when not looking at the flashbang
it never fully blinds you when you look away from it. It may be blinding your whole screen, but not as long as it normally would when looking at it.
|
Re: Don't get flashed when not looking at the flashbang
Quote:
|
Re: Don't get flashed when not looking at the flashbang
Try this:
PHP Code:
|
Re: Don't get flashed when not looking at the flashbang
Well right now if you don't look directly at the flash, you don't get blinded at all. I want it the more you look away from it, the shorter and more transparent the flash will be.
|
Re: Don't get flashed when not looking at the flashbang
Quote:
Anyway, as far as im concerned, I won't be doing that, especially because that's exactly how it works in cs, like others said above. The one thing I can make you, is that when you don't look at the flash, you get blinded for a specific duration/holdtime/color/alpha but always the same, cause my code above can be used for that. Cheers. |
Re: Don't get flashed when not looking at the flashbang
Can you reduce how much you get flashed when you are not looking at the flashbang, not completely remove it?
|
Re: Don't get flashed when not looking at the flashbang
As I said above, I can BUT, it will always be the same amount of flash when not looking, it won't depend on how far you turned.
|
Re: Don't get flashed when not looking at the flashbang
Quote:
|
Re: Don't get flashed when not looking at the flashbang
Here you go, this will make the exact same effect as the normal flash, but when not looking at it, it will be more transparent.
You can use the cvar flash_alpha to change the transparency yourself 0-255 ( 0 being full transparent and 255 being not transparent at all ) PHP Code:
|
All times are GMT -4. The time now is 00:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.