Commands (Doom 3)
The information on this page is specific to Doom 3 .
Existing console commands as of version 1.3.1302 (1.3). You can get an up to date list by typing listCmds in your console.
Common
These commands are also useful for players.
Command Name | Short Description |
---|---|
benchmark | … benchmark |
bind | … binds a command to a key |
unbind | … unbinds any command from a key |
unbindall | … unbinds any commands from all keys |
centerview | … centers the player view |
checkNewVersion | … check if a new version of the game is available |
exec | … executes a config file |
execMachineSpec | … execs the appropriate config files and sets cvars based on com_machineSpec |
setMachineSpec | … detects system capabilities and sets com_machineSpec to appropriate value |
say | … text chat |
sayTeam | … team text chat |
echo | … prints text |
wait | … delays remaining buffered commands one or more frames |
writeConfig | … writes a config file |
Console
Command Name | Short Description |
---|---|
clear | … clears the console |
conDump | … dumps the console text to a file |
Cvars
Command Name | Short Description |
---|---|
reset | … resets a cvar |
set | … sets a cvar |
seta | … sets a cvar and flags it as archive |
sets | … sets a cvar and flags it as server info |
sett | … sets a cvar and flags it as tool |
setu | … sets a cvar and flags it as user info |
toggle | … toggles a cvar |
vstr | … inserts the current value of a cvar as command text |
Game controll
Command Name | Short Description |
---|---|
exit | … exits the game |
quit | … quits the game |
loadGame | … loads a game |
saveGame | … saves a game |
map | … loads a map |
Multiplayer
Command Name | Short Description |
---|---|
connect | … connects to a server |
disconnect | … disconnects from a game |
reconnect | … reconnect to the last server we tried to connect to |
LANScan | … scans LAN for servers |
listServers | … lists scanned servers |
Demo
Here you can find all commands concerning Demo recording.
Command Name | Short Description |
---|---|
aviDemo | … writes AVIs for a demo |
aviGame | … writes AVIs for the current game |
demoShot | … writes a screenshot for a demo |
playDemo | … plays back a demo |
recordDemo | … records a demo |
stopRecording | … stops demo recording |
timeDemo | … times a demo |
timeDemoQuit | … times a demo and quits |
Server
Commands in this sections are probably most useful to server admins.
Command Name | Short Description |
---|---|
gameKick | … same as kick, but recognizes player names |
heartbeat | … send a heartbeat to the the master servers |
kick | … kick a client by connection number |
nextMap | … loads the next map on the server |
rcon | … sends remote console command to server |
serverForceReady | … force all players ready |
serverInfo | … shows server info |
serverMapRestart | … restart the current game |
serverNextMap | … change to the next map |
spawnServer | … spawns a server |
Developer
The following commands are mostly used while developing content for any id Tech 4 engine game.
AAS (area awareness)
For more information, please take a look at the AAS (file format)
Command Name | Short Description |
---|---|
aasStats | … This command displays AAS file statistics in the console. |
runAAS | … compiles an AAS file for a map |
runAASDir | … compiles AAS files for all maps in a folder |
runReach | … calculates reachability for an AAS file |
Animation
Command Name | Short Description |
---|---|
listAnims | … lists all animations |
nextAnim | … shows next animation on test model |
nextFrame | … shows next animation frame on test model |
prevAnim | … shows previous animation on test model |
prevFrame | … shows previous animation frame on test model |
reloadanims | … reloads animations |
testAnim | … tests an animation |
testBlend | … tests animation blending |
Entities
Command Name | Short Description |
---|---|
damage | … apply damage to an entity |
deleteSelected | … deletes selected entity |
listSpawnArgs | … list the spawn args of an entity |
remove | … removes an entity |
saveSelected | … saves the selected entity to the .map file |
spawn | … spawns a game entity |
teleport | … teleports the player to an entity location |
trigger | … triggers an entity |
listRenderEntityDefs | … lists the entity defs |
listEntityDefs | … lists entity defs |
printEntityDef | … prints an entity def |
GUIs
Command Name | Short Description |
---|---|
editGUIs | … launches the GUI Editor |
nextGUI | … teleport the player to the next func_static with a gui |
listGuis | … lists guis |
reloadGuis | … reloads guis |
touchGui | … touches a gui |
localizeGuis | … localize guis |
testGUI | … tests a gui |
Memory
Command Name | Short Description |
---|---|
memoryDump | … creates a memory dump |
memoryDumpCompressed | … creates a compressed memory dump |
showDictMemory | … shows memory used by dictionaries |
showInteractionMemory | … shows memory used by interactions |
showStringMemory | … shows memory used by strings |
showTriSurfMemory | … shows memory used by triangle surfaces |
Scripts
To find out more about scripts, please take a look at the scripting page .
Command Name | Short Description |
---|---|
debugger | … launches the Script Debugger |
disasmScript | … disassembles script |
editScripts | … launches the in-game Script Editor |
Note: id recommends to invoke the editor with editDecls [1] | |
listThreads | … lists script threads |
reloadScript | … reloads scripts |
script | … executes a line of script |
Sound
These commands can be used to control the sound system or get information about it.
Command Name | Short Description |
---|---|
editSounds | … launches the in-game Sound Editor |
listSoundDecoders | … list active sound decoders |
listSounds | … lists all sounds |
listSoundCmds | … lists sound commands (???) |
listSoundShaders | … lists sound shaders (???) |
reloadSounds | … reloads all sounds |
s_restart | … restarts the sound system |
testSound | … tests a sound |
Tool commands
Command Name | Short Description |
---|---|
dmap | … compiles a map |
editAFs | … launches the in-game Articulated Figure Editor |
editDecls | … launches the in-game Declaration Editor |
editLights | … launches the in-game Light Editor |
editor | … launches the level editor Radiant |
editParticles | … launches the in-game Particle Editor |
editPDAs | … launches the in-game PDA Editor |
materialEditor | … launches the material editor |
renderbump | … renders a bump map |
renderbumpFlat | … renders a flat bump map |
roq | … encodes a roq file |
Internal or supposedly dead commands
These commands are ether dead or internaly used by the engine so they should have little to no meaning to you.
Command Name | Short Description |
---|---|
addChatLine | … internal use (core to game chat lines) |
aviCmdDemo | … writes AVIs for a command demo |
compressDemo | … compresses a demo file |
exitCmdDemo | … exits a command demo |
playCmdDemo | … plays back a command demo |
sizeDown | … makes the rendered view smaller |
sizeUp | … makes the rendered view larger |
takeViewNotes2 | … extended take view notes |
timeCmdDemo | … times a command demo |
writeCmdDemo | … writes a command demo |
To be Sorted Further
Game (to be sorted)
Command Name | Short Description |
---|---|
addarrow | … adds a debug arrow |
addline | … adds a debug line |
bindRagdoll | … binds ragdoll at the current drag position |
blinkline | … blinks a debug line |
clearLights | … removes all lights |
clientDropWeapon | … drop current weapon |
clientMessageMode | … ingame gui message mode |
clientVoiceChat | … voice chats: clientVoiceChat |
clientVoiceChatTeam | … team voice chats: clientVoiceChat |
closeViewNotes | … close the view showing any notes for this map |
collisionModelInfo | … shows collision model info |
exportmodels | … exports models |
game_memory | … displays game class info |
gameError | … causes a game error |
getviewpos | … prints the current view position |
give | … gives one or more items |
god | … enables god mode (makes you invulnerable) |
keepTestModel | … keeps the last test model in the game |
kill | … kills the player |
killMonsters | … removes all monsters |
killMoveables | … removes all moveables |
killRagdolls | … removes all ragdolls |
listActiveEntities | … lists active game entities |
listClasses | … lists game classes |
listCollisionModels | … lists collision models |
listEntities | … lists game entities |
listLines | … lists all debug lines |
listModelDefs | … lists model defs |
listMonsters | … lists monsters |
listTypeInfo | … list type info |
noclip | … disables collision detection for the player |
notarget | … disables the player as a target |
playerModel | … sets the given model on the player |
popLight | … removes the last created light |
printModelDefs | … prints a model def (??? DUPLICATE ???) |
recordViewNotes | … record the current view position with notes |
reexportmodels | … reexports models |
removeline | … removes a debug line |
saveLights | … saves all lights to the .map file |
saveMoveables | … save all moveables to the .map file |
saveParticles | … saves all lights to the .map file (???) |
saveRagdolls | … save all ragdoll poses to the .map file |
setActorState | … to_be_replaced |
setviewpos | … sets the current view position |
showViewNotes | … show any view notes for the current map, successive calls will cycle to the next note |
testBoneFx | … tests an FX system bound to a joint |
testDamage | … tests a damage def |
testDeath | … tests death |
testFx | … tests an FX system |
testid | … output the string for the specified id. |
testLight | … tests a light |
testModel | … tests a model |
testParticleStopTime | … tests particle stop time on a test model |
testPointLight | … tests a point light |
testSave | … writes out a test savegame |
testSaveGame | … test a save game for a level |
testShaderParm | … sets a shaderParm on an existing testModel |
testSkin | … tests a skin on an existing testModel |
unbindRagdoll | … unbinds the selected ragdoll |
weaponSplat | … projects a blood splat on the player weapon |
where | … prints the current view position |
writeGameState | … write game state |
Renderer (to be sorted)
Command Name | Short Description |
---|---|
combineCubeImages | … combines six images for roq compression |
envshot | … takes an environment shot |
gfxInfo | … show graphics info |
listImages | … lists images |
listModels | … lists all models |
listModes | … lists all video modes |
listRenderLightDefs | … lists the light defs |
listVertexCache | … lists vertex cache |
makeAmbientMap | … makes an ambient map |
MakeMegaTexture | … processes giant images |
modulateLights | … modifies shader parms on all lights |
printModel | … prints model info |
regenerateWorld | … regenerates all interactions |
reloadARBprograms | … reloads ARB programs |
reloadImages | … reloads images |
reloadModels | … reloads models |
reloadSurface | … reloads the decl and images for selected surface |
reportImageDuplication | … checks all referenced images for duplications |
reportSurfaceAreas | … lists all used materials sorted by surface area |
screenshot | … takes a screenshot |
testImage | … displays the given image centered on screen |
testVideo | … displays the given cinematic |
touchModel | … touches a model |
vid_restart | … restarts renderSystem |
System (to be sorted)
Command Name | Short Description |
---|---|
bindunbindtwo | … binds a key but unbinds it first if there are more than two binds |
crash | … causes a crash |
cvar_restart | … restart the cvar system |
devmap | … loads a map in developer mode |
dir | … lists a folder |
dirtree | … lists a folder with subfolders |
error | … causes an error |
finishBuild | … finishes the build process |
freeze | … freezes the game for a number of seconds |
hitch | … hitches the game |
in_restart | … restarts the input system |
listAF | … lists articulated figures |
listAudios | … lists Audios |
listBinds | … lists key bindings |
listCmds | … lists commands |
listCvars | … lists Cvars |
listDecls | … lists all Declarations |
listDictKeys | … lists all keys used by dictionaries |
listDictValues | … lists all values used by dictionaries |
listEmails | … lists Emails |
listFX | … lists FX systems |
listGameCmds | … lists game commands |
listHuffmanFrequencies | … lists decl text character frequencies |
listMaterials | … lists materials |
listModelDefs | … lists model defs |
listParticles | … lists particle systems |
listPDAs | … lists PDAs |
listRendererCmds | … lists renderer commands |
listSkins | … lists skins |
listSystemCmds | … lists system commands |
listTables | … lists tables |
listToolCmds | … lists tool commands |
listVideos | … lists Videos |
localizeGuiParmsTest | … to_be_replaced |
localizeMaps | … localize maps |
localizeMapsTest | … to_be_replaced |
parse | … prints tokenized string |
path | … lists search paths |
printAF | … prints an articulated figure |
printAudio | … prints an Video (???) |
printEmail | … prints an Email |
printFX | … prints an FX system |
printMaterial | … prints a material |
printMemInfo | … to_be_replaced |
printModelDefs | … prints a model def |
printParticle | … prints a particle system |
printPDA | … prints an PDA |
printSkin | … prints a skin |
printSoundShader | … prints a sound shader |
printTable | … prints a table |
printVideo | … prints a Audio (???) |
promptKey | … prompt and sets the CD Key |
reloadDecls | … reloads decls |
reloadEngine | … reloads the engine down to including the file system |
reloadLanguage | … reload language dict |
rescanSI | … rescan serverinfo cvars and tell game |
startBuild | … prepares to make a build |
takeViewNotes | … take notes about the current map from the current view |
testmap | … tests a map |
testSIMD | … test SIMD code |
touch | … touches a decl |
touchFile | … touches a file |
touchFileList | … touches a list of files |
updateUI | … cause a sync down of game-modified userinfo |
writePrecache | … writes precache commands |