Animated Locomotive Running Gear
Posted: Thu May 09, 2024 3:49 am
Hi, I'm pretty new here, and I'm just as new to modding Factorio.
My objective here is to create new sprite sheets for trains, more specifically steam locomotives. My issue is that I am not aware of a method of implementing animations for wheels and the mechanisms that turn them (The running gear). Is there a way to do this? Is there any direction I can look in to find a solution? Or am I, in this endeavor, completely out of luck?
Some more details on my thought process:
I see that on the train prototype there is a parameter of "wheels" which is of type "rotated sprite". It looks like there is a data type called "rotated animation" which does exactly what I want (I think, I am not certain), but it is used by the car prototype and not the locomotive prototype. I am really hoping that there is a way to overload the wheels parameter with rotated animation. Maybe there is a way to edit the locomotive prototype to accept rotated animation? If so, it is not apparent how. Maybe I'm looking at the wrong thing.
Any input is appreciated!
My objective here is to create new sprite sheets for trains, more specifically steam locomotives. My issue is that I am not aware of a method of implementing animations for wheels and the mechanisms that turn them (The running gear). Is there a way to do this? Is there any direction I can look in to find a solution? Or am I, in this endeavor, completely out of luck?
Some more details on my thought process:
I see that on the train prototype there is a parameter of "wheels" which is of type "rotated sprite". It looks like there is a data type called "rotated animation" which does exactly what I want (I think, I am not certain), but it is used by the car prototype and not the locomotive prototype. I am really hoping that there is a way to overload the wheels parameter with rotated animation. Maybe there is a way to edit the locomotive prototype to accept rotated animation? If so, it is not apparent how. Maybe I'm looking at the wrong thing.
Any input is appreciated!