a way to have a lua gui element visible to (only) certain controllers

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
Quezler
Filter Inserter
Filter Inserter
Posts: 269
Joined: Fri Mar 25, 2016 6:37 pm
Contact:

a way to have a lua gui element visible to (only) certain controllers

Post by Quezler »

When playing multiplayer and you switch to remote view you get a border so any elements hugging the side would need to be repositioned (or have their visibility toggled), this does not look very nice in remote view.

It would be nice if you could set the visibility of a lua gui element to remote/not-remote/both or something, if you want to be really fancy it could be an array of controller types but it would basically only really matter for remote view.

Im not yet entirely convinced of the best approach and what it should ideally look like but the remote view border latency problem is worth fixing in some form.

Like in space exploration's case it would be nice to have the "system buttons" in the bottom left be available the moment remote view activates, as well as moving the lifesupport gui from hugging the bottom flush against the toolbar to above the border and still hugging the toolbar, which would be more of an offset thing.

Currently the only thing that seems to move with the remote view frame is the top left mod gui thing so that probably has some special handling compared to the other ways lua guis can be positioned across the screen.
Post Reply

Return to “Modding interface requests”