Call of Duty: Modern Warfare 2 (2009)

Call of Duty: Modern Warfare 2 (2009)

70 ratings
Single Player Console Commands
By 12GA_GOON_420
How to setup console commands for MW2, and the most useful/fun commands to use.
   
Award
Favorite
Favorited
Unfavorite
Enabling Console Commands
Useful Console Commands
"god" - God mode
"timescale 1" - Modify timescale(default 1)
"noclip" - Phase through solid matter
"notarget" - Player is invisible to enemies
"jump_height 500 " (Default value is 39) - Super jump
"player_sustainAmmo 1" - Unlimited ammo
"bg_forcedualwield" - Dual wields applicable weapons
"bg_forceExplosiveBullets 1" - Explosive bullets (also removes visible explosions)
"bg_fallDamageMaxHeight 1" - Removes falling damage completely
"give all" - Gives all weapons, although doesn't give ammunition for them
(give all command is very glitchy, and most weapons don't seem to work"
"give ammo" - Stocks all your weapons with full ammo and reloads them instantly
"laserForceOn 1" - Laser sight
"player_meleerange 1000" - Knife people from a distance
"player_burstfirecooldown 0" - Removes cooldown time for burstfire weapons
"g_gravity 100" (Default value is 800) - Moon Gravity
Give Weapon
To obtain a specific weapon, type "give (weapon name here)"
Do not type out any of the bracketed weapon names, they are just there for identification.

Weapon codes:
m1a1_turret
masada_digital (ACR)
mp5_reflex
kriss_eotech (Vector)
dragunov
m240_reflex
kriss_acog_silencer (Vector)
spas12_eotech
usp_scripted
rpd_bipod_prone
sa80 (L86 LSW)
m4_grunt_acog
winchester1200
scar_h_thermal_silencer
scar_h_acog
p90_eotech
ak47_arctic
p90_reflex
aug_reflex
ranger_akimbo
deserteagle
striker
scar_h_grenadier
mp5_silencer_reflex
scar_h_reflex
glock (G18)
colt45
wa2000_thermal
aa12_reflex
scar_h_digital_eotech
rpg_af_chase
m240_acog
littlebird_ffar
m16_acog
at4
aug
rpd_bipod_stand
bar
turret_attackheli
m4_grenadier
riotshield
cheytac_thermal (Intervention)
kriss_reflex (Vector)
hellfire_missile_af_caves
spas12_reflex
fal_shotgun_attach
m1014_arctic
rappel_knife
m21_scoped_cloth_silenced
aug_scoped
model1887
m16_reflex
saw_bipod_prone
spas12_scope
ak47_arctic_acog
ak47_digital_eotech
tavor_digital_acog (Tar-21)
ump45_acog
beretta
mp_grunt
w1200
ump45
m203_m4_eotech
fal_reflex
tmp_reflex
saw_bipod_crouch
ak47_arctic_reflex
barrett
masada_silencer_mt_black_on (ACR)
stinger
spas12
ak47_acog
ak47_digital_acog
m16_basic
ump45_eotech
scar_h_m203
scar_h_digital_m203
saw_bipod_stand
javelin
scar_h_scope
m203_m4
ranger
m14
spas12_silencer
ak47_shotgun
m79
none
wa2000
masada_digital_eotech (ACR)
hellfire_missile_af_caves_end
ending_knife
camera_45fov
masada_eotech
scar_h_shotgun
mg4
camera_30fov
mp5
masada (ACR)
masada_silencer_mt_black_off (ACR)
ak47_digital_reflex
tavor_mars (Tar-21)
p90
defaultweapon
camera_20fov
pp2000
camera_5fov
beretta_akimbo
rpg_straight
ump45_digital_acog
aa12
camera_10fov
m203_m4_reflex
mp5_arctic
gl_ak47_arctic
cobra_20mm
ucav_sidewinder
coltanaconda_shepherd
ump45_reflex
mp5k
fal_shotgun
rpd
rpg
p90_arctic
m4_silencer
tmp_akimbo
scar_h_digital_grenadier
p90_acog
kriss (Vector)
masada_digital_reflex (ACR)
gl_ak47
masada_acog (ACR)
tmp
tavor_reflex (Tar-21)
m4m203_eotech
masada_reflex (ACR)
ump45_digital_eotech
aug_scope
usp
uzi
m1014
striker_reflex
missile_attackheli
m1014_eotech
ak47_reflex
sentry_minigun
gl_ak47_digital
smoke_grenade_american
m4_grunt
rpd_reflex
wa2000_silencer
ak47_digital_grenadier
claymore
ak47_grenadier
m4m203_acog
scar_h_shotgun_attach
rpg_player
ak47
cheytac (Intervention)
tavor_digital_eotech (Tar-21)
c4
rpd_acog
m4
m240_eotech
m21_scoped_arctic_silenced
dw
rpd_bipod_crouch
aa12_silencer
m4m203_reflex
ump45_akimbo
minigun_littlebird_spinnup
famas_arctic_reflex
flash_grenade
tavor_acog (Tar-21)
coltanaconda (.44 magnum)
usp_silencer
sentry_gun
scar_h
m1014_reflex
rpg_straight_af_chase
spas12_grip
fal_acog
m203_m4_acog
dog_bite
ak47_thermal
ump45_arctic
m16_grenadier
cheytac_silencer (Intervention)
m1a1_coaxial_mg
famas_arctic
ak47_shotgun_attach
beretta393
semtex_grenade
minigun_littlebird
masada_digital_acog (ACR)
scar_h_thermal
ak47_arctic_grenadier
fn2000
fraggrenade
m203
m240
Source(s):
Revised version of this old guide: http://www.mpgh.net/forum/showthread.php?t=419390
Some codes taken from the description of this video: https://www.youtube.com/watch?v=WpbGBNtkj2g
My Personal Setup
bind ' "LaserForceOn 0"
bind , "give tmp"
bind - "player_meleerange 1000"
bind . "give fal_acog"
bind / "give aug_reflex"
bind 0 "player_sustainammo 0"
bind 3 "+actionslot 3"
bind 4 "+actionslot 4"
bind 5 "+actionslot 2"
bind 7 "noclip"
bind 8 "god"
bind 9 "player_sustainammo 1"
bind = "player_meleerange 64"
bind [ "bg_fallDamageMaxHeight 1"
bind I "jump_height 39"
bind J "bg_forcedualwield 1"
bind K "bg_forcedualwield 0"
bind L "give ammo"
bind M "give glock"
bind O "g_gravity 100"
bind P "g_gravity 800"
bind U "jump_height 500"
29 Comments
ButterNutSquash 25 Jan, 2024 @ 6:59am 
spas12_scope and scar_h_scope?
hiro1protagonist 23 Jan, 2024 @ 8:45pm 
works 2024 . . . some caveats . . . problem is the game erases / remakes or rewrites the config file back to default each times you exit the game . . . so make a copy of your edited one an unique name it like configMINE.cfg etc . . . . The fix is to make it read only AFTER you edit it. Sometimes set to read only has crashes my game and it puts the original one (sans my console entries) back. But if I uncheck read only the game runs fine all the time (so I made a script to double click that adds my changes back before using steam to load the game).

Also limited keys to bind, so figure out your fav weapons and fav changes . . .I like the "bullet time" key binds. pretty sm00th .

There is alternate mod (dev console unlocker off of guru forums) that came out in 2009 for PC, it adds console back like COD4 MW , which is pretty handy as it works the FOV, but has some glitches with steam version . . . I found it works best on the stand alone MW 2 2009 for PC (not steam).
vlad[54rus] 3 May, 2023 @ 6:26am 
Haven't seen any patches in the past 10 years...
Retaily54 3 May, 2023 @ 6:20am 
Does this still work or has it been patched? i followed everything and it doesnt work
Prototype 2.0 (GER) 15 Jun, 2021 @ 2:39am 
I cannot change the brightness/gamma of the game in the CONFIG - only in.game slider works, but I want to set a precise/exact number, so that's not an option for me! Setting "r_gamma" to whatever value has no effect at all...

(Config is "read-only" and I already tried disabling "read-only", setting the value, then starting the game, playing a mission, saving and quitting a game -> config gamma still not applied!)

Please help...
Zaleo Zöuñ 14 May, 2021 @ 10:56am 
Would've liked this to work for FOV
KamilPL “CASE.GIFT” 4 Apr, 2021 @ 4:06am 
weapon command does not work
vlad[54rus] 16 Mar, 2021 @ 11:59pm 
VAC isn't used for campaing or spec-ops, so you're safe.
SPQR_Vitelius 16 Mar, 2021 @ 1:51pm 
Did i risk the ban vac from steam if i use this in soloq for the special ops mission?
ALEX 15 Mar, 2021 @ 2:51pm 
Can i do this for Infinite Warfare? I really want to noclip that campaign.