
                  Quake Console Command Reference List
------------------------------------------------------------------------

All about console commands:

Quake allows you to configure many of it's features and operations
via a series of commands that are entered in via the console.
These commands range from simple queries suchs as "status" which returns
information about the current game or "Ping" which reveals
the ping times for all players to configuration commands like "+mlook"
to turn on MouseLook.

There are console commands that are meant to be used only on Quake servers.
Keep this in mind If a command makes no sense. "
Kick" and "Ban" are two such commands.


Configuration Files:

Many of the console commands can be run through .cfg files. .cfg files
are essentially groups of commands that are executed batch style.
This way you can set up your favorite configurations in advance and simply
type:

exec myconfig.cfg

Instead of typing out a zillion commands you can simply setup a .cfg file.
End of lesson.

Check out the Planet Quake file areas for some advanced configuration files
to use as a guide to creating your own.


                                 The List:


There are 250 commands in this list (learn them all, now!) and 8 of them
are a complete mystery as to what they accomplish.
These will make good trivia questions in a few years.
Or even better: Send email to the Wizards of ID and ask them what they meant
by <insert obscure command here>. Tell 'em Bastard egged you on to it.
-----------------------------------------------------------------------------
(A)=Action
(C)=Command
(T)=Toggle or flag
(V)=Variable
(?)=Unknown
(X)=Other
(P)=Protocol

                              NEW FOR V1.06


auxlook (?)
ban (C)
force_centerview (C)
toggle_auxlook (T)

                           CHANGED SINCE V1.01


connect (C)
impulse (C)
kick (C)
noexit (V)
teamplay (V)
timedemo (C)

                            COMMANDS IN V1.01


+attack / -attack (A)
+back / -back (A)
+forward / -forward (A)
+jump / -jump (A)
+klook / -klook (A)
+left / -left (A)
+lookdown / -lookdown (A)
+lookup / -lookup (A)
+mlook / -mlook (A)
+movedown / - movedown (A)
+moveleft / -moveleft (A)
+moveright / -moveright(A)
+moveup / -moveup (A)
+right / -right (A)
+showscores / -showscores (A)
+speed / -speed (A)
+strafe / -strafe (A)
+use / -use (A)
alias (C)
ambient_fade (V)
ambient_level (V)
begin (P)
bgmbuffer (V)
bgmvolume (V)
bind (C)
bf (C)
_cl_color (V)_


_baud (V)
_config_com_irq (V)
_config_com_modem (T)
_config_com_port (V)
_config_modem_clear (V)
_config_modem_dialtype (V)
_config_modem_hangup (V)
_config_modem_init (V)
cd (C)
centerview (C)
changelevel (C)
cl_anglespeedkey (V)
cl_backspeed (V)
cl_bob (V)
cl_bobcycle (V)
cl_bobup (V)
cl_forwardspeed (V)
cl_movespeedkey (V)
cl_nolerp (?)
cl_pitchspeed (V)
cl_rollangle (V)
cl_rollspeed (V)
cl_shownet (T)
cl_sidespeed (V)
cl_upspeed (V)
cl_yawspeed (V)
clear (C)
cmd (?)
color (C)
com1 / com2 (C)
con_notifytime (V)
connect (C)


crosshair (T)
d_mipcap (T)
d_mipscale (T)
d_subdiv16 (T)
deathmatch (T)
demos (C)
developer (V)
disconnect (C)
echo (C)
edgefriction (V)
edict (C)
edictcount (C)
edicts (C)
entities (C)
exec (C)
flush (C)
fly (T)
fov (V)
fraglimit (V)
gamma (V)
give (V)
god (T)
help (C)
host_framerate (V)
host_speeds (T)
hostname (V)
impulse (C)
joybuttons (V)
joystick (T)
kick (C)
kill (C)
listen (T)
load (C)
loadas8bit (T)
lookspring (T)
lookstrafe (T)
m_filter (?)
m_forward (V)
m_pitch (V)
m_side (V)
m_yaw (V)
map (C)
maxplayers (V)
menu_keys (C)
menu_multiplayer (C)
menu_options (C)
menu_quit (C)
menu_save (C)
menu_setup (C)
menu_singleplayer (C)
menu_video (C)
messagemode (C)
messagemode2 (C)
name (V)
net_messagetimeout (V)
net_stats (C)
noclip (T)
noexit (V)
noisetrack (?)
nosound (T)
notarget (T)

