Call of Duty game engine mechanics

As with every video game, there is extensive math behind Call of Duty, which decides the outcome of gameplay. This article focuses on the game's mechanics.

Movement
Sprinting increases the player's movement speed by half of its base value, and all weapons have the same sprint duration except the M14 with ACOG, M21 and the P90 in Call of Duty 4, the USAS 12, MP9 and Skorpion in Call of Duty: Modern Warfare 3 and the Combat Knife in Call of Duty: Black Ops II and Call of Duty: Ghosts.

Call of Duty 4: Modern Warfare
Movement speed is determined from the player's primary weapon upon spawning.
 * All shotguns, SMGs (except the AK-74u), handguns, and the RPG-7 have base movement speed values of 1.
 * All sniper rifles, assault rifles, and the AK-74u have base movement speed values of 0.95.
 * All LMGs have base movement speed values of 0.875.
 * Overkill can be used to achieve a higher mobility rating. For example, a player with a shotgun as their primary weapon and an LMG as their secondary weapon will always have full mobility.
 * Extreme Conditioning doubles the player's sprint duration.
 * In the PC and Wii versions of the game, the P90, M21 and M14 with ACOG both have sprint duration values that are 1.75x that of all other weapons. This was patched on both the Xbox 360 and PlayStation 3 versions of the game.

Call of Duty: World at War
Movement speed is determined from the player's primary weapon upon spawning.
 * All shotguns, SMGs, sidearms, the FG42, and the M1919 Browning have base movement speed values of 1.
 * All rifles, bolt-action rifles, and the BAR have base movement speed values of 0.95.
 * Switching to the Bazooka drops the player's movement speed value to 0.75.
 * The Type 99, DP28, and MG42 have base movement speed values of 0.875.
 * Overkill and Extreme Conditioning remain completely unchanged from Call of Duty 4.

Call of Duty: Modern Warfare 2
Movement speed is determined from the player's primary weapon upon spawning, as in Call of Duty 4.
 * All SMGs, sniper rifles and secondary weapons have base movement speed values of 1.
 * All assault rifles have base movement speed values of 0.95.
 * All LMGs have base movement speed values of 0.875.
 * The Riot Shield has a base movement speed value of 0.8.
 * Lightweight gives the player a constant mobility multiplier of 1.07x.
 * Marathon gives the player an unlimited sprint duration.
 * When using One Man Army, the player's mobility will change with their primary weapon.
 * While using the P90 with the Extended Magazines attachment, a player's sprint time will increase to 7 seconds (75% bonus).

Call of Duty: Black Ops
Movement speed is determined from the player's weapon that is currently equipped.
 * All shotguns, SMGs, handguns, equipment, the Ballistic Knife, Crossbow and Death Machine have a base movement speed value of 1. This is also the mobility when having an underbarrel attachment selected (Masterkey, Grenade Launcher or Flamethrower).
 * All assault rifles and sniper rifles have a base movement speed value of 0.95.
 * All LMGs have a base movement speed value of 0.875.
 * All launchers, as well as the Grim Reaper and Valkyrie Rockets have a base movement speed value of 0.8.
 * Lightweight gives the player a constant mobility multiplier of 1.07x.
 * Marathon doubles the player's sprint duration, and its Pro version gives the player unlimited sprint duration.
 * Movement speed can be modified in Custom Games, to make the player move faster or slower. The player can multiply the movement speed by up to 200%.
 * Also because of the perk modifiers, a player can modify Lightweight for incredible speeds.
 * While sprinting, it is possible to Dive to Prone.

Call of Duty: Modern Warfare 3
Movement speed is determined from the player's weapon with the lowest mobility. For example, a player using an SMG replacing his secondary with an LMG (either through Overkill or by picking it up from the ground) will move at 80% speed.

The Speed proficiency increases movement speed by 10%, but only when using that weapon, so a player with an LMG with Speed and a secondary will move at 88% when using the LMG and at 80% when using the secondary.


 * All shotguns and SMGs, as well as secondary weapons (including launchers) have base movement speed values of 1.
 * All assault rifles have base movement speed values of 0.9.
 * All LMGs have base movement speed values of 0.8.
 * The bolt-action sniper rifles and the Dragunov have a base movement speed value of 0.9, while the rest of the sniper rifles have a base movement speed of 0.8.
 * The Riot Shield has a base movement speed value of 0.8.
 * Becoming a Juggernaut reduces the base movement speed to 0.52
 * Becoming a Juggernaut Recon reduces the base movement speed to 0.6
 * Extreme Conditioning doubles the player's sprint duration.
 * Also, using the USAS 12, MP9 or Skorpion multiplies the duration the player can sprint by 1.75. Combining one of those weapons and Extreme Conditioning extends the time the player can sprint to 3.5x higher than normal, 14 seconds.

