ggxbrd Posted September 4 Share Posted September 4 Hi What is proper way to change texture path of body shape in cloth.nif file? any mod creation needed? I modified normal map path and it look fine in the Nifscope and OutfitStudio(directly edited bodyslide built results), but ingame does not load custom texture properly - it just not load any texture. After modification, there exist two texture for same body throughout the game - femalebody_1_msn.dds, femalebody_1_tsn.dds(I modified) If I directly edit *_msn.dds, it works as intended(but other meshes not been modified have wrong texture..) I guess the cause of problem is texture caching mechanism for body parts. Any idea about this? thanks Link to comment Share on other sites More sharing options...
Karna5 Posted September 4 Share Posted September 4 I'm not as familiar with Skyrim SE modding, but in Fallout 4 the NIF (Outfit Studio's Material file and texture records) does not affect the in-game body's texture. To change the skin texture in-game you need to change it in the armor addon record of the outfit. I'm guessing Skyrim would be the same as the engines are fairly similar. If I misunderstood the question I apologize p.s. for clarification: The Armor Addon record is in the plugin which you would edit with either XEdit or Creation Kit. Link to comment Share on other sites More sharing options...
ggxbrd Posted September 4 Author Share Posted September 4 (edited) Hi, Karna5 Understand whay you said. I need general way to apply this modification to many clothes, but seems chellenging Edited September 4 by ggxbrd Link to comment Share on other sites More sharing options...
scorrp10 Posted September 4 Share Posted September 4 Textures on the body mesh of an outfit are irrelevant, and are instead dependent on the wearing character. An NPC has a 'Skin' slot in CK Traits tab (WNAM in xEdit record) which specifies the skin 'armor' NPC wears when nude. If left blank, NPC will use their race default. Most humanoid races specify 'SkinNaked' Armor form as their default skin. A skin will usually include 3 ArmorAddon forms: hands, feet, torso, pointing to actual mesh files. And these forms have a 'Skin texture set' parameter form, which actually indicates textures to be used. Consider looking up some Skyrim tutorials on how to give an NPC a custom body. They should have info on custom texture skins as well. Link to comment Share on other sites More sharing options...
ggxbrd Posted September 4 Author Share Posted September 4 Hi, scorrp10 Right, I've noticed that To further explain what I'm trying to do, the outfits built with the modified BodySlide program are intended to have tangent space normal maps on the body. The problem is, as you said, modifying the texture path is insufficient. However, I do not want to modify the original mods directly. Therefore, modifying the mod files directly is not a viable option. The method I am considering is to hook the texture loading in-game and manipulate it if the 1st slot of the BSShaderTextureSet is a modified path from the BodySlide build. I'm not sure if it's a viable method Link to comment Share on other sites More sharing options...
scorrp10 Posted September 4 Share Posted September 4 That I am afraid would require creating a .dll and going seriously deep into the engine... Link to comment Share on other sites More sharing options...
Karna5 Posted September 4 Share Posted September 4 5 hours ago, ggxbrd said: However, I do not want to modify the original mods directly. In that case I suggest you directly pose this question to author (Zzyxzz) of the SkyPatcher mod on his/her mod page. I noticed this mod and that it says it's the Skyrim equivalent of Fallout 4's RobCo patcher. This is relevant because RobCo patcher is a program that can inject a field change in-game into a plugin without changing the plugin. If the description of SkyPatcher is correct, you may be able to intercept skin related fields in game and change them to what you want, but again, I am less familiar with Skyrim Modding. So you should pose this question to Zzyxzz who I suspect may be an expert in this topic. Link to comment Share on other sites More sharing options...
radiusrsatti Posted September 5 Share Posted September 5 14 hours ago, ggxbrd said: To further explain what I'm trying to do, the outfits built with the modified BodySlide program are intended to have tangent space normal maps on the body. The problem is, as you said, modifying the texture path is insufficient. However, I do not want to modify the original mods directly. Therefore, modifying the mod files directly is not a viable option. leaving the meshes and bodyslides aside, you have to modify the ARMA records' textures... but you don't need to modify the original mod at all in SSEEdit, find the ARMA records for the clothing you want to change, and copy those records into a new esl plugin, then make the corresponding texture changes... if, for example, you're just changing the normal maps, you can edit one record and then copy that texture change to all other selected records by right clicking it and selecting "copy to selected records" Link to comment Share on other sites More sharing options...
ggxbrd Posted September 5 Author Share Posted September 5 Hi, radiusrsatti That's a good idea, but I need a automated general method that can be applied to any outfit, regardless of the number or type. --- Â Thanks for all the opinions. It feels like I've found a direction. As Karna5 mentioned, I'll look more into SkyPatcher and CommonLibSSE-NG 1 Link to comment Share on other sites More sharing options...
Recommended Posts