NORDHELL bug
Moderator: Graf Zahl
-
- Posts: 4
- Joined: Wed Apr 01, 2009 23:26
Re: NORDHELL bug
If no one could help me, could someone at least see if this happens to them too?
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Re: NORDHELL bug
If I run the map in Zdoom, obviously the map isn't properly completable or anything, and there are no 3D floors but the blue skull spawns at the bottom of the pit below where the ice coffin should be.
In GZdoom, the key does not spawn.
by listening to the sound of the dummy sector moving in Zdoom and watching when the skull appears, the skull spawns before the dummy sector has finished moving. So it's my guess that the 3D floor is in the way when when the skull tries to spawn at the bottom of the pit.
[edit]OK, adding a delay into the script does indeed allow the key to spawn. This may have worked before hand. I'm sure that I remember playing this and not getting stuck with an older version of GZdoom. A lot of how spawning and 3D floors is handled has changed. However, this does look like a problem with the map that previously GZdoom may have coped with - presumably by moving the skull up when it spawned. Clearly, trying to spawn a key whilst there is a 3D floor in the way is a mapping error though.
If you cannot edit the script yourself, here is how to progress via cheats that will do the same as if the scripts had worked properly. After activating the switch for the ice coffin and waiting for it to come back up, bring down the console and type the following:
summon blueskull
puke 8
The first command will spawn a skullkey. The second will run the script (script 8 ) that would normally run after you pick up the key if the key had spawned correctly.
[/edit]
In GZdoom, the key does not spawn.
by listening to the sound of the dummy sector moving in Zdoom and watching when the skull appears, the skull spawns before the dummy sector has finished moving. So it's my guess that the 3D floor is in the way when when the skull tries to spawn at the bottom of the pit.
[edit]OK, adding a delay into the script does indeed allow the key to spawn. This may have worked before hand. I'm sure that I remember playing this and not getting stuck with an older version of GZdoom. A lot of how spawning and 3D floors is handled has changed. However, this does look like a problem with the map that previously GZdoom may have coped with - presumably by moving the skull up when it spawned. Clearly, trying to spawn a key whilst there is a 3D floor in the way is a mapping error though.
If you cannot edit the script yourself, here is how to progress via cheats that will do the same as if the scripts had worked properly. After activating the switch for the ice coffin and waiting for it to come back up, bring down the console and type the following:
summon blueskull
puke 8
The first command will spawn a skullkey. The second will run the script (script 8 ) that would normally run after you pick up the key if the key had spawned correctly.
[/edit]
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: NORDHELL bug
Thanks for that analysis.
Yes, there have been some changes regarding 3D floors recently. Most of this was to fix a fundamental problem with the old implementation: Floor and ceiling heights were not properly calculated at item spawn and a really ugly and problematic hack (taken from Legacy) was used instead. This incorrect handling could easily cause actors to get stuck in 3D floors so something had to be done. Unfortunately it's not perfect and things like this one where a mapping error goes undetected may happen.
Yes, there have been some changes regarding 3D floors recently. Most of this was to fix a fundamental problem with the old implementation: Floor and ceiling heights were not properly calculated at item spawn and a really ugly and problematic hack (taken from Legacy) was used instead. This incorrect handling could easily cause actors to get stuck in 3D floors so something had to be done. Unfortunately it's not perfect and things like this one where a mapping error goes undetected may happen.