Jump to content

NIF Collision Help


duinnin

Recommended Posts

Hey guys, I need help from anyone skilled in creating collision for static mesh. I opened the vanilla meshes for the Lumbermill and the Musoleum in Nifskope and removed portions of the meshes I did not want. I am using these for a settlement I'm working on. I had success with other vanilla meshes, but they have collision info separately I could delete too. Unfortunately, the collision information for these meshes are all combined, so even with deleting portions of the mesh there remains an invisible collision.

 

If you can help, please download the meshes here and work your magic! I would greatly appreciate any help and you will be credited for your work.

 

Thank you!

Link to comment
Share on other sites

I took this as an exercise and gave it a try: http://www.file-upload.net/download-7511206/New-NifCollision.zip.html (the small download button in the middle)

Check out if it works.

Note: The original museleum nif had two different collisions, each with three different materials. I did not undertake the pains to reproduce that, so there is a single collision with stone material properties for the whole structure.

Edited by Tamira
Link to comment
Share on other sites

Ah, on further exploration, I did notice in the museleum, the cave part, that there seems to be a collision issue heading up the stairs. Seems I stutter going up the stairs but eventually come out. I went to Solitude and tried the original and no such issue.

Link to comment
Share on other sites

I noticed that before with other models with stairs. There seems to be a problem to add custom collision for stairs. Sorry that is all I can do for you.

You could try to create a smoother collision with collision boxes or shapes on the stairs.

Link to comment
Share on other sites

  • 1 month later...

Hi! I've got the same problem. Basically, I need the nordic pit tileset without any of the wood or rope bits for my player home.

 

I managed to remove them quite easily within the Creation Kit (by replacing the textures with nullTextureSet), but the collision is still there (the one on the wooden pillars is most annoying). So I fired up nifSkope, where I managed to remove the collision entirely, but now I fall through the floors. Not so cool either.

 

I though about leaving it like that and "cheating" the collision I do need back in with collision planes, but some of the walls are rounded, and that would be rather tricky to get right.

 

If someone could help me with this, I would be eternally grateful! The meshes I need are:

 

dungeons\nordic\pits\norpitcorinl01.nif

dungeons\nordic\pits\norpitcorinr01.nif

dungeons\nordic\pits\norpitwallfront01.nif

dungeons\nordic\pits\norpitwallfront02.nif

 

Just the stone parts, without the wood and rope and all that. Thanks!

Link to comment
Share on other sites

How to do this:

 

First of all: remove the parts from the nif that you do no longer want by right-clicking on the NiTriShape and then in the block detail window -> block -> remove branch. Do this again with the collision -> remove branch. Save nif. This is your raw file now.

 

You can add collision to it by using the NifUtils tools by Skyfox. For your purpose you only need Chunk Merge. Have a look at this tutorial with download link:

http://tesalliance.org/forums/index.php?/tutorials/article/109-3d-craftworks-from-blender-to-skyrim/

 

Skip the first part (creating model and collision in Blender), go to the middle part - NifUtils - ChunkMerge.

Instead of a custom made mesh use your previously prepared raw Nif as a "collision" file and choose the same Nif as Transfer Nif (= Nif file Skyrim). ChunkMerge will now create a collision from the whole object itself, so the new collision will not be low poly but will have the same poly count as your modified mesh.

To avoid this high poly count you still could try to import the modified mesh somehow to blender and create a low-poly collision, according to the first part of that tutorial but I myself cannot handle blender to create something, so cannot help you with that.

Link to comment
Share on other sites

Tamira, you'll be proud of me. I used ChunkMerge myself and worked like a charm! I can do this myself, no problem. As for concerns about the high-poly mesh, Saerileth, I have a few meshes done this way with no drop in my performance yet.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...