Difference between revisions of "NifSkope: Adding Collision Model"

no edit summary
imported>Entim
(→‎Importing the new data: added warning about using at least the 0.97 version of NifSkope)
Tag: Manual revert
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Note to Blender users:'''
This guide is mostly deprecated for you.
The current Blender export scripts support the export of collision models.
See [http://niftools.sourceforge.net/wiki/Blender/Collision Blender/Collision] on the NifTools wiki.
However it can be useful to read the Refinig Collision Properties section of this guide.
The purpose of this article is to give a step by step guide to the [[Finessing Physics#Better Collision Modelling|Better Collision Modelling]] method described in [[Finessing Physics]] tutorial. The goal of the process is to create a simple model properly interacting with its environment. This method gives the most resource demanding type of collision model, but the easiest to create.
The purpose of this article is to give a step by step guide to the [[Finessing Physics#Better Collision Modelling|Better Collision Modelling]] method described in [[Finessing Physics]] tutorial. The goal of the process is to create a simple model properly interacting with its environment. This method gives the most resource demanding type of collision model, but the easiest to create.


Line 11: Line 16:
   
   
  TES4BSA: [[BSA Unpacker Tutorial]]
  TES4BSA: [[BSA Unpacker Tutorial]]
  NifSkope: [http://www.niftools.org/wiki/index.php/NifSkope NifSkope Documentation and Tutorials]
  NifSkope: [http://niftools.sourceforge.net/wiki/NifSkope/Documentation_And_Tutorials NifSkope Documentation & Tutorials]
  Blender: [http://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro Blender 3D: Noob to Pro], [http://www.niftools.org/wiki/index.php/Blender/Configuration NIF Scripts Configuration]
  Blender: [http://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro Blender 3D:Noob to Pro], [http://niftools.sourceforge.net/wiki/Blender/Configuration#Oblivion Blender Configuration for Import & Export of Nifs]


===Preparation===
===Preparation===
Line 19: Line 24:
*Export these models in NIF or OBJ format.
*Export these models in NIF or OBJ format.
**See [[NIF Importers and Exporters]] for import and export plugins.
**See [[NIF Importers and Exporters]] for import and export plugins.
**See [http://www.niftools.org/wiki/index.php/NifSkope/Mesh_import_export NifTools.org: Mesh import export] for OBJ exporting help.
**See [http://niftools.sourceforge.net/wiki/NifSkope/Mesh_import_export niftools.sourceforge.net:Mesh import export] for OBJ exporting help.
*Unpack ''\data\meshes\dungeons\ayleidruins\exterior\arstatue01.nif'' from ''\Oblivion\Data\meshes.bsa''.
*Unpack ''\data\meshes\dungeons\ayleidruins\exterior\arstatue01.nif'' from ''\Oblivion\Data\meshes.bsa''.
Example NIFs:
 
High-poly model: [http://www4.rapidupload.com/d.php?file=dl&filepath=25539 here]
Low-poly model: [http://www4.rapidupload.com/d.php?file=dl&filepath=25540 here]


==Adding Collision Model==
==Adding Collision Model==
Line 124: Line 126:
|}
|}


Example of the result NIF is [http://www4.rapidupload.com/d.php?file=dl&filepath=36523 here].


==Refining Collision Properties==
==Refining Collision Properties==
Line 135: Line 134:


[[Image:CollTut13.gif|100px|right|thumb]]
[[Image:CollTut13.gif|100px|right|thumb]]
Select the '''bhkPackedNiTriStripsShape''' block. Expand the Sub Shapes array in the '''Block Details''' window. Double-click on the '''Value''' of the '''Material''' property (currently '''HAV_MAT_STONE'''). You get a drop-down list of available materials. This list with some explanation is available as tooltip (hold your mouse over the '''Type''' field of the Material property). Choose the material from the dropdown list, or enter the appropriate number which can be found [http://www.niftools.org/doc/nif/HavokMaterial.html here] as well. This setting controls the hit sound, step sound, arrow penetrability, and particle effect of the surface.
Select the '''bhkPackedNiTriStripsShape''' block. Expand the Sub Shapes array in the '''Block Details''' window. Double-click on the '''Value''' of the '''Material''' property (currently '''HAV_MAT_STONE'''). You get a drop-down list of available materials. This list with some explanation is available as tooltip (hold your mouse over the '''Type''' field of the Material property). Choose the material from the dropdown list, or enter the appropriate number which can be found [http://niftools.sourceforge.net/doc/nif/HavokMaterial.html here] as well. This setting controls the hit sound, step sound, arrow penetrability, and particle effect of the surface.




Line 141: Line 140:


[[Image:CollTut12.gif|100px|right|thumb]]
[[Image:CollTut12.gif|100px|right|thumb]]
Select the '''5 bhkRigidBodyT''' block. Interesting properties are marked with red dots on the picture. A list of the available properties is [http://www.niftools.org/doc/nif/bhkRigidBodyT.html here]
Select the '''5 bhkRigidBodyT''' block. Interesting properties are marked with red dots on the picture. A list of the available properties is [http://niftools.sourceforge.net/doc/nif/bhkRigidBodyT.html here]


Most important properties:
Most important properties:
Line 149: Line 148:
Compare these properties to other NIFs, and change them accordingly.
Compare these properties to other NIFs, and change them accordingly.


Further information about the NIF format and NifSkope can be found at [http://www.niftools.org NifTools.org]. Information about NIF format/Havok system is [http://www.niftools.org/wiki/index.php/Category:NIF_Format here].
Further information about the NIF format and NifSkope can be found at [http://niftools.sourceforge.net/wiki/NifTools niftools.sourceforge.net]. Information about NIF format/Havok system is [http://niftools.sourceforge.net/wiki/Category:Nif_Format here].
 




Line 158: Line 156:




[[Category:Solutions]]
[[Category:Tutorials]]
[[Category:Modeling_and_Texturing_Tutorials]]
[[Category:NifSkope Tutorials]]
[[Category:Modeling Tutorials]]
Anonymous user