MODELDEF's PitchOffset and RollOffset don't work

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
Fishytza
Posts: 781
Joined: Wed Feb 23, 2011 11:04 am
Preferred Pronouns: No Preference
Contact:

MODELDEF's PitchOffset and RollOffset don't work

Post by Fishytza »

Tested with GZDoom g4.7.1
and GZDoom g4.8pre-274-g049124ed2

What the title says. The test map has two model using actors. One uses MODELDEF's PitchOffset and the other uses RollOffset.
If you view the map in Ultimate Doom Builder it looks as you would expect.
But when actually loading the map in GZDoom it's as if PitchOffset and RollOffset aren't even defined.
Attachments
modeldef pitch roll offset test.pk3
Load with DOOM2
Replaces MAP01
(2.96 KiB) Downloaded 24 times
User avatar
phantombeta
Posts: 2088
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: MODELDEF's PitchOffset and RollOffset don't work

Post by phantombeta »

User error? The lines are placed after the frame definition, and it seems to work fine if correctly placed before it.
Sounds like UDB is handling MODELDEF incorrectly- MODELDEF works linearly: the properties and flags are applied only to the frames defined after they were set, and can all be changed between different frames.
User avatar
Fishytza
Posts: 781
Joined: Wed Feb 23, 2011 11:04 am
Preferred Pronouns: No Preference
Contact:

Re: MODELDEF's PitchOffset and RollOffset don't work

Post by Fishytza »

Can confirm it's my mistake. I wasn't aware you're supposed to define the offsets before the frame definition.
Post Reply

Return to “Closed Bugs [GZDoom]”