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.
MODELDEF's PitchOffset and RollOffset don't work
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.
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.
MODELDEF's PitchOffset and RollOffset don't work
- Attachments
-
- modeldef pitch roll offset test.pk3
- Load with DOOM2
Replaces MAP01 - (2.96 KiB) Downloaded 24 times
- 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
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.
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.
Re: MODELDEF's PitchOffset and RollOffset don't work
Can confirm it's my mistake. I wasn't aware you're supposed to define the offsets before the frame definition.