Call of Duty: Black Ops II
Movement speed is determined from the currently equipped weapon. For example, if the player is holding an LMG, they will move at 0.9 of the base speed. However, if they switch to a shotgun, pistol, special or SMG, they will move at full speed.


 * 102% - Ballistic Knife, Combat Knife
 * 101.25% - MSMC
 * 100% - Other SMGs, Shotguns, Handguns, the Crossbow
 * 96.5% - Type 25
 * 96.25% - Underbarrel Grenade Launcher selected (except when attached to the XM8, in which case it remains 95)
 * 96% - Ballista
 * 95% - Other Assault Rifles and Sniper Rifles
 * 90% - Light Machine Guns, Launchers, the Assault Shield, Death Machine, War Machine

Call of Duty: Ghosts
The player's movement speed is based on their currently held weapon.


 * Fast (100%) - Shotguns, Submachine Guns, Handguns, the Combat Knife
 * Quick (95%) - Kastet
 * Medium (90%) - Assault Rifles, Marksman Rifles, Chain SAW, USR, MK32
 * Slow (85%) - VKS, L115, Maverick-A2
 * Slowest (80%) - Other LMGs, the Lynx, Panzerfaust, MAAWS, Minigun, Riot Shield

Call of Duty: Advanced Warfare
All players have unlimited sprint in Multiplayer now. The player's movement speed is based on their currently held weapon. Additionally, some supply drop variants (for shotguns, sniper rifles, and the SAC3 submachine gun) change the player's movement speed.

Standard weapons:
 * 100% - Shotguns, Submachine Guns, Handguns, the Crossbow, Combat Knife, and Ripped turrets
 * 90% - Assault Rifles and Sniper Rifles
 * 84% - Heavy Weapons
 * 80% - Pytaek (except Hasty, Loophole, Exploit), Launchers, the Heavy Shield and MDL

Supply drop variants:
 * 88.2% - Lynx "Snake Oil", Atlas 20mm "Interrupt", MORS Quick Bolt/Ransacker/The Doctor
 * 90% - Bulldog "Breacher"
 * 91.8% - Lynx "Slung", Atlas 20mm "Talent", MORS Slung/Penetrator, NA-45 "Sharpshooter"
 * 96% - Tac-19 "Sledgehammer"
 * 98% - SAC3 "Rapid", S-12 "Adroit", Bulldog "Grip Taped", Tac-19 Lite Trigger/Round House/Upper Cut
 * 102% - SAC3 "Misery & Company", Tac-19 Runner/Bang Stick/Jab
 * 104% - SAC3 "Blood & Glory"

Stances
Stances are a position that the player's character assumes that has the capacity to affect their movement speed, accuracy, and fire exposure. The three stances have been common to the series since the first game.


 * Standing: The player is fully standing and capable of moving at 100% of their mobility (defined as the base speed multiplied by the movement speed multiplier of the weapon). This stance is also the only stance in which the player can sprint. As a result, this stance is best when on the move or when it is necessary to move from cover to cover. However, while standing bullet spread is increased, and the player is a larger target to the enemy. In addition, standing players make noise when they run, which allows them to be heard by enemies.


 * Crouching: The player is crouched to about half their height, and moves at 60% mobility. While the player moves slower, they are capable of taking advantage of cover that is about waist-height, and their accuracy is increased. Crouching players do not make noise as they walk around (except in Modern Warfare 3), making it the best stance for sneaking up behind an enemy unheard.


 * Prone: The player is prone on the ground, and moves at 15% mobility. The player moves extremely slow, but they present a very small target to the enemy at longer ranges. Accuracy is also best when prone. Prone is best utilized to take full advantage of cover, when taking shots at targets farther away, or to minimize damage taken in close quarters combat.


 * Lifting: In certain situations, such as in "One Shot, One Kill" (a singleplayer mission in Call of Duty 4: Modern Warfare), the player must carry another character. While the player moves at 100% speed, the player is unable to fire a weapon, perform a melee attack, sprint, or vault over obstacles until the character has been put down.
 * Call of Duty: Modern Warfare 2 was the last Call of Duty title to include Stance icons.

Health
A player's health is determined by the game mode being played.


 * Normal (or Core in World at War, Black Ops, and Black Ops II ) mode health: 100


 * Hardcore mode health (or Miniscule in Private Matches): 30


 * Double health (or Old School in Call of Duty 4): 200
 * Heavy Duty Mode (Ghosts) Health: 130


 * Health regenerates after being hit and not killed, except in Hardcore and Old School, which do not feature health regeneration.


 * Five seconds after surviving the most recent damage, ALL health is restored when normal health regeneration is on and maximum health is 100.

