Console

Commands


Actions Commands are defined in time: when the player press an action-bound key, the "+" command is triggered. The "-" command is called when the player release the key. For instance, when the player shoot the flamethrower, the +ATTACK command is maintained till the trigger is released, then the -ATTACK is called. For this reason, only "+" actions Commands are described here.

Command, Usage
+activate(unused) Use current object
+attackPlayer attack with the current weapon
+backPlayer move backwards
+forwardPlayer move forward
+klookEnable keyboard look
+leftPlayer turn left
+lookdownPlayer look down
+lookupPlayer look up
+mlookEnable mouse look
+movedownPlayer climb down/dive
+moveleftPlayer move left
+moverightPlayer move right
+moveupPlayer climb up
+rightPlayer look right
+speedEnable run
+strafeEnable strafe
+usePlayer activate switches and doors nearby
aliasCreate a custom script. ALIAS [scriptname] "[commands]"
bindBind (or link) a keyboard key or mouse button to a script or a command. BIND [keyname] "[commands]"
bindlistDisplay all keys and button bindings
burn_pickcolorPick lightmap color in front of the player (burn_enabled must be on)
burn_saveSave LightPaint (see burn_enabled)
cam_posReturn the current position of the camera and its angle
centerviewCenter the player view
changingWarn the player of a map change
chasecamToggle chase cam
clearClear console
cmdSend a command to the server. CMD [command]
cmdlistDisplay (almost) every Commands
condumpDump the whole console in a text file. CONDUMP [filename]
connectConnect the client to a server. CONNECT [server]
cvarlistDisplay all Console Variables
demomapPlay a demo file. DEMOMAP [filename]
dirDisplay a directory listing (works just like the DIR command of DOS). DIR [commands]
disconnectDisconnect client from current server
downarrowPawn-o-matic menus: go down
downloadDownload a file from currently connected server. DOWNLOAD [filename]
dropDrop an item from the inventory
dumpuserDisplay user cvars for defined client number. DUMPUSER [clientnumber]
echoDisplay text in the console. ECHO [text]
errorExit the game with the defined error message. ERROR [message]
execLoad and execute a console script file (cfg). EXEC [filename]
extracrispyCheat: every nearby character in line of sight catch fire
flashlightToggle flashlight
gamemapStart the server with a new map. GAMEMAP [filename]
gear_down-
gear_up-
giveGive an item. GIVE [itemname] [quantity]
gl_stringsList video hardware information and gl extentions
gun_modelSet defined model as current weapon model. GUN_MODEL [filename]
gun_nextIncrease current weapon model's frame by 1.
gun_prevDecrease current weapon model's frame by 1.
heartbeatPing current server
helpDisplay mission book
hidepropsHide all props
holsterHolster currently selected weapon
hudCycles hud display: full, no cash, nothing
imagelistList all precached pictures
immortalCheat: god mode, player is invincible.
impulseSend an impulse command to the server. IMPULSE [commandnumber]
infoDisplay server information
invdropDrop the currently selected item
invenDisplay inventory screen
invnextNext page in the mission book
invnextpSelect next power-up in the inventory (unused)
invnextwSelect next weapon in the inventory (unused)
invprevPrevious page in the mission book
invprevpSelect previous power-up in the inventory (unused)
invprevwSelect previous weapon in the inventory (unused)
invusePawn-o-matic menus: select
joinJoin a team in teamplay
joy_advancedupdateInitialize the joystick's advanced features
key-
key1Pawn-o-matic menus: agree
key2Pawn-o-matic menus: disagree
kickDisconnect selected client to server. KICK [clientnumber]
killPlayer commit suicide
killserverShutdown server
leftarrowPawn-o-matic menus: go left
linkAlter the actual location of a directory inside the game
loadLoad a savegame. LOAD [filename]
loadingDisplay the loading picture
mapLoad a new level. MAP [filename]
menu_addressbookDisplay menu: address book
menu_creditsDisplay menu: credits screen
menu_dmoptionsDisplay menu: network options
menu_gameDisplay menu: new game
menu_joinserverDisplay menu: join server
menu_keysDisplay menu: controls customization
menu_loadgameDisplay menu: load game
menu_mainDisplay menu: main menu
menu_multiplayerDisplay menu: multiplayer
menu_optionsDisplay menu: options
menu_playerconfigDisplay menu: player settings
menu_quitDisplay menu: quit game
menu_savegameDisplay menu: save game
menu_startserverDisplay menu: start server
menu_videoDisplay menu: video options
messagemodeMore or less like "say"
messagemode2More or less like "say_team
modellistList all precached models
nav_clearErase the navigation file for current map and shutdown server.
nav_debug_destCreates a dummy character model at current position.
nav_debug_showpathCreates a dummy character model at current position, an orange trail is drawn from that dummy to the current position, using the navigation data availables.
nav_rebuild-
nav_saveSave available navigation data for current map in NAVDATA/[LEVELNAME].NAV
nav_showpathLike nav_debug_showpath
noVote no.
noclipCheat: No clip mode, player can walk through walls and fly.
notargetCheat: The AI do not see the player until it gets attacked.
patch_createCreating a patch file using previous file snapshot
patch_snapshotDump a snapshot of all Kingpin files (see patch_snapshotfile cvar)
pathList all current search path and pak files
pauseToggle pause
pingserversDisplay info about servers present in the address book
playPlay a sound. PLAY [filename]
playersList all players in current game
precachePrecache all files required for current level
prog[this command appears when using cmdlist, but is not accessible. Certainly the gamecode launch]
putawayHide rankings, inventory and/or mission book
quitExit Kingpin
rconRemotely control server. RCON [password] [command]
reconnectTemporarly disconnect the client from the server before reconnecting
recordRecord a demo file. RECORD [filename]
reloadReload currenly selected weapon
rightarrowPawn-o-matic menus: go right
saveSave current game. SAVE [filename]
saySend a message to other players. SAY [message]
say_teamSend a message to other players of the same team. SAY_TEAM [message]
scoreDisplay rankings
screenshotTake a screenshot of currently rendered frame.
serverinfoList all server cvars
serverrecordRecord a demo from the server game
serverstopStop the demo recording started with serverrecord
setCreate or modify a cvar. SET [variable] [value] [flag]
setenvPassing variables to an external environement
setmasterLink the server to a master. SETMASTER [ip1] ... [ip7]
showpropsShow all props
sizedownDecrease size of game screen
sizeupIncrease size of game screen
skinsDisplay player's skin information
skySet skybox. SKY [skyprefix]
snd_restartRestart the sound engine
soundinfoDisplay information regarding the sound engine
soundlistList all precached sounds
soundlistoutDump all precached sounds to sound.log
spawnSpawn an entity at current player's location. SPAWN [classname]
spec-
spectator-
statusDisplay server status
stopStop demo recording
stopsoundStop all currently playing sounds
svSend Commands to the server, from the server. SV [command]
team-
timerefreshFrame per second test
togglechatBring down the console to allow the player to send chat messages.
toggleconsoleBring down the console
unbindBreak a key binding. UNBIND [key]
unbindallBreak every key binding.
uparrowPawn-o-matic menus: go up
useDraw or use the defined item. USE [item]
userinfoDisplay information about the client
vid_frontSwitch the display to use the front buffer
vid_restartRestart the rendering engine
viewposDisplay current position of the camera
voteStart a vote, it's not possible to vote for something else but ban a player. VOTE BAN [playername]
waitWait one game tic, usually used in scripts.
waveMake gesture. WAVE [gesturenumber]
weaplastDraw previously selected weapon
weapnextSelect next weapon in the inventory
weapprevSelect previous weapon in the inventory
yesVote yes.
z_statsDisplay memory statistics for the Z-Buffer

