Md2 exporter script for 3ds Max


For our animated models in Awaken we decided to go with md2. Even though it is a somewhat antiqued format (hello Quake) it seems to fit our purposes best since it doesn’t put much drain on the poor mobile CPU. Who knows we might still end up having to go down the vertex skinning route..

We spent way too much time trying to find a way to export the models from 3ds Studio Max to md2. Turns out it is a little bit more tricky than first expected. We searched the internet for exporters / plugins and there’s really not much around. There’s one commercial plugin (QTip) and a few really old scripts.

Finally we found a script posted by a kind user somewhere in a forum which seemed up to date. We ended up having to modify the original script slightly to work with the libgdx workflow better. So all the glory & praise goes to the original authors, we just made the tiniest changes!

Either way, we thought we’d save you the time and trouble to find a script if you’re in a similar position ๐Ÿ™‚ Read below to get all the details and instructions.

Download the script from here: md2ExporterV2SB.ms

How to use the MD2 exporter script:

First you need to install the script in your 3DSMax version. I use 3DSMax 8 but this should work the same with other versions:

  • Copy the two scripts you find in the zip file into your: โ€ฆ\3dsmax\scripts\startup folder. This means that it will be loaded when you start your 3dsmax.
  • Start your 3DSMax and open the Utilities tab.
  • Select the Maxscript button
  • In the Utilities drop down menu select the “MD2 exporter V2.0”

Done! ๐Ÿ™‚

Now how to use the exporter:

  • Finalise your model like you normally do. (Check for size/units and place it on (0,0,0)
  • Important: Add a “edit mesh” modifier at the top of your modifier stack. If you donโ€™t do this, the mesh wonโ€™t export.
  • Select “Save animation” if you have any.
  • Select “Generate normals” if you want to have your smoothing groups to be exported.
  • Now select the mesh you want to export and click on “Export”.

Thats it. ๐Ÿ™‚

Questions/comments are welcome, as always.

6 comments on “Md2 exporter script for 3ds Max

  1. Pingback: Production Log | Alternate Reality

Leave a Reply

Your email address will not be published. Required fields are marked *