path (C)
pausable (T)
pause (C)
ping (C)
play (C)
playdemo (C)
playvol (C)
pointfile (C)
precache (T)
prespawn (P)
profile (C)
quit (C)
r_aliastransadj (?)
r_aliastransbase (?)
r_ambient (V)
r_clearcolor (V)
r_drawentities (T)
r_drawflat (T)
r_draworder (T)

r_drawviewmodel (T)
r_dspeeds (T)
r_fullbright (T)
r_graphheight (V)
r_maxedges (V)
r_maxsurfs (V)
r_numedges (T)
r_numsurfs (T)
r_polymodelstats (T)
r_reportedgeout (T)
r_reportsurfout (T)
r_speeds (T)
r_timegraph (T)
r_waterwarp (T)
reconnect (C)
record (C)
registered (T)
restart (C)

samelevel (T)
save (C)
say (C)
say_team (C)
sbinfo (C)
scr_centertime (V)
scr_conspeed (V)
scr_ofsx (V)
scr_ofsy (V)
scr_ofsz (V)
scr_printspeed (V)
screenshot (V)
sensitivity (V)
serverprofile (T)
showpause (T)
showram (T)
showturtle (T)
sizedown (C)
sizeup (C)
skill (V)

slist (C)
snd_noextraupdate (T)
snd_show (T)
soundinfo (C)
soundlist (C)
spawn (P)
startdemos (C)
status (C)
stop (C)
stopdemo (C)
stopsound (C)
stuffcmds (C)
sv_accelerate (V)
sv_aim (V)
sv_friction (V)
sv_gravity (V)
sv_idealpitchscale (V)
sv_maxspeed (V)
sv_maxvelocity (V)
sv_nostep (T)
sv_stopspeed (V)
sys_ticrate (V)
teamplay (V)
tell (C)
temp1 (X)
test (C)
test2 (C)
timedemo (C)
timelimit (V)
timerefresh (C)
toggleconsole (C)
togglemenu (C)
unbind (C)
unbindall (C)
_vid_default_mode (V)
_vid_wait_override (T)
v_centermove (V)
v_centerspeed (V)

v_cshift (?)
v_idlescale (T)
v_ipitch_cycle (V)
v_ipitch_level (V)
v_iroll_cycle (V)
v_iroll_level (V)
v_iyaw_cycle (V)
v_iyaw_level (V)
v_kickpitch (V)
v_kickroll (V)
v_kicktime (V)
version (C)
vid_describecurrentmode (C)
vid_describemode (C)
vid_describemodes (C)
vid_mode (C)
vid_nopageflip (T)
vid_nummodes (C)
vid_testmode (C)
vid_wait (V)
viewframe (X)
viewmodel (X)
viewnext (X)
viewprev (X)
viewsize (V)
volume (V)
wait (C)
------------------------------------------------------------------------
+attack / -attack (A)

Syntax: +attack -attack

When attack is active the player is firing their current weapon



See also: impulse
------------------------------------------------------------------------
+back / -back (A)

Syntax: +back -back

When back is active the player is moving backwards



See also: cl_backspeed
------------------------------------------------------------------------
+forward / -forward (A)

Syntax: +forward -forward

When forward is active the player is moving forward



See also: cl_forwardspeed
------------------------------------------------------------------------
+jump / -jump (A)

Syntax: +jump -jump

When jump is active the player is jumping



See also: sv_gravity
------------------------------------------------------------------------
+klook / -klook (A)

Syntax: +klook -klook

When klook is active forward and back become lookup and lookdown.
------------------------------------------------------------------------
+left / -left (A)

Syntax: +left -left

When left is active the player is turning left.



See also: cl_yawspeed
------------------------------------------------------------------------
+lookdown / -lookdown (A)

Syntax: +lookdown -lookdown

When lookdown is active the player's view is moving down.



See also: cl_pitchspeed, centerview
------------------------------------------------------------------------
+lookup / -lookup (A)

