Call of Duty 4: Modern Warfare (2007)

Call of Duty 4: Modern Warfare (2007)

111 ratings
COD4 Console Commands & CFGs
By s/hylton
This guide will give you helpful console commands that will expand your gameplay experience.
   
Award
Favorite
Favorited
Unfavorite
Basics
To enable the console: Go to Options > Game Options > Enable Console and set it to Yes. Press the tilde key (~), usually located above the Tab key, to open the console.

General Commands
  1. /Disconnect
  2. /Reconnect
  3. /Connect (then enter the IP address to your favorite server)
  4. /quit
Graphics & Performance
To improve performance, you can utilize the commands below.
  1. /cg_drawfps 1 Displays FPS counter.
  2. /cg_drawlagometer 1
  3. /com_maxfps 125 Sets maximum FPS.
  4. /cg_fov 80 Adjusts field of view.
  5. /r_drawdecals 0 Turns off decals for minor FPS boost.
  6. /maxpackets 100
  7. /r_drawsun 0
  8. /cg_brass 0 Turns off shell ejection for FPS boost.
  9. /sm_enable 0 Turns off shadows for significant FPS boost.
  10. /cl_packetdup 1


Having fun offline
These commands will help you explore COD4 on your own server. You can discover new areas of maps, and test weapons. To create a server follow the screenshots listed.





Once you have setup your server. You can execute the commands listed in "Having fun offline".
  1. God mode - /god
  2. God mode - /demigod
  3. No clip - /noclip
  4. Recieve every weapon - /give all
  5. Full ammunition - /player_sustainammo 1
  6. Add a laser sight - /cg_LaserForceOn 1
  7. Enemies ignore you - /notarget
  8. Change maps - /devmap mp_crash (insert the map title)
  9. Set gravity; default is "39" - /jump_height [number]
  10. Set speed; default is "1.00" - /timescale [number]
  11. Better vision - /r_fullbright 1
Map commands
To execute these maps, type /devmap (then the map name of your choosing) into your console.
  1. mp_convoy (Ambush)
  2. mp_backlot (Backlot)
  3. mp_bloc (Bloc)
  4. mp_bog (Bog)
  5. mp_countdown (Countdown)
  6. mp_crash (Crash)
  7. mp_crossfire (Crossfire)
  8. mp_citystreets (District)
  9. mp_farm (Downpour)
  10. mp_overgrown (Overgrown)
  11. mp_pipeline (Pipeline)
  12. mp_shipment (Shipment)
  13. mp_showdown (Showdown)
  14. mp_strike (Strike)
  15. mp_vacant (Vacant)
  16. mp_cargoship (Wet Work)
  17. mp_crash_snow (Winter Crash)
  18. mp_broadcast (Broadcast)
  19. mp_carentan (Chinatown)
  20. mp_creek (Creek)
  21. mp_killhouse (Killhouse)
29 Comments
dreadHavoc 29 Jun @ 9:30am 
You need to do the following first after turning the command console on:
sv_cheats 1
seta thereisacow 1337
then console commands will work.
Tletlyaotl 14 Jun @ 11:15pm 
Fake guide, none of the commands listed actually work. Nice gaslight though, did get me
Rusty-Spotted-Cat 24 Dec, 2024 @ 9:08pm 
@dr sex its the tilda key which is above the escape
spritE_1 5 Dec, 2024 @ 8:51am 
'friendlyfire_dev_disabled 0-1' in singleplayer allows you to shoot friendlies without penalty.
Kλzotsky Fortress 26 Nov, 2024 @ 10:22am 
is there a command so you can shoot your team without losing?
RbbrDucky 11 Sep, 2024 @ 1:45pm 
`
H E L L R A I S E R 22 Aug, 2023 @ 6:01am 
What are the gameplay commands for.
FOV and FPS is clear, but what are max decals, maxpackets etc for?
zenosaa1 4 Aug, 2023 @ 5:43pm 
can i host a non dedicated server using the console?
dr sex 22 Jul, 2023 @ 6:17pm 
i may sound dumb but i have only played this game on console and i have no idea how to open up console how do i it?
PMHProductions 18 May, 2023 @ 9:20am 
Any way to edit the map rotation list on a config file or anything?