Jump to content

Recommended Posts

I was making custom items using Wickerbottom's books as a base when I came across this issue: the items go invisible with no name when dropped on the floor.

I figured out what was causing the items to disappear but am not sure how to go about fixing it.

inst.AnimState:PlayAnimation(def.name)

This is the code for the "idle" animation. I copied and pasted the anim zip file for Wickerbottom's books and changed the names to my needs since I wanted to use the same "reading" animation. Since the "idle" animations were each individual book's name they are now obsolete with my name changes. I thought to edit the scml file myself but I couldn't get ktools to work to get said scml file.

That brings us to: is there a way to get around this problem?

I was thinking maybe I can override the base anim zip just for the idle animations (I'd have a separate anim similar to "swap" for equippables that'd be used only so the items show up on drop), but I have no idea if that is actually doable. If it is I would appreciate any help in doing so.

Alternatively, if anyone else is able to get the scml file out of the anim zip then I can freely work with that and get everything in place. If that's possible I've attached the file.

arcana.zip

Edited by suteneko
Link to comment
https://forums.kleientertainment.com/forums/topic/113140-adding-idle-anim-solved/
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
×
  • Create New...