[2.1.20] Allow hiding the "Surface List" GUI when remote viewing

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
hgschmie
Fast Inserter
Fast Inserter
Posts: 244
Joined: Tue Feb 06, 2024 5:18 am
Contact:

[2.1.20] Allow hiding the "Surface List" GUI when remote viewing

Post by hgschmie »

(this is very loosely related to the "Allow placing GUI elements relative to the "Surface List" GUI" threads)

I have a mod where clicking on an entity may bring you to a remote view of a specific surface. I only want to show that surface and not allow navigating away. But I can't see a way to turn this off.

Given that there are a number of "feature flag" requests for controllers, maybe adding a feature_flags = { ... constants from ControllerFeatureFlags ... }, to LuaPlayer::set_controller and then add e.g. "no-surface-list-gui" as a constant to the ControllerFeatureFlags which is only useful if the controller is of type "remote".
User avatar
Osmo
Filter Inserter
Filter Inserter
Posts: 363
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Re: [2.1.20] Allow hiding the "Surface List" GUI when remote viewing

Post by Osmo »

This already exists as part of game view settings https://lua-api.factorio.com/latest/con ... rface_list
User avatar
hgschmie
Fast Inserter
Fast Inserter
Posts: 244
Joined: Tue Feb 06, 2024 5:18 am
Contact:

Re: [2.1.20] Allow hiding the "Surface List" GUI when remote viewing

Post by hgschmie »

Osmo wrote: Wed Sep 23, 2026 1:38 am This already exists as part of game view settings https://lua-api.factorio.com/latest/con ... rface_list
Thanks for pointing this out; as this is per-player it might work for me (need to test it).
Post Reply

Return to “Modding interface requests”