Poisoncloud has infinite effect height

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is ON
[img] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Poisoncloud has infinite effect height

Re: Poisoncloud has infinite effect height

by Russell_P » Fri Dec 27, 2019 10:50 am

Ah yes, I did read something about OLDRADIUSDMG but clearly I was half asleep at the time. I've just created an actor inheriting from PoisonCloud but with -OLDRADIUSDMG and that seems to have done the trick. Thanks for the help guys.

Re: Poisoncloud has infinite effect height

by Graf Zahl » Fri Dec 27, 2019 10:20 am

The math in there doesn't work for the cloud. I've been thinking a few times that P_RadiusDamage really needs a third mode like OLDRADIUSDMG but with z-awareness and use that for the less strict compat flag.

Re: Poisoncloud has infinite effect height

by _mental_ » Fri Dec 27, 2019 10:06 am

That's because of OLDRADIUSDMG flag. I don't remember why it was added, there was some issue with "modern" damage radius code I guess.

Poisoncloud has infinite effect height

by Russell_P » Fri Dec 27, 2019 8:25 am

my first bug report, hope i'm doing this right.

Poison clouds seem to effect the player no matter how high they pass over them.

I'm using GZDoom 4.2.4 (from my ini...# This file was generated by GZDoom g4.2.4 on 2019-12-27 14:10:36#)

Here's a test wad for Doom2. I've included the cloud sprites and modifed the poison cloud to spawn a replacement on death.
Attachments
PoisonCloudBug.wad
(16.77 KiB) Downloaded 73 times

Top