Locking player to remote view

User avatar
Osmo
Filter Inserter
Filter Inserter
Posts: 318
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Locking player to remote view

Post by Osmo »

It is possible to force the player back into remote view when a player exists it.
However, doing so will prevent the player from opening pause menu, since pressing escape exits remote view first.

When a player is inside a space platform however, remote view is forced, and pressing escape opens pause menu as normal.
I'm asking to be able to turn on this forced remote view outside of platforms. All that would be needed in such state is for escape button to not change their controller and open pause menu instead.
KiNg626
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri May 21, 2021 4:28 am
Contact:

Re: Locking player to remote view

Post by KiNg626 »

+1

Remote view is a huge improvement over doing janky god controller stuff, but without the ability for remote view to be enabled permanently, any mods not centered on the character entity are still required to do all that janky setup, since remote view can only ever be temporarily set.
Rseding91
Factorio Staff
Factorio Staff
Posts: 17091
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Locking player to remote view

Post by Rseding91 »

Remote view is inherently designed as a secondary controller to the physical controller. The engine just doesn't support 'locking' the player into it and I don't believe anyone has interest in attempting to rework everything to try to support it.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Osmo
Filter Inserter
Filter Inserter
Posts: 318
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Re: Locking player to remote view

Post by Osmo »

That is understandable, and i'm not asking to change that. But it does work on space platforms. And it seems it would only be sufficient to prevent players from switching from remote view on their own, while the physical controller would still exist and mods could switch the controllers whenever. But if there are lots of special cases for handling platforms in particular, that makes sense as well.
Rseding91
Factorio Staff
Factorio Staff
Posts: 17091
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Locking player to remote view

Post by Rseding91 »

It should be possible to add a simple setting on the player that makes "escape"/"toggle menu" not leave remote view. It wouldn't "lock" a player to remote view but it would stop them from the normal method of leaving if a mod wanted.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Osmo
Filter Inserter
Filter Inserter
Posts: 318
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Re: Locking player to remote view

Post by Osmo »

Rseding91 wrote: Wed Jul 01, 2026 7:17 pm It should be possible to add a simple setting on the player that makes "escape"/"toggle menu" not leave remote view.
That would be perfect
Rseding91
Factorio Staff
Factorio Staff
Posts: 17091
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Locking player to remote view

Post by Rseding91 »

I’ve added a read write value to the lua api for the next release that makes “toggle menu” (by default escape), not leave remote view. That means pressing it just opens the game menu. Note that the player can still press the map key to leave remote view - since that’s also how you get into map view. Mods can handle that if they want.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Implemented mod requests”