Page 3 of 3

Re: Old Flying Physics for DOOM/BOOM Compatibility

Posted: Sun Aug 11, 2019 12:58 am
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.

Re: Old Flying Physics for DOOM/BOOM Compatibility

Posted: Sun Aug 11, 2019 3:34 am
by drfrag
I don't remember the original issue being fixed.

Re: Old Flying Physics for DOOM/BOOM Compatibility

Posted: Sun Aug 11, 2019 3:44 am
by Graf Zahl
That was the vertical thrust by explosions which is not compatibility optioned.

Re: Old Flying Physics for DOOM/BOOM Compatibility

Posted: Sun Aug 11, 2019 6:53 am
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.

Re: Old Flying Physics for DOOM/BOOM Compatibility

Posted: Sun Aug 11, 2019 7:15 am
by Gez

Re: Old Flying Physics for DOOM/BOOM Compatibility

Posted: Sun Aug 11, 2019 7:32 am
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?

Re: Old Flying Physics for DOOM/BOOM Compatibility

Posted: Sun Aug 11, 2019 9:40 am
by Graf Zahl
The difference was only when hitting an actor, as far as I know.

Re: Old Flying Physics for DOOM/BOOM Compatibility

Posted: Sun Aug 11, 2019 12:31 pm
by Blue Shadow
Okay.

Re: Old Flying Physics for DOOM/BOOM Compatibility

Posted: Thu Oct 08, 2020 2:17 pm
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