I was kinda tired of my screen getting increasingly red with damage, so I made this very basic damage tint limiter: https://github.com/jekyllgrim/DamageTin ... /tree/main
It doesn't replace the player class and should be safe to put in your autoload.
Damage tint limiter
Forum rules
Before posting your Resource, please make sure you can answer YES to any of the following questions:
Consult the Resource/Request Posting Guidelines for more information.
Please don't put requests here! They have their own forum --> here. Thank you!
Before posting your Resource, please make sure you can answer YES to any of the following questions:
- Is the resource ENTIRELY my own work?
- If no to the previous one, do I have permission from the original author?
- If no to the previous one, did I put a reasonable amount of work into the resource myself, such that the changes are noticeably different from the source that I could take credit for them?
Consult the Resource/Request Posting Guidelines for more information.
Please don't put requests here! They have their own forum --> here. Thank you!
- Jekyll Grim Payne
- Global Moderator
- Posts: 1117
- Joined: Mon Jul 21, 2008 4:08 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia (Modern GZDoom)
- Contact:
Re: Damage tint limiter
Sorry for asking instead of just testing it, but I will not be able to test anything for a couple of days, and I'm so interested that I have to ask now: will I be able to use it to handle hundreds of damage and not end up with a solid red screen? Because I have been mulling over this idea for one mod, to have the player health of 1000 (and the health of monsters increased accordingly), to have more fractional control over low damage. I have been holding off since if I'm not mistaken, taking several hundred damage (there still will be heavy hitters, of course) would prevent the player from seeing anything. I assume, using this lib will allow me to deal with it?
- Jekyll Grim Payne
- Global Moderator
- Posts: 1117
- Joined: Mon Jul 21, 2008 4:08 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia (Modern GZDoom)
- Contact:
Re: Damage tint limiter
Yes, that's basically the idea. There's also a built-in GZDoom option called "Blood Flash Intensity" that also reduces the alpha of the flash. But I didn't really want that, instead I wanted it to be still solid but with a cap to how intense it can get, so yeah, this should do it.Kzer-Za wrote:Sorry for asking instead of just testing it, but I will not be able to test anything for a couple of days, and I'm so interested that I have to ask now: will I be able to use it to handle hundreds of damage and not end up with a solid red screen?
Re: Damage tint limiter
Just tested it, works like a charm! Thanks a lot!