Automatic Train Painter


Automatically colors locomotives and wagons based on their contents.

Tweaks
11 months ago
0.17 - 2.0
114K
Trains

g Fixed version for Krastorio2

a month ago

I uploaded a fixed version for Krastorio 2 https://www.evilpla.net/Automatic_Train_Painter_2.0.1.zip

27 days ago
(updated 27 days ago)

I uploaded a fixed version for Krastorio 2 https://www.evilpla.net/Automatic_Train_Painter_2.0.1.zip

Hey @EvilPLa, could you please let me know how you managed to "fix" the train painter for K2? I am trying to get the mod to work with Battery Electric Trains, Steam Locomotive and K2, but it only paints the wagons on the vanilla Diesel Locomotive and I'm trying to figure out which setting I have to amend in the code to get it to work with all of the mods listed.

I tried looking at your version to see if I could spot any differences to the original mod, but I can't seem to find any.

27 days ago

I just updated the db, because K2 had a lot of renamed prototypes https://pastebin.com/v39RjgBN
Adding new mods will not be that easy

27 days ago

Ah right I see, so it was simply a colouring issue that you fixed and not the compatibility with K2's Nuclear Locomotive. For me the Nuclear Locomotive and it's wagons do not change colour and I would like to know how to change this :D

27 days ago

I thought I have tested that and the nuclear loco changed color, will test again.

27 days ago

Ok, I'm an idiot, somehow I uploaded a zip without the change. So if anyone downloaded before 23.09.25 - 8 pm please redownload.

27 days ago

Ok, I'm an idiot, somehow I uploaded a zip without the change. So if anyone downloaded before 23.09.25 - 8 pm please redownload.

I just downloaded it again and tried it but the nuclear locomotive still doesn't change colour...
I put Blue Circuits into the wagon, normal locomotive turns blue when going to station, nuclear locomotive stays red.

27 days ago

Check the "use destiantion train stop color" check box is unset in the loco

27 days ago

Check the "use destiantion train stop color" check box is unset in the loco

Wow... I feel very dumb xD I have no idea why that setting is off for the vanilla locomotives by default, but not for the modded ones. They all work perfectly now, thanks!

New response