Add option to NOT reset zoom level when changing characters
Posted: Mon Nov 18, 2024 1:44 am
I'm working on updating my mod Renai Transportation to the 2.0 API and in some situations I switch the player character for a copy that has no collision so that it doesn't hit/interrupt trains when using the zipline.
Previously, changing the character the player controls just shifted the camera over to the new character, but now the same command (player.character = "NewCharacter") resets the player's zoom level when control transfers to the new character. It's really jarring immersion-wise and unexpected since it wasn't like that before, so it'd be great if there was some way to preserve the zoom level when switching characters.
If there is already a way to do this I couldn't find it
Previously, changing the character the player controls just shifted the camera over to the new character, but now the same command (player.character = "NewCharacter") resets the player's zoom level when control transfers to the new character. It's really jarring immersion-wise and unexpected since it wasn't like that before, so it'd be great if there was some way to preserve the zoom level when switching characters.
If there is already a way to do this I couldn't find it