Jump to content

Recommended Posts

Hey guys

 

So yeah I have a problem. I used Kzisor's hat tutorial to make my own custom hat. Actually all I did was changing the exported images to mine and then use the autocompiler to make an anim for the hat. BUT when I'm ingame and want to wear it with any character, the head disappears and only the floating hat and face stay visible..soo what did I do wrong here? I used the original hat images as guidings so the image sizes are the same

 

any help would be appreciated 

If i'm not wrong, you should replace some lines :

 

 

    if owner:HasTag("player") then
        owner.AnimState:Hide("HEAD")
        owner.AnimState:Show("HEAD_HAIR")

 

by

 

 

    if owner:HasTag("player") then
            owner.AnimState:Hide("HEAD")
            owner.AnimState:Show("HEAD_HAT")

 

And

 

 

    if owner:HasTag("player") then
        owner.AnimState:Show("HEAD")
        owner.AnimState:Hide("HEAD_HAIR")
    end

 

By

 

    if owner:HasTag("player") then
            owner.AnimState:Show("HEAD")
            owner.AnimState:Hide("HEAD_HAT")
    end

 

 

Maybe someone could confirm ? But i've got the same issue before and resolve it doing this.

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
×
  • Create New...