Difference between revisions of "Console/Commands"
m (Sortable tables.) |
(Added description to few more commands. Added commands removed in SC 5.17.) |
||
Line 231: | Line 231: | ||
| +break ||Client||||||<span style="color:#FF0000">'''Unused:'''</span> This command has no effect. | | +break ||Client||||||<span style="color:#FF0000">'''Unused:'''</span> This command has no effect. | ||
|- | |- | ||
− | | +graph ||Client, Engine||HUD, Network graph|||| | + | | +graph ||Client, Engine||HUD, Network graph||||Show network graph (mode 2). |
|- | |- | ||
| +showscores ||Client||HUD||||show the scoreboard | | +showscores ||Client||HUD||||show the scoreboard | ||
Line 311: | Line 311: | ||
| banid |||||||| | | banid |||||||| | ||
|- | |- | ||
− | | bind |||||||| | + | | bind ||Engine||Scripts||||Bind one or more command(s) or variable settings to a key. Binding a key to any +command also automatically binds the release of that key to the -command (see '''alias'''). Usage:<br> |
+ | '''bind <key> <command>'''<br> | ||
+ | '''bind <key> "<command1>;<command2>..."''' (multiple commands enclosed in quotes and separated by semicolons) | ||
|- | |- | ||
− | | cd ||Engine||Sound|||| | + | | cd ||Engine||Sound||||Control CD/MP3 player. Usage:<br> |
'''cd on''' - no effect???<br> | '''cd on''' - no effect???<br> | ||
'''cd off''' - no effect???<br> | '''cd off''' - no effect???<br> | ||
Line 366: | Line 368: | ||
| exec |||||||| | | exec |||||||| | ||
|- | |- | ||
− | | exit ||Engine||System|||| | + | | exit ||Engine||System||||Quit game or server without confirmation. See also '''quit'''. |
|- | |- | ||
| flush |||||||| | | flush |||||||| | ||
Line 391: | Line 393: | ||
| gl_texturemode ||Engine||Rendering|||| | | gl_texturemode ||Engine||Rendering|||| | ||
|- style="background-color:#ffddcc;" | |- style="background-color:#ffddcc;" | ||
− | | god ||Engine||Developer||Yes|| | + | | god ||Engine||Developer||Yes||Toggle god mode. Makes the player invincible when enabled.<br> |
<span style="color:#FF0000">'''Obsolete:'''</span> Use '''cl_godmode''' instead. | <span style="color:#FF0000">'''Obsolete:'''</span> Use '''cl_godmode''' instead. | ||
|- | |- | ||
Line 450: | Line 452: | ||
| new |||||||| | | new |||||||| | ||
|- style="background-color:#ffddcc;" | |- style="background-color:#ffddcc;" | ||
− | | noclip ||Engine||Developer||Yes|| | + | | noclip ||Engine||Developer||Yes||Toggle clipping mode. When clipping disabled (noclip active), you can walk through walls and fly. Requires '''sv_cheats 255''' in multiplayer.<br> |
<span style="color:#FF0000">'''Obsolete:'''</span> Use '''cl_noclip''' instead. | <span style="color:#FF0000">'''Obsolete:'''</span> Use '''cl_noclip''' instead. | ||
|- style="background-color:#ffddcc;" | |- style="background-color:#ffddcc;" | ||
− | | notarget ||Engine||Developer||Yes|| | + | | notarget ||Engine||Developer||Yes||Toggle notarget mode. NPCs will ignore the player when enabled. |
<span style="color:#FF0000">'''Obsolete:'''</span> Use '''cl_notarget''' instead. | <span style="color:#FF0000">'''Obsolete:'''</span> Use '''cl_notarget''' instead. | ||
|- | |- | ||
− | | pause ||Engine||Game|||| | + | | pause ||Engine||Game||||Pause game. Requires '''pausable 1'''. |
|- | |- | ||
| ping |||||||| | | ping |||||||| | ||
Line 466: | Line 468: | ||
| pointfile |||||||| | | pointfile |||||||| | ||
|- | |- | ||
− | | quit ||Engine||System|||| | + | | quit ||Engine||System||||Quit game or server without confirmation. See also '''exit'''. |
|- | |- | ||
| reconnect |||||||| | | reconnect |||||||| | ||
Line 524: | Line 526: | ||
| status |||||||| | | status |||||||| | ||
|- | |- | ||
− | | stopdemo ||Engine||Demo|||| | + | | stopdemo ||Engine||Demo||||Stop playing a demo. |
|- | |- | ||
| stopsound |||||||| | | stopsound |||||||| | ||
Line 536: | Line 538: | ||
| toggleconsole |||||||| | | toggleconsole |||||||| | ||
|- | |- | ||
− | | unbind |||||||| | + | | unbind ||Engine||Scripts||||Remove binding to key. Usage: '''unbind <key>''' |
|- | |- | ||
− | | unbindall |||||||| | + | | unbindall ||Engine||Scripts||||Remove all key bindings. |
|- | |- | ||
| unpause |||||||| | | unpause |||||||| | ||
Line 546: | Line 548: | ||
| users |||||||| | | users |||||||| | ||
|- | |- | ||
− | | version |||||||| | + | | version ||Engine||System||||Print engine version. |
|- | |- | ||
− | | wait |||||||| | + | | wait ||Engine||Scripts||||Make script execution wait for next frame. |
|- | |- | ||
| waveplaylen |||||||| | | waveplaylen |||||||| | ||
Line 557: | Line 559: | ||
|- | |- | ||
| writeip |||||||| | | writeip |||||||| | ||
− | |- | + | |- style="background-color:#dddddd;" |
+ | | viewmodel ||Engine||Developer||||<span style="color:#FF0000">'''Obsolete:'''</span> Change model of '''viewthing''' entity in current level. Leftover from Quake.<br> | ||
+ | <span style="color:#FF0000">'''Removed in Sven Co-op 5.17.'''</span> | ||
+ | |- style="background-color:#dddddd;" | ||
+ | | viewframe ||Engine||Developer||||<span style="color:#FF0000">'''Obsolete:'''</span> Change animation frame of '''viewthing''' entity in current level. Leftover from Quake.<br> | ||
+ | <span style="color:#FF0000">'''Removed in Sven Co-op 5.17.'''</span> | ||
+ | |- style="background-color:#dddddd;" | ||
+ | | viewnext ||Engine||Developer||||<span style="color:#FF0000">'''Obsolete:'''</span> Change to next animation frame of '''viewthing''' entity in current level. Leftover from Quake.<br> | ||
+ | <span style="color:#FF0000">'''Removed in Sven Co-op 5.17.'''</span> | ||
+ | |- style="background-color:#dddddd;" | ||
+ | | viewprev ||Engine||Developer||||<span style="color:#FF0000">'''Obsolete:'''</span> Change to previous animation frame of '''viewthing''' entity in current level. Leftover from Quake.<br> | ||
+ | <span style="color:#FF0000">'''Removed in Sven Co-op 5.17.'''</span> | ||
+ | |- style="background-color:#dddddd;" | ||
+ | | sizeup ||Engine||Rendering||||<span style="color:#FF0000">'''Obsolete:'''</span> Increase view size (increases the '''viewsize''' CVAR). Leftover from the software renderer build.<br> | ||
+ | <span style="color:#FF0000">'''Removed in Sven Co-op 5.17.'''</span> | ||
+ | |- style="background-color:#dddddd;" | ||
+ | | sizedown ||Engine||Rendering||||<span style="color:#FF0000">'''Obsolete:'''</span> Decrease view size (decreases the '''viewsize''' CVAR). Leftover from the software renderer build.<br> | ||
+ | <span style="color:#FF0000">'''Removed in Sven Co-op 5.17.'''</span> | ||
|} | |} | ||
Revision as of 15:58, 27 October 2018
Command | Source | Category | Cheat | Description |
---|---|---|---|---|
rebuildsoundcachefile | ||||
reloadadminlist | ||||
kicksteamid | ||||
clearvotemaplist | ||||
removevotemap | ||||
addvotemap | ||||
voteban_show | ||||
voteban_remove | ||||
voteban_remove_all | ||||
as_dumphooks | Server | Angelscript | ||
as_fs_quota_usage | Server | Angelscript | ||
as_fs_validate_file_usage | Server | Angelscript | ||
as_fs_dumpfilesystem | Server | Angelscript | ||
as_fs_output_openfile | Server | Angelscript | ||
as_reloadplugin | Server | Angelscript | ||
as_reloadplugins | Server | Angelscript | ||
as_removeplugin | Server | Angelscript | ||
as_removeplugins | Server | Angelscript | ||
as_execute | Server | Angelscript | ||
as_commandstats | Server | Angelscript | ||
as_command | Server | Angelscript | ||
as_removeallcommands | Server | Angelscript | ||
toggle_classic_mode | Server | |||
log_commands | ||||
toggle_survival_mode | Server | |||
string_memusage | ||||
appenddemo | ||||
cl_messages | ||||
connect | ||||
disconnect | ||||
endmovie | ||||
entities | ||||
fullserverinfo | ||||
gamedir | ||||
gg | ||||
httpstop | ||||
list | Engine | Networking | print list of local servers to the console; use slist to search for servers | |
listdemo | ||||
pingservers | ||||
playdemo | Engine | Demo | play a demo; Usage: playdemo <demo_name> | |
rcon | ||||
record | Engine | Demo | start recording a demo, see stop; usage: record <demo_name> | |
removedemo | ||||
retry | ||||
screenshot | Engine | Rendering | take a screenshot (TGA) | |
setdemoinfo | ||||
slist | Engine | Networking | search for local servers; use list to print the list | |
snapshot | Engine | Rendering | take a screenshot (BMP) | |
spec_pos | ||||
startmovie | ||||
stop | Engine | Demo | stop recording a demo, see record | |
swapdemo | ||||
timedemo | ||||
upload | ||||
voice_showbanned | ||||
invprev | Client | HUD, Weapon Selection | select previous weapon | |
invnext | Client | HUD, Weapon Selection | select next weapon | |
cancelselect | Client | HUD, Weapon Selection | cancel weapon selection | |
slot10 | Client | HUD, Weapon Selection | select weapon group 10 (or menu item 10) | |
slot9 | Client | HUD, Weapon Selection | select weapon group 9 (or menu item 9) | |
slot8 | Client | HUD, Weapon Selection | select weapon group 8 (or menu item 8) | |
slot7 | Client | HUD, Weapon Selection | select weapon group 7 (or menu item 7) | |
slot6 | Client | HUD, Weapon Selection | select weapon group 6 (or menu item 6) | |
slot5 | Client | HUD, Weapon Selection | select weapon group 5 (or menu item 5) | |
slot4 | Client | HUD, Weapon Selection | select weapon group 4 (or menu item 4) | |
slot3 | Client | HUD, Weapon Selection | select weapon group 3 (or menu item 3) | |
slot2 | Client | HUD, Weapon Selection | select weapon group 2 (or menu item 2) | |
slot1 | Client | HUD, Weapon Selection | select weapon group 1 (or menu item 1) | |
teammenu | ||||
ForceCloseCommandMenu | ||||
+commandmenu | ||||
+inventory | ||||
inventory | ||||
npc_moveto | ||||
missionbriefing | ||||
servermotd | ||||
uzi_gilded | ||||
vgui_closeall | ||||
vgui_votemap | ||||
votemenu | ||||
RelPls | Client | HUD, Media player | reload playlist | |
DecVol | Client | HUD, Media player | decrease media player volume | |
IncVol | Client | HUD, Media player | increase media player volume | |
MediaPlayer | Client | HUD, Media player | open media player | |
PlayMedia | Client | HUD, Media player | play song | |
StopSong | Client | HUD, Media player | stop song | |
RandomSong | Client | HUD, Media player | random song | |
LastSong | Client | HUD, Media player | last song | |
NextSong | Client | HUD, Media player | next song | |
MediaTime | Client | HUD, Media player | ||
MEDIAHUD | Client | HUD, Media player | ||
PauseSong | Client | HUD, Media player | pause song | |
Fog | ||||
centerview | ||||
joyadvancedupdate | ||||
force_centerview | ||||
cam_toggle_followaim | ||||
snapto | ||||
+camdistance | ||||
+cammousemove | ||||
firstperson | ||||
thirdperson | ||||
+camout | ||||
+camin | ||||
+camyawright | ||||
+camyawleft | ||||
+campitchdown | ||||
+campitchup | ||||
cl_flushsoundcache_force | ||||
cl_flushsoundcache | ||||
cl_stopsound | Client | Sound | ||
+break | Client | Unused: This command has no effect. | ||
+graph | Client, Engine | HUD, Network graph | Show network graph (mode 2). | |
+showscores | Client | HUD | show the scoreboard | |
+score | Client | HUD | show the scoreboard | |
+alt1 | Client | Controls | tertiary attack | |
+reload | Client | Controls | reload current weapon | |
+duck | Client | Controls | duck | |
+jlook | Client | Controls | ||
+mlook | Client | Controls | ||
+klook | Client | Controls | ||
impulse | Client | * | See Impulse commands. | |
+jump | Client | Controls | jump | |
+use | Client | Controls | ||
+attack2 | Client | Controls | secondary attack | |
+attack | Client | Controls | primary attack | |
+speed | Client | Controls | walk | |
+moveright | Client | Controls | ||
+moveleft | Client | Controls | ||
+strafe | Client | Controls | ||
+lookdown | Client | Controls | ||
+lookup | Client | Controls | ||
+back | Client | Controls | move backward | |
+forward | Client | Controls | move forward | |
+right | Client | Controls | turn right | |
+left | Client | Controls | turn left | |
+movedown | Client | Controls | ||
+moveup | Client | Controls | ||
condump | ||||
+voicerecord | ||||
_refresh | Engine | System | ||
_restart | Engine | System | ||
_set_vid_level | Engine | System | ||
_setaddons_folder | Engine | System | ||
_setgamedir | Engine | System | ||
_sethdmodels | Engine | System | ||
_setrenderer | Engine | System | ||
_setvideomode | Engine | System | ||
addip | ||||
alias | ||||
autosave | ||||
banid | ||||
bind | Engine | Scripts | Bind one or more command(s) or variable settings to a key. Binding a key to any +command also automatically binds the release of that key to the -command (see alias). Usage: bind <key> <command> | |
cd | Engine | Sound | Control CD/MP3 player. Usage: cd on - no effect??? | |
changelevel | ||||
changelevel2 | ||||
clear | ||||
cmd | ||||
cmdlist | ||||
condebug | ||||
contimes | ||||
cvarlist | ||||
delta_clear | ||||
delta_stats | ||||
demos | ||||
dlfile | ||||
dropclient | ||||
echo | ||||
envmap | ||||
escape | ||||
exec | ||||
exit | Engine | System | Quit game or server without confirmation. See also quit. | |
flush | ||||
fly | Engine | Developer | Yes | Changes player's move type to MOVETYPE_FLY. Obsolete: This command doesn't work correctly in GoldSrc/Svengine. Use cl_noclip instead. |
fs_dump_paths | Engine | Filesystem | ||
fs_warning_level | Engine | Filesystem | ||
fullinfo | ||||
fullupdate | ||||
gl_dump | Engine | Rendering | ||
gl_dumpaamodes | Engine | Rendering | ||
gl_info | Engine | Rendering | ||
gl_texels | Engine | Rendering | ||
gl_texturemode | Engine | Rendering | ||
god | Engine | Developer | Yes | Toggle god mode. Makes the player invincible when enabled. Obsolete: Use cl_godmode instead. |
heartbeat | ||||
hideconsole | ||||
hpkextract | ||||
hpklist | ||||
hpkremove | ||||
hpkval | ||||
interp | ||||
kick | ||||
kill | ||||
listid | ||||
listip | ||||
load | ||||
localinfo | ||||
log | ||||
logaddress | ||||
logaddress_add | ||||
logaddress_del | ||||
logaddress_list | ||||
map | ||||
maps | ||||
maxplayers | ||||
mcache | ||||
messagemode | ||||
messagemode2 | ||||
motd | ||||
motd_write | ||||
mp3 | ||||
new | ||||
noclip | Engine | Developer | Yes | Toggle clipping mode. When clipping disabled (noclip active), you can walk through walls and fly. Requires sv_cheats 255 in multiplayer. Obsolete: Use cl_noclip instead. |
notarget | Engine | Developer | Yes | Toggle notarget mode. NPCs will ignore the player when enabled.
Obsolete: Use cl_notarget instead. |
pause | Engine | Game | Pause game. Requires pausable 1. | |
ping | ||||
play | ||||
playvol | ||||
pointfile | ||||
quit | Engine | System | Quit game or server without confirmation. See also exit. | |
reconnect | ||||
reload | ||||
removeid | ||||
removeip | ||||
resetrcon | ||||
restart | ||||
save | ||||
say | ||||
say_team | ||||
sendents | ||||
sendres | ||||
serverinfo | ||||
setinfo | ||||
setmaster | ||||
setpause | ||||
showinfo | ||||
shutdownserver | ||||
skybox | ||||
soundfade | ||||
soundinfo | ||||
soundlist | ||||
spawn | ||||
speak | ||||
spk | ||||
startdemos | Engine | Demo | ||
stat | ||||
stats | ||||
status | ||||
stopdemo | Engine | Demo | Stop playing a demo. | |
stopsound | ||||
stuffcmds | ||||
tell | ||||
timerefresh | ||||
toggleconsole | ||||
unbind | Engine | Scripts | Remove binding to key. Usage: unbind <key> | |
unbindall | Engine | Scripts | Remove all key bindings. | |
unpause | ||||
user | ||||
users | ||||
version | Engine | System | Print engine version. | |
wait | Engine | Scripts | Make script execution wait for next frame. | |
waveplaylen | ||||
writecfg | ||||
writeid | ||||
writeip | ||||
viewmodel | Engine | Developer | Obsolete: Change model of viewthing entity in current level. Leftover from Quake. Removed in Sven Co-op 5.17. | |
viewframe | Engine | Developer | Obsolete: Change animation frame of viewthing entity in current level. Leftover from Quake. Removed in Sven Co-op 5.17. | |
viewnext | Engine | Developer | Obsolete: Change to next animation frame of viewthing entity in current level. Leftover from Quake. Removed in Sven Co-op 5.17. | |
viewprev | Engine | Developer | Obsolete: Change to previous animation frame of viewthing entity in current level. Leftover from Quake. Removed in Sven Co-op 5.17. | |
sizeup | Engine | Rendering | Obsolete: Increase view size (increases the viewsize CVAR). Leftover from the software renderer build. Removed in Sven Co-op 5.17. | |
sizedown | Engine | Rendering | Obsolete: Decrease view size (decreases the viewsize CVAR). Leftover from the software renderer build. Removed in Sven Co-op 5.17. |
Client-side commands:
Command | Source | Category | Cheat | Description |
---|---|---|---|---|
say | Client | |||
say_team | Client | |||
medic | Client | |||
heal | Client | |||
grenade | Client | |||
takecover | Client | |||
gibme | Client | Let players gib themselves | ||
hurtme | Client | Let players hurt themselves (Internal builds only) | ||
stuck | Client | |||
unstuck | Client | |||
unstick | Client | Allow alive players to free themself from inside a door/wall/whatever, limited distance | ||
inventorylist | Client | Inventory | ||
dropitem | Client | Inventory | ||
npc_return | Client | NPC | ||
npc_findcover | Client | NPC | ||
npc_attackmytarget | Client | NPC | ||
npc_moveto | Client | NPC | ||
cl_entitycount | Client | |||
cl_precachecount | Client | |||
mapname | Client | |||
mapinfo | Client | |||
nextmap | Client | |||
myinfo | Client | |||
thatinfo | Client | Yes | ||
playlist | Client | |||
time | Client | |||
timeleft | Client | |||
gametext | Client | (debug builds only) | ||
time | Client | (debug builds only) | ||
monster_status | Client | Yes | impulse 103 | |
giveall | Client | Yes | impulse 101 | |
frametime | Client | |||
give | Client | Yes | ||
givepoints | Client | Yes | ||
trigger | Client | Yes | ||
ent_trigger_ahead | Client | Yes | ||
ent_name_ahead | Client | Yes | Get the name of the entity i'm looking at, if any. | |
ghost | Client | Yes | ||
godmode | Client | Yes | ||
cl_noclip | Client | Yes | ||
cl_notarget | Client | Yes | ||
cl_nonsolid | Client | Yes | ||
cl_invisible | Client | Yes | Invisibility | |
teleport | Client | Yes | ||
reviveme | Client | Yes | ||
healme | Client | Yes | ||
chargeme | Client | Yes | ||
activeidle | Client | |||
toggleextras | Client | |||
drop | Client | |||
dropammo | Client | |||
dropsecammo | Client | drop secondary ammo | ||
fov | Client | Yes | ||
use | Client | |||
weapon_ | Client | |||
lastinv | Client | |||
nav_generate | Client | (unused) | ||
submitid | Client | |||
stuck_kill | Client | |||
nodepath | Client | |||
create | Client | Yes | ||
create_grunt | Client | Yes | ||
remove | Client | Yes | remove entity by targetname | |
concuss | Client | Yes | ||
showextras | Client | |||
getextras | Client | |||
debug | Client | Yes | (debug builds only) | |
debug_getgroundtexinfo | Client | Yes | Gets info from the current ground texture the player is standing on. (debug builds only) |