Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.70 KB | None | 0 0
  1. unbindall // Prevent mouse/keyboard control when gamepad is in use (to prevent autoaim exploit)
  2.  
  3. joystick 1
  4. joy_advanced "1" // use advanced joystick options (allows for multiple axes)
  5.  
  6. joy_name "L4D Xbox360 Joystick Configuration"
  7. joy_advaxisx 3 // x-axis controls GAME_AXIS_SIDE (strafing left and right)
  8. joy_advaxisy 1 // y-axis controls GAME_AXIS_FORWARD (move forward and back)
  9. joy_advaxisz 0 // z-axis is treated like a button
  10. joy_advaxisr 2 // r-axis controls GAME_AXIS_PITCH (look up and down)
  11. joy_advaxisu 4 // u-axis controls GAME_AXIS_YAW (look left and right)
  12. joy_advaxisv 0 // v-axis is unused
  13. joy_forwardsensitivity -1.0 // movement sensitivity
  14. joy_sidesensitivity 1.0
  15. joy_forwardthreshold 0.1 // movement dead zone settings
  16. joy_sidethreshold 0.1
  17. joy_pitchsensitivity 1.0 // look sensitivity
  18. joy_yawsensitivity -1.5
  19. joy_pitchthreshold 0.1 // look dead zone settings
  20. joy_yawthreshold 0.0
  21.  
  22. joy_variable_frametime 1
  23. joy_autoaimdampenrange 0.85
  24. joy_autoaimdampen 0.5
  25. joy_lowend 0.65
  26. joy_lowmap 0.15
  27. joy_accelscale 3.0
  28. joy_accelmax 4.0
  29. joy_response_move 5
  30. joy_response_look 1
  31. joy_autoaimdampen 0.3
  32. joy_autoaimdampenrange 0.85
  33. joyadvancedupdate // advanced joystick update allows for analog control of move and look
  34.  
  35. // Alternate control 1
  36. +jlook // enable joystick look
  37. bind "A_BUTTON" "+jump;+menuAccept" // (A) button - Jump -menuAccpt allows us to make selections on hud menus
  38. bind "B_BUTTON" "+reload" // (B) button - Reload
  39. bind "X_BUTTON" "+use" // (X) Use
  40. bind "Y_BUTTON" "lastinv" // (Y) button - swap pistol/rifle or z_abort -used to respawn as a ghost.
  41. bind "R_TRIGGER" "+attack" // RT - Main weapon - Primary trigger
  42. bind "L_TRIGGER" "+attack2" // LT - Melee
  43. bind "R_SHOULDER" "+lookspin" // RB - Fast 180 spin
  44. bind "L_SHOULDER" "toggle_duck" // LB - Duck
  45. bind "STICK1" "vocalize smartlook" // LS - vocalize
  46. bind "STICK2" "+zoom;-zoom" // RS click - Rifle Zoom
  47.  
  48. // Fixed bindings, do not change these across joystick presets
  49. bind "BACK" "togglescores;Vote No" // (back) button - scores
  50. bind "START" "gameui_activate;Vote Yes" // (start) button - pause
  51. bind "S1_UP" "+menuUp" // Hud menu Up
  52. bind "S1_DOWN" "+menuDown" // Hud menu Down
  53. bind "UP" "impulse 100" // DPad Up - Toggle flashlight
  54. bind "LEFT" "slot3" // DPad Left - grenade
  55. bind "RIGHT" "slot4" // DPad Right - health
  56. bind "DOWN" "slot5" // DPad Down - Pills
  57.  
  58.  
  59. // controller2 bindings
  60. +jlook // enable joystick look
  61. cmd2 bind "A_BUTTON" "+jump;+menuAccept" // (A) button - Jump -menuAccpt allows us to make selections on hud menus
  62. cmd2 bind "B_BUTTON" "+reload" // (B) button - Reload
  63. cmd2 bind "X_BUTTON" "+use" // (X) Use
  64. cmd2 bind "Y_BUTTON" "lastinv" // (Y) button - swap pistol/rifle or z_abort -used to respawn as a ghost.
  65. cmd2 bind "R_TRIGGER" "+attack" // RT - Main weapon - Primary trigger
  66. cmd2 bind "L_TRIGGER" "+attack2" // LT - Melee
  67. cmd2 bind "R_SHOULDER" "+lookspin" // RB - Fast 180 spin
  68. cmd2 bind "L_SHOULDER" "toggle_duck" // LB - Duck - is also used to give objects to people.
  69. cmd2 bind "STICK1" "vocalize smartlook" // LS - vocalize
  70. cmd2 bind "STICK2" "+zoom" // RS click - Rifle Zoom
  71.  
  72. // Fixed bindings, do not change these across joystick presets
  73. cmd2 bind "BACK" "togglescores" // (back) button - scores
  74. cmd2 bind "START" "gameui_activate" // (start) button - pause
  75. cmd2 bind "S1_UP" "+menuUp" // Hud menu Up
  76. cmd2 bind "S1_DOWN" "+menuDown" // Hud menu Down
  77. cmd2 bind "UP" "impulse 100" // DPad Up - Toggle flashlight
  78. cmd2 bind "LEFT" "slot3" // DPad Left - grenade
  79. cmd2 bind "RIGHT" "slot4" // DPad Right - health
  80. cmd2 bind "DOWN" "slot5" // DPad Down - Pills
  81.  
  82.  
  83. sk_autoaim_mode 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement