Setting up the CoD 2 Model Exporter

Have a question about modding, modelling or skinning? Have a tutorial to post? Post here!

Moderator: Core Staff

Post Reply
Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Setting up the CoD 2 Model Exporter

Post by Luke » August 14th, 2007, 5:46 pm

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.
Last edited by Luke on August 14th, 2007, 9:01 pm, edited 1 time in total.
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 14th, 2007, 7:34 pm

Very nice, split this into 2 topics.

1. Setting up CoD2 Exporter
2. Exporting using CoD2 Exporter.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » August 14th, 2007, 11:12 pm

Done, just changed the titles a bit.
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Setting up the CoD 2 Model Exporter

Post by Rezil » February 9th, 2010, 2:15 am

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.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Post by Rezil » February 9th, 2010, 3:29 am

Hm, tried your version and it works the same. I guess I'll use yours then, thanks! :)
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

csocsi96
CJ Wannabe
CJ Wannabe
Posts: 3
Joined: December 8th, 2013, 11:26 am

Re: Setting up the CoD 2 Model Exporter

Post by csocsi96 » August 3rd, 2014, 8:18 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests