How To: Custom Collision Shapes - darkconsole/dse-display-model GitHub Wiki
Tools Needed
- A 3D modeling program that can export Oldrim NIFs.
- Nifskope.
- ChunkMerge (https://drive.google.com/file/d/1hJvBKVcfQh3M-EZHprpm1KMYG5_rRafj/view?usp=sharing).
Process
-
Nifskope:
- Copy a BHK collision tree from a working mesh into the final mesh you want to have collision into your final model.
- the
BSXFlags
- the
bhkCollisionObject
Spells > Sanitize > Reorder Blocks
-
Make extremely low poly basic shape in 3D app.
-
Export as Oldrim NIF, overwrite
shape.nif
inChunkMerge\nifs
-
ChunkMerge:
- nif-file: overwrite
nifs\output.nif
- collision-file
nifs\shape.nif
- template
nifs\template-clutter.nif
(you have to choose the folder, then set the file in the dropdown) - tick
mesh data
- nif-file: overwrite
-
Nifskope:
- Copy the
bhkMoppBvTreeShape
into thebhkCollisionObject->bhkRigidBody
on your final model. - Delete old collision shape that may have been unseated by copying in new shape.
- Make sure the chunk material's material is whatever it should be, and that layer is clutter.
Spells > Sanitize > Reorder Blocks
again.
- Copy the