A couple minor things had to be done to make TELEPORTER BASIC work as you would expect.
the s_playerYPos and s_playerYaw values also need to be transformed to the teleporter's values for the player to correctly teleport to the new position
Also re-instated the commented out code that changes automap layer after teleporting. This brings back vanilla behaviour.
I do not believe that this amendment needs to be an optional game setting, because TELEPORTER BASIC is a recent discovery that existing mods do not use.
A couple minor things had to be done to make TELEPORTER BASIC work as you would expect.
s_playerYPos
ands_playerYaw
values also need to be transformed to the teleporter's values for the player to correctly teleport to the new positionAlso re-instated the commented out code that changes automap layer after teleporting. This brings back vanilla behaviour.
I do not believe that this amendment needs to be an optional game setting, because TELEPORTER BASIC is a recent discovery that existing mods do not use.