MODSon[line.com] Wiki - Beta 1.0
Call of Duty 4: Multiplayer Gametypes
From MODSonline Wiki
Contents |
[edit] Introduction
Some gametypes in CoD4 have changed of name compared to the previous opus, but the basic stay the same. The list of different teams is:
- Spetsnaz
- S.A.S
- Marines
- OpFor
The default for "Allied" is Marines and the default for "Axis" is OpFor. See Call of Duty 4: _team.gsc and Call of Duty 4: mapname.gsc.
[edit] Check List
To implement a gametype, you must have implemented the following into your map, as the default gameype is TDM and the fallback gametype is DM:
- a map script: mp_yourmap.gsc;
- mp_global_intermission
- mp_dm_spawn
- Team Deathmatch spawns:
- mp_tdm_spawn
- mp_tdm_spawn_allies_start
- mp_tdm_spawn_axis_start
[edit] Errors at Run Time
If you failing to have this, any attempt of running the map will sent you an error about a script missing such as the following:
(file 'maps/mp/gametypes/_globallogic.gsc', line 1009) [[level.onSpawnSpectator]]( origin, angles ); * (file 'maps/mp/gametypes/_globallogic.gsc', line 972) in_spawnSpectator( origin, angles ); * (file 'maps/mp/gametypes/_globallogic.gsc', line 4538) [[level.spawnSpectator]](); * (file 'maps/mp/gametypes/_callbacksetup.gsc', line 38) [[level.callbackPlayerConnect]](); * (file 'maps/mp/gametypes/_globallogic.gsc', line 4339) waittillframeend; *
[edit] Pictures of Entities Discussed
| value | picture |
|---|---|
| mp_dm_spawn |
|
| mp_tdm_spawn |
|
| mp_tdm_spawn_allied_start |
|
| mp_tdm_spawn_axis_start |
|
| global_intermission |
|
[edit] Stock Gametype
[edit] Capture the Flag (CTF)
The CTF in Call of Duty: Modern Warfare is very similar to CTF the Battlefield Series. The Stock maps have 3 Flags, custom maps have been seen to have 3 or more Flags. This is a take and hold type of gametype unlike the CTF of the Quake serie where each team much take the opposing team's flag and take it to their own base (usually the team's flag).
[edit] Domination (DOM)
Quite similar to HQ gametype, DOM has three fixed point to capture and hold. First team to reach the point limit wins.
To be able to correctly implement DOM in your map you need to add the following to the default spawn points you should alreday have:
- three (3) types of DOM spawn point;
- at least three (3) flag prefabs (named flag_primary_a to flag_primary_c);
- one (1) script_origin per flag (near each one) that will constain the following:
- targetname = flag_descriptor;
- script_linkto = flag#;
- script_linkname = flag#.
NOTE: the # in flag# represent a digit.
[edit] Free-for-All (FFA)
Free-for-All is a game type also known as deathmatch, Deathmatch is a gametype that everyone is fighting for themselves, There is usually 1 - 5 second respawn time.
[edit] Headquarters (KOTH / HQ)
Headquarter is a capture the flag type of gametype is the sens that players have to take and hold a point. But where as CTF (capture the flag) is a multi objectif gametype, HQ has a single point that appears only temporally and that rotates around the map. For the creator of the map those point of apparition have to be thought carefully so attackers and defenders have equal chances.
[edit] Old School
not documented yet
[edit] Search and Destroy (SD / S&D)
Search and destroy is a gametype where from the two teams, one team is trying to plant a bomb in one of two objectives and the other is trying to stop them. Once you die you don't get to respawn. First to win a number of rounds wins (up to 10), after a set number of rounds you switch sides.
Tutorial: Implementing S&D Objectives in your map
Tutorial: Implementing Custom S&D Objectives in your map
[edit] Sabotage (SAB)
Each teams has a target to bomb on the other team's original spawn point, but there is only a single bomb that the teams must fight over to be able to achieve the objective. Infinite spawn, makes this gametype more attractive to casual gamer compared to search and destroy.
[edit] Team Deathmatch (WAR / TDM)
Team Deathmatch is where two teams fight against each other, scoring for each kills. The team vary on the map. The match usually ends when you run out of time, or a team hits the score limit.
[edit] Custom Gametype
Gametypes implemented by mods.
[edit] Capture the Flag & Capture the Flag Back (CTF & CTFB)
This is the regular version of the gametype known as CTF: each team has a base and a flag located in the base area. And each team has to try to retrieve the ennemy's flag to bring it back to their own flag. When the flag is captured by the ennemy but not brought to their base it is in a vacant state, where depending on the setting it can automatically be called back to its original position or have to be touched by a team member (triggering a call back to its original position). CTFB makes the game less static in a way by not resetting the flag's position unless the carrier of the flag passes over the origin point of the flag; a flag that is left on the battlefield will have to be moved by a carrier again. These gametype are for AWE
Tutorial: Implementing CTF and CTFB in your map
[edit] Heart of Battle (HOB)
not documented yet
[edit] Retrieval (RET)
not documented yet
[edit] Very Important Person (VIP)
not documented yet
[edit] Zombie (ZOM)
not documented yet





