Page 1 of 1

How can I copy construction robots' animation onto logistic robots?

Posted: Sat May 14, 2022 8:17 pm
by rainawareness
Construction robots have a RotatedAnimation type called working, which has their 2-frame animation when they are repairing a building.
https://wiki.factorio.com/Prototype/Con ... ot#working

I don't know how to code something like that or view its code to emulate it. However, I want to made a mod that gives logistic robots a 2 frame animation to logistic robots to make them seem more alive. It has types such as in_motion_with_cargo, which are the same RotatedAnimation thing. https://wiki.factorio.com/Prototype/Log ... with_cargo
Since I couldn't find any sort of guides on animating, I was wondering if someone could please point me in the right direction.

Re: How can I copy construction robots' animation onto logistic robots?

Posted: Mon May 16, 2022 3:49 pm
by Deadlock989
Logistics bots don't have the "working" state. Those flying bot states are hardcoded and can't be added or altered by Lua mods.