Console Network and Multiplayer

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

Network and Multiplayer:

Command arguments
- or -
Variable default value
Description
adr0 "" multiplayer server address book entry 0 [Flags: *]
adr1 "" multiplayer server address book entry 1 [Flags: *]
adr2 "" multiplayer server address book entry 2 [Flags: *]
adr3 "" multiplayer server address book entry 3 [Flags: *]
adr4 "" multiplayer server address book entry 4 [Flags: *]
adr5 "" multiplayer server address book entry 5 [Flags: *]
adr6 "" multiplayer server address book entry 6 [Flags: *]
adr7 "" multiplayer server address book entry 7 [Flags: *]
adr8 "" multiplayer server address book entry 8 [Flags: *]
allow_download 1 toggle automatic downlloading of all game files from multiplayer servers joined
allow_download_maps 1 toggle automatic downlloading of maps from multiplayer servers joined (in no case will maps inside .pak files be downloaded)
allow_download_models 1 toggle automatic downlloading of models from multiplayer servers joined
allow_download_players 1 toggle automatic downlloading of skins from multiplayer servers joined
allow_download_sounds 1 toggle automatic downlloading of sounds from multiplayer servers joined
cl_allow_downloads 0 enable download of files from multiplayer servers joined (client only) [Flags: *]
cl_autoskins 0 ?
cl_maxfps 31 set the maximum frames-per-second (FPS) -- higher FPS requires more bandwidth, lowering it can reduce lag
cl_nodelta 0 disable delta compression (only use if you get network errors online -- will slow netplay)
cl_noskins 0 disable use of custom skins on other players in multiplayer (0=enable skins, 1=disable skins, 2=enable skins, but do not download new ones from the server) -- 1 may improve lag and FPS
cl_predict 1 enable client-side prediction (attempts to compensate for lag by predicting player movements)
cl_showmiss 0 enable display of missed predictions (see cl_predict) -- may want to turn off cl_predict if many
cl_shownet 0 enable display of network packet latency information -- turn on while tweaking net settings (see also netgraph)
cl_timeout 120 set time (in seconds) for clients to wait for packets before disconnecting (how long of a lag spell it takes to dro pfrom the server)
cl_vwep 1 enable visible weapon models on other players (0 may increase FPS) [Flags: *]
connect <ip:port> connect to a sever at ip address and (optional) port indicated (i.e. 192.169.0.1:12075)
coop 0 enable cooperative play mode (buggy) [Flags: L]
deathmatch 0 enable deatchmatch multiplayer mode (as opposed to teamplay) [Flags: L]
dedicated 0 enable dedicated-server mode (as opposed to listen-server mode) -- dedicated server is faster, but has no graphical display, cannot be played locally [Flags: -]
disconnect disconnect from a server or local game
download <file> download file specified from server, path is relative to Kingpin/Main (i.e. download models/actors/bitch/body_001.tga)
extras 1000 Display or set which "extras" your player has on (hat, cigar, etc.). There are 4 digits in the variable after set extras: For male models: 1st digit (hats): 0=none, 1=cap, 2=fedora, 3=stetson; 2nd digit (cigar): 0=no cigar, 1=cigar; 3rd and 4th digits do nothing (shown as N/A on player setup). For female models: 1st digit (cigar)): 0=no cigar, 1=cigar; 2nd, 3rd and 4th digits do nothing (shown as N/A on player setup) (Thanks Chris Preedy aka Slipscream!) [Flags: *U]
gender male set player gender [Flags: *U]
gender_auto 1 enable automatic player gender selection based on player model [Flags: *]
info display server information (use serverinfo instead)
menu_addressbook display multiplayer server address book menu
messagemode prompt for a chat message to sent to the screen of all players on the server
messagemode2 prompt for a chat message to sent to the screen of only your teammates on the server
name randy set player name (appears in scoreboard) [Flags: *U]
netgraph 0 enable network condition graph (green bar height indicates ping, lower is better; red/yellow represents packet-loss/lag, fewer is better) -- enable this while you tweak rate or any oher setting to see what works best for you
noipx 0 enable IPX networking protocol [Flags: -]
noudp 0 enable UDP TCP/IP networking protocol [Flags: -]
pingservers display pings (and other info) for servers in the serverlist
qport 10869 display the random protocol port for NAT (network address translator) proxies [Flags: -]
r_lerpmodels 1 enable player model movement prediction
r_painskins 2 set pain skins level (0=none, 1=some, 2=all), lower may increase FPS [Flags: *]
rate 18000 set the maximum bytes-per-second that the server can send data to the client -- enable the netgraph and try different values to find the best. Starting points: 28.8k/33.6 = 2100-3500, 56k = 3000 - 5000, for T1, cable, DSL, LAN: up to 20000 or so [Flags: *U]
reconnect reconnect to the current server
showclamp 0 enable diplay of network clamping information
showdrop 0 enable display of dropped network packet info
showpackets 0 enable display of network packet info
showtrace 0 enable display of packet tracing info
skin "male_thug/001 001 001" set the player model and skin (model names are the directory names in Kingpin/Main/Players, such as female_chick, male_runt, male_thug), the skin numbers set the head, body, and leg skins from one of the Kingpin/Main/Models directories, which one is listed in skinfolder.txt in each model directory) [Flags: *U]
skins display skin information for each player on the server
togglechat see toggleconsole
wave <n> make player perform special taunt animation in multiplayer

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