Thomas123321 Posted November 15, 2017 Share Posted November 15, 2017 Dear modders of Skyrim, Currently I am working on a little project ofr myself to make clothes look wet when it rains. This is largly inspired by WetFunction Redux which does it for the body.At the moment I am still looking into changing the specular and the gloss of armors. I've got it working for the player skin, but it does not want to work for the armor. Function SetStrengthForLayerArmor(Actor target, Armor arm, bool isFemale, string node, int layer, float strength) int max = arm.GetNumArmorAddons() int i = 0 While i < max ArmorAddon addon = arm.GetNthArmorAddon(i) NiOverride.AddOverrideFloat(target, isFemale, arm, addon, node, layer, -1, strength, false) i+=1 EndWhile EndFunction So I want to use NiOverride to override the gloss and specular value of the armor addon. To this method I will provide the player as target, the Armor in the current armorslot, whether the player is female, a node, the number of the layer (2 and 3) and the strength. This method looks up all armoraddons and changes the value on that armor. The problem I have is that I have no idea what the enter as node. This is a string value and the NiOverride api provides: Function AddOverrideFloat(ObjectReference ref, bool isFemale, Armor arm, ArmorAddon addon, string node, int key, int index, float value, bool persist) native global but I could not find documentation for what the string node should be. I already know that index has no effect if the key is not 9, but I hace no idea what node should be. My script worked for the body texture because it does not require a node. Concrete my questions are:What should I enter as node in the NiOverride function?Is this even the function to use for this case?Any other suggestions you may have.A link to NiOverride could be usefull and then I can look for it myself.Thank you in advance. Link to comment Share on other sites More sharing options...
MzinFazzle Posted July 23, 2022 Share Posted July 23, 2022 The strings for the node parameter can be found in Data\SKSE\Plugins\nioverride.ini for Legendary Edition, or Data\SKSE\Plugins\skee64.ini for Special Edition. The relevant strings would be the overlay strings, for example "Body [Ovl#]" for the body node. You can find the rest of the strings as comments in the ini file. Link to comment Share on other sites More sharing options...
Thomas123321 Posted July 23, 2022 Author Share Posted July 23, 2022 Thank you very much for that information. I must say, the project was scrapped and I haven't had time to make mods in years but I appreciate the fact that you still answered my question, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts