Console Developer

Use these commands and variables in the console or a config file to completely customize Kingpin, troubleshoot problems with video or sound hardware, optimize performance, or make your own scripts. If you don't know how to get to the console, please read this.

Select the complete list (handy for searching for keywords using your browser, or for looking up a command or variable alphabetically), or any of the categorized lists from the links over to the left.

Variables are listed with their default values. Commands are listed without values, but some may have <required arguments> and/or [optional arguments], see the descriptions for valid arguments or values. If none are specified, it's a boolean variable, meaning it can be on (1) or off (0). Note that many video and sound changes will not take effect until you restart the video or sound system with vid_restart or snd_restart respectively.

The flags on some variables have the following meanings:
- (dash) command-line parameters - these variables can only be changed by loading the game with 'kingpin.exe +set variable value', they will not work if entered directly into the console.
+ set variable value', they will not work if entered directly into the console.
* saved variables - changes to these variables are saved between games by writing them to Kingpin/Main/config.cfg
S server variables - will be listed in the output of a serverinfo command
U user variables - will be listed in the output of a userinfo command
L locked variables - changes will not take effect until the map changes

Developer:

Command arguments
- or -
Variable default value
Description
ai_debug_memory 0 allocate memory to ai debugging
changing internal command used by the server to alert clients of upcoming map change
cl_entities 1 enable display of entities (see cl)_testentities)
cl_stats 0 enable map statistics display
debuggraph 0 enable debug graph display
developer 1 enable developer mode (display more verbose information, allow console and screw-up in-game scripted sequences in single-player :)
gamedate "Jun 18 1999" display the date of the game dll code [Flags: SL]
gamename main the internal name of the game code dll [Flags: SL]
gl_clear 0 enable screen-clearing between frames (useful when flying outside map in building/testing)
gl_lockpvs 0 enable lock on PVS table (useful with gl_clear in map-making and debugging)
gl_log 0 enable logging of OpenGL commands to Kingpin/Main/gl.log (warning: will get huge fast)
gun_model <file> use to view weapon model and animation frames
gun_next display the next gun model animation frame and number
gun_prev display the previous gun model animation frame and number
imagelist display loaded image types [M (model), P (player HUD), S (sprite), W (wall)], sizes (x, y, in pixels), and pallette type [RGB/PAL, PAL=internal pallette]
impulse send a special impulse command to the server (used to add game features, none known yet)
loading internal command used to show the "loading" screen
menu_credits display game credits
menu_dmoptions display deathmatch options menu
menu_game display single-player game menu
menu_joinserver display join server (gangbang) menu
menu_keys display key controls menu
menu_loadgame display load game menu
menu_main display main menu
menu_multiplayer display multiplayer (gangbang) menu
menu_options display options menu (video, audio)
menu_playerconfig display player configuration menu
menu_quit display quit menu
menu_savegame display save game menu
menu_startserver display start server menu
menu_video display video options menu
modellist display information about loaded models, sprites, and maps
patch_create used for creating game update patches (record changes in the executable code)
patch_snapshot used for creating game update patches (record changes in the executable code)
patch_snapshotfile ..\snapshot.txt set the directory used for creating game update patches (record changes in the executable code) [Flags: *]
r_drawentities 1 enable display of map entities
r_drawworld 1 enable display of map architecture and sky
r_novis 0 disable map bsp vis tables
r_showbbox 0 enable display of player bounding-box
showlights 0 enable light-ray display (shows direction of all light sources)
sky <name> [rot] [x] [y] [z] set the sky texture (name), and rotation speed (rot) and axes (xyz)

FREDZ | Friday 11 March 2016 - 17:34
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • email
  • Facebook
  • Google
  • PrintFriendly