[Register] [731851 Members] [102221 Online; 1829 Members, 100392 Guests]  
The Elder Scrolls 4
File Search

 Picture of the Month

 The Files
 » Browse Files
 » Search
 » Submit Files

 The News
 » News
 » News Archive
 » Submit News

 Elder Scrolls IV: Oblivion
 » About
 » Features
 » Screenshots
 » Cheats
 » Mod FAQ
 » System Requirements
 » Browse
    - Media
    - Miscellaneous
    - Modifications
    - Official
    - Skins
    - Utilities

 TES III: Morrowind
 » About
 » Features
 » Screenshots
 » System Requirements
 » Browse
    - Media
    - Modifications
    - Official
    - Skins
    - Utilities

 Elder Scrolls Lore
 » Races
    - Orc
    - Breton
    - Imperial
    - Redguard
    - Nord
    - High Elf
    - Dark Elf
    - Wood Elf
    - Argonian
    - Khajiit
 » Provinces
    - High Rock
    - Cyrodiil
    - Hammerfell
    - Skyrim
    - Summerset Isle
    - Morrowind
    - Valenwood
    - Black Marsh
    - Elsweyr
 » Elder Scrolls Universe

 The Community
 » Links
 » ES4 Forums
    - General Discussion
    - Modding & Editing
    - Problems & Help
 » PotD Archive
 » Submit PotD
 » Taking Screenshots

 The Site
 » Latest Poll
 » Staff
 » Apply To Volunteer
 » Contact

  Modding Tutorial: Custom Weapon Havok Collision - Mods
  Posted by: Mad_Griffin on 10-09-2007 @ 17:40 - Source: Tutorial Team
This News Item has been viewed 7,061 times
Requirements: Nifskope

So you've made a custom weapon, but it's collision isn't correct... This will teach you how to create custom collisions with the powerful tool Nifskope. You can usually just copy the bhkcollision data from another similar weapon but if feel that you MUST make your own, heres how.

Weapons Collision
I will use an Elven Warhammer for this tutorial, I deleted the BHKcollisionobject for this tutorial but everything will be put back.

If you do not have a Block Details press F2 and open the 0 NiNode and right click on bhkCollisionObject and click Delete Branch. Your screen should look like this:


Now for the first part of our Collision creation, we need to create the base for our bhkCollisionObject. Click spells ->Block->Insert and then select bhkCollisionObject. You will notice that it is not in the NiNode and that the 0NiNode is now 1NiNode. Now click 1Ninode and select Collision Object and double click the value next to Collision Object and change it to 0 and click on Collision Object, it should now change to <-bhkCollisionObject. You should be this far:


Now insert bhkRigidBody, and open NiNode and click on 1bhkCollisionObject Change the Parent to the number to the left of NiNode and on Body type in the number that apears next to bhkRigidBody. Now Insert bhkListShape and open bhkCollisionObject and click on bhkRigidBody and change the Shape value to the number next to bhkListShape, and change OL_Static to to OL_Weapon, Change Mass to 14, the Motion System to MO_SYS_BOX and the Quality type to MO_QUAL_MOVING2.

Insert bhkCapsuleShape and open bhkRigidBody and click on bhkListShape, and at the top of the Block Details change the NumSubShapes value to 2 and right click on Sub Shapes and select Array->Update. On the first Sub Shapes change the value to the number next to bhkCapsuleShape. Set Radius to 0.3, and Radius 1 to 0.3 and Radius 2 to 0.3. Look where is says First Point and Second Point, and adjust these points to be slightly larger than the handle. You should be this far:


You have just created 1 part of your collision, but we now have to add a collision box around the hammer part, so Insert a bhkConvexTransformShape and click on bhkListShape, open Sub Shapes and on the Sub Shape where the value says None, change it to the number next to bhkConvexTransformShape. We need to create our box now, so insert a bhkBoxShape and click on bhkConvexTransformShape and change the value of Shape to the number next to bhkBoxShape, and change OL_Static to OL_Weapon. Click on bhkBoxShape and change the Dimensions to these: X 2.000 Y 1.000 Z 0.500, this changes the scale of the box to best fit the hammer. Now we will move the box to the hammer, click on bhkConvexTransformShape and right click on Transform and click Edit Matrix, now adjust the Y translation to what best fits the hammer, I found 4.100 to be the most effective. You have now finished creating your collision for you weapon, your finished work should look like this:


