Difference between revisions of "Working with animations in Skyrim"

From Nexus Mods Wiki
Jump to: navigation, search
m (Update link to Havok Command Line Tools 1.4)
 
Line 1: Line 1:
==Overview==
+
 
 +
== Overview ==
  
 
This is a simple workflow for working with animations in Skyrim. Basic 3d modeling tool competency is assumed. This tutorial will extract animations from Skyrim, modify them in 3ds max or a similar editor, and export then back into Skyrim. This tutorial does not cover use of 3d modeling tools, or actually making the desired animations.
 
This is a simple workflow for working with animations in Skyrim. Basic 3d modeling tool competency is assumed. This tutorial will extract animations from Skyrim, modify them in 3ds max or a similar editor, and export then back into Skyrim. This tutorial does not cover use of 3d modeling tools, or actually making the desired animations.
Line 5: Line 6:
 
== Extracting animations from Skyrim ==
 
== Extracting animations from Skyrim ==
  
# Get a BSA Unpacker. Some choices include [http://www.fallout3nexus.com/downloads/file.php?id=640 Fallout Mod Manager], or you could do a search on SkyrimNexus.com.
+
#Get a BSA Unpacker. Some choices include [http://www.fallout3nexus.com/downloads/file.php?id=640 Fallout Mod Manager], or you could do a search on SkyrimNexus.com.  
# Open up "Skyrim - Animations.bsa".  
+
#Open up "Skyrim - Animations.bsa".  
# Browse to the actors\characters folder, select everything in there, and extract to a temporary folder. Make sure the directory structure is intact.
+
#Browse to the actors\characters folder, select everything in there, and extract to a temporary folder. Make sure the directory structure is intact.  
# [[File:Animations_skyrim_1.png]]
+
#[[File:Animations skyrim 1.png|RTENOTITLE]]  
# Go grab [http://www.skyrimnexus.com/downloads/file.php?id=1797 Havok Command Line Tools 1.3]. Install this preferably in the same folder as your temporary folder with the animations.
+
#Go grab [https://www.nexusmods.com/skyrim/mods/1797?tab=description Havok Command Line Tools 1.4]. Install this preferably in the same folder as your temporary folder with the animations.  
# Make a new temporary subfolder (i.e. "anim-out") in the temporary folder you used above. The resulting folder structure looks something like this:
+
#Make a new temporary subfolder (i.e. "anim-out") in the temporary folder you used above. The resulting folder structure looks something like this:  
# [[File:Animations_skyrim_2.png]]
+
#[[File:Animations skyrim 2.png|RTENOTITLE]]  
# Open up a command prompt in that directory and type (change "anim-out" to your temporary subfolder):
+
#Open up a command prompt in that directory and type (change "anim-out" to your temporary subfolder):  
#: hkxcmd exportkf "skeleton.hkx" "animations" "anim-out"
+
#:hkxcmd exportkf "skeleton.hkx" "animations" "anim-out"  
# [[File:Animations_skyrim_3.png]]
+
#[[File:Animations skyrim 3.png|RTENOTITLE]]  
# Now the files should be ready to load into 3ds max.
+
#Now the files should be ready to load into 3ds max.  
  
 
== Animations in 3ds max ==
 
== Animations in 3ds max ==
  
 
This example will use 3ds max 2012. Really, you can use any version you want.
 
This example will use 3ds max 2012. Really, you can use any version you want.
# Import a skeleton.nif. You may have to use your BSA unpacker again, this time on "Skyrim - meshes.bsa", to obtain that file.
+
 
# Not sure how much the settings matter here, but be sure "import skeleton" is checked.
+
#Import a skeleton.nif. You may have to use your BSA unpacker again, this time on "Skyrim - meshes.bsa", to obtain that file.  
# [[File:Animations_skyrim_4.png]]
+
#Not sure how much the settings matter here, but be sure "import skeleton" is checked.  
# Import a .kf file that you just extracted. This demo will use "1hm_attackleft.kf". Make sure all boxes are checked in the import dialog.
+
#[[File:Animations skyrim 4.png|RTENOTITLE]]  
# Edit your animation. Covering animating is beyond the scope of this tutorial, and frankly enough I'm not an artist.
+
#Import a .kf file that you just extracted. This demo will use "1hm_attackleft.kf". Make sure all boxes are checked in the import dialog.  
# [[File:Animations_skyrim_5.png]]
+
#Edit your animation. Covering animating is beyond the scope of this tutorial, and frankly enough I'm not an artist.  
# Be sure to have proper "note" blocks for your animations, which are visible under Graph Editors > Track View - Dope Sheet. You may wish to refer to previous TES tutorials for this.
+
#[[File:Animations skyrim 5.png|RTENOTITLE]]  
# [[File:Animations_skyrim_6.png]]
+
#Be sure to have proper "note" blocks for your animations, which are visible under Graph Editors > Track View - Dope Sheet. You may wish to refer to previous TES tutorials for this.  
# When finished, export the animation. Make sure to use these EXACT settings as shown below.
+
#[[File:Animations skyrim 6.png|RTENOTITLE]]  
# [[File:Animations_skyrim_7.png]]
+
#When finished, export the animation. Make sure to use these EXACT settings as shown below.  
 +
#[[File:Animations skyrim 7.png|RTENOTITLE]]  
  
 
== Exporting animations to Skyrim ==
 
== Exporting animations to Skyrim ==
  
