Page 1 of 1
Custom Animations?
Posted: Sat Apr 30, 2016 1:04 am
by memcallen
I've gotten back into modding recently, and I want to know if my entity can have custom animations (kind of like animation states). These animations need to be accessable by code, as in they can be activated/deactivated by calling a function or event. Any help is appreciated, thanks.
Re: Custom Animations?
Posted: Wed May 04, 2016 7:11 pm
by memcallen
Anyone know if these are going to be implemented soon, or will I have to make my own API for it?
Re: Custom Animations?
Posted: Wed May 04, 2016 7:39 pm
by Supercheese
Sadly control.lua lacks a good way to change the sprite/animation of an existing entity programatically. You pretty much have to spawn/despawn new entities to trigger new animations, or use hacks like having completely different sprites for a "car"-type entity's Orientations and rotate it to get new sprites/run an animation.
Re: Custom Animations?
Posted: Sun May 08, 2016 1:46 am
by memcallen
well that sucks, I might make my own api seeing as there isn't any good solutions, and then post it here. Thanks