I've had a couple instances of making a LuaRenderObject to specifically mimic a custom alert. Of course combined with adding the custom alert to every player on a force.
A single static sprite isn't the most obvious, nor does it really mimic alerts all that well. I'd like some way to tap into the same flashing behavior that the rest of the alerts follow, so my faked flashing isn't paused when the game time is paused (like editor mode) and is perfectly in sync with everything else flashing.
I would not be upset if this only comes to the Sprite render objects, but I see no reason not to add it to every object if you can.
Option for LuaRendering to flash like alerts
-
- Fast Inserter
- Posts: 234
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: Option for LuaRendering to flash like alerts
+1, I am going to be implementing an alert in the coming weeks and I thought this was already a feature but apparently not. I'd also like to use this in another mod where pausing in editor mode makes it break. Alternatively, a 'paused_tick' or some other type of on_tick event that supports ticks generated while the game is paused would be extremely useful for this and other scenarios.
If you need to reach me, message me on discord.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
-
- Fast Inserter
- Posts: 103
- Joined: Sat Aug 05, 2023 1:20 am
- Contact:
Re: Option for LuaRendering to flash like alerts
+1 While possible to recreate already, it would be nice to have them syncronized without on_tick stuff, and would also be more performant.