Sign in to follow this  
Earthyburt

I need to change the position of my hat sprite

Recommended Posts

Earthyburt    88

basically, the sprite is being drawn over the head, not on the forehead. I researched some ways to do this, but I think the best way to do it is to use a different template (since the one I have is a template of a beefalo hat) that rendsers the sprite OVER the character's forehead (IE Garland). However, I cannot decompile the original anim file from don't starve, and I would like to request someone to teach me how do that or at the very least send me a copy of the anim file. If there is another easier way to do this, then please let me know!

20210410223748_1.jpg

20210410223746_1.jpg

Edited by Earthyburt

Share this post


Link to post
Share on other sites
debugman18    1122

As far as decompiling the original animation files, you could use krane for that.

https://github.com/nsimplex/ktools

However, for something as simple as an equipment animation, you should see this thread:

That's a good tutorial for equippables with custom symbol locations. It doesn't explicitly go over hats, though.

You may be able to offset the images in the animation atlas, but that depends on the texture atlas that you're working off of.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this