Mr.Mulk Posted September 6, 2015 Share Posted September 6, 2015 I recently created a custom hat for my character to wear in Don't Starve and it worked perfectly, except for the fact that I can't figure out how to add a custom description, replace MISSING name with it's name, and finally, to have it appear when placed on the ground. Then I moved my mod to Don't Starve Together, and saw a really weird problem form. My head began disappearing as soon as I would don the hat, which seemed really weird to me, as this had never happened in Don't Starve. I double checked my headbase_hat artwork, and found it to be perfectly intact. It's important to note that about 10% of the time my head does appear, but Idk why. So what I'm saying is I need help stopping my head from disappearing 90% of the time, and also how to replace MISSING name, add a custom description, and have it not disappear when placed on the ground. I know it's a lot, but help with any of these problems will be greatly appreciated. Here's my character mod (DST):Jake(Beta).zip Link to Hat Mod I used:http://forums.kleientertainment.com/files/file/373-hat-example/ Here are some pictures of the issue:(The issue of my head disappearing) (My character as he normally appears) (Proof of the headbase_hat working just fine) (An odd phenomenon I noticed with the console) Link to comment https://forums.kleientertainment.com/forums/topic/57681-head-disappearing-with-hat-modmissing-name-and-description/ Share on other sites More sharing options...
Developer ImDaMisterL Posted September 6, 2015 Developer Share Posted September 6, 2015 They... They are trying to communicate! In all seriousness, I wish I could help you, but I have no idea of what is happening :c Link to comment https://forums.kleientertainment.com/forums/topic/57681-head-disappearing-with-hat-modmissing-name-and-description/#findComment-670113 Share on other sites More sharing options...
Lumina Posted September 6, 2015 Share Posted September 6, 2015 (edited) For the invisible face, you have : if owner:HasTag("player") then print('B') owner.AnimState:Hide("HEAD") owner.AnimState:Show("HEAD_HAIR") end if owner:HasTag("player") then owner.AnimState:Show("HEAD") owner.AnimState:Hide("HEAD_HAIR") end You should have : if owner:HasTag("player") then owner.AnimState:Hide("HEAD") owner.AnimState:Show("HEAD_HAT") end if owner:HasTag("player") then owner.AnimState:Show("HEAD") owner.AnimState:Hide("HEAD_HAT") end I suppose that the "hair" part change in dst for a "hat" For the description/name, you should have line like this in the modmain : STRINGS.NAMES.ITEM_NAME = "Item Name" STRINGS.CHARACTERS.GENERIC.DESCRIBE.ITEM_NAME = "Item description." Edited September 6, 2015 by Lumina Link to comment https://forums.kleientertainment.com/forums/topic/57681-head-disappearing-with-hat-modmissing-name-and-description/#findComment-670131 Share on other sites More sharing options...
Mr.Mulk Posted September 7, 2015 Author Share Posted September 7, 2015 @Lumina, Thank you for the help! I will go ahead and add the corrections, and notify you if I run into any other issues with my head disappearing! Link to comment https://forums.kleientertainment.com/forums/topic/57681-head-disappearing-with-hat-modmissing-name-and-description/#findComment-670461 Share on other sites More sharing options...
Mr.Mulk Posted September 8, 2015 Author Share Posted September 8, 2015 @Lumina, Everythig seems to be working great! The only thing I am now missing with this hat is that it disappears when set down on the ground. I have the art compilation, and it compiled the anim, but it doesn't seem to be working. Link to comment https://forums.kleientertainment.com/forums/topic/57681-head-disappearing-with-hat-modmissing-name-and-description/#findComment-670481 Share on other sites More sharing options...
Doctor Donna Posted September 8, 2015 Share Posted September 8, 2015 For the invisible face, you have : You should have : I suppose that the "hair" part change in dst for a "hat" For the description/name, you should have line like this in the modmain : STRINGS.NAMES.ITEM_NAME = "Item Name" STRINGS.CHARACTERS.GENERIC.DESCRIBE.ITEM_NAME = "Item description." This Thread was for me very helpful too, thanks! But I have one question. If I add STRINGS.NAMES.ITEM_NAME = "Item Name" STRINGS.CHARACTERS.GENERIC.DESCRIBE.ITEM_NAME = "Item description." directly under my other item name/description, only my new hat can't be descriped. the name works. ^^any idea? greetings Link to comment https://forums.kleientertainment.com/forums/topic/57681-head-disappearing-with-hat-modmissing-name-and-description/#findComment-670558 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