Setting up the Maya Environment
From Infinity Ward Community Wiki
YOU MUST BE USING BETA TOOLS v1.5 OR LATER OR THIS IS NOT SUPPORTED!
Setting up environment variables
You must add this to your Maya.env file located in 'C:\Documents and Settings\<username>\My Documents\maya\<maya version>\'
MAYA_SCRIPT_PATH = C:\program files\activision\call of duty 4 - modern warfare\bin\maya\tools MAYA_PLUG_IN_PATH = C:\program files\activision\call of duty 4 - modern warfare\bin\maya\tools
Note that those directories were only an example. If you installed the game to a different directory you will need to make the appropriate change to those paths listed above.
You must add these few lines to your usersetup.mel located in 'C:\Documents and Settings\<username>\My Documents\maya\<maya version>\scripts\'
source CODToolsMenu;
CODStartup;
CODToolsMenu;
You will also have to update the global paths located in 'CODViewModelControlWindow.mel' at the top of the file.
You should be set now. You should see a drop down menu called "CoD Tools" in maya now
Notes:
If you want the textures and exports of the example Maya files to show up correctly, you need to update your maya texture paths to the location the game is installed. You will notice that it will be looking for the images in another directory that we use at IW during development that wont work on your home computer.
