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
Step 2. Open the Maya.env file using notepad.
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
Step 4. Save and exit
Step 5. Navigate to your scripts folder C:\Documents and Settings\name\My Documents\maya\6.0\scripts
Step 6. Open up the Usersetup.mel file with notepad
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.php?act=Attach&type=post&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.