Weapon and Explosive damage
Every weapon in the game deals a set amount of damage. As the range between the player and the target increases, damage is reduced until it reaches a set minimum amount. These charts show each weapons' damages, ranges and reload times, among other things.

Call of Duty: World At War






Modern Warfare 2
Interactive Modern Warfare 2 Flash Chart

Weapon Behavior
There are many more in depth statistics which determine weapon behavior.

Hitscans
One of the most important things to take note of is that guns in Call of Duty do not shoot projectiles. Instead, they shoot Hitscans, which are perfectly straight, infinitely thin lines that travel at an infinite velocity. All hitscans travel forever except for those fired from shotguns, which disappear at a set distance. This means that all weapons in Call of Duty, excluding weapons that obviously do not use hitscans, such as the RPG-7, and certain weapons in Zombies, are perfectly accurate at an infinite range while aiming down the sights. Misses are caused by idle sway, recoil, and lag.

Idle sway
Idle sway is the movement of the weapon's sights without any input from the player. (In Call of Duty: Modern Warfare 3, all weapons now feature idle sway, where as previously only certain weapons had idle sway.) Idle sway is simply determined by two numbers; idle amount and idle speed.

Recoil
Recoil is slightly more complex. Recoil is a combination of two factors; View Kick, Gun Kick. View Kick is determined by five numbers; maximum horizontal, minimum horizontal, maximum vertical, minimum vertical, and center speed. View kick will move the view of your camera when firing a weapon. Gun kick is similar to view kick, in that it has its own horizontal, vertical, and center speed figures which determine it's magnitude of kick. However, unlike view kick, gun kick moves the sights relative to the screen. Each weapon has its own set of numbers.

Every time a shot is fired, the game randomly chooses two numbers, one for vertical recoil and one for horizontal recoil. These numbers will be in between the weapon's maximum and minimum values for each shot. If a number is positive, it is right or up, and if it is negative, it is left or down. Thus, if a weapon has a positive minimum value or a negative maximum value, it will always kick in that direction.

Of note are certain attachments which affect view kick and gun kick. The specific higher magnification scopes (Thermal, Variable Zoom, etc.) will affect gun kick. Because gun kick is the movement of a weapon model, it is entirely removed when aiming down these sights (since there is no weapon model to view). This is not the case in Ghosts, where gun kick will still be applied when aiming down these specific sights. In Ghosts and Advanced Warfare, Rapid Fire will also give an increase in view kick.

Center speed
Center speed is how fast your view and sights reset between shots. It takes effect immediately upon firing, but during fully automatic fire there is usually too much recoil for the sights to completely re-center after each shot. Low recoil is a result of a high center speed, minimum and maximum numbers having low absolute values and balanced values on all sides, and the weapon's rate of fire.

Recoil values do not stack, meaning that the next shot fired will kick however much it will kick regardless of whether or not the previous shot has finished kicking. However, because it kicks from wherever the sights were, rate of fire plays an important role. Some weapons, such as the P90, fire fast enough that the high rate of fire actually reduces recoil because multiple shots come out before the gun starts to kick noticeably, while others, such as the MP5, fire slow enough that the next shot will end up coming out at the peak of its recoil, which greatly increases recoil. This was done on purpose to balance weapons so that some could have low recoil and a high rate of fire while others could have high recoil and a low rate of fire. However, this only applies to a weapon's base rate of fire, as that is how the game was balanced. Because of this, using Double Tap or Rapid Fire will almost always lead to a considerable increase in recoil.

It should be noted that some attachments (Grip, and various optical attachments) can change Center Speed, leading to a decrease or increase in recoil. This is also the case for Rapid Fire in Black Ops 2, which will decrease Center Speed by 15%.

Time to Kill
Time to Kill, usually abbreviated as TTK, is how long a gun takes to kill an enemy from the time the trigger is pulled until the target is dead. In many role-playing games, players use damage per second, or DPS, to determine a weapon's effectiveness. However, in a shooter such as Call of Duty, where everyone has equal health and firefights are very fast, it is far more beneficial to determine TTK than DPS. To calculate a weapon's TTK, all that is needed are damage values and the delay between shots. For example, a gun that fires at 750 RPM has a delay between shots of .08 seconds. If that gun does 30 damage, it takes four shots to kill. The first shot comes out the instant the trigger is pulled, so the formula for determining a weapon's TTK is d(s-1), where d is the delay between shots and s is the number of shots needed to kill. This means that any weapon that kills in one shot will technically kill in zero seconds flat. Because most weapons lose damage over range, it can be necessary to perform multiple TTK calculations for a single gun. Beware that even a few missed shots will greatly increase a weapon's TTK, so it can be beneficial to plug in different amounts of misses using the formula d(s-1+m), where m is the number of misses. Weapons with low recoil are the most likely to actually reflect TTK with no misses.