Console Audio

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

 Audio:

Command arguments
- or -
Variable default value
Description
cd_loopcount 4 set the number of times that a looping CD track will play
cd_looptrack 6 set the CD track number to loop
cd_nocd 1 enable CD music [Flags: *]
s_initsound 1 enable sound card (0 disables all sounds)
s_khz 22 set sound sampling rate, options are 11 and 22. 22 sounds better, but may decrease performance [Flags: *]
s_loadas8bit 0 force lower-qiality (8-bit) sound samples (1 may improve performance) [Flags: *]
s_mixahead .20 set sound mixing delay -- use higher numbers to fix stuttering problems [Flags: *]
s_primary 0 enable DirectSound primary sound buffer, 1 may improve performance a bit, but also may not work [Flags: *]
s_reverb_count 4 set number of times reverberating sounds repeat and fade (lower or 0 may improve perfomance)
s_reverb_delay 1500 set delay between repeats of reverberating sounds
s_reverb_test 0 enable reverb sound test mode
s_reverb_volscale 0.4 set amount that reverberating sound volumes diminish on each repeat
s_show 0 enable display of list of currently playing sounds
s_testsound 0 enable test sound tone
s_volume 1 set sound sample playback volume [Flags: *]
s_wavonly 0 force game to only play .wav sound samples
snd_restart restart the sound system, required for most sound setting variables to take effect
soundinfo display number of: stereo channels, samples, samplebits, speed, DMA, and sound channels
soundlist display list of all loaded sounds
soundlistout apparenttly does nothing
stopsound stop playing current sound

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