Visual portals to other surfaces

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
SWeini
Long Handed Inserter
Long Handed Inserter
Posts: 75
Joined: Mon Apr 04, 2022 6:43 am
Contact:

Visual portals to other surfaces

Post by SWeini »

TL;DR
Render a part of the map on top of the map somewhere else.
What?
Factorissimo 3 does something like this on mouse-over
12-10-2025, 17-46-12.png
12-10-2025, 17-46-12.png (1.51 MiB) Viewed 76 times
However, there are some restrictions:
  • has problems with sizing (I had it matching previously, might be a bug in the mod, but shows how tricky it is to get right in a mod)
  • lags behind when moving the camera (as it has to adjust the position of the overlay via events)
  • doesn't have recursion implemented
The minimalistic implementation only allows a rectangular area of some surface to show at a specific location on some other (or same) surface. But I believe mods would use even more advanced features:
  • non-rectangular areas
  • areas that are of massive size (like a ribbon world that wraps around)
  • recursive rendering of those portals (up to a max depth)
  • user-defined rules for when it is visible (explicit switch, mouse-over, close to player, close to camera)
  • dynamic visibility (as if looking into through a door), see video here:
    portal-clip-smaller.mp4
    (71.81 MiB) Downloaded 4 times
Why?
We have linked belts, linked pipes, cross-surface wires, but we don't have cross-surface visibility.
Post Reply

Return to “Modding interface requests”