So I was testing out some simple teleporter varieties as an example for someone, and I found a discrepancy between how GZDoom currently handles the Teleport (70) line special compared to vanilla (I used Chocolate Hexen for vanilla testing so it SHOULD be accurate).
In CH, when the teleport special targets multiple map spot destinations with the same TID, it randomly chooses one of the destinations to send the teleported actor to. But in GZDoom, it will only use the first destination it picks and send all the actors to that one, ignoring the rest of the map spots. I double checked and the wiki says that CH's behaviour is as intended: https://zdoom.org/wiki/Teleport.
To recreate it, walk through the third plague from the left at the map's start. Make sure to attack once to wake up the monsters.
(Tested on GZDoom 4.14.1 and Chocolate Hexen 3.1.0)
Teleport Doesn't Randomly Choose Destinations with Same TID
Moderator: GZDoom Developers
Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.
If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.
Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.
If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.
Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
Teleport Doesn't Randomly Choose Destinations with Same TID
- Attachments
-
teleporterstestvanilla.wad
- (20.67 KiB) Downloaded 5 times
Re: Teleport Doesn't Randomly Choose Destinations with Same TID
Can you confirm this map specifically is randomizing in vanilla Hexen? You're using map spots which, according to the teleport code, was an oversight on MAP10. You're supposed to be using teleport destinations for the randomized behavior. If this also works in Hexen then I'll update GZDoom to support it.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Teleport Doesn't Randomly Choose Destinations with Same TID
Map spots are indeed not randomized and support is only for backwards compatibility.