valley609 Posted May 3, 2016 Share Posted May 3, 2016 I recently decided to try modding Don't Starve and after following Malacaths handslot equipable item tutorial I ran into a problem that I cannot for the life of me solve, even after 2 hours of Forum and Google searches I couldn't even find anyone with the same problem as me. My item works find in most cases, I see the item on the ground, in the inventory and while its equipped. However, whenever I make my character attack while holding this item, both the item and the arm the character is holding the item with disappears for the duration of the attack, and become visible again once the attack animation has finished playing. I've spendt quite a while making sure everything from my folder structure to my Build names are correct, I've even redone the entire mod from scratch multiple times in hopes that I'd avoid whatever causes the issue, but I still experience it every time I attack with the weapon. Broken Item Mod.zip Link to comment https://forums.kleientertainment.com/forums/topic/66960-i-cannot-for-the-life-of-me-get-custom-item-to-work-properly/ Share on other sites More sharing options...
Mobbstar Posted May 3, 2016 Share Posted May 3, 2016 The arm disappears too, thus it is most certainly a state issue. Either add the "nopunch" tag or the "weapon" component. inst:AddTag("name") inst:AddComponent("name") Link to comment https://forums.kleientertainment.com/forums/topic/66960-i-cannot-for-the-life-of-me-get-custom-item-to-work-properly/#findComment-765672 Share on other sites More sharing options...
valley609 Posted May 3, 2016 Author Share Posted May 3, 2016 2 hours ago, Mobbstar said: The arm disappears too, thus it is most certainly a state issue. Either add the "nopunch" tag or the "weapon" component. inst:AddTag("name") inst:AddComponent("name") I was hoping there was a way without having to add the weapon component, and the nopunch tag was exactly what I needed. Thanks a bunch. Link to comment https://forums.kleientertainment.com/forums/topic/66960-i-cannot-for-the-life-of-me-get-custom-item-to-work-properly/#findComment-765748 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