Console Demo Utilities
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 |
Demo Utilities:
Command arguments - or - Variable default value |
Description |
demomap <filename> | play pre-recorded demo in file filename.dem (see record, stop) |
fixedtime 0 | enable forced display of all game frames (slows the game as needed to render frames that would have otherwise been skipped) |
nextserver "" | set the alias name for looping demos. for example, to loop demos "a.dm2" and "b.dm2" repeatedly: 'alias d1 "demomap a; set nextserver d2" ; alias d2 "demomap b; set nextserver d1" ' -- then just d1 or d2 to start looping from that demo (may be extended to loop any number of demos). |
record <file> | start recording a demo to file.dm2 (map must already be loaded), use 'stop' to stop recording, demoname to playback |
serverrecord <file> | begin recording a demo including the view information for ALL players, use serverstop to quit recording (see record, stop, demomap) -- the demo cannot be played back unless it is split into separate view files |
serverstop | stop recording a server demo (see serverrecord, record, stop, demomap) |
stop | stop recording a demo started with record |
timedemo <file> 0 | play the pre-recorded demo in file.dm2 at full speed and report average FPS (buggy?) |