Tutorial/Import animations into Blender

From owdev
Revision as of 20:01, 17 January 2017 by Fusion (talk | contribs) (Copy pasta from gisthub, still need to manually upload the files.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This guid assumes that you already have all the required files extracted, see Compatibility and Required Files. If you do not yet have these files extracted then you can extract them using Dynaomi’s OverTool (Instructions), this still requires you to have a compatible Overwatch version installed.

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

Compatibility

This only works with files up to the Halloween update (1.4.0) (including the Halloween update) So this will NOT work for 1.5.0 and Winter Wonderland (and newer versions).

Required Files

  • .006 Animations from a compatible version
  • .00C Hero model

Required Tools

id-daemon’s Animation Converter

Make sure that you know which files 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
  • Open a cmd in the same folder (shift+right-click empty space in explorer -> Open command window here
  • Run overwatch_skeleton.exe "F:\Overwatch Assets\1.4.0.2-32312 Halloween\Mercy\Skin\Eidgenossin\0000000006E9.00C" replace the path by the file you want to import. Make sure to point to the .00C file (not the .owmdl)

You should now have a refpose.smd in the same folder. This file is required by overwatch_anim.exe

File:Https://i.imgur.com/DTQUyVZ.png
caption Your directory should roughly look like this

You can now use overwatch_anim.exe "F:\Overwatch Assets\1.4.0.2-32312 Halloween\Mercy\Skin\Eidgenossin\Animations\000000000000\000000001C3B.006" to convert .006 files to .smd animations. Make sure to replace the path with your path.

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

The 000000000000 usually contains the highlights. The 0000000006E9 contains animations for the 0000000006E9.00C 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 (the model you also used with overwatch_skeleton.exe, but now the .owmdl instead of the .00C)
  • 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

Click for Youtube video

You can now delete the first model (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 realtime physics, so you’ll have to simulate those using Blender’s cloth physics (or some other way).