Author: JakFrost
Email: jakfrost@planetquake.com
Web
Site: http://www.planetquake.com/console/
Created:
December 26, 1997
Last Modified: December 3, 1998
Based On:
Quake 2 v3.20
Source: http://www.planetquake.com/console/commands/quake_2.html
Copyright 1997, 1998 JakFrost; All Rights Reserved
This is the complete list of console commands, console variables, and command line parameters for Quake 2. All console commands and variables are identified, documented, tagged, and classified. This document has been designed to help out all those people who want to customize the game to their liking.
I decided to write this document because a lot of people were curious about all of those console commands. Now this document has become the ultimate reference to console commands with each command and variable having an explanation. I hope that this document will benefit a lot of people in the use of the Quake 2 console.
If you have any questions regarding console commands or console variables please do not contact me because I don't have the time to answer them. If you want to find out more about what a certain console command does or what it could be used for the go ahead and experiment with that console command on your own until you can answer your own questions. I don't have the time nor the patience to answer any technical support questions. If you have a problem then please don't ask me how to fix it because I won't help you. Basically, if you have a problem with something then solve the problem on your own and do the necessary work to answer your own questions do not send me any emails because I will not read them.
If you are reading this document and you find any errors, please contact me and tell me exactly where you found the error. I appreciate any corrections sent in because I want to make this document as accurate as possible. Any person who sends me corrections about console commands or variables will be acknowledged.
Below there are explanations to all of the different fields which are used to describe each command. It is good to know what the information in each field contains and refers to. The fields that I have used to describe each command and variable are a way of standardizing information among each command and to make sure that all of the information is given in an orderly fashion.
I have also taken upon myself to classify all of those console commands and console variables. These classifications are in no way related to how the game feels about the various types of commands and variables. The game only distinguishes between commands and variables. The names of each class are only meant to identify the different type of a command or variable, and give some insight into it's syntax and what type of parameters it accepts. Basically if a user knows that a given variable is classified as a toggle, he won't try to use negative numbers or fractions as input, or if a command is classified as an operation he will know not to use any parameters. These classifications are just here to help you with the syntax recognition and to remove unnecessary syntax fields.
base1.bsp.
0 and 1. This is an important field because it
identifies all settings for that toggle variable.
+action part of
the command is executed and terminates that action when the
-action part of the command is executed. When an action command
is bound to a key, the +action is executed when the key is
pressed, and the -action is executed when the key is released.
The default syntax for an action is '+command' or
'-command'. The syntax field is skipped for all action commands.
command (parameter)'. The syntax field is present
for all function commands since each one has it's own unique syntax.
command'. The syntax field is skipped for all
operation commands. variable (value)'. Allowable
values for a bitmap variable include integers only.
quake2.exe
+set variable (value)'.
variable (value)'. Allowable values for a register
variable include integers, fractions, and negative values.
variable
"(text)"'. Allowable values for a string variable include all
numbers and all text characters.
0
and 1. Sometimes there are alternative settings for a toggle, in
which case subsequent numbers are used such as 2, 3, 4, and so on. The default
syntax is 'variable (value)'. Allowable values for a
toggle variable include integers only in increments of 1. Type: Action
Description: When active the player is firing the current weapon.
Type: Action
Description: When active the player is moving backwards.
Type: Action
Description: When active the player is moving forwards.
Type: Action
Description: When active the keyboard keys bound to
+forward and +back serve as +lookup and
+lookdown.
Type: Action
Description: When active the player is turning left.
Type: Action
Description: When active the player is looking down.
Type: Action
Description: When active the player is looking up.
Type: Action
Description: When active the mouse movement forward serves as
+lookup and mouse movement backward as
+lookdown.
Note: The function of the forward and backward movement of the mouse
can be reversed with a negative value in the m_pitch
variable.
Type: Action
Description: When active the player is moving downward in liquids, on a ladder, or is crouching on ground.
Type: Action
Description: When active the player is strafe moving, side stepping to the left.
Type: Action
Description: When active the player is strafe moving, side stepping to the right.
Type: Action
Description: When active the player is moving up in liquids, on a ladder, or jumping.
Type: Action
Description: When active the player is turning right.
Type: Action
Description: When active the player is running.
Type: Action
Description: When active the +left and
+right functions are changed to +moveleft and
+moveright.
Type: Action
Description: Unused.
Note: This command has been left intact but still unused to allow future additions to the game engine where a key press will be needed to active objects in the world, instead of just walking or pushing them. Similar to other games where you have to press a key to open a door or activate a switch.
Type: String
Default: (none)
Description: The server address for the entry in the address book.
Type: String
Default: (none)
Description: The server address for the entry in the address book.
Type: String
Default: (none)
Description: The server address for the entry in the address book.
Type: String
Default: (none)
Description: The server address for the entry in the address book.
Type: String
Default: (none)
Description: The server address for the entry in the address book.
Type: String
Default: (none)
Description: The server address for the entry in the address book.
Type: String
Default: (none)
Description: The server address for the entry in the address book.
Type: String
Default: (none)
Description: The server address for the entry in the address book.
Type: String
Default: (none)
Description: The server address for the entry in the address book.
Type: Function
Syntax:aliasalias
(name) "(commands)"
Description: Used to create a reference to a command or list of commands.
Note: When used without parameters, it will display all current aliases. To create an alias which executes multiple commands, it is necessary to surround the commands with double-quotes and separate each command with a semicolon. An alias works like a command function since it cannot accept any parameters. Also, aliases are executed as if they were commands.
Example:alias sayhi "say Hi foo!"alias
jumpshot "+moveup;+attack;wait;-attack;-moveup"
Type: Toggle
Default: 0
Description: Toggle the automatic downloading of game files.
Note: This command can be used by both, the client and the server individually to prevent the automatic downloading of game files.
Type: Toggle
Default: 1
Description: Toggle the automatic downloading of map files to the client from the server.
Note: This command can be used by both, the client and the server
individually to prevent the automatic downloading of game files. Maps which
are contained in .pak files will not be available for download
because of copyright issues associated with the distribution of commercial
addons.
Type: Toggle
Default: 1
Description: Toggle the automatic downloading of model files.
Note: This command can be used by both, the client and the server individually to prevent the automatic downloading of game files.
Type: Toggle
Default: 1
Description: Toggle the automatic downloading of player skin files.
Note: This command can be used by both, the client and the server individually to prevent the automatic downloading of game files.
Type: Toggle
Default: 1
Description: Toggle the automatic downloading of sound files.
Note: This command can be used by both, the client and the server individually to prevent the automatic downloading of game files.
Type: Command Line Parameter
Default: .
Description: The location of the directory where
baseq2/ directory resides.
Note: This variable might be used if the data files for Quake 2 are stored in a totally different directory, for example on a read-only mounted drive.
Type: Function
Syntax:bind (key)bind
(key) "(commands)"
Description: Assign a command or a set of commands to a key.
Note: When the command is used with just the key name and without
assigning any commands to it, it will display the command which is currently
assigned to that key. To bind multiple commands to a key, enclose the commands
in double-quotes and separate them with semi-colons. To bind to non-printable
keys, use the key name. The escape, and ~ (tilde)
keys can only be bound from an external configuration file.
Key Name List: ESCAPE, F1-F12,
PAUSE, BACKSPACE, TAB, SEMICOLON,
ENTER, SHIFT, CTRL, ALT,
SPACE, INS, HOME, PGUP,
DEL, END, PGDN, UPARROW,
DOWNARROW, LEFTARROW, RIGHTARROW,
KP_SLASH, KP_MINUS, KP_PLUS,
KP_ENTER, KP_5, KP_UPARROW,
KP_LEFTARROW, KP_RIGHTARROW, KP_DOWNARROW,
KP_HOME, KP_END, KP_PGUP, KP_PGDN,
KP_INS, KP_DEL, MOUSE1-MOUSE3,
AUX1-AUX32, JOY1-JOY4, MWHEELUP,
MWHEELDOWN.
Example:bind h "say Hi Foo!"bind mouse1
"+attack;+moveup;wait;-moveup;-attack;echo Foo!"
Type: Operation
Description: Displays all key and button bindings.
Type: Register
Default: 0.002
Description: The amount of movment that the player's screen moves up and down while in motion.
Type: Register
Default: 0.002
Description: The amount of movment that the player's screen moves left and right while in motion.
Type: Register
Default: 0.005
Description: The amount of time before the player's screen starts moving.
Type: Function
Syntax:cd (command)cd
(command) (parameter)
Description: Control the functions of playing CD music.
List:close - Close the CD-ROM drive
door.eject - Eject the CD from the
drive.info - Display the number of music tracks on the CD and
the current status.loop (track) - Play the same
track over and over.off - Disable CD
music.on - Enable CD music.pause - Pause the
current playback.play (track) - Play the
track.remap - Display the remapped order of
tracks.remap (track) (track) ...
(track) - Change the playback order of
tracks.reset - Reset the CD functions.resume
- Resume play after a pause.stop - Stop the
current playback.
Note: For the command to be available the CD-ROM drive has to be idle at the time that Quake 2 starts, or else this command will be disabled.
Example:cd infocd play
3cd remap 4 5 1 2 7 8cd remap
Type: Register
Default: 4
Description: The number of times that the looping track will play.
Type: Register
Default: 11
Description: The number of the music track designated to loop.
Type: Toggle
Default: 0
Description: Toggle the use of CD music.
Type: Command Line Parameter
Default: z:\install\data
Description: The location of the game files on the CD-ROM.
Note: The game will detect the CD-ROM drive letter automatically and will append the appropriate path by itself. If it happens that the computer has more than one CD-ROM drive and the game detects the wrong drive this variable might be set to direct the game to the right CD-ROM drive and path.
Type: Operation
Description: Center the player's view.
Type: Operation
Description: Informs the client of an upcoming map change.
Note: This is an internal command used between the client and server.
Type: Toggle
Default: 0
Description: Toggle the use of cheat codes.
Type: Register
Default: 1.5
Description: The multiplier value for the yaw and roll axes.
Note: While the +speed command is enabled or the
cl_run toggle is enabled the values of
cl_forwardspeed, cl_sidespeed, and
cl_upspeed are multiplied by this value.
Type: Toggle
Default: 0
Description: * Disabled.
Type: Toggle
Default: 1
Description: Toggle the use of palette blending effects.
Note: The palette blending effect is used while being injured, using a powerup, or under water. It might be beneficial to disable this effect to see clearly in water, but then if the player is being injured he won't know it.
Type: Toggle
Default: 1
Description: Toggle the display of entities.
Type: Toggle
Default: 1
Description: Toggle the footstep sounds.
Type: Register
Default: 200
Description: The maximum forward and backward movement speed.
Type: Toggle
Default: 1
Description: Toggle the display of the gun.
Type: Toggle
Default: 1
Description: Toggle the display of dynamic lighting.
Type: Register
Default: 90
Description: The maximum number of packets-per-second the server should send to the client to cap the frames-per-second rate.
Type: Toggle
Default: 0
Description: Toggle the use of delta network packet compression.
Type: Toggle
Default: 0
Description: Toggle the display of custom skins on other players.
Values:0 - Enable the use of
skins.1 - Disable the use of skins.2 -
Enable the use of skins but do not download new skins from the server.
Type: Toggle
Default: 1
Description: Toggle the display of partices.
Type: Register
Default: 150
Description: The constant movement speed for the up and down axis.
Note: This variable determines the speed at which the player's screen moves up and down while using the keyboard keys. The reason for this is that the keyboard does not have sensetivity states only an off and on state.
Type: Toggle
Default: 1
Description: Toggle prediction of entities between network packets.
Type: Toggle
Default: 0
Description: Toggle automatic running.
Type: Toggle
Default: 0
Description: Toggle the display of missed predictions.
Type: Toggle
Default: 0
Description: Toggle the display of latency information for network packets.
Type: Register
Default: 200
Description: The maximum left and right movement speed.
Type: Toggle
Default: 0
Description: Toggle the display of information for map statistics.
Type: Toggle
Default: 0
Description: Toggle the use of stereoscopic display mode.
Type: Register
Default: 0.4
Description: The seperation value between the left and right images in stereoscoptic mode.
Type: Toggle
Default: 0
Description: Toggle the display of test for pallet blending.
Type: Toggle
Default: 0
Description: Toggle the display of a test for entities.
Type: Toggle
Default: 0
Description: Toggle the display of a test for dynamic lighting.
Type: Toggle
Default: 0
Description: Toggle the display of a test for particles.
Type: Register
Default: 120
Description: The maximum time in seconds that the client will wait for a network packet before disconnecting.
Type: Register
Default: 200
Description: The maximum speed for up and down movment.
Type: Toggle
Default: 1
Description: Toggle the use of Visual Weapons on players.
Type: Register
Default: 140
Description: The speed at which the player will turn while using a keyboard.
Note: This variable determines the speed at which the player's screen moves left and right while using the keyboard keys. The reason for this is that the keyboard does not have sensetivity states only an off and on state.
Type: Operation
Description: Clear the console of all text.
Type: Register
Default: 27901
Description: The port that the client uses for receiving message from the server.
Type: Function
Syntax:cmd (command)cmd
(command) (parameters)
Description: Send the command and/or parameters to the server.
List:baselines (random number)
(value) - Set up the initial values for spawning the player on the
map.begin (random number) - Spawn the player on
the map.configstrings (random number)
(value) - Set up the initial configuration for connecting the
client to the server.disconnect - Disconnect the client from
the server.download (filename) - *Disabled.
Download a file from the server.drop (item) - Drop
an item from the inventory.fov (value)- Set the
field-of-vision.gameversion - Display the date version of the
game.give (item)- Give an item to the
player.god - Toggle God mode.help - Display
the score screen.info - Display server
information.invdrop - Drop the currently selected item in the
inventory.inven - Display the inventory
screen.invnext - Select the next item in the
inventory.invprev - Select the previous item in the
inventory.invuse - Use the currently selected item from the
inventory.kill - Make the player commit
suicide.nextdl - *Unknown.noclip - Toggle
the ability of the player to walk though walls and
objects.notarget - Toggle the ability of the monsters to
detect the player.putaway - Putaway any menu screen or
inventory window.say (message) - Send a message to
all the players on the server.say_team (message) -
Send a message to all the players on the server who are on your
team.use - Use an item which is in the player's
inventory.wave (type)- Make the player character
display a hand gesture to other players on the
server.weapnext - Switch to the next weapon in the player's
inventory.weapprev - Switch to the previous weapon in the
player's inventory.
Note: Some commands that the client uses do not need to be prefixed
with cmd before sending them to the server. The function on this
command is to allow the client to perform actions which require information
from the server. This command is basically an interface between the client and
the server, where the client asks the server if it can perform an action, and
the server performs the action or rejects the request. This command is
automatically used by the client internally, so it is never necessary to call
this command unless performing some type of debugging.
Example:cmd godcmd give
all
Type: Operation
Description: Display a list of all available commands.
Type: Register
Default: 3
Description: The delay before console messages disappear from the screen.
Type: Function
Syntax: condump (filename)
Description: Dump the console text to a text file.
Note: It is not necessary to specify an extension to the
(filename) since a .txt extension as appended
automatically.
Example: condump context
Type: Function
Syntax:connect (IP
address)connect (IP address):(port)
Description: Connect the client to a server.
Note: It is usually not necessary to specify a (port)
unless the server is running on a different port than 29710,
which is the default port.
Example:connect 123.123.123.123connect
123.123.123.123:27911
Type: Toggle
Default: 0
Description: Toggle cooperative play.
Note: In cooperative mode, the dmflags variable is
disabled. Weapons will remain for all players to retrieve whereas other items
will disappear when picked up.
Type: Toggle
Default: 1
Description: Toggle the use of the crosshair.
Values:0 - Crosshair disabled.1 -
X crosshair enabled.2 - Dot crosshair
enabled.3 - Angle crosshair enabled.
Type: Operation
Description: Display a list of all variables, their flags, and their values.
Note: Each varaiable has a value and a state flag. If a variable has
the value of "", then that variable is empty.
List:* - Saved setting, will save changes to this
variable between games by writing it in the config.cfg
file.U - User variable, will show up in the output from the
userinfo command or dumpuser
command..S - Server variable, will show up in the output from
the serverinfo command.L - Delayed function,
will take action after a map change.- - Write protected, only
changable upon launching of the game with a command line parameter.
Type: Toggle
Default: 0
Description: Toggle the deathmatch game mode.
Type: Toggle
Default: 0
Description: Toggle the display of the debug graph.
Type: Command Line Parameter
Default: 0
Description: Set the game into dedicated server mode.
Note: This variable will determine if the game will load with a graphical interface used for single-player game or for the client mode use for gaming. When the variable is set to 1 the game will load with a text-only interface with server functions only. This is beneficial because a dedicated server is more efficient than a listen server.
Type: Function
Syntax: demomap (filename)
Description: Plays back a demo.
Note: The extension .bsp is appended to any
(filename) which does not contain an extension. The default
extension of a demo is .dm2. If any key is pressed during the
playback of a demo the main menu is displayed.
Example: demomap demo1.dm2
Type: Toggle
Default: 0
Description: Toggle the display of developer information.
Note: There are a lot of game message which are not displayed, this variable will allow for a game developer to read all of the internal messages that the game displays. A lot of this information is necessary for debugging the game or just watching the internal processes that the game goes through.
Type: Function
Syntax:dirdir (relative
path)/(filename mask)
Description: Display a directory listing.
Note: This command will display the files and directories of any
directory on the hard disk. It is necessary to specify the location of the
directory to be displayed using a relative path format. In a relative path the
character . means current path, .. means parent
path, and / or \ separates directories. It is also
necessary to specify a filename mask which will determine what files are
displayed. In a filemask the character ? substitutes for any
single character, * substitutes for any number of characters. If
the command is executed without parameters it will display the contents of the
quake2/baseq2/ directory.
Example:dirdir *.cfgdir
../*.*dir ..\*.*
Type: Operation
Description: Disconnects the client from the server.
Type: Bitmap
Default: 16
Description: The options which determine deathmatch game settings.
Values:1 - No Health.2 - No
Powerups.4 - Weapons Stay.8 - No Falling
Damage.16 - Instant Powerups.32 - Same
Map.64 - Teams by Skin.128 - Teams by
Model.256 - No Friendly Fire.512 - Spawn
Farthest.1024 - Force Respawn.2048 - No
Armor.4096 - Allow Exit.8192 - Infinite
Ammo.16384 - Quad Drop.32768 - Fixed
FOV.
Type: Function
Syntax: download (filename)
Description: This command will download any specified filename from the server.
Example: download players/male/grunt.pcx
Type: Function
Syntax: drop (item)
Description: Drop an item from the inventory.
List:adrenaline - Adrenaline.airstrike
marker - Airstrike Marker.ammo pack - Ammo
Pack.ancient head - Ancient Head.bandolier -
Bandoleer.bfg10k - BFG10K.blue key - Blue
Key.bullets - 50 Bullets.chaingun -
Chaingun.cells - 50 cells.commander's head -
Commander's Head.data cd - Data CD.data
spinner - Data Spinner.environment suit - Environment
Suit.grenade launcher - Grenade
Launcher.grenades - 5 Grenades.hyperblaster
- HyperBlaster.invulnerability -
Invulnerability.machinegun - Machinegun.power
cube - Power Cube.power screen - Power
Screen.power shield - Power Shield.pyramid
key - Pyramid Key.quad damage - Quad
Damage.railgun - Railgun.rebreather -
Rebreather.red key - Red Key.rocket launcher
- Rocket Launcher.rockets - 5 Rockets.security
pass - Security Pass.shells - 10
Shells.shotgun - Shotgun.silencer -
Silencer.slugs - 10 Slugs.super shotgun -
Super Shotgun.
Note: This only works in multiplayer games where instant powerups are disabled. Also, dropped items only stay on the map for 30-seconds, after that time they just disappear.
Example:drop shotgundrop quad
damage
Type: Function
Syntax: dumpuser (userid)
Description: Display user information.
Note: This command will display all variables flagged with the
U (user) flag, and their values.
Example: dumpuser 0
Type: Function
Syntax: echo (text)
Description: Display text to the console.
Example: echo Hey Foo!
Type: Function
Syntax: error "(text)"
Description: Quit the game with an error message.
Example: error "The Foo Overflowed"
Type: Function
Syntax: exec (filename)
Description: Execute a console script file.
Note: This is a very helpful command because it allows for the
execution of multiple commands which are stored in text files and are used to
setup the client or a server. The default extension for a console script is
.cfg, but an extension of .rc is also in common use
especially for player configuration scripts. The .rc extension
was derived from Unix shell scripts which also share the same extension.
Example: exec foo.rc
Type: Toggle
Default: 1
Description: Toggle the usage of the banlist.
Values:0 - Allow only the addresses in the banlist
to join the server.1 - Ban the addresses in the banlist from
joining the server.
Type: Toggle
Default: 0
Description: Toggle display of all game frames.
Note: If this variable is enabled the game will display all game frames thus slowing down the game in order to allow for the display of every frame. Normally the game will skip frames to keep the speed of the game constant.
Type: Register
Default: 4
Description: The number of messages that a client has to send in order to be considered a flood.
Type: Register
Default: 4
Description: The time in seconds in which the messages are send in order to be considered a flood.
Type: Register
Default: 10
Description: The time in seconds that a client will not be able to send any more message to the server because of the flood.
Type: Toggle
Default: 0
Description: Toggle the flushing of map during map changes.
Type: Register
Default: 90
Description: The size of the player's peripheral vision.
Type: Register
Default: 0
Description: The score that is necessary for changing of maps.
Type: Toggle
Default: 0
Description: Toggle the use of the forward and down movements into look up and look down.
Type: Toggle
Default: 0
Description: Toggle the ability of players to select weapons without ammo.
Type: String
Default: (none)
Description: The alternative location for the baseq2/
directory.
Note: This variable is used to inform Quake 2 to look for additional game information in the directory provided. This variable is used while playing different game modifications.
Type: String
Default: May 27 1998
Description: The internal date of game .dll file.
Type: String
Default: none
Description: The directory name where the game files are located when the server is running a custom game configuration.
Type: Function
Syntax: gamemap (filename)
Description: Start the server with a new map.
Note: The extension .bsp is appended to the
(filename) when it does not include an extension.
Example: gamemap base1
Type: String
Default: baseq2
Description: The internal name of the game .dll
file.
Type: Operation
Description: *Disabled.
Note: This command used to display the date version of the game.
Type: String
Default: male
Description: The gender of the player.
Note: This variable is necessary in order to display the proper death messages which might be gender related.
Values:male - Male death messages
displayed.female - Female death messages
displayed.none - Neutral death messages displayed.
Type: Toggle
Default: 1
Description: Toggle the use of automatic gender detection based on the player's model.
Type: Function
Syntax:give (item)give
(item) (amount)
Description: Give an item to the player.
Note: The amount parameter is only available when giving ammo and does not work for grenades. It is possible to take away items by giving a negative amount of an item.
List:all - All items.ammo - Full
ammo.armor - Full armor.health - Full
health.weapons - All weapons.shells - 10
Shells.bullets - 50 Bullets.grenades - 5
Grenades.rockets - 5 Rockets.slugs - 10
Slugs.cells - 50 Cells.combat armor - 1 unit
of Combat Armor.jacket armor - 1 unit of Jacket
Armor.armor shard - Armor Shard.power screen
- Power Screen.power shield - Power
Shield.shotgun - Shotgun.super shotgun -
Super Shotgun.machinegun -
Machinegun.chaingun - Chaingun.grenade
launcher - Grenade Launcher.rocket launcher - Rocket
Launcher.hyperblaster - HyperBlaster.railgun
- Railgun.bfg10k - BFG10K.adrenaline -
Adrenaline.ammo pack - Ammo Pack.bandolier -
Bandoleer.environment suit - Environment
Suit.invulnerability - Invulnerability.quad
damage - Quad Damage.rebreather -
Rebreather.silencer - Silencer.airstrike
marker - Airstrike Marker.ancient head - Ancient
Head.blue key - Blue Key.commander's head -
Commander's Head.data cd - Data CD.data
spinner - Data Spinner.power cube - Power
Cube.pyramid key - Pyramid Key.red key - Red
Key.security pass - Security Pass.
Example:give allgive rocket
launchergive shellsgive rockets
100
Type: Toggle
Default: 1
Description: Toggle the use of alternative code for 3D Labs video drivers.
Note: The drivers that 3D Labs release have some problems so this variable was developed to overcome those problems. Once the drivers are fixed this variable can be disabled.
Type: Toggle
Default: 0
Description: Toggle the emulation of missing OpenGL functions by the game software.
Type: Toggle
Default: 0
Description: Toggle the use of 16-bit textures.
Type: Toggle
Default: 0
Description: Toggle the clearing of the screen between frames.
Note: This is only necessary when developing a map and it is
necessary to clear extraneous screen information when floating outside of the
map for example. This is also helpful when using the gl_lockpvs
command.
Type: Toggle
Default: 1
Description: Toggle the use of OpenGL culling functions.
Note: The culling functions are used to remove certain map information which would not be rendered because it is covered by another object.
Type: String
Default: GL_BACK
Description: The name of the buffer that display information should be written to.
Type: String
Default: 3dfxgl
Description: The filename of the OpenGL .dll
driver.
Type: Toggle
Default: 1
Description: Toggle the use of dynamic lighting.
Type: Toggle
Default: 1
Description: Toggle the use of a compiled vertex array.
Type: Toggle
Default: 1
Description: Toggle the use of multiple texture processors.
Type: Toggle
Default: 1
Description: Toggle the use of textures with their own color pallets.
Type: Toggle
Default: 1
Description: Toggle the use of point parameter files.
Type: Toggle
Default: 1
Description: Toggle the use of the swap interval between frames.
Type: Toggle
Default: 0
Description: Toggle the use of gl_finish() function
after each frame.
Note: If this toggle is enabled the video card driver will send out
a gl_finish() call at the end of each frame for proper
timing.
Type: Toggle
Default: 0
Description: Toggle the blending of lights onto the environment.
Note: If this toggle is enabled the lights will blend into a translucent ball of light.
Type: Toggle
Default: 0
Description: Toggle the display of light map used for testing static lighting.
Note: If this toggle is enabled all of the textures will be removed from the display and only the static lights will be shown.
Type: Toggle
Default: 0
Description: Toggle the locking of the current PVS table.
Note: If this toggle is enabled the game will lock the PVS table in
the memory for the current location that the player is in and it will not let
it be updated by the player's movement. The PVS table determines what parts of
the map can be seen by the player and if they should be rendered. This
variable is used by map makers to lock the PVS from a certain location and
then move around to see what parts the game will render from that location and
then determine where hint brushes should be placed to limit the rendering. It
is helpful to enable the gl_clear command to avoid the hall of
mirrors effect on the unrendered parts of the level.
Type: Toggle
Default: 0
Description: Toggle the logging of all the OpenGL commands.
Note: If this toggle is enabled a file called gl.log is
produced with all of the OpenGL commands which were used by the game. Be
careful about using this command since the size of the log file can grow quite
large quick quickly.
Type: Toggle
Default: 3
Description: Toggle the screen resolution mode.
Values:0 - 320 x 2001 - 400 x
3002 - 512 x 3843 - 640 x
4804 - 800 x 6005 - 960 x
7206 - 1024 x 7687 - 1152 x
8648 - 1280 x 9609 - 1600 x 1200
Type: Register
Default: 1
Description: The brightness of a texture while it is being affected by dynamic lights.
Note: If the value is less than 1 then the texture
which on which the dynamic light is displayed will be darker than it's normal
color. If the value is more than 1 then the texture will be
brighter. This variable is mostly used to brighten up the lighting in the game
without changing any gamma information.
Type: Toggle
Default: 0
Description: Toggle the display of a monochromic light map to test dynamic lighting.
Note: If this toggle is enabled the wall textures will be removed from walls and replaced by a white texture. Also, all effects of dynamic lighting on different parts of the map will be displayed in a solid black color.
Type: Toggle
Default: 0
Description: Toggle the binding of textures to triangles.
Type: Toggle
Default: 0
Description: Toggle the usage of subimages for rendering.
Type: Register
Default: 1
Description: The value for the intensity of the particle A attributes.
Type: Register
Default: 1
Description: The value for the intensity of the particle B attributes.
Type: Register
Default: 0
Description: The value for the intensity of the particle C attributes.
Type: Register
Default: 4
Description: The maximum size for a rendered particle.
Type: Register
Default: 1
Description: The minimum size for a rendered particle.
Type: Register
Default: 4
Description: The default size for a rendered particle.
Type: Register
Default: 0
Description: The dimensions of displayed textures.
Note: The value of this variable will determine the dimensions of
the textures which are displayed in the game. The displayed textures are
shrunk by the formula 2^x where x is the value of
this register. Setting this to a value which is larger than zero might provide
performance increases on slow systems.
Type: Toggle
Default: 0
Description: The dimensions of displayed player skins.
Note: The value of this variable will determine the dimensions of
the player skins which are displayed in the game. The displayed skins are
shrunk by the formula 2^x where x is the value of
this register. Setting this to a value which is larger than zero might provide
performance increases on slow systems.
Type: Toggle
Default: 1
Description: Toggle pallet blending.
Note: The pallet blending effect is used while being injured, using a powerup, or under water. It might be beneficial to disable this effect to see clearly in water, but then if the player is being injured he won't know it.
Type: Toggle
Default: 1
Description: Toggle the rounding of texture sizes.
Note: If this toggle is enabled textures which are not sized to the power of 2 will be enlarged to the next higher power of 2. Normally textures will be shrunk to the next lower power of 2. Enabling this toggle will make some textures sharper such as monster skins but will degrade performance.
Type: Toggle
Default: 0
Description: Toggle the saturation of all lights.
Type: Toggle
Default: 0
Description: Toggle entity shadows.
Note: This function is far from perfect. Shadows will all be cast in
the same direction (angle 180 in reference to viewpos) from all
entities, including ones that are emitting light.
Type: Toggle
Default: 0
Description: This command toggles a map of the triangles that the engine is drawing for the current view. The edges of the triangles are shown in white and the faces are darkened.
Note: This command is unable to be used on a 3Dfx card. You need to be using the default OpenGL driver.
Type: Toggle
Default: 0
Description: Toggle the usage of mipmap information for the sky graphics.
Type: Register
Default: 1
Description: The delay between frame buffer swaps.
Type: Toggle
Default: default
Description: The color mode for alpha-blended textures.
Values:default - The default
mode.GL_RGBA - Unknown.GL_RGBA2 -
Unknown.GL_RGBA4 - Unknown.GL_RGBA8 -
Unknown.GL_RGB5_A1 - Unknown.
Type: String
Default: GL_LINEAR_MIPMAP_NEAREST
Description: The texture drawing mode.
Values:GL_NEAREST - This will enable nearest
neighbor interpolation and will therefore appear similar to software Quake2
except with the added colored lighting.GL_LINEAR - This will
enable linear interpolation and will appear to blend in objects that are
closer than the resolution that the textures are set
as.GL_NEAREST_MIPMAP_NEAREST - Nearest neighbor interpolation
with mipmapping for bilinear hardware. Mipmapping will blend objects that are
farther away than the resolution that they are set as.
GL_LINEAR_MIPMAP_NEAREST - Linear interpolation with
mipmapping for bilinear hardware.GL_NEAREST_MIPMAP_LINEAR -
Nearest neighbor interpolation with mipmapping for trilinear
hardware.GL_LINEAR_MIPMAP_LINEAR - Linear interpolation with
mipmapping for trilinear hardware.
Type: Toggle
Default: default
Description: The color mode for solid-blended textures.
Values:default - The default
mode.GL_RGB - Unknown.GL_RGB2 -
Unknown.GL_RGB4 - Unknown.GL_RGB5 -
Unknown.GL_RGB8 - Unknown.GL_R3_G3_B2 -
Unknown.
Type: Toggle
Default: 0
Description: Toggle the usage of triple buffering for OpenGL cards.
Note: If you are using a 3Dfx Voodoo2 card this toggle will
automatically be set to 1 because these cards support triple
buffering by default.
Type: Toggle
Default: 0
Description: Toggle the use of vertex arrays.
Type: Toggle
Default: 0
Description: Toggle the clearing of the z-buffer between frames.
Note: If this toggle is enabled the game will not clear the z-buffer between frames. This will result in increased performance but might cause problems for some display hardware.
Type: Operation
Description: Toggle god mode for the player.
Note: When a player is in god mode he is indestructible, except for
the teleportation death (telefrag), or if he issues the kill
command. Also, players in god mode have a white aura effect around their
character so you always know who's using this command.
Type: Register
Default: 32
Description: The height in pixes of graphs.
Type: Register
Default: 1
Description: The vertical scale of displayed information on graphs.
Note: If this register is lower than 1 the data in the
graphs will be shrunk, if higher than 1 the data will be
enlarged.
Type: Register
Default: 0
Description: The vertical shift of information on graphs.
Type: Function
Syntax:gun_modelgun_model
(filename)
Description: Display a weapon model.
Note: This command is primarily used to test the look of the weapon models and to allow the display of each frame for a gun model. When this command is used without any parameters, it will return the default gun model.
Example:gun_modelgun_model
weapons/v_shotg
Type: Operation
Description: Displays the next frame for the current weapon model
and reports the frame number. The first frame 0 is the default
frame where the gun animation takes place. If the frame number is increased to
anything above that frame, the gun model will be frozen in that frame until
the gun frame is returned to 0.
Type: Operation
Description: Displays the previous frame for the current weapon
model and reports the frame number. The first frame 0 is the
default frame where the gun animation takes place. If the frame number is
increased to anything above that frame, the gun model will be frozen in that
frame until the gun frame is returned to 0.
Type: Toggle
Default: 0
Description: The x-axis position of the player's gun.
Note: The x-axis is the left to right axis with negative numbers on the left and positive on the right.
Type: Toggle
Default: 0
Description: The y-axis position of the player's gun.
Note: The y-axis is the forward and back axis with negative numbers back and positive forward.
Type: Toggle
Default: 0
Description: The z-axis position of the player's gun.
Note: The z-axis is the up and down axis with negative numbers down and positive up.
Type: Toggle
Default: 0
Description: Toggle the handedness of the player.
Values:0 - Gun on the right and shots from the
right.1 - Gun on the left and shots from the
left.2 - No gun and shots from the center.
Type: Operation
Description: Sends a manual heartbeat to the master servers.
Type: Toggle
Default: 0
Description: Toggle the display of timing information.
Output:all - Total time.sv -
Server time.gm - Game time.cl - Client
Time.rf - Renderer Time.
Type: String
Default: noname
Description: The name of the server.
Type: Register
Default: *Unknown
Description: *Unknown
Type: Operation
Description: Display a list of all loaded images, their types, dimensions, and color pallets. Also display the total texel count.
Note: There are five columns of information. The first column identifies the image type, consult the list below for all possible types. The second column shows the x-axis size of the image. The third column shows the y-axis size of the image. The fourth column shows the image's dependency on the pallet, either the red-green-blue pallet, or the internal game pallet. The fifth column shows the image's path and filename.
List:M - Model texture used for models shown in the
map.P - Player images, shown on the player's view
screen.S - Sprite picture.W - Wall texture
used for the map.RGB - The image uses the standard RGB
pallet.PAL - The images uses the internal game
pallet.
Type: Function
Syntax: impulse (number)
Description: Send an impulse command to the server.
Note: This command will be used by various mods to allow clients to access extra game features. Currently there are no internal impulses in Quake 2.
Example: impulse 1
Type: Command Line Parameter
Default: 1
Description: Toggle the initialization of joystick.
Note: If this variable is set to 0 the game will not
try to detect the joystick and will disable all joystick functions in the
game.
Type: Command Line Parameter
Default: 1
Description: Toggle the initialization of the mouse.
Note: If this variable is set to 0 the game will not
try to detect the mouse and will disable all mouse functions in the game.
Type: Toggle
Default: 0
Description: Toggle the use of input from the joystick.
Type: Toggle
Default: 1
Description: Toggle the use of input from the mouse.
Type: Operation
Description: Display server information.
Note: This command is pretty much broken. It cannot be executed by
the server, and when it is executed by the client the output from the command
is only displayed on the server's console. Basically this is a broken version
of the serverinfo command since it displays the same
information.
Type: Register
Default: 2
Description: The brightness of the OpenGL display.
Type: Operation
Description: Drop the currently selected item.
Note: This is a very useful command in team games where you can supply your team with ammo, powerups, and weapons. This command will drop the item which is selected in the inventory to the ground a little in front of you. If a player is standing directly in front of you and you use this command he will automatically pick up the item that you drop.
Type: Operation
Description: Display the inventory screen.
Note: When the inventory screen is shown, you can use the
invnext and invprev commands to select items from
the inventory. Also, if the inventory screen holds more information than it
can show, using the above mentioned commands will scroll the inventory screen
to show all the information.
Type: Operation
Description: Select the next item in the inventory.
Note: You can use this command without having the inventory screen up, in which case the little icon in the lower-right part of the screen will show which item is currently selected.
Type: Operation
Description: Select the next powerup in the inventory.
Note: You can use this command without having the inventory screen up, in which case the little icon in the lower-right part of the screen will show which item is currently selected.
Type: Operation
Description: Select the next weapon in the inventory.
Note: You can use this command without having the inventory screen up, in which case the little icon in the lower-right part of the screen will show which item is currently selected.
Type: Operation
Description: Select the previous item in the inventory.
Note: You can use this command without having the inventory screen up, in which case the little icon in the lower-right part of the screen will show which item is currently selected.
Type: Operation
Description: Select the previous powerup in the inventory.
Note: You can use this command without having the inventory screen up, in which case the little icon in the lower-right part of the screen will show which item is currently selected.
Type: Operation
Description: Select the previous weapon in the inventory.
Note: You can use this command without having the inventory screen up, in which case the little icon in the lower-right part of the screen will show which item is currently selected.
Type: Operation
Description: Use the currently selected item from the inventory.
Type: Register
Default: localhost
Description: The IP address used by the server.
Type: Register
Default: 0
Description: *Unknown
Type: Register
Default: 0
Description: *Unknown
Type: Register
Default: 0
Description: *Unknown
Type: Register
Default: 0
Description: *Unknown
Type: Toggle
Default: 0
Description: Toggle advanced joystick functions.
Type: Operation
Description: Initialize the joystick's advanced features.
Type: Toggle
Default: 0
Description: Toggle the mapping of the joystick r-axis.
Values:0 - Axis not used.1 - Axis
is for forward and backward movement.2 - Axis is for
pitch.3 - Axis is for side to side
movement.4 - Axis is for yaw.16 +
(value) - Axis Toggle the mapping is relative (no stop
points).
Type: Toggle
Default: 0
Description: Toggle the mapping of the joystick u-axis.
Values:0 - Axis not used.1 - Axis
is for forward and backward movement.2 - Axis is for
pitch.3 - Axis is for side to side
movement.4 - Axis is for yaw.16 +
(value) - Axis Toggle the mapping is relative (no stop
points).
Type: Toggle
Default: 0
Description: Toggle the mapping of the joystick v-axis.
Values:0 - Axis not used.1 - Axis
is for forward and backward movement.2 - Axis is for
pitch.3 - Axis is for side to side
movement.4 - Axis is for yaw.16 +
(value) - Axis Toggle the mapping is relative (no stop
points).
Type: Toggle
Default: 0
Description: Toggle the mapping of the joystick x-axis.
Values:0 - Axis not used.1 - Axis
is for forward and backward movement.2 - Axis is for
pitch.3 - Axis is for side to side
movement.4 - Axis is for yaw.16 +
(value) - Axis Toggle the mapping is relative (no stop
points).
Type: Toggle
Default: 0
Description: Toggle the mapping of the joystick y-axis.
Values:0 - Axis not used.1 - Axis
is for forward and backward movement.2 - Axis is for
pitch.3 - Axis is for side to side
movement.4 - Axis is for yaw.16 +
(value) - Axis Toggle the mapping is relative (no stop
points).
Type: Toggle
Default: 0
Description: Toggle the mapping of the joystick z-axis.
Values:0 - Axis not used.1 - Axis
is for forward and backward movement.2 - Axis is for
pitch.3 - Axis is for side to side
movement.4 - Axis is for yaw.16 +
(value) - Axis Toggle the mapping is relative (no stop
points).
Type: Register
Default: -1
Description: The sensitivity speed for moving forward and backward.
Type: Register
Default: 0.15
Description: The dead-zone for moving forward and backward.
Type: String
Default: joystick
Description: Joystick Name.
Type: Register
Default: 1
Description: The speed that you look up and down.
Description:
Type: Register
Default: 0.15
Description: The dead-zone for looking up and down.
Type: Register
Default: -1
Description: The sensitivity speed for moving side to side.
Type: Register
Default: 0.15
Description: The dead-zone for moving side to side.
Type: Register
Default: -1
Description: The sensitivity speed for moving up and down.
Type: Register
Default: 0.15
Description: The dead-zone for moving up and down.
Type: Register
Default: -1
Description: The sensitivity speed for looking left and right.
Type: Register
Default: 0.15
Description: The dead-zone for looking left and right.
Type: Function
Syntax:kick
(userid)kick (username)
Description: Remove a client from the server.
Note: You can remove clients from the server by their (userid) or by their (username).
Type: Operation
Description: Make the player commit suicide.
Note: This command is commonly used in single-player mode where the player gets stuck somewhere and can't get out or if he just wants to start over. This command can also be used in multiplayer by players who want to take the easy way out of life.
Type: Operation
Description: Shutdown the server.
Note: This command will terminate the server, but it will not exit from the server's console. This is useful when changing mods for the server remotely.
Type: Function
Syntax: link (from path) (to
path)
Description: Alter the actual location of a directory inside the game.
Note: This command will allow you select where the game will look for its files. A set of empty quotes will clear any modifications that you make to a directory location.
Example:link maps ""link maps
"dmmaps"link maps "mission/maps"link
sound/player/male "c:/quake2/newsounds/"
Type: Function
Syntax: load (savegame)
Description: Load a saved game.
Note:The place where saved games are stored in is the
baseq2/save directory. Within it are separate directories for
each saved game. And within those directories are separate files for each map
in the game unit which hold the status of all entities for each map.
Example: load save3
Type: Operation
Description: Show the "Loading..." picture.
Note: This is an internal command used by the client to show the "Loading..." graphic.
Type: Toggle
Default: 0
Description: Toggle the logging of map statistics.
Type: Toggle
Default: 0
Description: Toggle the logging of console messages.
Values:0 - Disable logging.1 -
Enable buffered logging where the log file is only updated when the text
buffer fills up. The log file will be deleted and overridden when a new server
starts up.2 - Enable continuous logging where the log file is
updated with every new line of text. The log file will be deleted and
overridden when a new server starts up.3 - Enable continous
logging where the log file is updated with ever new line of text. The log file
will be appended to and logging will continute to the same log file when a new
server starts up.
Type: Toggle
Default: 1
Description: Toggle automatic centering of the screen when using
+mlook.
Type: Toggle
Default: 0
Description: Toggle automatic strafing when using
+mlook.
Type: Toggle
Default: 0
Description: Toggle the filtering of mouse input.
Note: If this toggle is enabled the game will take the average value between two consecutive numbers produced by the mouse input and use that value as the movement value. Enabling this variable will cause the mouse movement to be smoother but there will be increased latency between the actual mouse movement and movement in the game.
Type: Register
Default: 1
Description: The sensitivity for moving forward and back with the mouse.
Type: Register
Default: 0.022
Description: The sensitivity for looking up and down with the mouse.
Type: Register
Default: 0.8
Description: The sensitivity for moving left and right with the mouse.
Type: Register
Default: 0.022
Description: The sensitivity for looking left and right with the mouse.
Type: Function
Syntax: map (filename)
Description: Load maps, demos, or images.
Note: This is an all purpose loading command. This command can load
maps to play, play demos, and also show images on the screen. This seems to be
a compilation of the gamemap and demomap commands.
By default, this command will try to load a map when a filename is specified
without an extension.
Example:map base3map
demo1.dm2map colormap.pcx
Type: *Unknown.
Default: 0
Description: *Disabled.
Type: String
Default: base1
Description: The name of the current map.
Note: This is a read-only variable which displays the name of the current map.
Type: Register
Default: 1
Description: The maximum number of clients for the server.
Type: Register
Default: 1024
Description: The maximum number of entities on a map.
Type: Register
Default: 4
Description: The maximum number of spectators for the server.
Type: Operation
Description: Display the server address book menu.
Type: Operation
Description: Display the game credits.
Type: Operation
Description: Display the deathmatch options menu.
Type: Operation
Description: Display the single-player game menu.
Type: Operation
Description: Display the join server menu.
Type: Operation
Description: Display the key configuration menu.
Type: Operation
Description: Display the load game menu.
Type: Operation
Description: Display the main menu.
Type: Operation
Description: Display the multiplayer menu.
Type: Operation
Description: Display the options menu.
Type: Operation
Description: Display the player configuration menu.
Type: Operation
Description: Display the quit menu.
Type: Operation
Description: Display the save game menu.
Type: Operation
Description: Display the start server menu.
Type: Operation
Description: Display the video configuration menu.
Type: Operation
Description: Prompt for a message to send.
Note: This command prompts for a message to send to everybody on the server. It is used for casual talking on the server.
Type: Operation
Description: Prompt for a message to send to team members.
Note: This command prompts for a message to send to your team players on the server. This is used for team talk when relaying strategy information, attack plans, or pleads for help.
Type: Operation
Description: Display information on all loaded models, maps, and sprites.
Note: This command will display information about models, maps, and sprites which are loaded into the memory in a list format. The first column in the list shows the size of the model, map, or sprite. The second column in the list shows the path and file location. The last line of the output shows the total size of all models, maps, and sprites currently present in the memory.
Type: Toggle
Default: 1
Description: Toggle the display of messages.
Values:0 - All messages.1 - Most
messages.2 - Limited messages.3 - Minimal
messages.4 - No messages.
Type: String
Default: Player
Description: The player's name.
Type: Toggle
Default: 0
Description: Displays information about password settings on the server.
Note: This is a read-only variable which is displayed globally in
the serverinfo information to inform game browser software to
determine the password settings on the server. A program such as GameSpy could
use the output from this variable to ask the user for the password or the
spectator password before he joins the game. The server uses the
password and the spectator_password variables to set
the appropriate password. Once a password has been set to either one of these
variables then this variable will be automatically updated to display
information about which passwords are necessary to play or spectate on the
server.
Values:0 - No passwords required.1
- Password reguired to play on the server.2 - Password
required to sepectate on the server.3 - Password required to
play or spectate on the server.
Type: *Unknown.
Default: 0
Description: *Disabled.
Type: Toggle
Default: 0
Description: Toggle the display of the network performance graph.
Note: The size of each bar is the latency time. A green bar indicates a successful packet transfer. A red bar indicates a lost packet.
Type: String
Default: (none)
Description: Used for looping the introduction demos.
Note: This variable is used to loop the introduction demos. This
variable holds the name of the next alias to be executed after the demo
finishes playing. A looping series of aliases is created which look something
like 'alias l1 "demomap demo1.dm2; set nextserver l2"' and
'alias l2 "demo2.dm2; set nextserver l1"'. These two aliases
would loop the demos until interrupted with a key press.
Type: Operation
Description: Toggle no clipping mode.
Note: When no clipping mode is enabled the player becomes a kind of
a ghost, where he is able to walk through walls, objects, or other players.
This command is mostly used for fly around the map or when the player becomes
stuck and can't get out in any normal fashion. Also, if you set the variable
gl_clear to 1 and gl_polyblend to
0 the areas outside of the map will turn pink and the annoying
flashing images will disappear when outside of the map and using the OpenGL
video driver. When using the Software video driver just set the variable
cl_blend to 0 to achieve a similar effect.
Type: Command Line Parameter
Default: 0
Description: Toggle the use of IPX network protocol.
Type: Operation
Description: Toggle the ability of the monsters to detect the player.
Note: When in this mode is turned on monsters cannot see the player. If the player attack a monster the monster will see the player then and retaliate in the normal fashion. This command is useful to level author for walking around their level checking if all the monsters are being good and are in their right spots.
Type: Command Line Parameter
Default: 0
Description: Toggle the use of the UDP TCP/IP network protocol.
Type: String
Default: (none)
Description: The server password.
Note: If this variable is set to none then no password
is required to enter the server.
Type: Operation
Description: Display the path and link information.
Note: All the information about what path locations the game is
using is displayed here. Also, all the .pak files which are being
used by the game are displayed. This is a very helpful command in
investigating in the game has access to all the necessary information.
Type: Operation
Description: Toggle pausing of the game.
Note: This command is only available in single-player mode, and is useful if the player has to pause the game because of a phone call, or he needs some refreshment.
Type: Toggle
Default: 1
Description: Toggle the pausing of the game.
Type: Operation
Description: Display information about servers in the address book.
Note: This command will make two attempts to retrieve information
about servers. The first attempt is made by broadcasting to all the servers on
the current subnet to respond with their information. The second attempt is
made by retrieving the information about servers which appear in the address
book. The addresses of the servers in the address book appear in the
adr? variables. Unfortunately, this command does not actually
ping the servers to find out their latency, it just retrieves information
about the current map and the number of players.
Type: Function
Syntax: play (filename)
Description: Play a sound file.
Note: This command adds a sound/ prefix directory when
executed, just keep this in mind when playing your own sound files.
Example:play doors/dr1_strt.wavplay
items/n_health.wav
Type: Operation
Description: List in console all players in the game, their score, and the connect time.
Type: Operation
Description: List in console all players in the game.
Type: Register
Default: 27910
Description: The TCP/IP port number used by the server.
Note: If you are running multiple servers on the same computer then
you must start each server with the '+set port 27910' parameter
to manually set the port number for each server. It is recommended that
servers use incremental port numbers, i.e. 27910, 27911, 27912. This makes it
easy for the players to connect to the other servers without having to
remember their port numbers.
Type: Operation
Description: Load up all the necessary information before entering a map.
Note: This is an internal command used to load up all the necessary models, sounds, sprites, and images before starting a level. This command is send by the server to the client right before the server is ready to accept the client into the game. This command checks what level the server is running, and using that information compiles a list of all necessary games files that should be loaded up for that specific map, and loads them.
Type: Operation
Description: *Disabled.
Note: This command has been disabled and it's use is unknown.
Type: Command Line Parameter
Default: 31
Description: The version number of the Quake 2 game protocol.
Note: This is a read-only variable.
Type: Toggle
Default: 0
Description: Toggle listing server in id's master server list.
Type: Command Line Parameter
Default: 35462
Description: The random internal network protocol port for Network Address Translation schemes.
Note: This is a read-only variable. The value in the variable represents a random network protocol port which is used to help out any Network Address Translation proxies. This allows more than one person to play from behind a NAT router by using only one IP address.
Type: Operation
Description: Quit the game.
Note: This command will disconnect from the server and shutdown the client program.
Type: Toggle
Default: 1
Description: Toggle the display of entities on the map.
Type: Toggle
Default: 1
Description: Toggle the display of walls and map BSP objects.
Type: Toggle
Default: 0
Description: Toggle the display of the render speeds in milliseconds.
Type: Toggle
Default: 0
Description: Toggle the use of maximum texture brightness.
Type: Toggle
Default: 1
Description: Toggle the prediction of model movment.
Type: *Unknown.
Default: 0
Description: *Disabled.
Type: Toggle
Default: 0
Description: Toggle the rendering of objects which are covered up.
Type: Toggle
Default: 0
Description: Toggle the refreshing of the renderer display.
Type: Toggle
Default: 0
Description: Toggle the use of BSP VIS tables.
Note: The VIS tables are created when a level is processed by a VIS program. The VIS tables hold information about which areas should be displayed from other areas.
Type: Toggle
Default: 0
Description: Toggle the display of the renderer statistics.
Type: Register
Default: 2500
Description: The maximum number of bytes that the server should send to the client.
Note: Limit this value to a number close to the CPS speed that your connection can receive. A 28.8k/33.6 modem could be anywhere from 2400 to 3100 depending on compatibility between ISP and user modems. A good 53.3k connection with a 56k modem should be set from 4400 - 4800.
Type: Function
Syntax:rcon (password)
(command)rcon (command)
Description: Remotely control a server.
Note: This command is used to control a server from a client. This
is very useful if the server is running at a remote location, and the server
administrator does not have physical access to the server. There are two
different syntax versions to this command. If the variable
rcon_password is set the second syntax may be used since the
password field will be filled automatically by the client. Also, be aware that
it is possible to send commands to a server to which the client is not
connected. This is accomplished with the setting of the
rcon_address variable to the server's IP address. Using the
command, a server administrator is able to control a server as if at the
server's console.
Example:rcon foo "map base1"rcon "map
base1"
Type: String
Default: (none)
Description: The address to which rcon commands should
be sent.
Type: String
Default: (none)
Description: The password that is used to access rcon
functions.
Type: Operation
Description: Reconnect to the server.
Note: This command will disconnect the client from the server, and automatically reconnect the client to the server. This is useful if the connection gets hung-up for some reason.
Type: Function
Syntax: record (demoname)
Description: Record a demo.
Note: The player has to be in a map to start recording a demo. Also,
to stop the recording of a demo use the stop command. Demo files
have the default extension of .dm2 and are placed in the
baseq2/demos directory.
Example: record foodemo
Type: Register
Default: 0.002
Description: The amount that the player should tilt up and down while running.
Type: Register
Default: 0.005
Description: The amount that the player should tilt left and right while running.
Type: Toggle
Default: 1
Description: Toggle the use of sound hardware.
Type: Register
Default: 11
Description: The sampling rate in KHz of the sound samples.
Note: For high-quality sound samples use a value of
22.
Type: Toggle
Default: 1
Description: Toggle if the sound samples should be loaded as 8-bit files.
Type: Register
Default: 0.2
Description: The delay before mixing sound samples.
Type: Toggle
Default: 0
Description: Toggle the use of the DirectSound primary buffer.
Note: If this toggle is enabled it might cause problems for some sound hardware, use with caution.
Type: Toggle
Default: 0
Description: Toggle the display of all sounds which are currently playing.
Type: Toggle
Default: 0
Description: Toggle the generation of a test tone to test the sound hardware.
Type: Register
Default: 0.7
Description: The volume for the playback of sound samples.
Type: Toggle
Default: 0
Description: Toggle the playback of only .wav file
sound samples.
Type: Function
Syntax: save (savegame)
Description: Save the game.
Note: The save game operation will create a directory named after the parameter. All save game files will reside in that directory. And within that directory are separate files for each map in the game unit which hold the status of all entities for each map.
Example: save mygame
Type: Function
Syntax: say (message)
Description: Send a message to all the players on the server.
Note: This command is not necessary when typing directly on the console since the player can just type a message and send it like it was a command. This command is mostly useful when creating aliases which broadcast frequently used messages or player taunts.
Example:say I am the master Foo!say
Thanks man!say Good bye everybody...say
Hello all, The Foo Master has arrived to kick butt!
Type: Function
Syntax: say_team (message)
Description: Send a message to all the players on the server who are on your team.
Note: This command can be used directly from the console to send messages to team mates. It can also be used to create aliases which broadcast frequently used team messages or when planning strategy with team mates.
Example:say_team Let's attack
now!say_team Let's regroup and kick the foo out of
them!say_team The base has been overrun!
Type: Operation
Description: Bring up score screen.
Type: Register
Default: 2.5
Description: The amount of time in seconds that center print messages will be displayed.
Type: Register
Default: 3
Description: The speed at which the console is raised and lowered.
Type: Toggle
Default: 0
Description: Toggle the display of extended characters on the client's display.
Type: Register
Default: 8
Description: The speed in characters-per-second that messages should scroll on the client's screen.
Type: Toggle
Default: 1
Description: Toggle the display of the pause graphic.
Type: Toggle
Default: 0
Description: Toggle the display of the slow frame-rate graphic.
Type: Operation
Description: Take a screenshot of the current view.
Note: This command will take a screen shot of the current frame
buffer. When a screen shot is taken while using software mode, the screen shot
will be in the PCX format. When the screen shot is taken while
using the OpenGL mode, the screen shot will be in TGA format to
save allow the saving of high-color video mode information. This command is
most useful when saving score information at the end of a match, or when
taking screen shots of weird things in the game.
Type: Register
Default: 3
Description: The mouse sensitivity.
Type: Operation
Description: Report server information.
Note: This command will look for all the variables marked with the
S (server) flag and report those variables and their settings. It
is quite possible to create your own server variables using the
set command and make them show up with this command and display
them to all those server browser programs such as QView and GameSpy. It is
advisable to create server variables with the names admin to
report the name of the administrator, email to report the email
address of the admin, location to tell the physical location of
the server, and site to report the address of the web site
associated with this server.
Type: Function
Syntax: serverrecord (demoname)
Description: Record a demo from the server with views of all players.
Note: The demo that is going to be recorded with contain the data so that the view from each player's perspective is saved. This allows the server to record a one demo for all the players. A server recorded demo cannot be played back by Quake 2 without undergoing editing to separate out all of the different views.
Example: serverrecord foodemo
Type: Operation
Description: Stop the recording of a server demo.
Type: Function
Syntax:set (variable) (value)
(flag)
Description: Set or create a variable.
Note: This command is used mostly to create new variables or change
the state flags for current variables. If a variable already exists it is not
necessary to use the set command to change the value of that
variable, it is just possible to use the simple syntax "variable
(value)". It is also very helpful to server administrators which
want to setup dedicated variables to hold information about the server such as
the email of the administrator, the location of the server, or the
message-of-the-day. Another thing, variables which have no value will not show
up when the commands serverinfo or userinfo are
executed.
Flags:s - Server flag. If this flag is set the
variable and it's value will show up when the command serverinfo
is executed.u - User flag. If this flag is set the variable
and it's value will show up when the command userinfo is
executed.
Example:set foo "The Master Foo"set
foospeed 800set admin MasterFoo sset email
masterfoo@foo.org sset clan "Clan Foo Masters"
u
Type: Function
Description: Set external environment variables from inside the game.
Note: This command can be used to pass settings from inside the game to the operating system with the use of environment variables. This command is the most useful for passing variables directly to the video driver libraries. Typing the command and the environment variable without being followed by a value will display the assigned value.
Example: setenv fx_glide_shameless_plug 1 ; vid_restart
setenv fx_glide_shameless_plug
Type: Function
Syntax: setmaster (IP address 1) (IP
address 2) ... (IP address 7)
Description: Link the server to a master.
Note: It is possible to link a single server to as many as 7
masters. By linking the server to a master the master will add the server to a
general list of all servers. Masters are then queried by server browser
programs such as GameSpy to retrieve a list of game servers. The server will
also send a heartbeat to the master once in a while to inform the master that
the server is still alive and to prevent the master from removing the server
from the list. Currently this command when executed without a master IP tries
to register itself with the id Software Master at
192.246.40.37:27900.
Example:setmaster
123.123.123.123setmaster 123.123.123.123 123.123.123.124
123.123.123.125 123.123.123.126
Type: Toggle
Default: 0
Description: Toggle the display of clamping information which relates to network performance.
Type: Toggle
Default: 0
Description: Toggle the display of informati