This plugin exports XModels and XAnims (with Notetrack support) from Maya 2012-2014 (though it may work on other versions), and also has the same rigging and gunsleeve features that are in Treyarch's Maya 8.5 exporter. v1.5 Also allows importing of static and animated models directly from the xmodel format to the Maya editor.
Note: If you have the old "CoDExportTools" version of this program, make sure to uninstall it first!
1) Download the script here, and save it to *My Documents\maya\<maya version>\scripts*
2) In the same folder as Step 1, create usersetup.mel (if you don't already have one). Add this code to the end of the file:
3) Restart Maya
How To Use
All of the tools are under the Call of Duty 5 Tools menu at the top of the main window.
To export a model, go to Call of Duty 5 Tools > Export XModel.... Select the meshes and joints in the scene you want to export, and select a path by typing the path manually or pressing the ... button to open a file browser. Click Export Selected to export. If you want to save a selection and export path for future use, click Save Selection which will save to the active Slot. You can get the selection and path back by going to the Slot you saved it to and clicking Get Saved Selection.
To export an animation, go to Call of Duty 5 Tools > Export XAnim.... Everything except for the animation settings in the middle is the same as the XModel Export window. Select the frame range and FPS of the export. To add Notetracks to the animation, click the Add Note button, which adds to the Notetrack list of the current Slot. You can change the frame of the Note by selecting it in the list and changing the value of the Frame input box, below the Remove Note button. To remove a note, select it and click Remove Note.
All of the GunSleeve and ViewModel tools are the same as in Treyarch's exporter, under the Call of Duty 5 Tools > ViewModel Tools menu. The plugin will attempt to locate you Call of Duty 5 root folder automatically, but if it can't find it, you can set it manually by clicking Call of Duty 5 Tools > Set CoD Root Folder.
For extra information, almost every button and box has a mouse-hover ToolTip that tells what it does.
- Export tool and written guide courtesy of Aidan