Skyrim

File information

Last updated

Original upload

Created by

Martin Rudat

Uploaded by

mrudat

Virus scan

Safe to use

About this mod

Skyproc patcher to allow race-specific replacement meshes to be added to an armour.

Permissions and credits
Changelogs
Description


Skyproc patcher to allow replacement meshes to be added to an armour for one race. This mod is roughly equivalent in terms of end-effect to PC Exclusive Armor Path - PCEAr or Puffs Bodies by Race for CBBE, but as it's based on Skyproc, the mod is built on the fly, rather than being meticulously crafted by the mod author.


Instructions


To create an appropriate tree of files, you can unpack an armor replacer mod, and move the entire meshes/ tree to meshes/races/<Race>/meshes/, or alternatively, with the current (as at 2015-03-29) version of BodySlide 2 and Outfit Studio you can use the batch-build option to create an entire tree full of models in the correct structure under the path of your choice (this was part of the reason for writing this mod).

You will probably want to combine this mod with a custom race.


Operation


For each RACE record, looks for replacement meshes under meshes/races/<Race Name>/meshes/... the NordRace and NordVampire race both have the name of "Nord", so meshes/races/Nord/meshes/... would be searched for replacement models for both RACE records.

For each model attached to an ARMO record, eg. meshes/clothes/prisoner/prisonerclothes_f_1.nif, it will look for a replacement mesh named meshes/races/<Race>/meshes/clothes/prisoner/prisonerclothes_f_1.nif, and if found, will either update or create a new ARMA record, specific to the race in question, pointing to the replacement mesh.

For each model found, computes a hash of the model path (the _1.nif, as it's the only one guaranteed to be there), then copies (or symlink/hard-links if possible) the model(s) to races/.models/<hash>_[01].nif, to ensure that distinct meshes have distinct filenames.

At this stage, this mod is just barely functioning for me, but it may be of benefit to others, or inspire someone to do something truly magnificent.


See also


(in no particular order):



Permissions


This mod is pure code, and is thus released under the GPL. Please feel free to fix, extend or derive new and interesting things from this, the source code (such that it is) is available on github. You will also need a copy of the skyproc library in order to compile. The code is set up as a pretty vanilla eclipse project, other than automatically building a .jar.