Syntax: +lookup -lookup

When lookup is active the player's view is moving up.



See also: cl_pitchspeed, centerview
------------------------------------------------------------------------
+mlook / -mlook (A)

Syntax: +mlook -mlook

When mlook is active moving the mouse forwards and backwards performs a
lookup and lookdown respectively.
------------------------------------------------------------------------
+movedown / - movedown (A)

Syntax: +movedown -movedown

When movedown is active the player is swimming down in a liquid.



See also: cl_upspeed
------------------------------------------------------------------------
+moveleft / -moveleft (A)

Syntax: +moveleft -moveleft

When moveleft is active the player is strafing left.



See also: cl_sidespeed
------------------------------------------------------------------------
+moveright / -moveright (A)

Syntax: +moveright -moveright

When moveright is active the player is strafing right.



See also: cl_sidespeed
------------------------------------------------------------------------
+moveup / -moveup (A)

Syntax: +moveup -moveup

When moveup is active the player is swimming up in a liquid.



See also: cl_upspeed
------------------------------------------------------------------------




+right / -right (A)

Syntax: +right -right

When right is active the player is turning right.



See also: cl_yawspeed
------------------------------------------------------------------------
+showscores / -showscores (A)

Syntax: +showscores -showscores

When showscores is active in single player mode the current level stats are
shown on the status bar. In multiplayer mode the current frags are shown on
the full screen.
------------------------------------------------------------------------
+speed / -speed (A)

Syntax: +speed -speed

When speed is active the player is running.



See also: cl_movespeedkey, cl_anglespeedkey
------------------------------------------------------------------------
+strafe / -strafe (A)

Syntax: +strafe -strafe

When strafe is active left and right function as +moveleft and +moveright
strafing in that direction.
------------------------------------------------------------------------
+use / -use (A)

Syntax: +use <?> -use

Sets the USE flag for the player. Currently not used by Quake.
Thanks to Sky Golightly <sky@cruzio.com> for information on this command.
------------------------------------------------------------------------
alias (C)

Syntax: alias <name> [command]

Using alias without the [command] option will erase the alias specified
in <name>
From techinfo.txt:




The alias command is used to create a reference to a command or list of
commands.  When aliasing multiple commands, or commands that contain
multiple words (such as "fraglimit 50"), you must enclose all the commands
in quotation marks and separate each command with a semi-colon.

Example of an alias that changes some Deathmatch server parameters:

alias net_game "hostname my_server ; fraglimit 15 ; timelimit 15"
bind INS net_game




See also: bind
------------------------------------------------------------------------
ambient_fade (V)

Syntax: ambient_fade <n>

Default: 100



How quickly ambient sounds fade in/out. Higher values make the sound fade
quicker.



See also: ambient_level
------------------------------------------------------------------------
ambient_level (V)

Syntax: ambient_level <n>

Default: 0.3



How loud ambient sounds are. This includes wind, water, and other ambient
sounds.



See also: ambient_fade
------------------------------------------------------------------------
auxlook (?)(1.06)

Syntax: auxlook <?>

Default: 1



I thought this would allow the joystick to function like the mouse during
a +mlook but I can't get it to work...



See also: toggle_auxlook
------------------------------------------------------------------------
ban (C)(1.06)

Syntax: ban <ip address>

At long last you can ban those troublesome players. Just get their ip with
the status command and enter it in. Also if you enter a higher order domain
such as xxx.xxx.xxx any player from that domain will be unable to play.
Makes it easy to ban players from a particular ISP or site.
Once you have declared at least one banned site typing ban without an ip
address will list the current sites that are being banned.



See also: status
------------------------------------------------------------------------
begin (P)

Syntax: begin

This command reports "Not valid from console" when run.
It is part of the Quake client/server protocol.
Sent by a client to a server after the client has processed the entity
spawn messages and the client is ready to begin rendering and
processing game update messages. Not for use by mortals.
Thanks to Sky Golightly <sky@cruzio.com> for information on this command.



See aldo: prespawn, spawn
------------------------------------------------------------------------
bgmbuffer (V)

Syntax: bgmbuffer <size>

Default: 4096



