Commands (Quake 4)

From modwiki

Jump to: navigation, search
Image:Q4square_bg.png The information on this page is specific to Quake 4.

Existing Commands as of version 1.0.4.0 Build 2147 (patched version)

Contents

Game commands

aasStats ... This command displays AAS file statistics in the console.
addarrow ... adds a debug arrow
addChatLine ... internal use (core to game chat lines)
addIcon
addline ... adds a debug line
ai_debugFilter
apState
bindRagdoll ... binds ragdoll at the current drag position
blinkline ... blinks a debug line
call
centerview ... centers the player view
checkSave
clearLights ... removes all lights
clientCallVote
clientMessageMode ... ingame gui message mode
clientVoiceChat ... voice chats: clientVoiceChat
clientVoiceChatTeam ... team voice chats: clientVoiceChat
clientvoicemute
clientvoiceunmute
clientVote
collisionModelInfo ... shows collision model info
damage ... apply damage to an entity
deleteSelected ... deletes selected entity
disasmScript ... disassembles script
emote
evaluateMPPerformance
exportmodels ... exports models
extract_tactical
fadeSound
flashlight
forceTeamChange
game_memory ... displays game class info
gameError ... causes a game error
gameKick ... same as kick, but recognizes player names
getviewpos ... prints the current view position
give ... gives one or more items
god ... enables god mode (makes you invulnerable)
jump
keepTestModel ... keeps the last test model in the game
kill ... kills the player
killMessage
killMonsters ... removes all monsters
killMoveables ... removes all moveables
killRagdolls ... removes all ragdolls
killVehicles
listActiveEntities ... lists active game entities
listAnims ... lists all animations
listClasses ... lists game classes
listCollisionModels ... lists collision models
listEntities ... lists game entities
listEntityStats
listInstances
listLines ... lists all debug lines
listMapEntities
listModelDefs ... lists model defs
listMonsters ... lists monsters
listSpawnArgs ... list the spawn args of an entity
listSpawnIds
listThreads ... lists script threads
nextAnim ... shows next animation on test model
nextFrame ... shows next animation frame on test model
nextGUI ... teleport the player to the next func_static with a gui
nextjumppoint
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
prevAnim ... shows previous animation on test model
prevFrame ... shows previous animation frame on test model
prevjumppoint
printModelDefs ... prints a model def
reexportmodels ... reexports models
reloadanims ... reloads animations
reloadScript ... reloads scripts
remove ... removes an entity
removeClientFromBanList
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
saveSelected ... saves the selected entity to the .map file
say ... text chat
sayTeam ... team text chat
script ... executes a line of script
serverForceReady ... force all players ready
serverMapRestart ... restart the current game
serverNextMap ... change to the next map
setInstance
setPlayerGravity
setPMconsole commands
setviewpos ... sets the current view position
spawn ... spawns a game entity
teleport ... teleports the player to an entity location
testAnim ... tests an animation
testBlend ... tests animation blending
testDamage ... tests a damage def
testDeath ... tests death
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
testShaderParm ... sets a shaderParm on an existing testModel
testSkin ... tests a skin on an existing testModel
trigger ... triggers an entity
unbindRagdoll ... unbinds the selected ragdoll
undying
verifyServerSettings
weaponSplat ... projects a blood splat on the player weapon
where ... prints the current view position

Renderer commands

benchmark ... benchmark
combineCubeImages
envshot ... takes an environment shot
gfxInfo ... show graphics info
listGuis ... lists guis
listImageReferences
listImages ... lists images
listImagesRaven
listModels ... lists all models
listModes ... lists all video modes
listRenderEffectDefs
listRenderEntityDefs ... lists the entity defs
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
reloadGuis ... reloads guis
reloadImages ... reloads images
reloadModels ... reloads models
reloadShaders
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
screenshotJpeg
showInteractionMemory ... shows memory used by interactions
showTriSurfMemory ... shows memory used by triangle surfaces
sizeDown ... makes the rendered view smaller
sizeUp ... makes the rendered view larger
testImage ... displays the given image centered on screen
testStandaloneVideo
testVideo ... displays the given cinematic
touchGui ... touches a gui
touchModel ... touches a model
vid_restart ... restarts renderSystem
writeProgramImages
writeRDF

Sound commands

fadeSoundClass
listActiveSounds
listSoundDecoders ... list active sound decoders
listSounds ... lists all sounds
reloadSounds ... reloads all sounds
s_restart ... restarts the sound system
soundLog
testSound ... tests a sound

System commands