By Mad_Griffin

          Next News Post 10-12-2007 @ 17:24 - FileFront Network Insider #112
          Previous News Post 10-08-2007 @ 22:15 - Weekly Poll Results - Which Annoys You The Most

Average User Rating: 10
Number of Votes: 2
E-Mail to FriendSave to del.icio.usStumble It!Share on FacebookFark It!

User Comments  
The following comments are owned by the user that posted them. The Elder Scrolls Files is not responsible for their content.

Total comments: 1 | Last comment: 10-17-2007 at 10:20

 #1 - 10-17-2007 at 10:20
From: (New Milton)
Joined: August 7th, 2006
Posts: 81
Excellent! ive been wanting to know how to do physics based objects for ages.

When posting comments, you must follow these rules:
  1. No "Yay I got First Post!" posts, no exceptions and no matter what other content the post has!
  2. No Pornographic Material. Any sexually oriented imagery or links to such content will not be tolerated.
  3. No Warez or Illegal Software. This includes linking to software, posting about it, and suggesting to get it.
  4. No Cursing or Swear words. We encourage you to use our comment sections as a forum to debate files, news, etc., but please use proper adjectives to express yourself. We will not tolerate abuse upon another member or author.
  5. No Attacks / Retaliation of any kind against a member, or group of members.
  6. Please do not advertise for other sites or forums here.
  7. Maximum of 3 smileys per regular member.
The high interactivity of this site should be considered a luxury, not a right. If you cannot follow these simple rules, you can and will be warned or banned from the comments, site or the entire network for any period of time.
Now enjoy yourself and behave!

  • Register: To get your own Username, click here!
  • Forgot your password? click here!
  • You can use UBB here!
Username:     Password:  
Remember my username and password
Comment Title:
Your comments for this News please:

 Latest News
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..

 Latest Files
 » DUN.. (special addition)
 » Visible Mournhol.. (1.0)
 » Champions of Ligh.. (V2)
 » Champions of Lig.. (2.0)
 » Skyrim White Wer.. (1.0)
 » Faction Living.. (v1.00)
 » Dancing Boys (v1)
 » Necromancer Birthsig..
 » Black Rose Manor (1.0)
 » The Castle of Re.. (1.0)

 The Network
 » Gaming News
 » Game Demos
 » Game Patches
 » Trailer Videos
 » Gaming Forums

 Game Portals:
 » Age of Empires 3
 » Aliens vs Predator 2
 » America's Army
 » ArmA 2
 » Armada 2
 » Battlefield 1943
 » Bridge Commander
 » Brothers in Arms 2
 » Call of Duty 4
 » Command & Conquer
 » Company of Heroes
 » Crysis
 » Counter-Strike: Source
 » Dawn of War Series
 » Day of Defeat: Source
 » Diablo 3
 » Doom 3
 » Elite Force
 » Enemy Territory
 » Fallout 3
 » Far Cry 2
 » F.E.A.R.
 » Flight Simulator X
 » GTA San Andreas
 » Half-Life 2
 » Halo
 » Jedi Knight 3
 » Knights of the Old Republic
 » Left 4 Dead 2
 » LOTR: Battle 4 Middle Earth
 » Medal of Honor
 » Operation Flashpoint
 » Quake 4
 » Red Faction: Guerrilla
 » rFactor
 » Silent Hunter 4
 » Sins of a Solar Empire
 » Soldier of Fortune 2
 » S.T.A.L.K.E.R.
 » Star Trek: Legacy
 » Star Wars Battlefront 2
 » Star Wars Empire at War
 » StarCraft II
 » Starfleet Command III
 » Supreme Commander
 » Team Fortress 2
 » The Elder Scrolls IV
 » The Sims 2
 » TrackMania United
 » Unreal Tournament 3
 » Warcraft III
 » World of Warcraft
 » X3: Terran Conflict

You got served by in 0.0588 seconds using 11 MySQL queries and 12 includes
Copyright © 2015 FileFront, Inc. All rights reserved.
Design by Jos Jongejan aka Pro-Filer & FileTrekker. Use of The Elder Scrolls Files materials is subject to certain Terms & Conditions.
TM & © 2015 Bethesda Softworks LLC. All rights reserved. The Elder Scrolls and related marks are trademarks of Bethesda Softworks LLC