S0N0S

S0N0S's TF2 spy.cfg

Jun 24th, 2014
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.87 KB | None | 0 0
  1. ////////////////////////////////////////////////////////////////////////
  2. // BEGIN DEFAULT SETTINGS RESET
  3. ////////////////////////////////////////////////////////////////////////
  4. developer 1
  5. echo "Default settings loadeding...."
  6. developer 0
  7.  
  8. bind "1" "slot1"
  9. bind "2" "slot2"
  10. bind "3" "slot3"
  11. bind "4" "slot4"
  12. bind "5" "slot5"
  13. bind "6" "slot6"
  14. bind "7" "slot7"
  15. bind "8" "slot8"
  16. bind "9" "slot9"
  17. bind "0" "slot10"
  18.  
  19. bind "MOUSE1" "+attack"
  20. bind "MOUSE2" "+attack2"
  21. bind "MOUSE3" "+attack3"
  22. bind "MOUSE4" "lastinv"
  23. bind "MOUSE5" "slot3"
  24. bind "MWHEELUP" "invprev"
  25. bind "MWHEELDOWN" "invnext"
  26.  
  27. bind "a" "+moveleft"
  28. bind "d" "+moveright"
  29. bind "s" "+back"
  30. bind "w" "+forward"
  31. bind "SPACE" "+jump"
  32. bind "SHIFT" "+duck"
  33. bind "CTRL" ""
  34.  
  35. sensitivity "2.0" // [#] Your default sens
  36. r_drawviewmodel "1" // [0/1] set to "1" for viewmodels on, "0" for off
  37. fov_desired "90.00" // [#] Your default fov
  38.  
  39. // Stuck Clear? -attack
  40.  
  41. developer 1
  42. echo "Default settings loaded!"
  43. developer 0
  44. ////////////////////////////////////////////////////////////////////////
  45. // END DEFAULT SETTINGS RESET
  46. ////////////////////////////////////////////////////////////////////////
  47.  
  48. // Improved Crouch Jump Script
  49. // Thanks to Chdata + Stabby Stabby
  50. bind space +rj
  51. bind ctrl +crouch
  52. alias +rj "spec_mode;-duck;+cr;alias checkrj +cr"
  53. alias -rj "-cr;checkduck;alias checkrj none"
  54. alias +crouch "-cr;+duck;alias checkduck +duck"
  55. alias -crouch "-duck;checkrj;alias checkduck none"
  56. alias checkduck none
  57. alias checkrj none
  58. alias +cr "+jump;+duck"
  59. alias -cr "-duck;-jump"
  60. alias none ""
  61.  
  62.  
  63.  
  64. // Null-cancelling movement script
  65. // Thanks to Stabby Stabby
  66. bind w +mfwd
  67. bind s +mback
  68. bind a +mleft
  69. bind d +mright
  70. alias +mfwd "-back;+forward;alias checkfwd +forward"
  71. alias +mback "-forward;+back;alias checkback +back"
  72. alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
  73. alias +mright "-moveleft;+moveright;alias checkright +moveright"
  74. alias -mfwd "-forward;checkback;alias checkfwd none"
  75. alias -mback "-back;checkfwd;alias checkback none"
  76. alias -mleft "-moveleft;checkright;alias checkleft none"
  77. alias -mright "-moveright;checkleft;alias checkright none"
  78. alias checkfwd none
  79. alias checkback none
  80. alias checkleft none
  81. alias checkright none
  82. alias none ""
  83.  
  84.  
  85.  
  86. // S0N0S's Spy Script: Disguise sync + disable viewmodel on revolver + low sens on revolver + show viewmodel on cloak
  87. // Comments added by S0N0S
  88. // Thanks to Stabby Stabby + Virus + 2C3C
  89.  
  90. // Setup binds
  91. bind 1 pri
  92. bind 2 sec
  93. bind 3 mel
  94. bind 4 dis
  95. bind 5 eng
  96. bind mwheelup s_u
  97. bind mwheeldown s_d
  98. bind mouse1 +s_attack
  99. bind mouse2 +watch
  100. bind mouse3 dsync_toggle
  101. bind mouse4 switcher
  102. bind mouse5 disguiseteam
  103.  
  104. // Setup sensitivity and reset viewmodel
  105. alias pri_mode "r_drawviewmodel 1;sensitivity 1;"
  106. alias sec_mode "r_drawviewmodel 1;sensitivity 2;"
  107. alias mel_mode "r_drawviewmodel 1;sensitivity 2;"
  108.  
  109. // Adjust viewmodel and disguise for +attack and -attack
  110. alias +pri_attack "+attack;r_drawviewmodel 0;dsync_disable;spec_next"
  111. alias -pri_attack "-attack;r_drawviewmodel 0"
  112. alias +sec_attack "+attack;r_drawviewmodel 1;dsync_disable;spec_next"
  113. alias -sec_attack "-attack;r_drawviewmodel 1"
  114. alias +mel_attack "+attack;r_drawviewmodel 1;dsync_disable;spec_next"
  115. alias -mel_attack "-attack;r_drawviewmodel 1"
  116. alias +watch "+attack2; r_drawviewmodel 1; spec_prev"
  117. alias -watch "-attack2; r_drawviewmodel 1"
  118.  
  119. // Switch weapon to slot 1 and prepare switch to other slots
  120. alias prima "slot1; pri_mode; alias +s_attack +pri_attack; alias -s_attack -pri_attack; dsync_action"
  121.  
  122. alias pri_sec "prima; alias switcher sec_pri; alias pri prima; alias sec sec_pri; alias mel mel_pri; alias dis pda_pri_sec; alias eng pda2_pri_sec; alias s_u mel_pri; alias s_d sec_pri"
  123. alias pri_mel "prima; alias switcher mel_pri; alias pri prima; alias sec sec_pri; alias mel mel_pri; alias dis pda_pri_mel; alias eng pda2_pri_mel; alias s_u mel_pri; alias s_d sec_pri"
  124.  
  125. // Switch weapon to slot 2 and prepare switch to other slots
  126. alias secon "slot2; sec_mode; alias +s_attack +sec_attack; alias -s_attack -sec_attack; dsync_action"
  127.  
  128. alias sec_pri "secon; alias switcher pri_sec; alias pri pri_sec; alias sec secon; alias mel mel_sec; alias dis pda_sec_pri; alias eng pda2_sec_pri; alias s_u pri_sec; alias s_d mel_sec"
  129. alias sec_mel "secon; alias switcher mel_sec; alias pri pri_sec; alias sec secon; alias mel mel_sec; alias dis pda_sec_mel; alias eng pda2_sec_mel; alias s_u pri_sec; alias s_d mel_sec"
  130.  
  131. // Switch weapon to slot 3 and prepare switch to other slots
  132. alias melee "slot3; mel_mode; alias +s_attack +mel_attack; alias -s_attack -mel_attack; dsync_action"
  133.  
  134. alias mel_pri "melee; alias switcher pri_mel; alias pri pri_mel; alias sec sec_mel; alias mel melee; alias dis pda_mel_pri; alias eng pda2_mel_pri; alias s_u sec_mel; alias s_d pri_mel"
  135. alias mel_sec "melee; alias switcher sec_mel; alias pri pri_mel; alias sec sec_mel; alias mel melee; alias dis pda_mel_sec; alias eng pda2_mel_sec; alias s_u sec_mel; alias s_d pri_mel"
  136.  
  137. // Switch weapon to slot 4 and prepare switch to other slots
  138. alias pda "slot4;"
  139.  
  140. alias pda_pri_sec "pda; alias switcher pri_sec"
  141. alias pda_pri_mel "pda; alias switcher pri_mel"
  142. alias pda_sec_pri "pda; alias switcher sec_pri"
  143. alias pda_sec_mel "pda; alias switcher sec_mel"
  144. alias pda_mel_pri "pda; alias switcher mel_pri"
  145. alias pda_mel_sec "pda; alias switcher mel_sec"
  146.  
  147. // Switch weapon to slot 5 and prepare switch to other slots
  148. alias pda2 "slot5;"
  149.  
  150. alias pda2_pri_sec "pda2; alias switcher pri_sec"
  151. alias pda2_pri_mel "pda2; alias switcher pri_mel"
  152. alias pda2_sec_pri "pda2; alias switcher sec_pri"
  153. alias pda2_sec_mel "pda2; alias switcher sec_mel"
  154. alias pda2_mel_pri "pda2; alias switcher mel_pri"
  155. alias pda2_mel_sec "pda2; alias switcher mel_sec"
  156.  
  157. // Disguise synchronization enable
  158. alias dsync_enable "dev_notice; cl_showtextmsg 1; echo DISGUISE SYNC ON; wait 60; cl_showtextmsg 0; alias dsync_toggle dsync_disable; lastdisguise; alias dsync_action lastdisguise"
  159.  
  160. // Disguise synchronization disable
  161. alias dsync_disable "dev_notice; cl_showtextmsg 1; echo DISGUISE SYNC OFF; wait 60; cl_showtextmsg 0; alias dsync_toggle dsync_enable; alias dsync_action"
  162.  
  163. alias dsync_toggle "dsync_enable"
  164. alias dev_notice "developer 1; wait 500; developer 0;
  165.  
  166. // Set to primary on spawn
  167. pri_sec
  168.  
  169.  
  170.  
  171. // Disguise Quick-Drop
  172. bind "f" "dropdisguise; dysync_disable"
  173. alias dropdisguise "disguise 8 -2"
  174.  
  175.  
  176.  
  177. // One Key Toggle-able Amby Zoom Script
  178. // Changes FOV to smaller value in order to mimic zooming, also reduces sensitivity slightly.
  179. //bind q togglezoom
  180. //alias togglezoom "ambyzoomon"
  181. //alias ambyzoomon "alias togglezoom ambyzoomoff; fov_desired 54; sensitivity [your zoom sens here]"
  182. //alias ambyzoomoff "alias togglezoom ambyzoomon; fov_desired 90; sensitivity [your normal sens here]"
  183. //echo "Zoom Script Loaded Properly."
Advertisement
Add Comment
Please, Sign In to add comment