API to add overlay and action buttons to the map overlay UI

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
djfariel
Burner Inserter
Burner Inserter
Posts: 9
Joined: Mon Sep 25, 2017 8:38 am
Contact:

API to add overlay and action buttons to the map overlay UI

Post by djfariel »

TL;DR
API to add overlay and action buttons to the map overlay UI that can toggle custom overlays and perform custom actions, much like the shortcuts bar.

What?
Some mods would like to add custom overlays, but there is no way to toggle those overlays without shortcuts or custom UI. Having an API to register custom overlay toggles (which already appears to be set up to scale this way, similarly to the shortcut bar) would allow us to, well, register custom overlay toggles. It would improve the accessibility of chart rendering. Additionally, the Ping and Tag buttons that are above this could be extended with shortcut-like actions. They make sense with where they are contextually, and some other custom actions (e.g. a map pen tool, a map shape tool, etc) would benefit from gaining that context over using the shortcut bar or a custom window.
Why?
Modding accessibility and customization.

Thanks!
berggen
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Tue Sep 01, 2020 7:12 pm
Contact:

Re: API to add overlay and action buttons to the map overlay UI

Post by berggen »

+1, would love to add some custom overlays, and it would be nice to get them registered in the UI like other overlays.
User avatar
Osmo
Filter Inserter
Filter Inserter
Posts: 345
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Re: API to add overlay and action buttons to the map overlay UI

Post by Osmo »

+1, would be useful in lots of mods. It could be to the buttons above or below the minimap or both. Could use the same system as shortucts or something else.
Muramasa
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Aug 12, 2024 3:38 pm
Contact:

Re: API to add overlay and action buttons to the map overlay UI

Post by Muramasa »

+1 for this! this is the last thing I need for my zoning overlay mod that helps you plan out factories.
Post Reply

Return to “Modding interface requests”