Difference between revisions of "Making New Armor Using NifSkope"

2,599 bytes added ,  13:10, 21 December 2023
no edit summary
imported>Qazaaq
(moving the transparency part to a new tutorial)
Tag: Manual revert
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Unfinished}}
{{Update}}
 
==Introduction==
==Introduction==
In this tutorial you'll create new armor by copying and pasting pieces of existing armors. For this we'll use the program [[NifSkope]]. At the end of this tutorial you'll be able to copy and paste pieces of meshes in NifSkope.
In this tutorial you'll create new armor by copying and pasting pieces of existing armors. For this we'll use the program [[NifSkope]]. At the end of this tutorial you'll be able to copy and paste pieces of meshes in NifSkope.
Line 15: Line 14:
[[Image:Cutandpastetut01.jpg|thumb|right|Setting the Texture Folder]]It's a very good idea to put all your textures and meshes related to body, armor and clothing into the Oblivion Data folder. Usually pathed at
[[Image:Cutandpastetut01.jpg|thumb|right|Setting the Texture Folder]]It's a very good idea to put all your textures and meshes related to body, armor and clothing into the Oblivion Data folder. Usually pathed at
  C:\Program Files\Bethesda Softworks\Oblivion\Data
  C:\Program Files\Bethesda Softworks\Oblivion\Data
Then you open up Nifskope and then at the top you go to "Render>Set Texture Folder"  and point it to the Oblivion Data folder. That way it won't have any problems finding the textures for meshes you are opening.
Then you open up Nifskope and then at the top you go to "Render > Set Texture Folder"  and point it to the Oblivion Data folder. That way it won't have any problems finding the textures for meshes you are opening, this means you will see the textures in nifscope, instead of completely white meshes.
In Nifscope version 1.0.21 you'll have to go to "Render > Settings...", this will open a new window and then go to the "Rendering" tab.  


==STEP 3: Loading the armor==
==STEP 3: Loading the armor==
Line 24: Line 24:
  \meshes\armor\arenaheavyblue\f\cuirass.nif
  \meshes\armor\arenaheavyblue\f\cuirass.nif
because they have alot of pieces in them already, and they have all the skeletal nodes that armor pieces may need to link to!
because they have alot of pieces in them already, and they have all the skeletal nodes that armor pieces may need to link to!
==STEP 4: Adding a piece of armor==
[[Image:Cutandpastetut02.jpg|thumb|right|Copy Branch]]
[[Image:Cutandpastetut02.jpg|thumb|right|Copy Branch]]
==STEP 4: Adding a piece of armor==
[[Image:Cutandpastetut03.jpg|thumb|right|Paste Branch]]
Let's say I want to add those super cool Daedric Pauldrons to this arena armor.
Let's say I want to add those super cool Daedric Pauldrons to this arena armor.
First load up the Daedric Cuirass in the new window, either by double clicking the file or by going to File > New Window and loading the Pauldrons.
First load up the Daedric Cuirass in the new window, either by double clicking the file or by going to File > New Window and loading the Pauldrons.
Now click on the Pauldrons and you'll notice the list to the left opens up and a NiTriShape block is highlighted. Right click that NiTriShape and choose "Block > Copy Branch".
Now click on the Pauldrons and you'll notice the list to the left opens up and a NiTriShape block is highlighted. Right click that NiTriShape and choose "Block > Copy Branch". This will copy the whole NiTriShape. If you expand the NiTriShape (or NiTriStrip), you will see it contains certain data and properties. These will also be copied when using "Copy Branch". If you use "Copy", that specific item will be copied and nothing more.
Now go to the armor you originally opened and right click the left list and choose "Paste Branch".
[[Image:Cutandpastetut03.jpg|thumb|right|Paste Branch]]
Now go to the armor you originally opened and right click the left list and choose "Block > Paste Branch".


