Allows modded hairs to be affected by effects from R.A.S.S, Wet and Cold, ENB Wet Shaders, Vanilla spell shader effects like Healing and Flesh spells, and etc. This will also fix the issue of hairs not being rendered correctly behind smoke effects.
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features without permission from or credit to me
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This is a script, so do with it as you please. Just don't try to profit off it I guess.
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.4
Added more mods support: Argonian Hair Plus, Bijin Series HDT, The Men of Winter, EulogySC NPC, and Jampion.
Version 1.3
Reworked a large chunk of the script. Now fully supports Kalilies NPCs and The Ordinary Women SSE. RS Children Overhaul (Playable Childrens Race) and KS Hairdos - HDT SMP added.
Version 1.2a
Tweaked filtering and removed RS Children (Playable Children) support until next major script update. Delete "RS Children Overhaul (Playable Childrens Race).txt" if you have previous versions. If you don't use playable children then it shouldn't matter.
Version 1.2
Scripting improvements and added support for Gman749 Ladies of series, Fresh Faces - SSE, RS Children Overhaul, and several mods in RS Children Patch Compendium.
Version 1.1a
Added support for Seranaholic and Valerica.
Version 1.1
Added support for Bijiin series and The Ordinary Women (requires 1 manual edit, see description).
Version 1.0
Release.
I'm surprised that no one has done this yet, but here's a xEdit script to change the hair shaders on certain mods to be more consistent with the vanilla ones. This means that it can now be affected by spells like the flesh spells and also shader effects like R.A.S.S. or the ENB rain shader. You do lose a small amount of Aesthetics because the hair will not fade as nicely, but I prefer the rougher look anyways.
The script scans your load-order for ESPs and edits the relevant NPC FaceGeom or Head Part NIFs and changes the value of their NiAphaProperty to 4844. It works for both New/Vanilla Replacer Hairstyles and NPC Overhauls.
Install:
Drag and drop into xEdit's "Edit Scripts" folder.
Usage:
Load xEdit and run "000_cHON_HairShaderPatcher.pas". It will scan your whole load-order automatically and apply the changes necessary.
Errors might pop-up, but usually, this means that the file being referenced cannot be found. This might mean that it is packed in a BSA or that a record was leftover and never removed (like in the case of KS's Hairdos). It's fine to ignore these as the patcher won't save the NIF unless everything goes right.
The script will only run for mods that have a .txt file in the xEdit\EditScripts\cHON\HairShaderPatcher\ folder. I did this because I didn't want wild edits to meshes that don't need it and also to save time. NPC overhauls do not require you to edit the Head Parts that are included in the mods because those are only used to generate the FaceGeom files. Near bald hairstyles also depend on the transparency to look right, so a blacklist can be set in the .txt file.
If you are using the universal patcher for VHR, run this patcher on VHR first and then regenerate the FaceGeoms in CK for the changes to apply to all NPCs.