Call of Duty 7: Creating Gametype: Difference between revisions
(Created page with "__NOTOC__ =New 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. ...") |
mNo edit summary |
||
Line 59: | Line 59: | ||
[http://wiki.treyarch.com/wiki/Creating_A_Gametype Treyarch's Wiki] | [http://wiki.treyarch.com/wiki/Creating_A_Gametype Treyarch's Wiki] | ||
[[Category:Call of Duty 7]] | |||
[[Category:Modding]] | [[Category:Modding]] | ||
[[Category: | [[Category:BlackOps]] |
Latest revision as of 17:43, 29 June 2011
New 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.
Examples you can look at include Hide And Seek (Beta) and Juggernaut (Beta).
Minimum
The core files you'll need to get your gametype running include the following below.
File | Action | Purpose |
<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. |
UI Support
File | Action | Purpose |
<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.