addFriend
aviCmdDemo ... writes AVIs for a command demo
aviDemo ... writes AVIs for a demo
aviGame ... writes AVIs for the current game
bind ... binds a command to a key
bindunbindtwo ... binds a key but unbinds it first if there are more than two binds
buildNotes
checkNewVersion ... check if a new version of the game is available
clear ... clears the console
clearAssetLog
compressDemo ... compresses a demo file
conDump ... dumps the console text to a file
connect ... connects to a server
crash ... causes a crash
console command_restart
dec
Decrementconsole command
demoShot ... writes a screenshot for a demo
devmap ... loads a map in developer mode
dir ... lists a folder
dirtree ... lists a folder with subfolders
disconnect ... disconnects from a game
echo ... prints text
editconsole commands
error ... causes an error
exec ... executes a config file
execMachineSpec ... execs the appropriate config files and sets cvars based on com_machineSpec
execMPMachineSpec
exit ... exits the game
exitCmdDemo ... exits a command demo
finishBuild ... finishes the build process
freeze ... freezes the game for a number of seconds
getFriends
getServers
heartbeat ... send a heartbeat to the the master servers
help
hitch ... hitches the game
in_restart ... restarts the input system
inc
Incrementconsole command
kick ... kick a client by connection number
lanScan
listAF ... lists articulated figures
listAllDecls
listAudios ... lists Audios
listBinds ... lists key bindings
listClients
listCmds ... lists commands
listconsole commands
listDecls
listDictKeys ... lists all keys used by dictionaries
listDictValues ... lists all values used by dictionaries
listEffects
listEmails ... lists Emails
listEntityDefs ... lists entity defs
listGameCmds ... lists game commands
listHuffmanFrequencies ... lists decl text character frequencies
listLipsyncs
listMaterials ... lists materials
listMaterialTypes
listModelDefs ... lists model defs
listPDAs ... lists PDAs
listPlaybacks
listRendererCmds ... lists renderer commands
listServers ... lists scanned servers
listSkins ... lists skins
listSoundCmds ... lists sound commands (???)
listSoundShaders ... lists sound shaders (???)
listSystemCmds ... lists system commands
listTables ... lists tables
listToolCmds ... lists tool commands
listVideos ... lists Videos
loadGame ... loads a game
localizeGuis ... localize guis
localizeLipsyncs
localizeMaps ... localize maps
localizeValidateLipsyncs
localizeValidateStrings
map ... loads a map
memoryDump ... creates a memory dump
memoryDumpCompressed ... creates a compressed memory dump
netScan
nextMap ... loads the next map on the server
parse ... prints tokenized string
path ... lists search paths
playCmdDemo ... plays back a command demo
playDemo ... plays back a demo
playNetDemo
playNetTimeDemo
printAF ... prints an articulated figure
printAudio ... prints an Video (???)
printEffects
printEmail ... prints an Email
printEntityDef ... prints an entity def
printLipsyncs
printMaterial ... prints a material
printMaterialTypes
printMemInfo ... to_be_replaced
printModelDefs ... prints a model def
printPDA ... prints an PDA
printPlaybacks
printSkin ... prints a skin
printSoundShader ... prints a sound shader
printTable ... prints a table
printVideo ... prints a Audio (???)
promptKey ... prompt and sets the CD Key
QANotes
quit ... quits the game
rcon ... sends remote console command to server
reconnect ... reconnect to the last server we tried to connect to
recordDemo ... records a demo
recordNetDemo
reloadDecls ... reloads decls
reloadEngine ... reloads the engine down to including the file system
reloadFAS
reloadLanguage ... reload language dict
removeFriend
resaveDecl
rescanSI ... rescan serverinfo cvars and tell game
reset ... resets a cvar
saveGame ... saves a game
SaveGameRefreshList
serverInfo ... shows server info
set ... sets a cvar
seta ... sets a cvar and flags it as archive
setMachineSpec ... detects system capabilities and sets com_machineSpec to appropriate value
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
showDictMemory ... shows memory used by dictionaries
showStringMemory ... shows memory used by strings
spawnGUI
spawnServer ... spawns a server
startBuild ... prepares to make a build
stopNetDemo
stopRecording ... stops demo recording
tabComplete
testGUI ... tests a gui
testmap ... tests a map
testSIMD ... test SIMD code
timeCmdDemo ... times a command demo
timeDemo ... times a demo
timeDemoQuit ... times a demo and quits
toggle ... toggles a cvar
touch ... touches a decl
touchFile ... touches a file
touchFileList ... touches a list of files
unbind ... unbinds any command from a key
unbindall ... unbinds any commands from all keys
updateUI ... cause a sync down of game-modified userinfo
viewNotes
vstr ... inserts the current value of a cvar as command text
wait ... delays remaining buffered commands one or more frames
writeAssetLog
writeCmdDemo ... writes a command demo
writeConfig ... writes a config file
WriteConfiguration
writeDeclFile
writePrecache ... writes precache commands
WriteServerConfig

Tool commands

activateEditor
bundler
createCM
debugger ... launches the Script Debugger
dmap ... compiles a map
editAFs ... launches the in-game Articulated Figure Editor
editDecls ... launches the in-game Declaration Editor
editFX
editFX_play
editFX_playlooping
editFX_stop
editGUIs ... launches the GUI Editor
editLights ... launches the in-game Light Editor
editMaterials
editor ... launches the level editor Radiant
editPDAs ... launches the in-game PDA Editor
editPlaybacks
editReverb
editScripts ... launches the in-game Script Editor
editSounds ... launches the in-game Sound Editor
entview
exportCmpMD5R
exportMD5R
logview
makeLoadScreens
modview
phonemeGen
renderbump ... renders a bump map
renderbumpFlat ... renders a flat bump map
renderbumpFlatGUI
roq ... encodes a roq file
runAAS ... compiles an AAS file for a map
runAASDir ... compiles AAS files for all maps in a folder
runAASTactical
runReach ... calculates reachability for an AAS file
shakesGen
showMemAlloc
showMemory
Personal tools
Main
id Tech 5