Jump to content

[Help] hair colors keyword for caps


Recommended Posts

Hello,
I have created a cap with integrated hair for better fit.
My problem is that the hairstyle does not change the hair color.
Do I need to add a keyword for color change in the esp under armor or what do I need to do?
Would be great if someone could explain this to me briefly.

Link to comment
58 minutes ago, N.Gamma said:

Hello,
I have created a cap with integrated hair for better fit.
My problem is that the hairstyle does not change the hair color.
Do I need to add a keyword for color change in the esp under armor or what do I need to do?
Would be great if someone could explain this to me briefly.

In order for the hair color to change, 2 requirements must be met.


1. The shader in the nif must be set to HairTint
This is probably the case with your cap


2. The Nif must be used as a headpart in the ESP/ESM/ESL, not as normal armor.

 

And that's probably your problem.
You would have to make the cap like a hairstyle as a head part (defining gender and race, playable etc.)

Link to comment
58 minutes ago, Andy14 said:

In order for the hair color to change, 2 requirements must be met.


1. The shader in the nif must be set to HairTint
This is probably the case with your cap


2. The Nif must be used as a headpart in the ESP/ESM/ESL, not as normal armor.

 

And that's probably your problem.
You would have to make the cap like a hairstyle as a head part (defining gender and race, playable etc.)

 

Thank you.
Can I just make a head part out of the hair and leave the cap as armor and say in the armor that the hair(head part) will be loaded with?

Is that possible, if so how?

Link to comment
3 hours ago, N.Gamma said:

 

Thank you.
Can I just make a head part out of the hair and leave the cap as armor and say in the armor that the hair(head part) will be loaded with?

Is that possible, if so how?

