ForcePainThreshold actor property

Moderator: GZDoom Developers

Post Reply
Turret49
Posts: 92
Joined: Sat Aug 29, 2015 1:40 pm

ForcePainThreshold actor property

Post by Turret49 »

Simply put, like PainThreshold, except when the actor takes damage over the threshold they will always enter their pain state, bypassing pain chance unless the actor has the NOPAIN flag, or the damage source has PAINLESS.

This would be helpful for making strong attacks of any kind cause a monster to flinch without resorting to heaps of DamageTypes/PainTypes, while also bringing compatibility to attacks affected by DamageFactor changes (Like Powerups), and other people's weapon mods, say if you're making a monster replacement.
User avatar
NeuralStunner
 
 
Posts: 12326
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: ForcePainThreshold actor property

Post by NeuralStunner »

Initial reaction: Oh dear lord no, not more pain-related cruft. :(

After reading: Seems reasonable enough...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: ForcePainThreshold actor property

Post by Graf Zahl »

I'm not going to touch this ever again. It's already complicated enough with all those flags and conditions.
User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: ForcePainThreshold actor property

Post by Xaser »

Pain is a pain. :P

I wonder if some brave volunteer would be up for making a flowchart or other graph visualization for how the pain properties work somewhere on the wiki. Sadly, this is a serious suggestion.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”