Is there a way to set the texture/icon for an entity to be shown in alt-mode?
For example, I'd like to have a possibility to mod an entity that would have different textures based on the status of alt-mode: one for "on" and one for "off".
Or a RenderLayer that is shown/hidden based on alt-mode status.
Alt-mode texture/icon
Re: Alt-mode texture/icon
Only https://lua-api.factorio.com/latest/LuaRendering.htmlLime wrote: ↑Tue Jul 21, 2020 3:26 pmIs there a way to set the texture/icon for an entity to be shown in alt-mode?
For example, I'd like to have a possibility to mod an entity that would have different textures based on the status of alt-mode: one for "on" and one for "off".
Or a RenderLayer that is shown/hidden based on alt-mode status.
Set the only_in_alt_mode = true
Last edited by darkfrei on Thu Jul 30, 2020 1:24 pm, edited 1 time in total.
Re: Alt-mode texture/icon
I see... are there any libraries or examples how to properly implement UIs?
Re: Alt-mode texture/icon
@moderator can you, please, move this topic to suggestions forum? Basically:
- implement a render layer that is visible in alt-mode only, or
- implement few render layers that can be toggled by a hotkey, not limited to alt only
- implement a render layer that is visible in alt-mode only, or
- implement few render layers that can be toggled by a hotkey, not limited to alt only