Rising door bounces an imp to the ceiling (Doom2, MAP01)

Bugs that have been investigated and resolved somehow.

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.
Post Reply
User avatar
simc
Posts: 135
Joined: Fri Feb 03, 2012 11:44 am

Rising door bounces an imp to the ceiling (Doom2, MAP01)

Post by simc »

I'm sorry to bring this matter up again. I wrote earlier a similar topic about demons and it was judged as unfixable behavior.
http://forum.zdoom.org/viewtopic.php?f=7&t=51975

But I now see that in Doom2 MAP01 an imp next to a door suddenly jumps up when the door opens and other imps can walk under it. After that the imp falls down and continues normally. Because this does happen when the lift is still down it can't be the upwards going player pushing the imp up. This is *not right*.
Image

This anomaly does occure with these ZDoom versions:
zdoom-2.9pre-948-gebca170
zdoom-2.9pre-928-g841a579
zdoom-2.9pre-854-g1722902
zdoom-2.9pre-506-g1648a71
zdoom-2.9pre-415-g346fae8
zdoom-2.9pre-362-g9b23b41
zdoom-2.9pre-270-g60c2a55 (Feb 26th 2016 22:04)

But I can't get it happen with:
zdoom-2.9pre-154-gb9037ef (Feb 16th 2016 13:46)
zdoom-2.9pre-95-ge2de258
zdoom-2.8.1 (Feb 21st 2016 20:14)

So there must have been a fairly recent change to cause it.

To test by your own:
1) Get in the main hall of the Doom2 MAP01 in UV (save the game for faster reruns)
2) Switch the lift down.
3) Before the lift goes up hit the back wall to open the door.
4) Quickly back off so that imps wake up during the opening of the door and when the lift is still down.

If you go slightly to the *left* while backing off the imp goes up with the door almost every time. Here's also a demo file (20 s) recorded with zdoom-2.9pre-928-g841a579. Run ZDoom with Doom2 and type into console 'playdemo [path]demo_ceilingimp.lmp'.
User avatar
Nash
 
 
Posts: 17505
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Rising door bounces an imp to the ceiling (Doom2, MAP01)

Post by Nash »

Where's the demo file?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Rising door bounces an imp to the ceiling (Doom2, MAP01)

Post by Graf Zahl »

Problem is, the way this code was written the current outcome is precisely what it's supposed to be. That doesn't mean that I don't consider the entire algorithm pretty much broken. But I simply cannot find the difference that made it not trigger in older versions.

EDIT: Found it, it just was in a completely different place than what I would have expected.
User avatar
simc
Posts: 135
Joined: Fri Feb 03, 2012 11:44 am

Re: Rising door bounces an imp to the ceiling (Doom2, MAP01)

Post by simc »

The demo file. It works also with the latest zdoom-2.9pre-948-gebca170.
Attachments
demo_ceilingimp.zip
(2.16 KiB) Downloaded 30 times
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Rising door bounces an imp to the ceiling (Doom2, MAP01)

Post by Graf Zahl »

Oh, just a final note: If you manage to get some older 2.0.x versions working again, you'll see this effect all over the place. The only reason it got less frequent was several attempts to patch this glitch. I doubt it's completely fixable but this should be addressed in a more stable and predictable manner. Much of what happens here depends on the order in which actors are stored.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: Rising door bounces an imp to the ceiling (Doom2, MAP01)

Post by NeuralStunner »

Oh man, nice to see the "picked up an imp stack" bug addressed again. :D
Post Reply

Return to “Closed Bugs [GZDoom]”