Page 1 of 1

Setting up the CoD 2 Model Exporter

Posted: August 14th, 2007, 5:46 pm
by Luke
Tutorial on Configuring Maya For Plugins
Specifically for Call of Duty 2
By: John Emerson AKA Trippy

Note: YOU NEED MAYA VERSION 6.0 SPECIFICALLY FOR THIS TO WORK!

Step 1. Navigate to your C:\Documents and Settings\name\My Documents\maya\6.0
Image


Step 2. Open the Maya.env file using notepad.
Image


Step 3. Copy and past the following into the Maya.env file

MAYA_PLUG_IN_PATH = C:\Program Files\Activision\Call of Duty 2\bin\maya
MAYA_SCRIPT_PATH = C:\Program Files\Activision\Call of Duty 2\bin\maya
Image

Step 4. Save and exit

Step 5. Navigate to your scripts folder C:\Documents and Settings\name\My Documents\maya\6.0\scripts
Image


Step 6. Open up the Usersetup.mel file with notepad
Image

Step 7. If it does NOT contain the following, copy and paste it in there

// scriptJob to rebuild menu as working mode changes
scriptJob -permanent -event "MenuModeChanged" "CODToolsMenu";

// COD Startup
CODStartup;
// COD Tools Menu
CODToolsMenu;


// scriptJob to rebuild menu as working mode changes
scriptJob -permanent -event "MenuModeChanged" "CODToolsMenu";

// COD Startup
CODStartup;
// COD Tools Menu
CODToolsMenu;

Step 8. Save and Exit

Optional Step – I am unsure at this time as to which file of script it should be kept in. So for safety copy the Usersetup.mel and navigate to the folder C:\Documents and Settings\name\My Documents\maya\scripts and paste the file into there.


Step 9. Open up Maya and if done correctly, you should see at the top of the menu “COD Tools”


Extra Step IF it doesn’t work

Navigate to the maya folder for COD2 C:\Program Files\Activision\Call of Duty 2\bin\maya and back up the CODExportModelWindow.Mel file into a different file. Then download the following file.

http://www.iwnation.com/Forums/index.ph ... st&id=3598

Open the zip and extract the CODExport ModelWindow.mel file into the C:\Program Files\Activision\Call of Duty 2\bin\maya folder.

Then open up Maya and it should be fixed.

Posted: August 14th, 2007, 7:34 pm
by Drofder2004
Very nice, split this into 2 topics.

1. Setting up CoD2 Exporter
2. Exporting using CoD2 Exporter.

Posted: August 14th, 2007, 11:12 pm
by Luke
Done, just changed the titles a bit.

Re: Setting up the CoD 2 Model Exporter

Posted: February 9th, 2010, 2:15 am
by Rezil
I know it's an ancient topic but Im getting desperate here. Does anyone still have the modified CODExportModelWindow.mel file? I've been looking for it for some time now. I know Luke has been offline forever but maybe someone else saved the file on their HDD?

EDIT: Nevermind, the one from the COD4 mod tools works just fine.

Posted: February 9th, 2010, 3:29 am
by Rezil
Hm, tried your version and it works the same. I guess I'll use yours then, thanks! :)

Re: Setting up the CoD 2 Model Exporter

Posted: August 3rd, 2014, 8:18 am
by csocsi96
Where to download Maya 6.0? I can't find this old version on the net. I had it on my old HDD but the drive is not working anymore.