Bubbajones_ya Posted April 1, 2017 Posted April 1, 2017 I'm pretty new to scripting in general but am making good progress. I've stumbled across NiOverride functions and have made some use of the morphing weights in game, but now am trying to do that with textures. I'm currently working on a mod where I need armor textures to swap in game. Previously, I had a script working where I would have one armor swap out for another (but with identical meshes, just a different texture file). However, that require making two different armors and armor addons in the construction kit which I adds other downsides I'd like to avoid. I see that NiOverride has a function "AddNodeOverrideTextureSet" which is listed like: ; AddOverrideTextureSet(ObjectReference ref, bool isFemale, Armor arm, ArmorAddon addon, string node, int key, int index, TextureSet value, bool persist) ; Since I'm still very new to scripting, I'm not quite sure how to use this function. Does anyone know, or could someone show me a short section of a script that could get this function working? I haven't been able to find any mods using this function, otherwise I'd be able to figure it out from looking at their scripts. I'm not sure if I need to set up texturepath and armoraddon properties or something else to use this. Any help would be appreciated!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.