Jump to content

Is there a xEdit script for this? ("offset" texture paths in NIFs)


Recommended Posts

Good evening / early morning everybody!

 

I am currently trying to convert a "texture and mesh replacer mod" into a "non-replacer mod".

 

Basically instead of overwriting the vanilla meshes and textures, the mod should add new new meshes and textures (and I will have to make an ESP that actually adds the mehses as "static objects").

 

 

So, I thought I would just put all of the assets from that mod into it's own "subfolder", so that it doesn't overwrite the vanilla stuff.

 

But that means that I will have to "update" the paths of the texture files in all of the NIFs.

This is a lot of work.

 

Is there a xEdit script to do this?

 

Basically add a "prefix" to the path of each texture file that gets used in a NIF.

I know that xEdit can do some NIF stuff, because I had a look at the xEdit scripts and some of those had something to do with NIFs, so this might be possible somehow.

 

 

So for example:

 

Textures/Trees/ExampleTree01_d.dds

Textures/Trees/DeadTrees/ExampleTree02_d.dds

 

would become

 

Textures/NewTrees/Trees/ExampleTree01_d.dds

Textures/NewTrees/Trees/DeadTrees/ExampleTree02_d.dds

 

 

So kind of "offset" the texture paths for a bunch of NIFs.

Link to comment
Share on other sites

  • 1 month later...
  • Recently Browsing   0 members

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