MODSon[line.com] Wiki - Beta 1.0
Call of Duty 4: Console
From MODSonline Wiki
[edit] Introduction
The Console is a command line utility inbuilt in CoD4. By default it is out of the sight of the user. It can be viewed in two other state: a simple line and a full window. Access to the console is done by pressing the "¬" character on the keyboard, and then Shift + "¬" to get the full view.
It is also possible to enable a 'mini-console', by setting the dvar 'con_minicon' to 1. This will show the last 100 lines printed to the console, each for 4 seconds.
[edit] List of useful commands
Default value is in bold.
| Command | Argument | Usage | Example |
|---|---|---|---|
| /devmap | mp_mapname | Load the map corresponding to the mp_mapname | /devmap mp_backlot |
| /cg_draw2D | 0/1 | Disable/enable the HUD in game | /cg_draw2D 0 |
| /cg_drawGun | 0/1 | Disable/enable the fore arms and the gun in game | /cg_drawGun 0 |
| /cg_thirdPerson | 0/1 | Disable/enable the third person view when in developer mode | /cg_thirdPerson 1 |
| /noclip | None | Allows player to 'fly' through any geometry ingame | /noclip |
| /r_fullscreen | 0/1 | Sets the game to use the windowed/fullscreen view | /set r_fullscreen 1 |
| /vid_restart | 0/1 | Needed to change from fullscreen to windowed or vice versa | /set r_fullscreen 1 |
| /exec | # | Used to execute any config files either in the main folder (stock) or the mod's folder (running a mod). # represents the config files name | /set r_fullscreen 1 |
| /scr_minimp_height | # | Places player at the number of units defined by the command upwards. Used to take a screenshot of the map for the minimap, # is the number you type in | /set scr_minimp_height 20000 |
