Advertisement
Guest User

soldier script

a guest
Nov 24th, 2014
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. solly:
  2. b//paste following binds into other class'cfg to prevent from messing them up
  3. bind "0" "slot10"
  4. bind "1" "slot1"
  5. bind "2" "slot2"
  6. bind "3" "slot3"
  7. bind "4" "slot4"
  8. bind "q" "lastinv"
  9. bind "mouse1" "+attack"
  10. bind "mouse2" "+attack2"
  11. bind mwheelup invprev
  12. bind mwheeldown invnext
  13.  
  14. // crosshair script binds
  15. bind "a" "+moveleft"
  16. bind "d" "+moveright"
  17. bind "s" "+back"
  18. bind "w" "+forward"
  19. bind "SPACE" "+jump"
  20. bind "shift" "+duck"
  21.  
  22. // ========== BINDS ==========
  23.  
  24. bind 1 eq_slot1
  25. bind 2 eq_slot2
  26. bind 3 eq_slot3
  27. bind mwheelup eq_invprev
  28. bind mwheeldown eq_invnext
  29. bind q eq_lastinv
  30. bind = vm_10_20_31
  31. bind l vm_10_21_31
  32. bind - vm_11_21_31
  33.  
  34.  
  35. // ========== SETTINGS ==========
  36.  
  37.  
  38. cl_crosshair_scale 31
  39. cl_crosshair_red 0
  40. cl_crosshair_blue 0
  41. cl_crosshair_green 200
  42.  
  43. alias eq_slot1 "slot1; set_slot1; vm_slot1; cl_crosshair_file "" ; alias state vm_slot1"
  44. alias eq_slot2 "slot2; set_slot2; vm_slot2; exec crosshair_default; alias state vm_slot2"
  45. alias eq_slot3 "slot3; set_slot3; vm_slot3; cl_crosshair_file "" ; alias state vm_slot3"
  46.  
  47.  
  48. // ========== LOGIC ==========
  49.  
  50. alias vm_10_20_31 "alias vm_slot1 r_drawviewmodel 0; alias vm_slot2 r_drawviewmodel 0; alias vm_slot3 r_drawviewmodel 0; state"
  51. alias vm_10_21_31 "alias vm_slot1 r_drawviewmodel 1; alias vm_slot2 r_drawviewmodel 1; alias vm_slot3 r_drawviewmodel 1; state"
  52. alias vm_11_21_31 "alias vm_slot1 r_drawviewmodel 0; alias vm_slot2 r_drawviewmodel 0; alias vm_slot3 r_drawviewmodel 1; state"
  53. vm_11_21_31
  54.  
  55. alias qs_slot1 "alias eq_invnext eq_slot2; alias eq_invprev eq_slot3; set_lastinv; alias set_lastinv alias eq_lastinv eq_slot1; alias set_slot1 ; alias set_slot2 qs_slot2; alias set_slot3 qs_slot3"
  56. alias qs_slot2 "alias eq_invnext eq_slot3; alias eq_invprev eq_slot1; set_lastinv; alias set_lastinv alias eq_lastinv eq_slot2; alias set_slot1 qs_slot1; alias set_slot2 ; alias set_slot3 qs_slot3"
  57. alias qs_slot3 "alias eq_invnext eq_slot1; alias eq_invprev eq_slot2; set_lastinv; alias set_lastinv alias eq_lastinv eq_slot3; alias set_slot1 qs_slot1; alias set_slot2 qs_slot2; alias set_slot3 "
  58.  
  59. qs_slot2
  60. eq_slot1
  61.  
  62.  
  63.  
  64. // Null-cancelling movement script
  65. // (prevents you from pressing two opposing directions, which causes you to stop moving)
  66.  
  67. bind w +mfwd
  68. bind s +mback
  69. bind a +mleft
  70. bind d +mright
  71.  
  72. alias +mfwd "-back;+forward;alias checkfwd +forward;dotxhaircolor"
  73. alias +mback "-forward;+back;alias checkback +back;dotxhaircolor"
  74. alias +mleft "-moveright;+moveleft;alias checkleft +moveleft;dotxhaircolor"
  75. alias +mright "-moveleft;+moveright;alias checkright +moveright;dotxhaircolor"
  76. alias -mfwd "-forward;checkback;alias checkfwd none;dotxhaircolor"
  77. alias -mback "-back;checkfwd;alias checkback none;dotxhaircolor"
  78. alias -mleft "-moveleft;checkright;alias checkleft none;dotxhaircolor"
  79. alias -mright "-moveright;checkleft;alias checkright none;dotxhaircolor"
  80. alias checkfwd none
  81. alias checkback none
  82. alias checkleft none
  83. alias checkright none
  84. alias none ""
  85.  
  86. cl_interp 0.0152
  87. viewmodel_fov 100
  88. sensitivity 3.11
  89. fov_desired 85
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement