N.Gamma Posted August 29, 2023 Posted August 29, 2023 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.
Andy14 Posted August 29, 2023 Posted August 29, 2023 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.)
N.Gamma Posted August 29, 2023 Author Posted August 29, 2023 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?
Andy14 Posted August 29, 2023 Posted August 29, 2023 (edited) 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 August 29, 2023 by Andy14
N.Gamma Posted August 30, 2023 Author Posted August 30, 2023 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.
Andy14 Posted August 30, 2023 Posted August 30, 2023 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 2. Textures are stored in the material file Spoiler 3. Shader type Hair Tint and the Hair Tint color. Spoiler 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.
N.Gamma Posted August 30, 2023 Author Posted August 30, 2023 (edited) 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 2. Textures are stored in the material file Hide contents 3. Shader type Hair Tint and the Hair Tint color. Hide contents 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? Edited August 30, 2023 by N.Gamma
Andy14 Posted August 30, 2023 Posted August 30, 2023 (edited) 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? 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 August 30, 2023 by Andy14
N.Gamma Posted August 30, 2023 Author Posted August 30, 2023 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.
Andy14 Posted August 30, 2023 Posted August 30, 2023 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
N.Gamma Posted August 31, 2023 Author Posted August 31, 2023 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.
Andy14 Posted August 31, 2023 Posted August 31, 2023 5 hours ago, N.Gamma said: I have just tested this but the hair remains completely black, as in the picture I showed. You can try this. I made a new diffuse, created a new BGSM and changed the nif Hat.7z
N.Gamma Posted August 31, 2023 Author Posted August 31, 2023 14 minutes ago, Andy14 said: You can try this. I made a new diffuse, created a new BGSM and changed the nif Hat.7z 2.21 MB · 0 downloads 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.
Andy14 Posted August 31, 2023 Posted August 31, 2023 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. 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.
N.Gamma Posted August 31, 2023 Author Posted August 31, 2023 (edited) 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 Edited August 31, 2023 by N.Gamma
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