CVars Modes


When using the cvarlist command, all the current cvars will be displayed along with a set of four characters (*USL-), here's the meaning for each of these characters:

Mode, Meaning
*Saved settings, this variable is saved in config.cfg.
-Read only, some can be changed using a command line parameter.
UUser variable, will show up in the output from the userinfo command or dumpuser command.
SServer variables, will show up in the output from the serverinfo command.
LDelayed function, will take action after a map change.

Console Variables


CVars can be defined and modified using the console, a cfg script file or on startup, using the "+" parameter from the command line. For instance, when you launch kingpin with the command KINGPIN.EXE +game meth +developer 1, you set the "game" cvar to "meth" and the "developer" cvar to "1".
Here's a complete list of all cvars (Console Variables) available after a clean Kingpin installation.

Variable, Mode, Default value, Usage
adr0*Favourite server adress 1
adr1*Favourite server adress 2
adr2*Favourite server adress 3
adr3*Favourite server adress 4
adr4*Favourite server adress 5
adr5*Favourite server adress 6
adr6*Favourite server adress 7
adr7*Favourite server adress 8
adr8*Favourite server adress 9
ai_debug_memory0Advanced AI debug, display the line of sight of each AI entity
allow_download1Allow automatic download of files in multiplayer games
allow_download_maps1Allow automatic download of BSP files in multiplayer games
allow_download_models1Allow automatic download of model files in multiplayer games
allow_download_players1Allow automatic download of player skins in multiplayer games
allow_download_sounds1Allow automatic download of sounds in multiplayer games
basedir-.Location of base directory (main/)
bob_pitch0.002Vertical bob magnitude when the player is moving
bob_roll0.002Horizontal swing magnitude when the player is moving
bob_up0.005Player's straightning as he/she walks
burn_b*1.0Amount of blue in LightPaint color (see burn_enabled)
burn_enabled0Apply a colored light stain on the lightmap in front of the player when he/she use the +attack command
burn_g*1.0Amount of green in LightPaint color (see burn_enabled)
burn_intensity*0.03Intensity of the LightPaint stain
burn_r*1.0Amount of red in LightPaint color (see burn_enabled)
burn_size*48Size of the burn stain
cam_dist*45Chase cam distance
cam_speed*4Chase cam direction aligment speed
cam_zofs*30Chase cam angle
cashlimitS0-
cd_loopcount4Amount of times the cd_looptrack music is played
cd_looptrack6CD Track number to play in loop
cd_nocd*1Disable the use of music CD while playing (1/0)
cddir-Where the game datas are located on the CD (for partial installation)
cheatsSL0Enable cheats code (1/0)
cl_allow_downloads*0Allow automatic download of files in multiplayer games
cl_anglespeedkey1.5-
cl_autoskins0-
cl_blend1Use palette blending effects (similar to gl_polyblend)
cl_bloodtime*10How long blood stains remains (1 unit = rougly 35 seconds)
cl_captions*0Enable captions when a character's talking (1/0)
cl_entities1Enable display of entities
cl_fireworks*3Fireworks effects density
cl_footsteps1Enable footsteps sounds
cl_forwardspeed160Maximum forward/backward movement speed, also affects dodging moves
cl_gun1Enable weapon view model (1/0)
cl_lights1Enable display of dynamic lights
cl_maxfps90Maximum frames per second allowed
cl_nodelta0Disable the delta compression for network packet
cl_noskins0Disable custom skins of other players
cl_parental_lock-0Enable parental lock
cl_parental_override-0-
cl_particles1Enable particles display
cl_physical_memory-Return total harware memory
cl_pitchspeed150-
cl_predict1-
cl_rearviewmirror0-
cl_run*1Enable run mode
cl_showmiss0-
cl_shownet0-
cl_sidespeed160-
cl_stats0-
cl_stereo0-
cl_stereo_separation*0.4-
cl_testblend0-
cl_testentities0-
cl_testlights0-
cl_testparticles0-
cl_timeout120-
cl_upspeed200-
cl_vwep*1-
cl_yawspeed140-
con_autosize1Resize the console characters to fit current resolution
con_highres*0Similar to con_autosize, applies to characters only
con_notifytime3-
con_scale*1Console scale factor
coopL0Set gamemode to coop
crosshair*1Enable the crosshair display (1/0)
deathmatchL0Set gamemode to deathmatch
debuggraph0-
dedicated-0-
developer1Enable console (1/0)
dm_locational_damage*1-
dmflags*S784-
extras*U0-
filterban1-
fixedtime0-
flood_msgs4-
flood_persecond4-
flood_waitdelay10-
fov*U90Field of view in degrees
fraglimitS0-
freelook*1-
g_cashspawndelay*L5-
g_select_empty*0-
g_vehicle_testL0-
gameSLAdd-on directory (if present, files will be loaded from this directory first)
gamedateSLJun 18 1999-
gamenameSLmainBase directory (where the files are meant to be, this directory is a fall-back value when using the "game" cvar)
gender*UmaleClient's gender (male/female)
gender_auto*1-
gl_3dlabs_broken*1-
gl_allow_software0-
gl_bitdepth0Toggle the use of 16 bits textures (1/0)
gl_clear0Clear the rendering buffer between two frames, try this with "gl_polyblend 0" (1/0)
gl_cull1Do not draw hidden objects (1/0)
gl_drawbufferGL_BACK-
gl_driver*opengl32-
gl_dynamic1Enable dynamic lights (ie gunshots, rockets...)
gl_ext_compiled_vertex_array*1-
gl_ext_multitexture*1-
gl_ext_palettedtexture*0-
gl_ext_pointparameters*1-
gl_ext_swapinterval*1-
gl_finish*1-
gl_flashblend0Enable 3D spheres for dynamic lights
gl_fog*1Enable fog rendering (1/0)
gl_lightmap0-
gl_lockpvs0Lock current portal view
gl_log0-
gl_maxtexsize*256Maximum size of loaded textures (only affect freshly loaded textures)
gl_mode*U0Screen resolution mode (0 to 9)
gl_modulate*1-
gl_monolightmap0-
gl_nobind0Unbind textures to triangles (1/0)
gl_nosubimage0-
gl_particle_att_a*0.01-
gl_particle_att_b*0.0-
gl_particle_att_c*0.01-
gl_particle_max_size*40-
gl_particle_min_size*2-
gl_particle_size*40-
gl_picmip0Exponential texture reduction factor
gl_playermip0-
gl_polyblend1Enable palette blending (1/0)
gl_reflections1-
gl_round_down1-
gl_saturatelighting0-
gl_shadows*0Enable real time shadows for models (1/0)
gl_showtris0Outline triangles for each scene (1/0)
gl_skymip0Enable the use of mipmap information for the sky rendering (1/0)
gl_specular*1-
gl_swapinterval*1Delay between frame buffer swaps
gl_test_specular0-
gl_texturemode*GL_LINEAR_MIPMAP_NEARESTTexture rendering mode: GL_NEAREST, GL_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_LINEAR_MIPMAP_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_LINEAR
gl_vertex_arrays*0-
gl_ztrick0-
graphheight32-
graphscale1-
graphshift0-
gun_x0-
gun_y0-
gun_z0-
hand*U0Enable left-handed weapon model (1/0)
host_speeds0-
hostname*Snoname-
hudguys*1-
hudtalk*1-
in_initjoy-1-
in_initmouse-1-
in_joystick*0-
in_mouse*1-
intensity2-
joy_advanced0-
joy_advaxisr0-
joy_advaxisu0-
joy_advaxisv0-
joy_advaxisx0-
joy_advaxisy0-
joy_advaxisz0-
joy_forwardsensitivity-1-
joy_forwardthreshold0.15-
joy_namejoystick-
joy_pitchsensitivity1-
joy_pitchthreshold0.15-
joy_sidesensitivity-1-
joy_sidethreshold0.15-
joy_upsensitivity-1-
joy_upthreshold0.15-
joy_yawsensitivity-1-
joy_yawthreshold0.15-
log_stats0-
logfile0Enable real-time console report to QConsole.log
lookspring*0-
lookstrafe*0-
m_forward1Verical mouse speed (mouse walk)
m_interpolate*1Smooth mouse moves
m_pitch*0.022Vertical mouse speed (mouse look)
m_side0.8Horizontal mouse speed (mouse walk)
m_yaw0.022Horizontal mouse speed (mouse look)
map_noareas0-
mapnameS-Return current map name
maxclientsSL1-
maxentitiesL2048-
msg*U1Verbosity level, 0 to 4
name*UthugClient's nickname
nav_aipath*0Display an orange trail between the following AI cast and the player, showing navigation nodes
nav_debug0Display navigation nodes info (nav_dynamic must be 1)
nav_dynamic0Enable auto creation of navigation nodes as the player wander in the level.
nav_optimize1000-
net_origin_offset1-
net_shownet0-
netgraph0-
nextserver-
noipx-0-
noudp-0-
parental_password-
passwordU-
patch_snapshotfile*..\snapshot.txt-
paused0Pause the game
props*1Enables detail models (1/0)
protocolS-32-
public1-
qport-17814-
r_debug_lighting0Display all models with a white skin, making it easier to see how junior lights work
r_detail_alpha*0.2-
r_detail_dist*256-
r_detail_scale*8.0-
r_directional_lighting*1Enable real-time colored lighting of models
r_drawentities1Display entities
r_drawworld1Display worldspawn
r_fullbright0Enable fullbright mode (unused)
r_lerpmodels1Enable model frames interpolation
r_lightflares*1Toggle light flares display
r_lightlevel0-
r_nocull0-
r_norefresh0Disable rendering
r_novis0Disable visiblity portals (draw the whole world every frame)
r_painskins*1Use pain skins for wounded characters (1/0)
r_sfx_pause0-
r_showbbox0Show collision box for models
r_speeds0Enable display of rendering statistics (1/0)
rate*U4000Maximum number of bytes the server send to the client
rcon_addressThe IP adress used by the "rcon" command
rcon_passwordThe password used by the "rcon" command
run_pitch0.002-
run_roll0.005-
s_initsound1-
s_khz*22-
s_loadas8bit*0-
s_mixahead*0.2-
s_primary*0-
s_reverb_count4-
s_reverb_delay1500-
s_reverb_test0-
s_reverb_volscale0.4-
s_show0Show currently played sounds
s_testsound0-
s_volume*1-
s_wavonly0-
scr_centertime2.5-
scr_conspeed3Console raising/lowering speed
scr_drawall0-
scr_hud2-
scr_printspeed8-
scr_showpause1-
scr_showturtle0-
sensitivity*5.5Set mouse sensitivity
showclamp0-
showdrop0-
showlights0-
showpackets0-
showtrace0-
skillL1Set difficulty level of the game (0 to 2)
skin*Umale_thug/009 019 017Client's model skin
sv_enforcetime0-
sv_gravity800Current map's gravity
sv_maxvelocity2000-
sv_noreload0Disable changes save when going from a map to another
sv_reconnect_limit*3-
sv_rollangle0-
sv_rollspeed200-
sv_runscale1.0-
sw_mode0-
sw_stipplealpha*0-
teamplayL0-
timedemo0-
timegraph0-
timelimitS0-
timeout125-
timescale1-
v_centermove0.15-
v_centerspeed500-
verbose*0-
versionS-Gamex86.dll release version
vid_fullscreen*1-
vid_gamma*0.6-
vid_ref*gl-
vid_xpos*3-
vid_ypos*22-
viewsize*100-
voice_test1.0-
win_noalttab*0-
zombietime2-