Tutorial/Import animations into Blender

From owdev
Revision as of 12:01, 27 February 2017 by Fusion (talk | contribs) (Typo)
Jump to: navigation, search

This guide assumes that you already have all the required files extracted, see Required Files. If you do not yet have these files extracted then you can extract them using Dynaomi’s OverTool (Instructions).

This guide assumes that you are using Windows, but it should work fine for wine as well.

Required Files

  • .006 Animations
  • .smd Refpose

Required Tools

id-daemon’s Animation Converter

Make sure that you know which file contains the character you want to import. You can see which file to import by importing all .owmdl files in Blender (it usually is the largest file, or second largest)

  • Extract the downloaded files somewhere
  • Place the refpose for your model (00000000XXXX_refpose.smd, which OverTool extracts by default) in the same folder as the tools and rename it to refpose.smd
  • Open a cmd in the same folder (shift+right-click empty space in explorer -> Open command window here)

You can now use overwatch_anim.exe "...\Eidgenossin\Animations\000000000000\00000000413A.006" to convert .006 files to .smd animations. Make sure to replace the path with your path.

Overwatch anim new.png

Some animations might throw an error, just ignore it and move on to the next file.

The 000000000000 usually contains the highlights. The folder 0000000006E9 contains animations for the 0000000006E9.owmdl file, etc.

Import .smd files into Blender

I assume that you already have theOWMImporter for Blender and the Blender Source Tools installed, if not then install them now (linked above).

Import your .owmdl using the OWMImporter (you should know how to do this)

  • Press space and search for Import OWMDL
  • Select your .owmdl model
  • You can also import additional models (like the weapon) if you want
  • Leave the settings and click import

Import the .smd animation using Blender Source Toos

  • Press space and search for Import SMD/VTA, DMX, QC
  • Select a .smd animation generated by overwatch_anim.exe
  • Change the Bone Append Mode to Make New Armature

Add the imported animations to the existing model

  • You’ll need to rotate the model exactly 90 degrees on the x axis, type r x 90 to do so. (Rotate, X, 90)
  • Select all the meshes (shift + left-click), make sure to select the animated skeleton last!
  • Select the imported animated skeleton and (with your mouse inside the 3D viewport) press ctrl + p and select Armature Deform

YouTube video showing how to do so

You can now delete the first skeleton/armature (Right click -> Delete Hierarchy), or don’t, it doesn’t matter.

You should now be able to play the animation by pressing alt + a or clicking the play button underneath the timeline.

You’ll also notice that some models use real time physics, so you’ll have to simulate those using Blender’s cloth physics (or some other way).