Rigging: Outfit Studio

///Rigging: Outfit Studio

Outfit Studio as supplemental tool for Rigging

Please make sure you have read about rigging process and mesh export to Nif formate

Using Outfit Studio for a rigging and implementing an armour:

1) Requirements:

2) What you’re getting into:

For armours that are meant for people in Skyrim, there are basically four meshes you’ll need to make: the female 0 weight mesh, the female 1 weight mesh, the male 0 weight mesh and the male 1 weight mesh. The reason for the 0 and 1 meshes is so that Skyrim can interpolate between them. Say your character is weight 0.5, then the armour should be the average between the 0 and 1 mesh. This way it’s a smooth transition rather than an awkward jump. Luckily these meshes are relatively similar, so you won’t need to do everything all over again.

3) Setup:

In order to make sure the armour appears right on the body, you’ll need to first import a vanilla body mesh. For Skyrim Special Edition, these can be found in its Meshes0.bsa, which you’ll need to unpack using something like Bethesda Archive Extractor. For Skyrim, they will be in Meshes.bsa. Within that bsa, within the meshes\actors\character\character assets\ folder, you’ll find femalebody_0.nif, femalebody_1.nif, malebody_0.nif and malebody_1.nif, providing you those vanilla body meshes.

In order to get it into your 3D modelling program, you’re going to use Outfit Studio to convert the nif (the mesh format Skyrim uses) to an obj, which is a format for meshes that almost any 3D program can open.

-Open Bodyslide

-Open Outfit Studio from the following button within Bodyslide:

-Import the vanilla body you want to make armour for into Outfit Studio, either via File > Import > From Nif… or by dragging the nif file from file explorer onto Outfit Studio’s window.

-Now you can export it to an obj file via File > Export > To OBJ… Save this somewhere accessible, like your Desktop

The same procedure can also be used to export any other nif, even non-armour ones, as an obj.

-You can now import this obj into your 3D modelling program. For example, in Blender this can be done via File > Import > Wavefront (.obj)

You can now model your amour. How to do this is not covered in this tutorial, nor how to generate a normal map, as this is not specific to Skyrim.

4) Armour to Nif:

Once you’re done modelling your armour, you can export it to an obj with your 3D software. For example, in Blender this is done via File > Export > Wavefront (.obj)

-Find a vanilla armour closest to your armour. You can do the same process as with the vanilla body if you’re not sure how close it is.

-Start up Outfit Studio again, and set this closest armour to be the reference via File > Load Reference… > From File . If the vanilla armour has multiple shapes here (such as exposed skin), make sure you pick the armour one.

-Now you import your armour’s obj, either by dragging it onto Outfit Studio’s window or via File > Import > From OBJ… It won’t have any textures, but that’s okay because it can be added later via NifSkope.

At this point, the armour could be exported, but it wouldn’t have any weighting, so it wouldn’t move with the character. That will be done via the following steps:

-Select your armour, either by clicking on it or by clicking on its name in the ‘Meshes’ tab of Outfit Studio

-Now you can copy bone weights from the reference armour to your selected one via Shape > Copy Bone Weights. The default values are usually adequate. If you want to play with them, what they do is specified here: https://github.com/ousnius/BodySlide-and-Outfit-Studio/wiki/Weight-Copy-Options

-If you’re lucky, you can now export it to a nif via File > Export > To NIF… If this is the case, you can jump straight to the Fix Up section. However, if it gives you the message “At least one vertex does not have any weighting assigned to it. This will cause issues and you should fix it using the weight brush. The affected vertices have been put under a mask. Do you want to save anyway?”, then you’ll have to change some things.

-The vertices without weighting have been put under a mask, meaning you can’t alter them. This is the opposite of what you want. So you can either clear the mask via Ctr+A or Tool > Clear Mask, or you can invert the mask via Ctrl+I or Tool > Invert Mask.

-You can either try to copy bone weights again with different settings, or you can manually weight paint. Weight painting in Outfit Studio is explained here:

