Page 1 of 1

[2.0.15] Modding character zoom issue

Posted: Sat Nov 09, 2024 3:36 pm
by jared.schuman
A persistent issue with the jetpack mod since 2.0, did not find report so I wish to forward info others have posted. According to others it appears to be a modding API issue. I am just a user of the mod so I am just forwarding information from others.


User covffe on discord:
"It resets the camera zoom to being close up to the player character, whenever the animation for activation of the jetpack has finished, or whenever the animation for deactivating and landing has finished.

So say I'm walking along, zoomed out for visibility, I lift off, the camera cuts to zoomed in on the character. I then have to zoom back out in flight, and then it happens again when i land.

Ive tried assigning new keys for activation just incase it was conflicting with some new feature but it happens regardless.

This has only happened since the recent update and getting Space Age. Never had it happen before."

User Trex in reply:
"This is a problem with Factorio, as there is no API that allows us to change the zoom when the Jetpack is activated to prevent this from happening. Until Factorio updates the Mod API to allow us to do that, this is an unfortunate side effect that we cannot change. (...) I don't believe it was a problem before 2.0, but I believe the behaviour changed specifically to reset the zoom when changing the "controller" the player is using (a technical thing that defines if you're controlling a character, or the remote view, or a few other options)
So that if you were zoomed out in Remote view and switched back to your character, you were not confronted with a similarly zoomed out view of where your character was"