Commands (Prey)

The information on this page is specific to Prey .


Existing Commands as of version 0.2.95 (demo)

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)
addline … adds a debug line
ai_reactioncheck
ai_reactionset
bindRagdoll … binds ragdoll at the current drag position
blinkline … blinks a debug line
call
centerview … centers the player view
checkNodes
clearLights … removes all lights
clientDropWeapon … drop current weapon
clientMessageMode … ingame gui message mode
clientVoiceChat … voice chats: clientVoiceChat
clientVoiceChatTeam … team voice chats: clientVoiceChat
ClosePortal
collisionModelInfo … shows collision model info
damage … apply damage to an entity
debug
debug_pointer
deleteSelected … deletes selected entity
dialogmode
dict
dormant
exportDDA
game_memory … displays game class info
gameError … causes a game error
gameKick … same as kick, but recognizes player names
getbinds
getpos
getviewpos … prints the current view position
give … gives one or more items
giveEnergy
god … enables god mode (makes you invulnerable)
healthPulse
hide
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
killThis
listActiveEntities … lists active game entities
listAnims … lists all animations
listClasses … lists game classes
listCollisionModels … lists collision models
listEntities … lists game entities
listLines … lists all debug lines
listModelDefs … lists model defs
listMonsters … lists monsters
listSpawnArgs … list the spawn args of an entity
listThreads … lists script threads
listTypeInfo … list type info
neverdormant
nextaas
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
noclip … disables collision detection for the player
notarget … disables the player as a target
OpenPortal
playerModel … sets the given model on the player
playTime
popLight … removes the last created light
possessPlayer
prevAnim … shows previous animation on test model
prevFrame … shows previous animation frame on test model
printDDA
printHandInfo
printModelDefs … prints a model def
printThis
putpos
reexportmodels … reexports models
reloadanims … reloads animations
reloadScript … reloads scripts
remove … removes an entity
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
setdda
setPlayerGravity
setviewpos … sets the current view position
show
spawn … spawns a game entity
spawnabunch
spawnArtificialPlayer
spawnDebrisMass
spiritPulse
spiritwalkmode
teleport … teleports the player to an entity location
testAnim … tests an animation
testBlend … tests animation blending
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
toggleShuttle
toggleTalonTargets
trigger … triggers an entity
triggerThis
unbindRagdoll … unbinds the selected ragdoll
unpossessPlayer
weaponSplat … projects a blood splat on the player weapon
where … prints the current view position
writeGameState … write game state

Renderer commands

benchmark … benchmark
combineCubeImages
envshot … takes an environment shot
forceBuildImage
gfxInfo … show graphics info
listGuis … lists guis
listImages … lists images
listModels … lists all models
listModes … lists all video modes
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
pbufferinit
pbuffershot
printAllModels
printModel … prints model info
regenerateWorld … regenerates all interactions
reloadARBprograms … reloads ARB programs
reloadGuis … reloads guis
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
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
testMaterial
testVideo … displays the given cinematic
touchGui … touches a gui
touchModel … touches a model
vid_restart … restarts renderSystem

Sound commands

|—————————————————————————————————-|——————————–| | listSoundDecoders | … list active sound decoders | | listSounds | … lists all sounds | | reloadSounds | … reloads all sounds | | s_restart | … restarts the sound system | | testSound | … tests a sound |

System commands

assert
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
checkNewVersion … check if a new version of the game is available
clear … clears the console
compressDemo … compresses a demo file
conDump … dumps the console text to a file
connect … connects to a server
crash … causes a crash
cvar_restart … restart the cvar system
dec
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
displayE3Loading
echo … prints text
endOfDemo
entitysize
error … causes an error
exec … executes a config file
execImageQuality
execnow
exit … exits the game
exitCmdDemo … exits a command demo
finishBuild … finishes the build process
freeze … freezes the game for a number of seconds
getmapname
heartbeat … send a heartbeat to the the master servers
hitch … hitches the game
in_restart … restarts the input system
inc
kick … kick a client by connection number
LANScan … scans LAN for servers
listAF … lists articulated figures
listBeams
listBinds … lists key bindings
listCmds … lists commands
listCvars
listDecls
listDictKeys … lists all keys used by dictionaries
listDictValues … lists all values used by dictionaries
listEntityDefs … lists entity defs
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
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
loadGame … loads a game
localizeGuiParmsTest to_be_replaced
localizeGuis … localize guis
localizeMaps … localize maps
localizeMapsTest to_be_replaced
localizeSubs
map … loads a map
memoryDump … creates a memory dump
memoryDumpCompressed … creates a compressed memory dump
memstats
memstatsprocess
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
printAF … prints an articulated figure
printBeam
printEntityDef … prints an entity def
printFX … prints an FX system
printMaterial … prints a material
printMemInfo to_be_replaced
printModelDefs … prints a model def
printParticle … prints a particle system
printSkin … prints a skin
printSoundShader … prints a sound shader
printTable … prints a table
promptKey … prompt and sets the CD Key
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
reloadDecls … reloads decls
reloadEngine … reloads the engine down to including the file system
reloadLanguage … reload language dict
rescanSI … rescan serverinfo cvars and tell game
reset … resets a cvar
resetE3Demos
saveGame … saves a game
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
spawnServer … spawns a server
startBuild … prepares to make a build
stopRecording … stops demo recording
takeViewNotes … take notes about the current map from the current view
takeViewNotes2 … extended take view notes
testGUI … tests a gui
testmap … tests a map
testSIMD … test SIMD code
testtext
timeCmdDemo … times a command demo
timeDemo … times a demo
timeDemoQuit … times a demo and quits
toggle … toggles a cvar
togglefpuexceptions
togglehelp
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
vstr … inserts the current value of a cvar as command text
wait … delays remaining buffered commands one or more frames
writeBindings
writeCmdDemo … writes a command demo
writeConfig … writes a config file
writePrecache … writes precache commands

Tool commands

There are no tool commands in the Prey demo.