Before I start I'd let you know how to access your config. Your config_mp.cfg file is by default located in C:\Program files\Valve\Steam\steamapps\common\Call of duty Modern Warfare 2\players > config_mp.cfg. Open this document with notepad/wordpad to view the commands.
Note: You can not add or remove any commands, your game will not boot then
I thought we could use this thread to share some useful commands that can be tweaked in the console. I'll start off with the ones I have altered so far:
// Shows an indicator when there a flash/stun grenade is thrown near you
seta cg_hudGrenadeIconEnabledFlash "1" (default value is 0)
// Amount of packets sent per second
seta cl_maxpackets "100" (default value is 30)
// This will connect you to a server with maximum X amount of ping
seta cl_maxPing "110" (default value is 800)
// Max frames per second shown
seta com_maxfps "250" (default value is 85)
// Disable/enable lagometer
seta drawLagometer "1" (default value is 0)
// Enable/disable dynamic environment, ie objects will move when shot at etc
seta dynEnt_active "0" (default value is 1)
// Enable/disable your HUD
seta hud_enable "1" (default value is 1)
// Enable/disable in-game console (this seems to work with english keyboards only?)
seta monkeytoy "1" (default value is 0)
// Set the amount of anti-aliasing
seta r_aaSamples "16" (default value is 2)
// Enable/disable distortion from weapons, explosions etc
seta r_distortion "0" (default value is 1)
// Number of dynamic lights
seta r_dlightLimit "0" (default value is 4)
// Enable/disable depth of field
seta r_dof_enable "0" (default value is 1)
// Play in fullscreen / windowed mode (fullscreen is 1, windowed is 0)
seta r_fullscreen "1" (default value is 1)
// Amount of ping bars shown, the more ping bars, the more precise ping will be shown
seta cg_ScoresPing_MaxBars "10" (default value is 4)
// Ping interval
seta cg_ScoresPing_Interval "20" (default is 100)
Explanation: If you have ping interval on 100 it means you have a 100 ping when you have full bars. If you have your ping interval on 20 it means you have 20 ping if you have full bars, and 20 extra ping for each bar that is gone, so if you have 6/10 bars you have a 100 ping.
Also take note on that I have modified several other commands, but chose not to post them here because they may not be appropriate or useful to some.
You can disable the music in-game by changing the name of the miles folder located in the same directory as your config.
Some of you may have seen people use colored names, and if you don't already know how to do it, you can simply edit your steam nickname and use the same color system as in COD4, for example if you want a red name, you use ^1yourname.
Hope this helped for some of you, and hopefully you guys have more useful commands!
CONFIGS (one of them is an FPS config to boost your FPS, other one is the one that I am currently using)
Codes found by helium <3