Jump to content

Head Disappearing with hat mod/MISSING name and Description


Recommended Posts

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:

post-652109-0-68489400-1441566133_thumb.

(The issue of my head disappearing)

 

post-652109-0-36343600-1441566195_thumb.

(My character as he normally appears)

 

post-652109-0-13202400-1441566262_thumb.

(Proof of the headbase_hat working just fine)

 

post-652109-0-09546600-1441566300_thumb.

(An odd phenomenon I noticed with the console)

 

 

 

Link to comment
Share on other sites

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 by Lumina
Link to comment
Share on other sites

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
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
 Share

×
  • Create New...