[Request] Flag/property that prevents crafting machine animation speed scaling with machine speed

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2529
Joined: Fri Nov 06, 2015 7:41 pm

[Request] Flag/property that prevents crafting machine animation speed scaling with machine speed

Post by Deadlock989 »

In the base game, if a machine's speed is boosted somehow (i.e. modules, beacons) then both the animation and the working animation's speed is also increased to match.

It makes sense in the context of the vanilla animations (mostly) but it would be Nice To Have if we could prevent it. It limits you to simple animations such as moving gears etc - anything that remotely suggests physics (moving parts, things falling and rising with gravity, sparks, flames etc.) look really bizarre when scaled to 2x, 3x speed.

I'm not sure where it would best live - it has to apply to both animation and working_visualisation and it's important that those two things continue to stay in lockstep, so I guess it has to be at the top level of CraftingMachine. It would just be a simple boolean that defaults to true.
Bilka
Factorio Staff
Factorio Staff
Posts: 3314
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [Request] Flag/property that prevents crafting machine animation speed scaling with machine speed

Post by Bilka »

Okay, added CraftingMachinePrototype::match_animation_speed_to_activity for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2529
Joined: Fri Nov 06, 2015 7:41 pm

Re: [Request] Flag/property that prevents crafting machine animation speed scaling with machine speed

Post by Deadlock989 »

Nice one. Thanks very much.
Post Reply

Return to “Implemented mod requests”