[Doom] Map32: Secret exit quirk not replicated
A small quirk of the original Doom2.exe that Doomsday doesn't replicate has come to my attention.
It would appear that in Doom2.exe, in normal play (i.e. the player hasn't used the level warp cheat), that a secret exit trigger type on Map32 will restart Map32. In Dday, a secret exit trigger takes the player back to Map16.
In Doom2.exe, if the player has used the level warp cheat to reach Map32, a secret exit trigger type on Map32 will take the player back to the last level they entered without cheating (i.e. if the player completes Map01 and then uses the level warp cheat on Map02 to take them to Map32, then a secret exit trigger on Map32 will take them to Map02).
Here is a pwad which uses a secret exit trigger to restart Map32, if the player crosses it. The trigger (line186) is just up the stairs with the Shotgun in front of them, right at the start of the map.
Note that the map heavily uses a rendering hack that Dday doesn’t support at tall, to the point that it actually blocks access to some areas of the map in Dday.
#3 Updated by vermil over 8 years ago
I believe that Vanilla Doom2 has no understanding of what to do with a secret exit trigger on Map32 and thus in a case of undefined behavior, it takes the player to the last level they didn't use the level warp cheat to enter.
The above mentioned Pwad takes advantage of this undefined behavior and places a secret exit trigger on Map32 to restart the map if the player crosses it (the reality is that Map32 was simply the last map the player would have entered if they weren't cheating).
However, in Dday, a secret exit trigger on Map32 takes the player to Map16.