Call of Duty 7: Creating Gametype
When making a new gametype, you'll want to keep in mind a short abbreviation that'll be used for your filenames and referenced inside text files. (ie. TDM for Team Death Match, CTF for Capture The Flag, GUN for Gun Game)
When working on your gametype, you can and are encouraged to use your mod folder as a working directory. You can copy any files you need from the \raw directory to your mod folder and edit it there.
The core files you'll need to get your gametype running include the following below.
|<root>\raw\maps\mp\gametypes\_gametypes.TXT||Edit This File.||List your gametype abbreviation here.|
|<root>\raw\maps\mp\gametypes\<YOUR_GAMEMODE>.TXT||Create This File.||UI strings for your gametype.|
|<root>\raw\maps\mp\gametypes\<YOUR_GAMEMODE>.GSC||Create This File.||Your gametype script.|
|<root>\raw\mp\gametypesTable.CSV||Edit This File.||List your gametype here under the fileshare and basic training lists.|
Testing The Gametype
You can run your gametype through the UI, or set it by changing the dvar g_GameType (ie. /g_GameType HNS) You'll then need to launch a map, or if you're already playing in a map, do a map restart.