head 1.3; access; symbols; locks bilbo:1.3; strict; comment @# @; 1.3 date 2003.09.12.19.38.27; author bilbo; state Exp; branches; next 1.2; 1.2 date 2003.09.12.15.43.07; author bilbo; state Exp; branches; next 1.1; 1.1 date 2003.09.12.13.19.02; author bilbo; state Exp; branches; next ; desc @@ 1.3 log @*** empty log message *** @ text @Console commands and variables reference

Console commands and variables reference

CommandTypeDescription
aliascommandCreate a command alias (parameter: Alias Command)
bindcommandBind command to keystroke (parameters: Key Command)
bomb_throw_speedvariableSpeed of the bombs you will throw
bomb_throwup_anglevariableAngle between direction of the view and direction the bombs are thrown (in degrees) - can be between 0 (throw in direction) and 90 (throw maximally upwards)
centerviewcommandCenter view
chat_messagesvariableMaximal number of last chat messages shown in main window
chat_timeoutvariableHow long are chat messages displayed in main window (miliseconds)
clearcommandClear console scrollback buffer
clear_historycommandClear console command history
cmd_autostartvariableCommand launched on program startup, after config files are loaded
connectcommandConnects to a network game (parameter: hostname[:port])
console_alphavariableTransparency of console
console_font_alphavariableTransparency of console font
console_heightvariableHeight of console (relative to screen height)
console_history_sizevariableNumber of console command remembered in history
console_logvariableIf enabled, all console messages are logged to file (see console_logfile variable)
console_logfilevariableLog all console messsages to given file (if console_log enabled)
disconnectcommandDisconnect from network game (optional parameter: message for server)
echocommandEcho string to console (parameter: string)
execcommandExecute a script (parameter: filename)
flyvariableWhen set, player can fly
font_xvariableX Size of console font in pixels
font_yvariableY Size of console font in pixels
fovvariableField of view
fraglimitvariableLimit of score (frags)
gammavariableGamma correction (BROKEN)
generate_2dcommandGenerate 2d landscape (parameters: X Y Height)
generate_3dcommandGenerate 3d maze (parameters: X Y Z Corner)
glinfocommandPrint info about OpenGL
gravityvariableGravity
groundcontrolvariableType of player control (quake-like/6DOF)
helpcommandPrint helptext for command or variable (parameter: command or variable name)
killservercommandStop listening for network connections and disconnect all players (optional parameter: message for clients)
list_classcommandList all classes with reference count
list_funccommandList all object functions
list_modelcommandList all models with reference count
list_netcommandLists all open and listening network connections
list_objcommandList all objects in world
list_soundscommandList all sounds in memory
listencommandStart listening for incoming network connections (optional parameter: port)
loadcommandLoad new map in .b4d format (parameter: filename)
mapcommandLoad new map in .map format (parameter: filename)
menucommandInvoke menu (parameter: name of menu)
menu_addcommandAdds menu with given name and definition (parameters: Name Definition)
menu_bindcommandShows menu where you can configure keybinds
menu_delcommandDeletes menu with given name (parameter: Name)
menu_listcommandLists all menus registered in game
mouse_unlockvariableToggle whether mouse is free to move, or held within window center to allow mouselook
namecommandChange or show nickname used in network play (optional parameter: new name)
net_scancommandScan local network for running servers on given port (or default port if none given). Results are written to console
noclipvariableWhen set, no collisions are done
pausecommandPause/unpause the game
player_addcommandAdd human-controlled player to game
player_killcommandRemove player with given number from game (parameter: number, last=last player)
player_listcommandList players in game
player_nextcommandSwitches to next player
player_prevcommandSwitches to previous player
player_setnumcommandSet number of player. Adds/deletes players as necessary (parameter: number of players)
player_usecommandSwitches to player with given number (parameter: number)
pposcommandPrint player position
quitcommandQuit the game
r_clipbackvariableFar clipping distance
r_clipfrontvariableNear clipping distance
r_fog_colorvariableFog color
r_fog_distancevariableFog distance
r_fpsvariableDraw FPS information
r_skyboxvariableTurn skybox on/off
r_skymapcommandChange skybox (parameter: name of skybox)
r_vidmodecommandChange video mode (BROKEN)
r_ztrickvariableUse trick to not clear zbuffer (reduces zbuffer precision)
savealiasescommandSave aliases to specified file (parameter: filename)
saveallconfigcommandSave all game configuration to standard files
saveconfigcommandSave game configuration to specified file (parameter: filename)
saycommandSend a chat message to all connected players (parameter: message)
screenshotcommandTake a screenshot in targa format (optional parameter: filename)
sensitivityvariableSensitivity of mouse
sensitivity_hvariableHorizontal sensitivity of mouse
sensitivity_vvariableVertical sensitivity of mouse
servernamevariableServer name send to clients in network play
silentvariableTurn verbosity on console on/off
snd_volumevariableSound volume
speedvariableSpeed of player movement on ground
speed_airvariableSpeed of player movement while in air
survivalvariableIf set to 1, nobody can respawn (survival mode)
tex_flushcommandFlush all textures with reference count equal to zero (unused textures)
tex_listcommandList all textures with reference count
unaliascommandDeletes a command alias (parameter: Alias)
unbindcommandDelete binding of keystroke to command (parameter: Key)
unbindallcommandDelete all keystroke bindings
versioncommandPrint version of program
window_xvariableX size of game window in pixels
window_yvariableY size of game window in pixels
Total 92 command and variables @ 1.2 log @*** empty log message *** @ text @d2 1 d4 93 a96 93 d98 1 a98 1 Total command and variables @ 1.1 log @Initial revision @ text @d4 4 a7 4 d9 13 a21 6 d24 13 a36 12 d39 2 d43 13 a55 4 d57 1 a57 2 d61 1 d63 6 a68 27 a69 2 d71 2 d74 6 d82 3 a84 11 a86 2 d88 8 a95 2 d97 1 @
CommandTypeFlagsDescription
aliascommandCreate a command alias (parameter: Alias Command)
bindcommandBind command to keystroke (parameters: Key Command)
bomb_throw_speedvariablefloat, min=0.1, max=999, savedSpeed of the bombs you will throw
bomb_throwup_anglevariablefloat, min=0, max=90, savedAngle between direction of the view and direction the bombs are thrown (in degrees) - can be between 0 (throw in direction) and 90 (throw maximally upwards)
centerviewcommandCenter view
chat_messagesvariableint, min=0, max=50, savedMaximal number of last chat messages shown in main window
chat_timeoutvariableint, min=0, savedHow long are chat messages displayed in main window (miliseconds)
clearcommandClear console scrollback buffer
clear_historycommandClear console command history
cmd_autostartvariablestring, min=0, max=0, savedCommand launched on program startup, after config files are loaded
connectcommandConnects to a network game (parameter: hostname[:port])
console_alphavariablefloat, min=0, max=1, savedTransparency of console
console_font_alphavariablefloat, min=0, max=1, savedTransparency of console font
console_heightvariablefloat, min=0.05, max=1, savedHeight of console (relative to screen height)
console_history_sizevariableint, min=0, savedNumber of console command remembered in history
console_logvariablebool, savedIf enabled, all console messages are logged to file (see console_logfile variable)
console_logfilevariablestring, min=0, max=0, savedLog all console messsages to given file (if console_log enabled)
disconnectcommandDisconnect from network game (optional parameter: message for server)
echocommandEcho string to console (parameter: string)
execcommandExecute a script (parameter: filename)
flyvariablecheat, bool, savedWhen set, player can fly
font_xvariablefloat, min=6, max=50, savedX Size of console font in pixels
font_yvariablefloat, min=6, max=50, savedY Size of console font in pixels
fovvariablecritical_setting, float, min=5, max=175, savedField of view
fraglimitvariablecritical_setting, int, min=0, savedLimit of score (frags)
gammavariablefloat, min=0.1, max=1, savedGamma correction (BROKEN)
generate_2dcommandGenerate 2d landscape (parameters: X Y Height)
generate_3dcommandGenerate 3d maze (parameters: X Y Z Corner)
glinfocommandPrint info about OpenGL
gravityvariablecritical_setting, float, savedGravity
groundcontrolvariablecritical_setting, bool, savedType of player control (quake-like/6DOF)
helpcommandPrint helptext for command or variable (parameter: command or variable name)
killservercommandStop listening for network connections and disconnect all players (optional parameter: message for clients)
list_classcommandList all classes with reference count
list_funccommandList all object functions
list_modelcommandList all models with reference count
list_netcommandLists all open and listening network connections
list_objcommandcheatList all objects in world
list_soundscommandList all sounds in memory
listencommandStart listening for incoming network connections (optional parameter: port)
loadcommandLoad new map in .b4d format (parameter: filename)
mapcommandLoad new map in .map format (parameter: filename)
menucommandInvoke menu (parameter: name of menu)
menu_addcommandAdds menu with given name and definition (parameters: Name Definition)
menu_bindcommandShows menu where you can configure keybinds
menu_delcommandDeletes menu with given name (parameter: Name)
menu_listcommandLists all menus registered in game
mouse_unlockvariablebool, savedToggle whether mouse is free to move, or held within window center to allow mouselook
namecommandChange or show nickname used in network play (optional parameter: new name)
net_scancommandScan local network for running servers on given port (or default port if none given). Results are written to console
noclipvariablecheat, bool, savedWhen set, no collisions are done
pausecommandPause/unpause the game
player_addcommandAdd human-controlled player to game
player_killcommandRemove player with given number from game (parameter: number, last=last player)
player_listcommandList players in game
player_nextcommandSwitches to next player
player_prevcommandSwitches to previous player
player_setnumcommandSet number of player. Adds/deletes players as necessary (parameter: number of players)
player_usecommandSwitches to player with given number (parameter: number)
pposcommandcheatPrint player position
quitcommandQuit the game
r_clipbackvariablefloat, min=0.0005Far clipping distance
r_clipfrontvariablecheat, float, min=0.0005Near clipping distance
r_fog_colorvariablecheat, vector, min=0, max=1Fog color
r_fog_distancevariablecheat, float, min=0Fog distance
r_fpsvariableint, min=0, max=3, savedDraw FPS information
r_skyboxvariablebool, savedTurn skybox on/off
r_skymapcommandcritical_settingChange skybox (parameter: name of skybox)
r_vidmodecommandChange video mode (BROKEN)
r_ztrickvariablebool, savedUse trick to not clear zbuffer (reduces zbuffer precision)
savealiasescommandSave aliases to specified file (parameter: filename)
saveallconfigcommandSave all game configuration to standard files
saveconfigcommandSave game configuration to specified file (parameter: filename)
saycommandSend a chat message to all connected players (parameter: message)
screenshotcommandTake a screenshot in targa format (optional parameter: filename)
sensitivityvariablefloat, savedSensitivity of mouse
sensitivity_hvariablefloat, savedHorizontal sensitivity of mouse
sensitivity_vvariablefloat, savedVertical sensitivity of mouse
servernamevariablestring, min=0, max=0, savedServer name send to clients in network play
silentvariableboolTurn verbosity on console on/off
snd_volumevariablefloat, min=0, savedSound volume
speedvariablecritical_setting, floatSpeed of player movement on ground
speed_airvariablecritical_setting, floatSpeed of player movement while in air
survivalvariablecritical_setting, bool, savedIf set to 1, nobody can respawn (survival mode)
tex_flushcommandFlush all textures with reference count equal to zero (unused textures)
tex_listcommandList all textures with reference count
unaliascommandDeletes a command alias (parameter: Alias)
unbindcommandDelete binding of keystroke to command (parameter: Key)
unbindallcommandDelete all keystroke bindings
versioncommandPrint version of program
window_xvariableint, min=40, max=32767, savedX size of game window in pixels
window_yvariableint, min=30, max=32767, savedY size of game window in pixels
generate_3dcommandGenerate 3d maze (parameters: X Y Z Corner)
generate_2dcommandGenerate 2d landscape (parameters: X Y Height)
pausecommandPause/unpause the game
r_vidmodecommandChange video mode (BROKEN)
bindcommandBind command to keystroke (parameters: Key Command)
versioncommandPrint version of program
glinfocommandPrint info about OpenGL
unbindcommandDelete binding of keystroke to command (parameter: Key)
unbindallcommandDelete all keystroke bindings
quitcommandQuit the game
menucommandInvoke menu (parameter: name of menu)
clear_historycommandClear console command history
clearcommandClear console scrollback buffer
saveconfigcommandSave game configuration to specified file (parameter: filename)
savealiasescommandSave aliases to specified file (parameter: filename)
saveallconfigcommandSave all game configuration to standard files
screenshotcommandTake a screenshot in targa format (optional parameter: filename)
mapcommandLoad new map in .map format (parameter: filename)
loadcommandLoad new map in .b4d format (parameter: filename)
tex_listcommandList all textures with reference count
tex_flushcommandFlush all textures with reference count equal to zero (unused textures)
list_modelcommandList all models with reference count
aliascommandCreate a command alias (parameter: Alias Command)
unaliascommandDeletes a command alias (parameter: Alias)
helpcommandPrint helptext for command or variable (parameter: command or variable name)
pposcommandcheatPrint player position
player_killcommandRemove player with given number from game (last=last player)
player_setnumcommandSet number of player to first parameter value. Adds/deletes players as necessary
menu_addcommandAdds menu with given name and definition (parameters: Name Definition)
menu_delcommandDeletes menu with given name (parameter: Name)
menu_listcommandLists all menus registered in game
menu_bindcommandShows menu where you can configure keybinds
list_netcommandLists all open and listening network connections
namecommandChange or show nickname used in network play (optional parameter: new name)
connectcommandConnects to a network game (parameter: hostname[:port])
listencommandStart listening for incoming network connections (optional parameter: port)
disconnectcommandDisconnect from network game (optional parameter: message for server)
killservercommandStop listening for network connections and disconnect all players (optional parameter: message for clients)
saycommandSend a chat message to all connected players (parameter: message)
net_scancommandScan local network for running servers on given port (or default port if none given). Results are written to console
r_skymapcommandcritical_settingChange skybox (parameter: name of skybox)
servernamevariablestring, min=0, max=0, savedServer name send to clients in network play
cmd_autostartvariablestring, min=0, max=0, savedCommand launched on program startup, after config files are loaded
console_logfilevariablestring, min=0, max=0, savedLog all console messsages to given file (if console_log enabled)
console_logvariablebool, savedIf enabled, all console messages are logged to file (see console_logfile variable)
snd_volumevariablefloat, min=0, savedSound volume
window_xvariableint, min=40, max=32767, savedX size of game window in pixels
window_yvariableint, min=30, max=32767, savedY size of game window in pixels
console_history_sizevariableint, min=0, savedNumber of console command remembered in history
gammavariablefloat, min=0.1, max=1, savedGamma correction (BROKEN)
console_heightvariablefloat, min=0.05, max=1, savedHeight of console (relative to screen height)
console_alphavariablefloat, min=0, max=1, savedTransparency of console
console_font_alphavariablefloat, min=0, max=1, savedTransparency of console font
bomb_throwup_anglevariablefloat, min=0, max=90, savedAngle between direction of the view and direction the bombs are thrown (in degrees) - can be between 0 (throw in direction) and 90 (throw maximally upwards)
bomb_throw_speedvariablefloat, min=0.1, max=999, savedSpeed of the bombs you will throw
mouse_unlockvariablebool, savedtoggle whether mouse is free to move, or held within window center to allow mouselook
silentvariableboolTurn verbosity on console on/off
sensitivityvariablefloat, savedSensitivity of mouse
font_xvariablefloat, min=6, max=50, savedX Size of console font in pixels
font_yvariablefloat, min=6, max=50, savedY Size of console font in pixels
chat_messagesvariableint, min=0, max=50, savedMaximal number of last chat messages shown in main window
chat_timeoutvariableint, min=0, savedHow long are chat messages displayed in main window
fovvariablecritical_setting, float, min=5, max=175, savedField of view
r_clipfrontvariablecheat, float, min=0.0005Near clipping distance
r_clipbackvariablefloat, min=0.0005Far clipping distance
r_fog_distancevariablecheat, float, min=0Fog distance
r_fog_colorvariablecheat, vector, min=0, max=1Fog color
groundcontrolvariablecritical_setting, bool, savedType of player control (quake-like/6DOF)
gravityvariablecritical_setting, float, savedGravity
fraglimitvariablecritical_setting, int, min=0, savedLimit of score (frags)
flyvariablecheat, bool, savedWhen set, player can fly
noclipvariablecheat, bool, savedWhen set, no collisions are done