See this zandronum ticket.
If you load exploderadius_02.wad, the monsters don't get any pain. It used to work in zdoom r2560 (or also in zdoom 2.5.0). Surely the damage code was changed a lot...
[>r2560]A_Explode(1,..) stopped doing pain to victims
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Posts: 1774
- Joined: Sat Oct 17, 2009 9:40 am
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [>r2560]A_Explode(1,..) stopped doing pain to victims
Are you aware how much damage this attack causes? Precisely - zero! If that caused pain it may have abused a side effect of something, And guess what: There was a minor bug in P_RadiusAttack that let fractional damage slip through which got fixed between 2.5.0 and now. And if I remember correctly it got reported for the precise reason that it caused pain in situations where it shouldn't have.
- Major Cooke
- Posts: 8205
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
- Contact:
Re: [>r2560]A_Explode(1,..) stopped doing pain to victims
Also +CAUSEPAIN is now your solution.
-
- Posts: 1774
- Joined: Sat Oct 17, 2009 9:40 am
Re: [>r2560]A_Explode(1,..) stopped doing pain to victims
Hm, according to the bisecting, the 'problem' was introduced since r3523. Sounds strange, doesn't it?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [>r2560]A_Explode(1,..) stopped doing pain to victims
No, that makes perfect sense. But that particular piece of code doesn't exist anymore, so it cannot be the cause right now.
-
- Posts: 1774
- Joined: Sat Oct 17, 2009 9:40 am
Re: [>r2560]A_Explode(1,..) stopped doing pain to victims
Hm, indeed, because the other wad in the ticket (exploderadius.wad) worked fine with that version. I'll bisect again and let you know.
-
- Posts: 1774
- Joined: Sat Oct 17, 2009 9:40 am
Re: [>r2560]A_Explode(1,..) stopped doing pain to victims
Just one question: if the victim is not exactly at the center of the explosion by 'A_Explode(1,..)', then the damage is always truncated to 0, right?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [>r2560]A_Explode(1,..) stopped doing pain to victims
That's what I'd imagine.