How to make Light map not turn off when train stops?

Place to get help with not working mods / modding interface.
AlveKatt
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Sun Apr 14, 2019 1:44 pm
Contact:

How to make Light map not turn off when train stops?

Post by AlveKatt »

How do you get the lightmaps on a locomotive to not turn off when standing still or reversing?

https://mods.factorio.com/mod/Steam-Locomotive
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2529
Joined: Fri Nov 06, 2015 7:41 pm

Re: How to make Light map not turn off when train stops?

Post by Deadlock989 »

You could include those layers in the main pictures definition with the new draw_as_light = true or draw_as_glow = true parameters. Although then they would be drawn regardless of whether or not the locomotive is powered. Otherwise the behaviour of front_light, back_light and stand_by_light is hardcoded as far as I know, I don't have much experience of locomotives or rolling stock, someone else might know more.
Post Reply

Return to “Modding help”