You can implement it using a script (enchantment etc.). The two functions SetNthHeadPart and GetNthHeadPart should be able to do that.
Remember to save the original hairstyle first with GetNthHeadPart (e.g. in Json in conjunction with the character's ID).
Because you have to restore the original hairstyle when the cap is removed.

https://ck.uesp.net/wiki/SetNthHeadPart_-_ActorBase

https://ck.uesp.net/wiki/GetNthHeadPart_-_ActorBase

Oops - I see you mean FO4. No, unfortunately it doesn't work - at least that's not known to me.

But check out this mod.
https://www.nexusmods.com/fallout4/mods/69421

 

Edited by Andy14
Link to comment
11 hours ago, Andy14 said:

Oops - I see you mean FO4. No, unfortunately it doesn't work - at least that's not known to me.

But check out this mod.
https://www.nexusmods.com/fallout4/mods/69421

Thanks but that's not quite what I'm looking for.
Since I don't plan to change the hair color, it would be enough for me if I can change the color of the hair in the helmet with hair nif manually with nifscope to the hair color that my character has.
Unfortunately, I have not yet found the material path of the hair colors to realize this.

Link to comment
5 hours ago, N.Gamma said:

Thanks but that's not quite what I'm looking for.
Since I don't plan to change the hair color, it would be enough for me if I can change the color of the hair in the helmet with hair nif manually with nifscope to the hair color that my character has.
Unfortunately, I have not yet found the material path of the hair colors to realize this.

 

Compared to Skyrim, Fallout 4 uses material/effect files instead of textures directly in Nif.
To edit the material files, download the Material Editor.

 

Example nif:
1. Material file path and name (Click on txt to change)

Spoiler


f4_hair1.png.7ba777d3ba728b1a4588ffeeeeb1b914.png



2. Textures are stored in the material file

Spoiler


f4_hair2.png.07587950b5a1966b639cb0a7436b084e.png



3. Shader type Hair Tint and the Hair Tint color.

Spoiler


f4_hair3.png.c3cdb6174c180e93e1614bf03726371f.png


 

You can change the color by changing the Diffuse or the Hairtint Color - or in combination.
Save the BGSM under a new name and change the file name in the Nif (see point 1) so that there are no complications with other hairstyles.

Link to comment
4 hours ago, Andy14 said:

 

Compared to Skyrim, Fallout 4 uses material/effect files instead of textures directly in Nif.
To edit the material files, download the Material Editor.

 

Example nif:
1. Material file path and name (Click on txt to change)

  Hide contents

 

 

f4_hair1.png.7ba777d3ba728b1a4588ffeeeeb1b914.png

 


2. Textures are stored in the material file

  Hide contents

 

 

f4_hair2.png.07587950b5a1966b639cb0a7436b084e.png

 


3. Shader type Hair Tint and the Hair Tint color.

  Hide contents

 

 

f4_hair3.png.c3cdb6174c180e93e1614bf03726371f.png

 

 

You can change the color by changing the Diffuse or the Hairtint Color - or in combination.
Save the BGSM under a new name and change the file name in the Nif (see point 1) so that there are no complications with other hairstyles.

Thank you for the detailed description.
I did it as you described, but when I change the Hair Tint Color and look at the hair ingame it is black even though I set it to red.
I also checked again in nifscope if the new material path is correct and if the change was also applied in the new bgsm, but there everything is correct.
any idea why this is so?

 

Photo344.thumb.jpg.3caaf11ed34d7071b7f146bae26112c4.jpg

Edited by N.Gamma
Link to comment
Just now, N.Gamma said:

Thank you for the detailed description.
I did it as you described, but when I change the Hair Tint Color and look at the hair ingame it is black even though I set it to red.
I also checked again in nifscope if the new material path is correct and if the change was also applied in the new bgsm, but there everything is correct.
irgendeien Ide whyd that is so?

 

Photo344.thumb.jpg.3caaf11ed34d7071b7f146bae26112c4.jpg

 

Have you checked out the Diffuse? Paint.Net is free and can handle compression

Alternatively you can also zip and upload the nif, textures and material. Then I can see what's wrong

Edited by Andy14
Link to comment
17 minutes ago, Andy14 said:

 

Have you checked out the Diffuse? Paint.Net is free and can handle compression

Alternatively you can also zip and upload the nif, textures and material. Then I can see what's wrong

Yes, but I haven't changed the diffuse dds, which is still the default file from Anto Hair Pack.
I had understood that it is enough to change the Hairtint Color.
Do I have to change something there too?

 

Hat.7z

I have only changed the color of the front hair.
The back hair should be black.

Link to comment
43 minutes ago, N.Gamma said:

Yes, but I haven't changed the diffuse dds, which is still the default file from Anto Hair Pack.
I had understood that it is enough to change the Hairtint Color.
Do I have to change something there too?

 

Hat.7z 1.25 MB · 0 downloads

I have only changed the color of the front hair.
The back hair should be black.

Since the shaders are set in the BGSM, it is not necessary to set the Shader Type to Hair Tint in Nif. I have set the Shader Type back to Default in the nif. You can test it to see if that was the problem.

RRTekkyCatCapWithHair.nif

Link to comment
14 hours ago, Andy14 said:

Since the shaders are set in the BGSM, it is not necessary to set the Shader Type to Hair Tint in Nif. I have set the Shader Type back to Default in the nif. You can test it to see if that was the problem.

I have just tested this but the hair remains completely black, as in the picture I showed.

Link to comment
2 hours ago, N.Gamma said:

Thank you for your work,
but now it looks like nothing at all has been changed from the original hairstyle.
The demanded hair strands are blond like the original hair nif.

 

Photo347.thumb.jpg.bd256f4d991da46ad2a195afac2f70db.jpg

I don't understand anything anymore. First the hair is black and that's not right. Now the hair is dyed and it's wrong again.
What is the hair supposed to look like? You currently only have to edit the DSS of the Diffuse to change the color.

Link to comment

 

 

1 hour ago, Andy14 said:

I don't understand anything anymore. First the hair is black and that's not right. Now the hair is dyed and it's wrong again.
What is the hair supposed to look like? You currently only have to edit the DSS of the Diffuse to change the color.

 

Yes, it is colored but not in pink as provided in diffuse or BGSM.

Actually, it should look like this.
The color is called Rose and I had entered the correct RGB Code in the HairTint Color.

r, g, b: 255, 0, 128

Photo317.jpg.838c5dd9bccf6f3aaeba47f870c

Edited by N.Gamma
Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use