The weight is a measure of how much influence a bone has on that vertex. What you do with weight painting is heightening or lowering that value.

Now, manual weight painting in OS is done by going to the “bones” tab and selecting a bone. You’ll then see some colours on your selected mesh, with the hue indicating how strong the weight is. This goes from blue to red, with intense red being the highest weight and dark blue being the lowest (except for 0, which doesn’t show any colour).

With your bone selected, you can weight paint with the brush. You can adjust size, strength, focus and spacing of your brush by dropping down the Brush settings menu.

Applying weight is done by clicking or moving the mouse around whilst holding it down, you can’t apply weight by holding it down and not moving. By default, the brush will increase the weight. You can instead make it decrease weight by holding down the “Alt” button. You could also make it so the brush, instead of adding, sets it to a specific level dependent on the strength by ticking the Fixed Weight Brush checkbox under the bones list.

It’ll also give you an indicator of which vertex is closest to your brush, but this isn’t necessarily the only vertex being affected nor is it necessarily within your influence. You’re better of looking at the red circle. Because weighting is only done on vertices, if there is no vertex within your circle you’re not actually doing anything.

Once you’re done weighting your shape, you can export it via File > Export > To NIF…

5) Fix Up:

If you’re doing a normal armour, you’ll only need to fix up the textures in NifSkope with the BSShaderTextureSet.

However, if it’s not an armour that appears on the torso (necklaces, helmets, rings, boots etc.), you will have to change something in NifSkope, namely the body part flag:

-Open the resulting nif with NifSkope.

-Find the BSDismemberSkinInstance of your shape. Select it.

-In the Block Details section, within Partition > Partition, make sure the Body Part is set to be the same as that of a similar mesh. For example, necklaces need to have SBP_35_AMULET. You can also look at this page: http://wiki.tesnexus.com/index.php/Skyrim_bodyparts_number, but the best example is always a similar mesh.

Note: The node before doesn’t need to be a BSTriShape, it could be also be something else.

The reason this was done is so Skyrim knows what item can and can’t be worn at the same time. If the body part on your mesh and the ones on your armour/armour addon don’t match, it will not display in-game, even though you’re wearing it.

6) Something to look out for:

The 0 and 1 meshes must be exactly the same, except for vertex position. If not, you won’t have a smooth transition between the two. Female and male versions can be completely different however.

There are two ways to do this. The most straightforward way is to make sure you do everything the exact same way every time.

Another way is to change your armour through Outfit Studio itself. After you’ve weighted, you can remove the reference and load the other weight type body. You can then remodel the armour within Outfit Studio by going back to the meshes tab and using the brushes at the top of the window:

Exporting the resulting armour after deleting the body should result in something that is definitely the same.

7) Bonus: Non-skinned meshes

Non-skinned meshes can be imported and exported through Outfit Studio as well. Just make sure that when you export a nif, the Skinned checkbox is unchecked. This is available by double-clicking on the shape or right-clicking on it and clicking on Properties, both in the Meshes tab. Then click on the Geometry tab in the properties window:

Thank you very much for your attention. We try to improve and expand our tutorials whenever possible. Please give us your feedback!
We wish you success and have fun!

Content by Candoran2.

Learn more, join our community!

Arcane University (also for non-members!)

Welcome to the Arcane University! We are a collaborative effort of Beyond Skyrim aiming to help people learn the various aspects that play into mod creation, like scripting, level design or 3d modelling to just name the major ones. If you are interested in learning one of these or just want to help out others achieve their goal, feel free to join us on our Discord server and begin your journey. Previous knowledge is not required, only that you are willing and eager to learn. Below you can find some work that students of the Arcane University made during their time with us. By honing your skills you can eventually graduate, those students may choose to work on one of the various Beyond Skyrim teams or the Atronach Forge, our cross-province content creation hub. So it is a good chance to get involved with the project and learn a few handy things along the way. Hope to see you soon!

By |2018-09-13T15:26:51+00:00August 15th, 2018|Animation, Tutorials|0 Comments

About the Author:

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.