Jump to content

[SOLVED kinda?] select screen hair hat removeal?


Recommended Posts

Hey! My significant other and I are making a character mod and we had a little trouble. We have a custom hat for him and we had to shrink his hair hat png so that it would fit into the hat itself. The reprocussion of this is that now, in the select screen shows the shrunken hair hat png over the original one. Is there a way to get rid of this in the select screen?wrigley.PNG.7fb9918ac0b6f99372466f20f43d68f6.PNG

Edited by LlamaDom
Link to comment
Share on other sites

Usually, instead of shrinking the hair_hat, you erase the upper most areas in sort of an arch shape.
Like Wilson's hair, for example:

wilson_hair_hat2.png.e3cec61d578f5fc2caeed1742c2d74bb.pngwilson_hair_hat.png.029b84f02ae9193120447dc1b4fa6e42.png

This makes so you can't see the hair_hat layer over the normal hair layer, as there is no difference except that you erased the top part.

Link to comment
Share on other sites

As Harry said, the original characters' hair model is just a slightly erased version of their default hair.

image.png.de372c76e444b338a37eeab0d8e9190e.png

My character has a pushed-down hair_hat style, it appears the same as your character's.

I don't think there's a solution for this, but I would be glad if someone would prove it otherwise.

Yeah it's annoying, but at the end of the day I can live with it to be honest.

Link to comment
Share on other sites

My SO figured out that Wurt actually does this while wearing hats. Her ears actually move down a bit while wearing a hat but it doesnt show on the select screen or is present during revival. If someone can figure this out, that would be great

 

Link to comment
Share on other sites

On 6/22/2021 at 2:22 AM, C_Thun said:

As Harry said, the original characters' hair model is just a slightly erased version of their default hair.

image.png.de372c76e444b338a37eeab0d8e9190e.png

My character has a pushed-down hair_hat style, it appears the same as your character's.

I don't think there's a solution for this, but I would be glad if someone would prove it otherwise.

Yeah it's annoying, but at the end of the day I can live with it to be honest.

I was able to figure it out! it's more of a round about way, but you can do the following:

1) make a copy of your character file in export (this new character folder will be used for exclusively the select screen)

2)delete the hair down png images

3) name it accordingly (I just put "characterig")

4) in your character .lua, put 

 

master_postinit = function(inst)

    inst.OnNewSpawn = function(inst)
        inst.AnimState:SetBuild("characterig")
    end

end

 

This way, on the loading screen, it loads the "character" files and animations, but once you enter in the game, it loads the other file!
 

  • Thanks 1
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...