Page 1 of 1

Do units use idle_animation at all?

Posted: Thu Jun 13, 2019 7:33 am
by kingarthur
trying to make some new ceatures that spawn with the biters and atm to test animations im just replaceing the small biter. we made idle animations and coded them into the biter but it doesnt seem to do anything. the animations work as i test it by replacing run animation and they show up fine. idle_animation just doesnt seem to do anything at least on biters.

Re: Do units use idle_animation at all?

Posted: Thu Jun 13, 2019 8:21 am
by posila
idle_animation is not used at the moment

Re: Do units use idle_animation at all?

Posted: Thu Jun 13, 2019 8:47 am
by darkfrei
Cannot test it right now. Must be idle_animation defined or is it optional?
It's could be interesting that the game wants something, that later will be not used.

Re: Do units use idle_animation at all?

Posted: Thu Jun 13, 2019 10:11 am
by posila
idle_animation on unit prototypes is not required (and never was)
In 0.17.49 it won't be even loaded, so it is not confusing.
And I also removed commented out idle_animation definitions from base prototype (to also not be confusing).