[2.7.1] Z-height dropped for Hexen artifact

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
plums
Posts: 38
Joined: Sun Sep 15, 2013 12:22 am

[2.7.1] Z-height dropped for Hexen artifact

Post by plums »

I just played this wad for Hexen posted on the doomworld forums:
http://www.monstercute.com/uploads/2/8/ ... adlock.zip

In the big pit, there's a wings of wrath with a Z-Height of 4064, which should be floating nicely in the air:
http://i.imgur.com/icuoKUz.png

Unfortunately in (G)ZDoom, it is in the bottom of the pit, making the level unplayable without cheats:
http://i.imgur.com/WsnNzdZ.png
http://i.imgur.com/2cNpTuC.png

I couldn't get any compatibility flags to change that. I suspect the artifact is spawning at the right place and then falling?
User avatar
TheMightyHeracross
Posts: 2100
Joined: Sun Aug 18, 2013 9:41 am
Location: Philadelphia, PA

Re: [2.7.1] Z-height dropped for Hexen artifact

Post by TheMightyHeracross »

+NOGRAVITY?
plums
Posts: 38
Joined: Sun Sep 15, 2013 12:22 am

Re: [2.7.1] Z-height dropped for Hexen artifact

Post by plums »

+NOGRAVITY would probably do it. Seems like most Hexen pickups are missing this flag in ZDoom. I don't know the source code well enough to find where the flag bits are set, but a quick test wad shows all weapons/artifacts/etc (but not keys) floating with a Z-Height off the ground, but falling in ZDoom.
http://www.mediafire.com/?n4hy5854s4z3f21

edit: It looks like +FLOATBOB should imply +NOGRAVITY or something along those lines? All the objects with FLOATBOB in INFO.C of the Hexen source float in the air, even though they don't have NOGRAVITY set.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [2.7.1] Z-height dropped for Hexen artifact

Post by Graf Zahl »

Interesting, but for compatibility purposes I wouldn't makr it implicit.
plums
Posts: 38
Joined: Sun Sep 15, 2013 12:22 am

Re: [2.7.1] Z-height dropped for Hexen artifact

Post by plums »

Understandable. I hope adding +NOGRAVITY to all the Hexen items doesn't break compatibility with other things though.

This reminds me that there are situations in hexen.wad where you can't pick up items, and I'm 99% sure it's the same bug - the stuff around the group of barrels in the SW region of MAP23, for instance. I've seen it in other wads too, but it's never been as game-breaking or obvious as with the map in the OP, so I've always forgotten or ignored it.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [2.7.1] Z-height dropped for Hexen artifact

Post by randi »

Post Reply

Return to “Closed Bugs [GZDoom]”