Jump to content

Need help with Material Swapping


TJHammersmith

Recommended Posts

I'm trying to create some standalone outfits in FO4 using someone's replacer files as a starting point.


The replacer files are for pre-war dresses and the hidden flowery dresses.


In terms of structure, there are separate .nif files for two pre-war dresses and a .nif file for the flowery dress. Each .nif file is the base of three outfits, using different texture and material files to account for the different colours. The blue pre-war dress is a default, with the cream and pink pre-war dresses being the variations. Similarly the green pre-war dress is a default, with the denim and rose pre-dresses being variants on that outfit.


As a summary of what I've done thus far:

* Meshes have been set up and edited so they point to the correct material and texture files

* Material files have been edited so they point to the correct textures

* I've used the CK to create new Armor, Armor Addons and Material Swaps and linked them to one another (although I couldn't find anywhere to link the Armor Addons to the Material Swaps - it just seems to have autolinked)


Where I'm at now is that:

* The outfit shows in game with the correct mesh

* Unfortunately, the material swaps don't appear to be working properly as only the default version of the texture shows for each variation. For example, instead of one blue, one cream and one pink dress, I've got three blue dresses.

* In the CK, the Armor Addon correctly shows the material swaps, but they don't show in game.

* The original dresses all show correctly in game


Can someone please let me know what I'm doing wrong and how I can force the new outfits to correctly apply a material swap?


Besides the link to the material and texture files, is there something in the .nif file that I need to change to allow this to happen?

Edited by TJHammersmith
Link to comment
Share on other sites

I've also tried adding to the original material swap data (the entries that relate to the original pre-war and flowery dresses), but only had limited success.

 

If I edit the material swap data in only one .esp file that is loaded in game, the game appears to apply the material swap data as intended.

 

If I edit the material swap data in multiple .esp files that are loaded in game, the game only appears to apply the material swap data on the file that is last in the load order.

 

It'd be ideal if I only had to create a single .esp file, but given I'm prepare multiple variations of the dresses, I'll be using multiple .esp files.

Link to comment
Share on other sites

I haven't used the CK for this myself so I can't really offer any insight to that specifically but maybe the MSWP's you have are missing replacement material for the original material, that would cause the original material to show up. If I in the picture put MM_Bandana.BGSM as original material instead of replacement material leaving that field blank the default textures will would show up instead as they are linked in the nif. So perhaps you have a problem similar to that?

http://i.imgur.com/xN69qrv.png

 

It's pretty simple (IMHO) to see in FO4Edit (I can't navigate the CK as efficiently sadly).

 

Perhaps you should take a glance at http://wiki.tesnexus.com/index.php/Creating_an_armour_for_Fallout_4._Part_3

and see if there is something vital you missed

Link to comment
Share on other sites

@kingtobbe, thanks for the advice.

 

I turned out that the problem wasn't in the material swap (MSWP) info, but in the armor (ARMO) info.

 

Each outfit needed to be linked to the relevant MSWP entry, but I couldn't figure out how to do this in the CK (and I still can't).

 

Once I loaded up the .esp in FO4Edit, I could see the data field in the armor entries where it was linking to the original material swap data, not the new ones I had created. I fixed that up and it's all working 100% now.... well, until I break something else :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...