Call of Duty 2 Faction Setup
To configure player factions in Call of Duty 2 multiplayer custom maps, you need to add specific code to your map’s .gsc file. This file, typically named mp_yourmapnamehere.gsc, is located in the main/maps/mp directory of your Call of Duty 2 installation or within an IWD file.
Locating and Editing the GSC File
If your map already has a .gsc file, it usually contains a main() function, which may look like this:
main()
{
maps\mp\mp_brecourt_fx::main();
maps\mp\_load::main();
}
Note: Use your preferred text editor to modify the .gsc file. Ensure you back up the file before making changes.
Adding Faction Code
Inside the main() function, add the following code to set up factions and character models:
game["allies"] = "american";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["american_soldiertype"] = "normandy";
game["german_soldiertype"] = "normandy";
This code configures your custom map to use American versus German factions with Normandy character models.
Faction Configuration
The first two lines define the factions:
- Allies: Can be set to
american,british, orrussian. - Axis: Must be set to
german.
Character Model Configuration
The last two lines specify the character models used for each faction. Below are the available options:
| Faction | Code | Description |
|---|---|---|
| British | game["british_soldiertype"] = "normandy"; |
Normandy character model |
| British | game["british_soldiertype"] = "africa"; |
Africa character model |
| American | game["american_soldiertype"] = "normandy"; |
Normandy character model |
| Russian | game["russian_soldiertype"] = "coats"; |
Coats character model |
| Russian | game["russian_soldiertype"] = "padded"; |
Padded character model |
| German | game["german_soldiertype"] = "normandy"; |
Normandy character model |
| German | game["german_soldiertype"] = "africa"; |
Africa character model |
| German | game["german_soldiertype"] = "winterlight"; |
Winter light character model |
| German | game["german_soldiertype"] = "winterdark"; |
Winter dark character model |
Search and Destroy Mode
The following lines are specific to the Search and Destroy game mode:
game["attackers"] = "allies";
game["defenders"] = "axis";
These lines define which team is attacking (plants the bomb) and which is defending (defuses the bomb).
Visual Reference

