Old Flying Physics for DOOM/BOOM Compatibility

Moderator: GZDoom Developers

User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47968
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Old Flying Physics for DOOM/BOOM Compatibility

Post by Graf Zahl »

Thanks to a thread over at Doomworld I had a closer look at the Lost Souls, and they actually suffer from some typical early ZDoom coding, where different behavior in Doom and Heretic was sloppily merged together which effectively broke the Lost Soul's attack pattern. This got broken in the early 1.23 betas, i.e. 19 years ago. No wonder I misremembered how it was originally, because for all those years I have been using ZDoom or some derivate for playing exclusively.

After a bit of thinking I decided to unconditionally revert it to how it was originally, this should be the last remaining issue this thread was about. It was made an actor flag to avoid an impact on custom content and allow both patterns to coexist.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3110
Joined: Fri Apr 23, 2004 3:51 am
Discord: drfrag#3555
Github ID: drfrag666
Location: Spain

Re: Old Flying Physics for DOOM/BOOM Compatibility

Post by drfrag »

I don't remember the original issue being fixed.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47968
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Old Flying Physics for DOOM/BOOM Compatibility

Post by Graf Zahl »

That was the vertical thrust by explosions which is not compatibility optioned.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3110
Joined: Fri Apr 23, 2004 3:51 am
Discord: drfrag#3555
Github ID: drfrag666
Location: Spain

Re: Old Flying Physics for DOOM/BOOM Compatibility

Post by drfrag »

Found it, it's optioned.

Code: Select all

- added A_Explode compatibility options.

There are two options here - one only disables the vertical thrust and the other goes back fully to the original non-z-aware code.
Both options are settable through MAPINFO.
For the compatibility presets, the normal ones only disable the vertical thrust, the strict ones force use of the old code entirely.
Gez
 
 
Posts: 17632
Joined: Fri Jul 06, 2007 3:22 pm

Re: Old Flying Physics for DOOM/BOOM Compatibility

Post by Gez »

User avatar
Blue Shadow
Posts: 4903
Joined: Sun Nov 14, 2010 12:59 am
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Old Flying Physics for DOOM/BOOM Compatibility

Post by Blue Shadow »

With this change to the lost soul, it seems to still use the ZDoom behavior instead of its original one if it impacts a wall, floor or ceiling (it does use its original behavior if impacts a blocking actor, though). Is that intentional or an oversight?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47968
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Old Flying Physics for DOOM/BOOM Compatibility

Post by Graf Zahl »

The difference was only when hitting an actor, as far as I know.
User avatar
Blue Shadow
Posts: 4903
Joined: Sun Nov 14, 2010 12:59 am
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Old Flying Physics for DOOM/BOOM Compatibility

Post by Blue Shadow »

Okay.
Guest

Re: Old Flying Physics for DOOM/BOOM Compatibility

Post by Guest »

If someone is still stuck with this
I think I achieved that from Options:->Compatibility Options->Physics Behavior (gzdoom 4.4.2)
and a combination of this three settings:
Actor are infinity tall
Use doom height for missile clipping
no vertical trust from explosions

Return to “Closed Feature Suggestions”