NifSkope - copying and pasting collision node how-to, please

Post » Thu Sep 30, 2010 5:59 pm

So, I have a weapon in .nif format. Viewed in Nifskope, it has a yellow box around it indicating the size of its collision box. In the Block List pane, it sits within a node tree like this:

6 bhkCollisionObject 5 bhkRigidBodyT  4 bhkBoxShape


I have another weapon that doesn't have this collision information. I imagine if I drop it at any point, it's going to fall through the floor. I'd quite like to copy the same node branch that handles collision from the previous weapon into this one to stop this from happening.

Right clicking "6 bhkCollisionObject", selecting "Block -> Copy Branch" and then right-clicking on the BSFadeNode and selecting "Block -> Paste Branch" introduces the node branch into the second weapon's block list. The problem is, the node branch doesn't seem to be parented properly, so the yellow collision box isn't showing and the node branch appears at the bottom of the block list, not subordinate to the BSFadeNode as with the first weapon.

Would someone be willing to tell me how I connect this up properly, please?
User avatar
cassy
 
Posts: 3368
Joined: Mon Mar 05, 2007 12:57 am

Post » Thu Sep 30, 2010 3:23 pm

Sorry for the double. Posted this in the wrong forum, and can't find a delete topic option in the edit topic bit.

(where can I find a list of square bracket commands such as "code" and "quote" for posting on these boards, anyway?)
User avatar
~Sylvia~
 
Posts: 3474
Joined: Thu Dec 28, 2006 5:19 am

Post » Thu Sep 30, 2010 8:34 pm

For anyone else having trouble with this, here's a helpful how to do it:

Left-click the first "BSFadeNode" in the Block List.

In the Block Details, scroll down to the "Collision Object" field and type in the number that corresponds with the "bhkCollisionObject" node.

Click on the "bhkCollisionObject" node and use CTRL & up-arrow to make "bhkCollisionObject" the third item in the Block List to appear under the "BSfadeNode" node, after "BSXFlags" and "NiStringExtraData". It should be numbered decrementally consecutively, beginning with the grandchild element, "bhkBoxShape". When done, it should appear similar to this:

0 BSFadeNode 1 BSXFlags 2 NiStringExtraData 5 bhkCollisionObject  4 bhkRigidBody   3 BSFadeNode

User avatar
Ronald
 
Posts: 3319
Joined: Sun Aug 05, 2007 12:16 am

Post » Thu Sep 30, 2010 4:20 pm

nifskope will auto arrange the block list, so there is no need to manually move the collision block up the list. just saving it will sort the blocks.
User avatar
Tamara Primo
 
Posts: 3483
Joined: Fri Jul 28, 2006 7:15 am


Return to Fallout 3