Amount of memory allocated for the background music buffer, used when playing
from a cd.


See also: bgmvolume, cd
------------------------------------------------------------------------
bgmvolume (V)

Syntax: bgmvolume <vol>

Default: 1.0



Volume of background cd music.



See also: cd, bgmbuffer
------------------------------------------------------------------------
bind (C)

Syntax: bind <key> [command]

Used to bind a set of commands to a key.
From techinfo.txt:




Where <key> is a valid key control and [command] is a valid Quake command.

Example:
To bind the j key to the 'jump' command, you would type:
bind j +jump
and press enter.

Non-printable keys such as 'page up' and buttons from the mouse/joystick are
bound in the same manner as printable characters. A list of bindable keys can
be found at the end of this file.

Example:
To bind the page up key to the 'jump' command, you would type:
bind pageup +jump
and press enter.

To bind the right mouse button to the attack command, you would type:
bind mouse2 +attack
and press enter.

The following keys can be bound:

A-Z                     0-9
*F1-F12                 *TAB
ENTER                   SPACE
BACKSPACE               UPARROW
DOWNARROW               LEFTARROW
RIGHTARROW              ALT
CTRL                    SHIFT
INS                     DEL
PGDN                    PGUP
HOME                    END
PAUSE                   SEMICOLON

MOUSE1 (mouse button 1)
MOUSE2 (mouse button 2)
MOUSE3 (mouse button 3)

*~ (tilde)

* Can only be bound on the command line or in a .cfg file.

The ESC key cannot be bound.





To bind multiple command enclose the entire command in quotes and separate
the commands with semicolons.
bind q "impulse 7; +attack; wait; -attack; impulse 5"
When using actions commands in a bind (ie +attack or +left) the first plus
action will automatically have a minus added when the key is released.
To prevent this start the command with a semicolon.
bind q ";+mlook" (This will keep mlook on until a -mlook is executed.)



See also: alias, unbind, unbindall
------------------------------------------------------------------------
bf (C)

Syntax: bf

Background flash, used when you pick up an item.
------------------------------------------------------------------------
_cl_color (V)

Syntax: _cl_color <value>

Default: 0



Set the player's color. The value is SC*16+PC where SC is shirt color and
PC is pants color.



See also: color
------------------------------------------------------------------------
_cl_name (V)

Syntax: _cl_name <string>

Default: Player



Sets the player's name. Works the same as the name command.



See also: name
------------------------------------------------------------------------
_config_com_baud (V)

Syntax: _config_com_baud <value>

Default: 57600



Sets the default baud rate for the modem.



See also: com1/com2
------------------------------------------------------------------------
_config_com_irq (V)

Syntax: _config_com_irq <value>

Default: 4



Sets the default irq for the modem.



See also: com1/com2
------------------------------------------------------------------------
_config_com_modem (T)

Syntax: _config_com_modem <0/1>

Default: 0

This is a really weird option. If set to one then com1 gets the values that
the _config_x commands sets. It doesn't work for com2 though.
I think in general it's better just to use the com1 and com2 commands.

See also: com1/com2
------------------------------------------------------------------------
_config_com_port (V)

Syntax: _config_com_port <value>

Default: 1016



Sets the default port for the modem. Use 0x to enter the number in hex.



See also: com1/com2
------------------------------------------------------------------------
_config_modem_clear (V)

Syntax: _config_modem_clear <string>

Default: ATZ



Sets the default modem reset command.



See also: com1/com2
------------------------------------------------------------------------
_config_modem_dialtype (V)

Syntax: _config_modem_dialtype <P/T>

Default: T



Sets the default dailing mode to Touch Tone (T) or Pulse (P).



See also: com1/com2
------------------------------------------------------------------------
_config_modem_hangup (V)

Syntax: _config_modem_hangup <string>

Default: AT H

Sets the default hangup string for the modem.

See also: com1/com2
------------------------------------------------------------------------
_config_modem_init (V)

Syntax: _config_modem_init <string>

Default: (none)



Sets the default modem init string.



See also: com1/com2
------------------------------------------------------------------------
cd (C)

Syntax: cd [command]

Used to control the cd player.
From techinfo.txt:

