Difference between revisions of "Blender/Custom Shield"

928 bytes removed ,  15:33, 31 July 2007
imported>Throttlekitty
imported>Sickleyield
Line 78: Line 78:
Okay, now export.  File - export - netimmerse/gamebryo.  Choose the folder you want your shield to go into - let's say data files\meshes\armor\mynewshield.nif.
Okay, now export.  File - export - netimmerse/gamebryo.  Choose the folder you want your shield to go into - let's say data files\meshes\armor\mynewshield.nif.


Open up your nif with NifSkope.  It may look odd if you started from a game mesh, since it will have the original texture on it still, but that's not what we're worried about right now.  Be sure and expand the texture node branch to make sure it has the following series of numbers going downwards: 6,1,3,1,1.  If it says 5,2, etc., change it.  Believe me, you'll thank me later.
Open up your nif with NifSkope.  It may look odd if you started from a game mesh, since it will have the original texture on it still, but that's not what we're worried about right now.   
 
''EDIT for latest NifSkope version: With the newest one you only have to change one number.  The very last thing in the texture node is a number 0 that needs to be changed to a 1.''


Now go to file - new window.  Remember the original mesh you chose for its collision boxes?  The one that still has those boxes, because it's the original version that you did NOT save over with a new one?  Load that in the new window.  Find the nitristrips node for the actual shield itself - when you click on it it will be highlighted in the main window.  Right click - block - remove branch.  Now it is gone but its collision shapes (the bhkconvexvertices node) are still there.   
Now go to file - new window.  Remember the original mesh you chose for its collision boxes?  The one that still has those boxes, because it's the original version that you did NOT save over with a new one?  Load that in the new window.  Find the nitristrips node for the actual shield itself - when you click on it it will be highlighted in the main window.  Right click - block - remove branch.  Now it is gone but its collision shapes (the bhkconvexvertices node) are still there.   


Go back to your new shield.  Click on the node for your shield's nitrishape.  Now right click - mesh - smooth normals, then right click - mesh - strippify, then right click - mesh - update tangent space.  This last one is very important.
Go back to your new shield.  Click on the node for your shield's nitrishape.  Now right click - mesh - smooth normals, then right click - mesh - strippify.
 
Now you're ready to copy your mesh into the old one.  Right click again (it should be a nitristrips now, since you strippified it) and click block - copy branch.  Switch back to the old mesh's window and right click on the node that says 'scene root.'  Now block - paste branch.  Your shield should appear in the window.  You might get an error message about the version, but just click OK, it's just the niftools folks' way of messing with your head.  It may be in the wrong place, because we still have to parent it to the old mesh's scene root.


Now left click the little plus sign by the scene root node to expand it.  Scroll down to the "children" node under thatClick it to expand it.  There should be a line under it that says "none." Type the number of your new mesh's node here.   
Now you're ready to copy your mesh into the old oneRight click again (it should be a nitristrips now, since you strippified it) and click block - copy branchSwitch back to the old mesh's window and right click on the node that says 'scene root.'  Now block - paste branch.  Your shield should appear in the window.   


Now save the nif under the name of your shield (do NOT save it as the name of the old one).  Make sure it's in the directory where you want it to be.
Now save the nif under the name of your shield (do NOT save it as the name of the old one).  Make sure it's in the directory where you want it to be.
Anonymous user