Console Joystick

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

Joystick:

Command arguments
- or -
Variable default value
Description
echo <text> display text to the console (not seen by other players in multiplayer)
error <text> quit the game and return the text (error message, I suppose) indicated
exec <file> execute a script file (.cfg and .rc extensions are common, but not required)
in_initjoy 1 enable joystick initialization (set to 0 if you don't use a joystick to save a bit of RAM) [Flags: -]
in_joystick 0 enable joystick input use (set to 0 if you don't use a joystick to save a bit of RAM) [Flags: *]
joy_advanced 0 enable advanced joystick support
joy_advancedupdate initialize advanced joystick support
joy_advaxisr 0 map joystick r-axis to: 0=nothing, 1=forward/back, 2=pitch, 3=strafe, 4=yaw (add 16 to one of those values and use the sum for relative mapping)
joy_advaxisu 0 map joystick u-axis to: 0=nothing, 1=forward/back, 2=pitch, 3=strafe, 4=yaw (add 16 to one of those values and use the sum for relative mapping)
joy_advaxisv 0 map joystick v-axis to: 0=nothing, 1=forward/back, 2=pitch, 3=strafe, 4=yaw (add 16 to one of those values and use the sum for relative mapping)
joy_advaxisx 0 map joystick x-axis to: 0=nothing, 1=forward/back, 2=pitch, 3=strafe, 4=yaw (add 16 to one of those values and use the sum for relative mapping)
joy_advaxisy 0 map joystick y-axis to: 0=nothing, 1=forward/back, 2=pitch, 3=strafe, 4=yaw (add 16 to one of those values and use the sum for relative mapping)
joy_advaxisz 0 map joystick z-axis to: 0=nothing, 1=forward/back, 2=pitch, 3=strafe, 4=yaw (add 16 to one of those values and use the sum for relative mapping)
joy_forwardsensitivity -1 set joystick sensitivity for forward/back movement
joy_forwardthreshold 0.15 set threshold for forward/back movement (increase to help centering/constant motion problems)
joy_name joystick set joystick name
joy_pitchsensitivity 1 set joystick sensitivity for looking up/down
joy_pitchthreshold 0.15 set threshold for looking up/down (increase to help centering/constant motion problems)
joy_sidesensitivity -1 set joystick sensitivity for strafing
joy_sidethreshold 0.15 set threshold for strafing (increase to help centering/constant motion problems)
joy_upsensitivity -1 set joystick sensitivity for moving up/down
joy_upthreshold 0.15 set threshold for moving up/down (increase to help centering/constant motion problems)
joy_yawsensitivity -1 set joystick sensitivity for turning right/left
joy_yawthreshold 0.15 set threshold for turning right/left (increase to help centering/constant motion problems)

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