Jump to content

mod item destroyed when dropped


Recommended Posts

So the bug is i make the item, i drop it, and it disappears. i have seen a post where recompiling the animation files fixes this, but it did not for me. so i do believe its something with the animation files, unless there is a script required to allow the item to drop, that tells the item to play this animation.

 

however i dont think thats the problem so, i more wanted to know if my animation for the item is correct. I make the animation by just putting the image in the center axis of the spriter, and i don't make a dropping animation (first mistake?) then i rename the items in the bottom right corner menu to "myitem" then "idle" (second possible mistake for items?) then save and compile it into a animation.

 

Help would be greatly apreciated

Link to comment
Share on other sites

Are you setting the bank and build of the item's animation/sprite in the initialization function?

 

From the console in game try entering c_spawn("youritemhere") and then press backspace to open up the debug overlay.

 

This will show you if the build/bank/animation is invalid/missing.

 

0WbO86t.jpg

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...