Can I Avoid Referencing an Animation in an Entity?

Place to get help with not working mods / modding interface.
TheLastRonin
Inserter
Inserter
Posts: 23
Joined: Thu Jan 22, 2015 8:22 pm
Contact:

Can I Avoid Referencing an Animation in an Entity?

Post by TheLastRonin »

When I try to take the animation lines out of an entity to just use a base image for a pumpjack like object the game throws up error codes that it couldn't find the animation?

I just want to simply use a base image that is not animated.
User avatar
FreeER
Smart Inserter
Smart Inserter
Posts: 1266
Joined: Mon Feb 18, 2013 4:26 am
Contact:

Re: Can I Avoid Referencing an Animation in an Entity?

Post by FreeER »

Since Factorio requires the animation property/node you have to give it something, if it won't accept an empty one (just animations = {}), which it probably won't, then give it a transparent 'animation' with a single frame. Factorio gets to treat it as an animation, so it's happy, but since it doesn't SHOW anything it's as if it's not even there, which makes you happy :)
Post Reply

Return to “Modding help”