Call of Duty 4: ModTools Content

From COD Modding & Mapping Wiki
Jump to navigation Jump to search

What's included

Xmodels: After Modtools are installed 'C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\main\xmodel\' should contain all the extracted model files.


Inside bin\


CoD4Radiant.exe

Level editor. Create custom .map files for single player or multiplayer.

On running CoD4Radiant for the first time, you will need to load the included cod4.prj project file which is located in "\bin".


CoD4_EffectsEd.exe

The CoD4 effect editor. Create and modify your own effects.

On running CoD4_EffectsEd for the first time, you will be asked to browse to the location the game is installed. The default location is "Program Files\Activision\Call of Duty 4 - Modern Warfare".


CoD4CompileTools.exe

Graphical UI tool that is handy for compiling and running maps.

On running CoD4CompileTools for the first time you must click the "browse" button in the upper left corner and browse to the location the game is installed. The default location is "Program Files\Activision\Call of Duty 4 Modern Warfare".


asset_manager.exe

Tool used for adding/modifying assets to the game. See the Maya documentation for sample usage.


cod4map.exe

Compiles the .map file and creates a .d3dbsp. Referenced by CoD4CompileTools.exe, but can be called manually as well.


cod4rad.exe

Calculates lighting for a map and writes to the .d3dbsp. Referenced by CoD4CompileTools.exe, but can be called manually as well.


cod4rad64.exe

64-bits version of the above.


converter.exe

Converts data from asset manager to game data. If you add something to asset_manager, you must then run converter before seeing your assets in the game.


linker_pc.exe

Linker PC is the piece of software that will actually gather all the needed resources for your Map and create a FastFile (.ff)


bin\maya\

In here you will find the Maya 8 model and animation export Plugins. See the Maya documentation for information on how to setup these Plugins with your Maya software.


collmaps\

This is where collision map files are stored. Their filenames correspond to the xmodel name in the xmodel folder. By default, static models do not have collision, they get their collision data from these collmaps that we have made.


devraw\maps\

CoD4EffectsEd.exe looks in this folder for effectsEd_box.d3dbsp which is the bsp the editor loads. You can replace this bsp with another if you'd like CoD4EffectsEd.exe to use a different bsp.


map_source\

Included is the source for two official maps (Blackout, Single-player & Backlot, Multi-player) and this is where they are located, along with all the prefabs they reference. There is also a multiplayer test map (mp_test.map) included which contains the basics for any multiplayer map that can be helpful for testing. Finally a test map for single player is also included for your benefit (test_traverses.map)


xmodel_export\

The base character and hotbox model is located here. See included Maya documentation for explanation of this.