Sometimes, it will give you an error when you try and copy the branch 'cannot link to node 'XXXXXX'. That's because the armors are using the same nodes, but they are named just a wee bit different. Just rename the most similar node in your original armor to the name it's looking for. e.g.: Biped Neck01 to Biped Neck1. It will paste the branch in properly now. And if you are paranoid you can always change the node's name back after you are done.
Sometimes, it will give you an error when you try and copy the branch 'cannot link to node 'XXXXXX'. That's because the armors are using the same nodes, but they are named just a wee bit different. Just rename the most similar node in your original armor to the name it's looking for. e.g.: Biped Neck01 to Biped Neck1. It will paste the branch in properly now. And if you are paranoid you can always change the node's name back after you are done.
Line 37: Line 38:


==STEP 5: Linking the pauldrons to the skeleton==
==STEP 5: Linking the pauldrons to the skeleton==
===Linking Method 1: Replace===
[[Image:Cutandpastetut05.jpg|thumb|right|NiTriShape]]
To add the piece while removing a piece from the original,
highlight the NiTriShape of the branch you just pasted in, and right click and choose "Block > Copy".
Then click a piece of the armor you wish to sacrifice for this piece. The left list will expand showing the NiTriShape that piece belongs to.
[[Image:Cutandpastetut04.jpg|thumb|right|Paste Over]]
[[Image:Cutandpastetut04.jpg|thumb|right|Paste Over]]
===Linking Method 1===
Just right click on that NiTriShape and choose "Block > Paste Over" (paste over only works if you are trying to paste over a block that's the same type as the block you copied).
To add the piece while removing a piece from the original
Highlight the NiTriShape of the branch you just pasted in, and right click and choose "Block > Copy".
[[Image:Cutandpastetut05.jpg|thumb|right|NiTriShape]]
Then click a piece of the armor you wish to sacrifice for this piece. The left list will expand showing the NiTriShape that piece belongs to. Just right click on that NiTriShape and choose "Block > Paste Over" (paste over only works if you are trying to paste over a block that's the same type as the block you copied.


If you are trying to paste a NiTriShape over a NiTriStrip, just right click the NiTriStrip and choose 'Mesh > Triangulate' to turn it into a NiTriShape)  
If you are trying to paste a NiTriShape over a NiTriStrip, just right click the NiTriStrip and choose 'Mesh > Triangulate' to turn it into a NiTriShape)  
Line 51: Line 53:




===Linking Method 2: Adding===
This is throttlekitty's way to add new pieces without sacrificing one! Just like the above, copy the branch of a NiTriShape from a set of armor you like. And paste that branch in, just the same as above.
[[Image:Cutandpastetut06.jpg|thumb|right|Add Empty Link]]
[[Image:Cutandpastetut06.jpg|thumb|right|Add Empty Link]]
===Linking Method 2===
Now we need to show the block details. Go to "View > Block Details" to get a whole whack of info at the bottom. Click on the original armor's main NiNode and look at the details at the bottom. You need to find the name Children and right click on it, then choose "Array > Add Empty Link". If this option isn't available, you should increase the value of Num Children (can be found just above the Children List) by the amount of armor pieces you have added (or want to add). At first, nothing changed, now click on the button beneath, what seems to be a refresh button (located at the right of the Childrens List). You can also right click the Childrens List and click "Array > Update".
This is throttlekitty's way to add new pieces without sacrificing one! Just like the above, copy the branch of a NiTriShape from a set of armor you like. And paste that branch in, just the same as above.
 
Now we need to show the block details. Go to "View > Block Details" to get a whole whack of info at the bottom. Click on the original armor's main NiNode and look at the details at the bottom. You need to find the name Children and right click on it, then choose "Array > Add Empty Link".


[[Image:Cutandpastetut07.jpg|thumb|right|Linking NiTriShape]]
[[Image:Cutandpastetut07.jpg|thumb|right|Linking NiTriShape]]
Line 62: Line 64:


Now you're done with pasting armor, you've successfully merged two armor pieces. But you're not done yet, first of all you need to make sure your armor doesn't crash the game. That is explained below. But first this, deleting a piece of armor.
Now you're done with pasting armor, you've successfully merged two armor pieces. But you're not done yet, first of all you need to make sure your armor doesn't crash the game. That is explained below. But first this, deleting a piece of armor.
===Linking Method 3: Easy Adding===
This is the ZuTheSkunk's method, probably the easiest and most effective of those.
Just as before, open an armor in Nifscope that contains a piece you want to copy. Click the NiTriStrips (or NiTriShape) with the piece to copy and choose "Copy Branch". Now open the armor in which you want the piece copied. Click the NiNode ("0 NiNode") on the top of the list, open it, and click ON HIM to choose option "Paste Branch".
And that's it. No more things to do! Your piece has been added without any problems and should be shown correctly on your character.