cd on
   Re-enables the CD audio system after a "cd off" command.

cd off
   Shuts down the CD audio system.  No more music will be played unless it
   is re-enabled.

cd reset
   Causes the CD audio to re-initialize.  This is useful if you change
   CDs or insert the CD after you've already run Quake.

cd play <track number>
   Plays the specified track one time.

cd loop <track number>
   Plays the specified track.  It will be repeated until either it is
   manually stopped or another track is started.

cd stop
   Stops the currently playing track.

cd resume
   Will resume playback of a stopped track.

cd eject
   This is for CD players that do not have a manual eject button.

cd remap <track1> <track2> <track3> ...
   Allows you to switch what tracks are played.  This is especially useful
   if you want to play music other than that on the Quake CD.  If the CD
   audio system is told to play track 1, it will instead play the 1st
   track you specified.  For example: assuming a CD with 1 data track and
   8 music tracks, the command "cd remap 1 9 8 7 6 5 4 3 2" would leave
   the data alone and play the audio tracks as if they had been placed on
   the CD in the opposite order.

cd info
   Reports information such as the number and types of tracks on the current
   CD, what track (if any) is currently playing, and the playback volume.


See also: bgmvolume, bgmbuffer
------------------------------------------------------------------------
centerview (C)

Syntax: centerview

Moves player's view back to straight ahead after a +lookup
or +lookdown action.



See also: v_centerspeed, force_centerview
------------------------------------------------------------------------
changelevel (C)

Syntax: changelevel <map>

Switch game play to selected level. Use this command instead of map when
you are running a server. Unlike the map command changelevel won't disconnect
all of the clients before loading the next level
Thanks to Howard Ship <hship@cac.stratus.com> for the command clarification.



See also: map
------------------------------------------------------------------------
cl_anglespeedkey (V)

Syntax: cl_anglespeedkey <speed>

Default: 1.5



Sets multiplier for how fast you turn when running.



See also: cl_yawspeed
------------------------------------------------------------------------
cl_backspeed (V)

Syntax: cl_backspeed <speed>

Default: 400



Sets backward movement rate.



See also: sv_maxspeed, cl_movespeedkey
------------------------------------------------------------------------
cl_bob (V)

Syntax: cl_bob <value>

Default: 0.02


Sets how much your weapon moves up and down when walking.

See also: cl_bobcycle, cl_bobup
------------------------------------------------------------------------
cl_bobcycle (V)

Syntax: cl_bobcycle <value>

Default: 0.6



Sets how quickly your weapon moves up and down when walking.



See also: cl_bob, cl_bobup
------------------------------------------------------------------------
cl_bobup (V)

Syntax: cl_bobup <value>

Default: 0.5



Sets how long your weapon stays up before cycling when walking



See also: cl_bob, cl_bob_cycle
------------------------------------------------------------------------
cl_forwardspeed (V)

Syntax: cl_forwardspeed <speed>

Default: 200



Sets forward movement rate.



See also: sv_maxspeed, cl_movespeedkey
------------------------------------------------------------------------
cl_movespeedkey (V)

Syntax: cl_movespeedkey <speed>

Default: 2.0



Set multiplier for how fast you move when running.



See also: cl_backspeed, cl_forwardspeed, sv_maxspeed
------------------------------------------------------------------------
cl_nolerp (?)

Syntax: cl_nolerp <?>

Default: 0



Don't know what is does.
------------------------------------------------------------------------
cl_pitchspeed (V)

Syntax: cl_pitchspeed <value>

Default: 150



Sets how fast you lookup and lookdown.
------------------------------------------------------------------------
cl_rollangle (V)

Syntax: cl_rollangle <value>

Default: 2.0



Sets how much your screen tilts when strafing.



See also: cl_rollspeed
------------------------------------------------------------------------
cl_rollspeed (V)

Syntax: cl_rollspeed <speed>

Default: 200



Sets how quickly you straighten out after strafing.



See also: cl_rollangle
------------------------------------------------------------------------
cl_shownet (T)

Syntax: cl_shownet <0/1>

Default: 0



