Changing sprite of a train dynamically
Posted: Wed Jul 29, 2020 5:36 pm
Hello,
A while ago I thought about how cool it would be, if trains using nuclear fuel would glow. Now I try to make a mod for this but I don't know if there is a way to change the sprite of an entity depending on their inventory. Alternativly, is there any way to add the glow via the coloring of the train? What do you guys think is the best way to accomplish this?
Thanks in advance,
Phil
A while ago I thought about how cool it would be, if trains using nuclear fuel would glow. Now I try to make a mod for this but I don't know if there is a way to change the sprite of an entity depending on their inventory. Alternativly, is there any way to add the glow via the coloring of the train? What do you guys think is the best way to accomplish this?
Thanks in advance,
Phil