#Adding custom player animations

12 messages · Page 1 of 1 (latest)

balmy ruin
#

I'm trying to add player animations to my mod, so when a certain trigger happens, they go through a spirted .animations file. From what I've seen, status effects have animations but only work with transforms/sounds and don't actually have sprite changes. The animator docs all seem to be for objects or only allow transforms instead of sprite changes. The only way I've found that seems possible is forcing the player to sit and be invisible, and spawning an object with the animation on top of them (which I think would be disjoined and obvious to the player?). So how can I add a custom player animation (like jumping/swimming)?

twin whale
#

You can't. You can theoretically make the player invisible with a status effect then make that status effect have a sprite infront of you. Though since armours and many other things rely on base animations, you will not be able to use anything but the naked player. Not to mention being incompatible with every single race in any mod.

balmy ruin
twin whale
#

If your player is invisible it doesnt matter

balmy ruin
twin whale
#

Do you know what invisible means

balmy ruin
#

Yes I know they won't matter, that's not what I'm asking

#

I'm asking how to animate the status effect

twin whale
#

You use animator

#

Look at the status effects in vanilla

#

Theres plenty with animations

#

Anyway gn