Looper_0935 Posted November 22, 2021 Share Posted November 22, 2021 So, I'm currently making a mod for Dst, and I'm using the boomerang code for a new item. Whenever I throw the boomerang and lay it on the ground, it shows the texture I want, but when I hold it it's just a regular boomerang. I'm currently in a call with a friend and he told me to wine on here for answers so uh yeah lol. Link to comment https://forums.kleientertainment.com/forums/topic/135516-custom-item-not-showing-in-hand/ Share on other sites More sharing options...
-LukaS- Posted November 22, 2021 Share Posted November 22, 2021 Have you created a swap animation? For equippable items it's necessery to create 2 separate animation files, one for when it's on the ground, item.scml, and one for when it's held, swap_item.scml. Link to comment https://forums.kleientertainment.com/forums/topic/135516-custom-item-not-showing-in-hand/#findComment-1515966 Share on other sites More sharing options...
Looper_0935 Posted November 23, 2021 Author Share Posted November 23, 2021 10 hours ago, -t- said: Have you created a swap animation? For equippable items it's necessery to create 2 separate animation files, one for when it's on the ground, item.scml, and one for when it's held, swap_item.scml. How do I create a swap animation for the item? I tried exporting the swap_boomerang animation folder, but it didn't have an anim.bin. Link to comment https://forums.kleientertainment.com/forums/topic/135516-custom-item-not-showing-in-hand/#findComment-1516104 Share on other sites More sharing options...
-LukaS- Posted November 23, 2021 Share Posted November 23, 2021 To create a swap animation you need to create a folder called 'swap_[your_item]' in your 'exported' folder. Inside you need to create another folder and name it 'swap_[your_item]'. In that folder you should put your boomerangs holding sprite. Then create a new Spriter project and select the first 'swap_[your_item]' folder as your root. In Spriter change the entity name to 'swap_[your_item]' and the animation to 'BUILD'. Add your sprite and change its pivot to where you want your character to hold it. Save your project as scml, import the assets and launch the game. It should autocompile the build automatically for you. 1 Link to comment https://forums.kleientertainment.com/forums/topic/135516-custom-item-not-showing-in-hand/#findComment-1516281 Share on other sites More sharing options...
Looper_0935 Posted November 26, 2021 Author Share Posted November 26, 2021 On 11/23/2021 at 1:01 PM, -t- said: To create a swap animation you need to create a folder called 'swap_[your_item]' in your 'exported' folder. Inside you need to create another folder and name it 'swap_[your_item]'. In that folder you should put your boomerangs holding sprite. Then create a new Spriter project and select the first 'swap_[your_item]' folder as your root. In Spriter change the entity name to 'swap_[your_item]' and the animation to 'BUILD'. Add your sprite and change its pivot to where you want your character to hold it. Save your project as scml, import the assets and launch the game. It should autocompile the build automatically for you. Thanks! This helped 100% Couldn't have done it without you! Link to comment https://forums.kleientertainment.com/forums/topic/135516-custom-item-not-showing-in-hand/#findComment-1517270 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now