Toggle the display of current net status (Doesn't mean much to me.)
Example output:




98 98 120
120
98

------------------------------------------------------------------------
cl_sidespeed (V)

Syntax: cl_sidespeed <speed>

Default: 350



Sets how quickly you strafe.
------------------------------------------------------------------------
cl_upspeed (V)

Syntax: cl_upspeed <speed>

Default: 200



Effects how quickly you moveup and movedown in liquids. Kind of strange that
upspeed also effects your downspeed?
------------------------------------------------------------------------
cl_yawspeed (V)

Syntax: cl_yawspeed <speed>

Default: 140



Sets how quickly you turn left or right.



See also: cl_anglespeedkey
------------------------------------------------------------------------
clear (C)

Syntax: clear

Clears the console screen.
------------------------------------------------------------------------
cmd (?)

Syntax: cmd <?>

Don't know what it does.
------------------------------------------------------------------------
color (C)

Syntax: color <shirt> <pants>

Sets the player's colors. If just the shirt color is used the pants
color will be the same.



See also: _cl_color
------------------------------------------------------------------------
com1 / com2 (C)

Syntax: com1 [command] com2 [command]

Control the com ports on your computer. From techinfo.txt:




enable | disable
   "enable" means that your configuration is complete and you want to use
   the COM port.  "disable" is used to turn off a COM port, usually to
   change its settings.  The default (initial) state is disabled.


modem | direct
   Use one of these two to let Quake know if you are using a modem or a
   direct connection (also called a null modem.)  Quake uses this to know
   if it needs to handles modem initialization strings, dialing sequences,
   and hangup procedures.

reset
   This will reset the COM port to its default settings and state.


port <n>
irq <n>
   These are used to set the I/O Port and IRQ that your serial port uses.
   The default values are: port=3f8 irq=4 for COM1 and port=2f8 irq=3 for
   COM2.  Note that the port number is displayed in hexadecimal; to enter
   it you would use something like "COM2 port 0x2f8"; the "0x" preceding
   the "2f8" indicates that you are giving the value in hexadecimal
   otherwise decimal is assumed.


baud <n>
   Sets the baud rate.  Valid values for <n> are: 9600, 14400,
   28800, 57600, and 115200.  57600 is the default.  Please note that
   this is the baud rate used for the uart, not your modem.  It is
   perfectly valid to use 57600 on a COM port that is connected to a
   28.8 modem.

8250 | 16550
   Specifies the type of uart chip in your system. Normally this is
   automatically detected, one of these need only be used if your chip
   is incorrectly detected.

clear
startup
shutdown
   This allows you to specify the clear, startup, and shutdown strings
   needed for a modem for playing Quake.  If you've found values that
   previously worked with Doom, use them here.  If you are playing over
   a null modem cable, leave these blank.

-cts | +cts
-dsr | +dsr
-cd  | +cd
   These determine if certain serial control lines should be honored or
   ignored. The "-" means you want that line ignored, the "+" means to honor
   it. "cts" is an abbreviation for "clear to send", "dsr" for
   "data set ready", and "cd" for "carrier detect".  Do not
change these
   values unless you are absolutely positive you need to. The default is to
   ignore all 3 lines.

Quake always uses no parity, 8 data bits, and 1 stop bit; these
values can not be changed.  The baud, port, irq, and uart type can
not be changed on an enabled port, you must disable it first.

Configuration examples
----------------------
Example1: You have a machine with two serial ports you are going
to use as a Quake server.  COM1 will be using a null modem cable and
COM2 will be connected to a 14.4 modem.  You would use commands similar
(the startup string would almost certainly be different) to these:

COM1 baud 57600 enable
COM2 baud 14400 modem startup AT\N0%C0B8 enable


Example2: You are going to use your machine to connect to a dial-up
Quake server with your 28.8 modem connected to COM2.  You would
use a command something like this:

COM2 baud 57600 modem startup AT\N0%C0B8 enable

Note the baud rate is not the same as the modem speed.  This allows
the modem-to-uart communications to occur at a higher rate than
the modem-to-modem communications.




See also: _config_com_baud, _config_com_irq, _config_com_modem,
_config_com_port,_config_modem_clear, _config_modem_dialtype,
_config_modem_hangup,_config_modem_init
------------------------------------------------------------------------