# Open up your animation in NifSkope to make sure it's not empty, etc:
+
#Open up your animation in NifSkope to make sure it's not empty, etc:  
# [[File:Animations_skyrim_8.png]]
+
#[[File:Animations skyrim 8.png|RTENOTITLE]]  
# Open up a command prompt in that directory and type (where "test" is the name of your animation):
+
#Open up a command prompt in that directory and type (where "test" is the name of your animation):  
#: hkxcmd convertkf "skeleton.hkx" "test.kf" "test.hkx"
+
#:hkxcmd convertkf "skeleton.hkx" "test.kf" "test.hkx"  
# [[File:Animations_skyrim_9.png]]
+
#[[File:Animations skyrim 9.png|RTENOTITLE]]  
# Put your animation back into the Data folder under the appropriate directory. Try it out in game!
+
#Put your animation back into the Data folder under the appropriate directory. Try it out in game!  
  
 
== Notes ==
 
== Notes ==
# You may see missing nodes (such as the one shown above). I don't know at this time what effect that will have in game.
+
 
# Certain animations (notably the paired killmoves) will NOT work with the converter, as [http://forums.bethsoft.com/topic/1293826-rel-havok-animation-converter/page__view__findpost__p__20091076 explained by SaidenStorm]. There is currently no fix for this.
+
#You may see missing nodes (such as the one shown above). I don't know at this time what effect that will have in game.  
 +
#Certain animations (notably the paired killmoves) will NOT work with the converter, as [http://forums.bethsoft.com/topic/1293826-rel-havok-animation-converter/page__view__findpost__p__20091076 explained by SaidenStorm]. There is currently no fix for this.  
  
 
== Credits ==
 
== Credits ==
  
#The Hologram, for his excellent Havok Command Line tools.
+
#The Hologram, for his excellent Havok Command Line tools.  
#The NifTools team.
+
#The NifTools team.  
#Autodesk.
+
#Autodesk.  
#Bethesda, for an awesome game.
+
#Bethesda, for an awesome game.  
  
 
== Author ==
 
== Author ==
Line 55: Line 58:
 
You may contact the [http://www.thenexusforums.com/index.php?/user/411824-jimhsu/ author] of this tutorial for questions or comments. Note that response times may be delayed.
 
You may contact the [http://www.thenexusforums.com/index.php?/user/411824-jimhsu/ author] of this tutorial for questions or comments. Note that response times may be delayed.
  
[[Category:Skyrim]]
+
[[Category:Skyrim]] [[Category:Tutorials]] [[Category:Animation]] [[Category:Mod Creation]]
[[Category:Tutorials]]
 
[[Category:Animation]]
 
[[Category:Mod Creation]]
 

Latest revision as of 03:49, 29 June 2020

Overview

This is a simple workflow for working with animations in Skyrim. Basic 3d modeling tool competency is assumed. This tutorial will extract animations from Skyrim, modify them in 3ds max or a similar editor, and export then back into Skyrim. This tutorial does not cover use of 3d modeling tools, or actually making the desired animations.

Extracting animations from Skyrim

  1. Get a BSA Unpacker. Some choices include Fallout Mod Manager, or you could do a search on SkyrimNexus.com.
  2. Open up "Skyrim - Animations.bsa".
  3. Browse to the actors\characters folder, select everything in there, and extract to a temporary folder. Make sure the directory structure is intact.
  4. RTENOTITLE
  5. Go grab Havok Command Line Tools 1.4. Install this preferably in the same folder as your temporary folder with the animations.
  6. Make a new temporary subfolder (i.e. "anim-out") in the temporary folder you used above. The resulting folder structure looks something like this:
  7. RTENOTITLE
  8. Open up a command prompt in that directory and type (change "anim-out" to your temporary subfolder):
    hkxcmd exportkf "skeleton.hkx" "animations" "anim-out"
  9. RTENOTITLE
  10. Now the files should be ready to load into 3ds max.

Animations in 3ds max

This example will use 3ds max 2012. Really, you can use any version you want.

  1. Import a skeleton.nif. You may have to use your BSA unpacker again, this time on "Skyrim - meshes.bsa", to obtain that file.
  2. Not sure how much the settings matter here, but be sure "import skeleton" is checked.
  3. RTENOTITLE
  4. Import a .kf file that you just extracted. This demo will use "1hm_attackleft.kf". Make sure all boxes are checked in the import dialog.
  5. Edit your animation. Covering animating is beyond the scope of this tutorial, and frankly enough I'm not an artist.
  6. RTENOTITLE
  7. Be sure to have proper "note" blocks for your animations, which are visible under Graph Editors > Track View - Dope Sheet. You may wish to refer to previous TES tutorials for this.
  8. RTENOTITLE
  9. When finished, export the animation. Make sure to use these EXACT settings as shown below.
  10. RTENOTITLE

Exporting animations to Skyrim

  1. Open up your animation in NifSkope to make sure it's not empty, etc:
  2. RTENOTITLE
  3. Open up a command prompt in that directory and type (where "test" is the name of your animation):
    hkxcmd convertkf "skeleton.hkx" "test.kf" "test.hkx"
  4. RTENOTITLE
  5. Put your animation back into the Data folder under the appropriate directory. Try it out in game!

Notes

  1. You may see missing nodes (such as the one shown above). I don't know at this time what effect that will have in game.
  2. Certain animations (notably the paired killmoves) will NOT work with the converter, as explained by SaidenStorm. There is currently no fix for this.

Credits

  1. The Hologram, for his excellent Havok Command Line tools.
  2. The NifTools team.
  3. Autodesk.
  4. Bethesda, for an awesome game.

Author

You may contact the author of this tutorial for questions or comments. Note that response times may be delayed.