Difference between revisions of "NifSkope: Adding Collision Model"

m
no edit summary
imported>Entim
m
imported>Entim
m
Line 4: Line 4:
==Getting Started==
==Getting Started==


===Required Tools===
===Required tools===
*A BSA unpacker, for example [[BSA Commander]] or [[TES4BSA]] to unpack NIF files.
*A BSA unpacker, for example [[BSA Commander]] or [[TES4BSA]] to unpack NIF files.
*The latest version of [[NifSkope]] to edit the NIF files. The example screenshots of this guide were taken from the 0.9.3 version.
*The latest version of [[NifSkope]] to edit the NIF files. The example screenshots of this guide were taken from the 0.9.3 version.
Line 77: Line 77:
*Switch back to the cleaned NIF. Right-click on the '''0 NiNode''' block, and choose '''Block -> Paste'''. Choose Continue again if NifSkope argues about the NIF version.
*Switch back to the cleaned NIF. Right-click on the '''0 NiNode''' block, and choose '''Block -> Paste'''. Choose Continue again if NifSkope argues about the NIF version.
[[Image:CollTut11.gif|right|thumb]]
[[Image:CollTut11.gif|right|thumb]]
*Select the '''4 bhkNiTriStripsShape'''. Double-click on the '''Value''' of the '''Strips Data''' entry in the '''Block Details''' window, and enter the reference number of the new NiTriStripsData (1). The low-poly model's geometry data is now linked to the collision data.
*Select the '''4 bhkNiTriStripsShape'''. Double-click on the '''Value''' of the '''Strips Data''' entry in the '''Block Details''' window, and enter the reference number of the new NiTriStripsData ('''1'''). The low-poly model's geometry data is now linked to the collision shape.
[[Image:CollTut15.gif|right|thumb]]
[[Image:CollTut15.gif|right|thumb]]
*The collision data blocks must be in a specific order, which the NiTriStripsData doesn't fit in yet. Right-click on the '''1 NiTriStripsData''' block, and choose '''Block -> Move Down'''. Notice the reference number has changed to '''2'''. Repeat the '''Move Down''', so the number becomes '''3'''.
*The collision data blocks must be in a specific order, which the NiTriStripsData doesn't fit in yet. Right-click on the '''1 NiTriStripsData''' block, and choose '''Block -> Move Down'''. Notice the reference number has changed to '''2'''. Repeat the '''Move Down''', so the number becomes '''3'''.
Line 92: Line 92:
Now your model has working collision geometry, but it's material properties (mobility, hit sound, arrow penetration) are inherited from the statue. It sounds like stone when hit, arrows bounce off from the surface, and it is static.
Now your model has working collision geometry, but it's material properties (mobility, hit sound, arrow penetration) are inherited from the statue. It sounds like stone when hit, arrows bounce off from the surface, and it is static.


===Material Setting===
===Material setting===


[[Image:CollTut13.gif|right|thumb]]
[[Image:CollTut13.gif|right|thumb]]
Anonymous user