==Deleting a piece of armor==
==Deleting a piece of armor==
Line 71: Line 81:
Each armor takes up a space in the game (e.g.: the cuirass takes up upperbody and arms). That part of the body is removed when the armor is equipped. If your new armor doesn't have every part of the upper body and arms covered, you will need to add either the arms and upper body meshes in, or you can open other armors and use little pieces of the body that they have to fill in the gaps.
Each armor takes up a space in the game (e.g.: the cuirass takes up upperbody and arms). That part of the body is removed when the armor is equipped. If your new armor doesn't have every part of the upper body and arms covered, you will need to add either the arms and upper body meshes in, or you can open other armors and use little pieces of the body that they have to fill in the gaps.


If you don't have all the gaps filled, your armor is going to have an invisible person inside of parts of it! Don't worry about skin color on the body parts you put in. The game will use the actors skin color to color those pieces properly.
If you don't have all the gaps filled, your armor is going to have an invisible person inside or parts of it! Don't worry about skin color on the body parts you put in. The game will use the actors skin color to color those pieces properly.


==Optimizing the file==
==Optimizing the file==
Line 82: Line 92:


===Strippify NiTriShapes===
===Strippify NiTriShapes===
NiTriShapes are less efficient than NiTriStrips so to make sure your armor runs as efficient as possible you'll have to convert all NiTriShapes to NiTriShapes. You can do that individually by right clicking a NiTriShape and going to 'Mesh > Strippify'. But you can also strippify them all at once by going to 'Spells > Optimize > Strippify all TriShapes'.
NiTriShapes are less efficient than NiTriStrips so to make sure your armor runs as efficient as possible you'll have to convert all NiTriShapes to NiTriStrips. You can do that individually by right clicking a NiTriShape and going to 'Mesh > Strippify'. But you can also strippify them all at once by going to 'Spells > Optimize > Strippify all TriShapes'.


===Update Tangent Space===
===Update Tangent Space===
Here I will only say you need to do this, you can read more about it in [[Working_With_Nifs_201_:_Meshes%2C_Data%2C_and_you#The_Extra_Data|Working with Nifs 201 - The Extra Data]]. Go to 'Spells > Batch > Update All Tangent Spaces' to update all the tangent spaces in the file. This is to avoid crashes among other things.
Here I will only say you need to do this, you can read more about it in [[Working_With_Nifs_201_:_Meshes%2C_Data%2C_and_you#The_Extra_Data|Working with Nifs 201 - The Extra Data]]. Go to 'Spells > Batch > Update All Tangent Spaces' to update all the tangent spaces in the file. This is to avoid crashes among other things.
==It is not working!==
(Nifscope version 1.0.21)
If the piece of armor isn't on its place in Oblivion and when trying to watch it in CS (Construction Set) in the Render Window, the CS crashes, then try this:
If you have linked everything correctly (the new piece of armor is in the Childrens list of the "0 NiNode"), make sure the order is also correct.
Your Childrens List is probably like this:
Non-added NiTriShapes and NiTriStrips
Non-added NiNodes
Added pieces.
You should change the order of the list so that all the NiTriShapes and NiTriStrips are at the top of the list and the NiNodes beneath them. You can change the values by double clicking them. Now change the value of the last item in the list (this should be an added piece) to match the value of the first NiNode (the one that comes immidiatly after the Non-added NiTriShapes). No change the value of the first NiNode to match the value of the added armor.
Your list should now look like this:
Non-added NiTriShapes and NiTriStrips
Added pieces.
Non-added NiNodes


==See Also==
==See Also==
*[[Working With Nifs 101 : An Introduction]]
*[[Working With Nifs 101 : An Introduction]]
*[[NifSkope Alchemy]]
*[[NifSkope Alchemy]]
[[Category:Tutorials]]
[[Category:NifSkope Tutorials]]
Anonymous user