[2.0.19] a hidden platform still shows in the remote view sidebar

Bugs that are actually features.
User avatar
Quezler
Fast Inserter
Fast Inserter
Posts: 170
Joined: Fri Mar 25, 2016 6:37 pm
Contact:

[2.0.19] a hidden platform still shows in the remote view sidebar

Post by Quezler »

running this command to set the platform hidden, and then reading if its hidden both run as expected, but the platform doesn't get hidden from the sidebar:

/c game.player.force.set_surface_hidden(game.player.surface, true)
/c game.print(game.player.force.get_surface_hidden(game.player.surface))

the expected behavior is that it hides the platform from the sidebar, but clicking on an alert or gps ping tags still taking you to view that platform surface.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15335
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.19] a hidden platform still shows in the remote view sidebar

Post by Rseding91 »

Thanks for the report. Platforms were designed to always be visible and as such they do not interact with the hidden surface logic in any way from what I can find.
If you want to get ahold of me I'm almost always on Discord.
thesixthroc
Long Handed Inserter
Long Handed Inserter
Posts: 83
Joined: Wed Apr 29, 2020 9:53 pm
Contact:

Re: [2.0.19] a hidden platform still shows in the remote view sidebar

Post by thesixthroc »

Being unable to hide platforms restricts the possibilities with rocket silo mods.

It seems currently impossible to seamlessly make rocket silos that have custom launch behavior (eg to other planets) or can support logistic requests to other entities in the game.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15335
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.19] a hidden platform still shows in the remote view sidebar

Post by Rseding91 »

You can make a rocket launch to another planet with the existing Lua API for cargo pods.
If you want to get ahold of me I'm almost always on Discord.
thesixthroc
Long Handed Inserter
Long Handed Inserter
Posts: 83
Joined: Wed Apr 29, 2020 9:53 pm
Contact:

Re: [2.0.19] a hidden platform still shows in the remote view sidebar

Post by thesixthroc »

To clarify, I already have two mods [1, 2] which launch directly from planet to planet.

They suffer from two limitations relating to the GUI:
1. Although it is possible to make script-controlled space platforms whose inventory and logistic requests mimic a cargo landing pad on another planet (thereby allowing rockets to fulfil those logistic requests), since these scripted platforms cannot be hidden in the sidebar GUI they clutter the UI.
2. It is impossible to make custom launch GUIs, as players cannot be made to enter a launching rocket by script. The first mod above resorts to creating one scripted platform for each destination. This is really a separate request, and has its own thread: viewtopic.php?p=662451#p662451

EDIT: Since this is really a feature request, I have created a thread: viewtopic.php?t=127359
Post Reply

Return to “Not a bug”