Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 13th, 2012  |  syntax: None  |  size: 8.24 KB  |  views: 26  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. //Defaults for Spy, these are changed everytime I switch to the class, put YOUR settings here
  2. cl_crosshair_blue "200"
  3. cl_crosshair_green "175"
  4. cl_crosshair_red "0"
  5. cl_crosshair_scale "30"
  6. cl_crosshair_file "crosshair5"
  7.  
  8. r_drawviewmodel 1
  9.  
  10.  
  11. //Ambassador Zoom Script
  12. alias "+ambyzoom" "fov_desired 75; viewmodel_fov 54; viewmodel_fov_demo 54; sensitivity 2.0"
  13. alias "-ambyzoom" "fov_desired 90; viewmodel_fov 70; viewmodel_fov_demo 70; sensitivity 2.8"
  14. bind "Shift" "+ambyzoom"
  15.  
  16.  
  17. bind "q" "switcher"
  18. bind "mouse2" "+watch;spec_prev"
  19.  
  20.  
  21. alias knife_vm_mode "bind mouse1 +viewmodel_knife"
  22. alias amby_vm_mode "bind mouse1 +viewmodel_amby"
  23. alias sap_vm_mode "bind mouse1 +viewmodel_sap"
  24.  
  25. alias +viewmodel_knife "+attack;r_drawviewmodel 1;spec_next"
  26. alias -viewmodel_knife "-attack;r_drawviewmodel 1"
  27. alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next"
  28. alias -viewmodel_amby "-attack;r_drawviewmodel 0"
  29. alias +viewmodel_sap "+attack;r_drawviewmodel 1;spec_next"
  30. alias -viewmodel_sap "-attack;r_drawviewmodel 1"
  31.  
  32.  
  33. alias equip_knife "slot3;r_drawviewmodel 1;knife_vm_mode"
  34.  
  35. alias equip_knife2amby "equip_knife;alias switcher equip_amby2knife;bind 2 equip_sap2knife;bind 3 equip_knife;bind 1 equip_amby2knife"
  36. alias equip_knife2sap "equip_knife;alias switcher equip_sap2knife;bind 2 equip_sap2knife;bind 3 equip_knife;bind 1 equip_amby2knife"
  37.  
  38. alias equip_amby "slot1;r_drawviewmodel 1;amby_vm_mode"
  39.  
  40. alias equip_amby2sap "equip_amby;alias switcher equip_sap2amby;bind 2 equip_sap2amby;bind 3 equip_knife2amby;bind 1 equip_amby"
  41. alias equip_amby2knife "equip_amby;alias switcher equip_knife2amby;bind 2 equip_sap2amby;bind 3 equip_knife2amby;bind 1 equip_amby"
  42.  
  43. alias equip_sap "slot2;r_drawviewmodel 1;sap_vm_mode"
  44.  
  45. alias equip_sap2knife "equip_sap;alias switcher equip_knife2sap;bind 2 equip_sap;bind 3 equip_knife2sap;bind 1 equip_amby2sap"
  46. alias equip_sap2amby "equip_sap;alias switcher equip_amby2sap;bind 2 equip_sap;bind 3 equip_knife2sap;bind 1 equip_amby2sap"
  47.  
  48. alias +watch "+attack2;r_drawviewmodel 1"
  49. alias -watch "-attack2;r_drawviewmodel 1"
  50.  
  51. equip_knife2amby
  52.  
  53.  
  54. //Ambassador Cooldown Color Change
  55. //Changes the color of the crosshair for a brief period of time, the exact time it takes for the Ambassador to cool off
  56. alias +AmbyHot "+attack; cl_crosshair_blue 0; cl_crosshair_green 100; cl_crosshair_red 255;"
  57. alias -AmbyHot "-attack; wait 165; cl_crosshair_blue 200; cl_crosshair_green 175; cl_crosshair_red 0"
  58.  
  59.  
  60. //Cooldown and Disguise
  61. //For when you want both commands enabled together
  62. //Changes the color of the crosshair for a brief period of time, the exact time it takes //for the Ambassador to cool off
  63. alias +AmbyandDisguise "+attack; cl_crosshair_blue 0; cl_crosshair_green 100; cl_crosshair_red 255; wait 195; cl_crosshair_blue 200; cl_crosshair_green 175; cl_crosshair_red 0"
  64.  
  65. //Disguise drop key, to enable faster Spy Capping and drop disguise when auto disguise is enabled
  66. alias dropdisguise "echo DISGUISE_DROP;disguise 8 -2"
  67.  
  68. bind "o" "dropdisguise"
  69.  
  70. alias dotxhairtype "dotxhairtypeb"
  71. alias dotxhairtypeb "cl_crosshair_file crosshair1;cl_crosshair_scale 30;alias dotxhairtype dotxhairtyper"
  72. alias dotxhairtyper "cl_crosshair_file crosshair5;cl_crosshair_scale 15;alias dotxhairtype dotxhairtypeb"
  73.  
  74.  
  75. alias dotxhaircolor "dotxhaircolorb"
  76. alias dotxhaircolorb "cl_crosshair_blue 0; cl_crosshair_green 255; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorc"
  77. alias dotxhaircolorc "cl_crosshair_blue 255; cl_crosshair_green 0; cl_crosshair_red 255;alias dotxhaircolor dotxhaircolord"
  78. alias dotxhaircolord "cl_crosshair_blue 240; cl_crosshair_green 255; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorb"
  79.  
  80.  
  81. cl_autoreload 1
  82.  
  83. bind "w" +fw
  84. alias +fw "+forward;dotxhaircolor"
  85. alias -fw "-forward;dotxhaircolor"
  86.  
  87. bind "s" +bw
  88. alias +bw "+back;dotxhaircolor"
  89. alias -bw "-back;dotxhaircolor"
  90.  
  91. bind "d" +mr
  92. alias +mr "+moveright;dotxhaircolor"
  93. alias -mr "-moveright;dotxhaircolor"
  94.  
  95. bind "a" +ml
  96. alias +ml "+moveleft;dotxhaircolor"
  97. alias -ml "-moveleft;dotxhaircolor"
  98. echo Spy Numberpad Disguise Selector Active
  99. echo Usage: Numpad keys 1-9 select your class
  100. echo Numpad 0 selects RED and Numpad . (del) selects BLU
  101. echo Numpad Enter key toggles between red and blu
  102. echo Numpad + will disguise you randomly, while Numpad * will display which disguise you've last selected
  103. echo (note: num * does not work with num +)
  104.  
  105. //alias commands for red binds
  106. alias d_red_scout "disguise 1 2; d_rsc"
  107. alias d_red_soldier "disguise 3 2; d_rso"
  108. alias d_red_pyro "disguise 7 2; d_rpy"
  109. alias d_red_demo "disguise 4 2; d_rdm"
  110. alias d_red_heavy "disguise 6 2; d_rhv"
  111. alias d_red_engi "disguise 9 2; d_ren"
  112. alias d_red_medic "disguise 5 2; d_rmd"
  113. alias d_red_sniper "disguise 2 2; d_rsn"
  114. alias d_red_spy "disguise 8 2; d_rsp"
  115.  
  116. //alias commands for blu binds
  117. alias d_blu_scout "disguise 1 1; d_bsc"
  118. alias d_blu_soldier "disguise 3 1; d_bso"
  119. alias d_blu_pyro "disguise 7 1; d_bpy"
  120. alias d_blu_demo "disguise 4 1; d_bdm"
  121. alias d_blu_heavy "disguise 6 1; d_bhv"
  122. alias d_blu_engi "disguise 9 1; d_ben"
  123. alias d_blu_medic "disguise 5 1; d_bmd"
  124. alias d_blu_sniper "disguise 2 1; d_bsn"
  125. alias d_blu_spy "disguise 8 1; d_bsp"
  126.  
  127. //create the team swapping aliases
  128. alias select_red "s_rsc; s_rso; s_rpy; s_rdm; s_rhv; s_ren; s_rmd; s_rsn; s_rsp"
  129. alias select_blu "s_bsc; s_bso; s_bpy; s_bdm; s_bhv; s_ben; s_bmd; s_bsn; s_bsp"
  130.  
  131. //define the class binding aliases
  132. alias s_rsc "bind KP_END d_red_scout"
  133. alias s_rso "bind KP_DOWNARROW d_red_soldier"
  134. alias s_rpy "bind KP_PGDN d_red_pyro"
  135. alias s_rdm "bind KP_LEFTARROW d_red_demo"
  136. alias s_rhv "bind KP_5 d_red_heavy"
  137. alias s_ren "bind KP_RIGHTARROW d_red_engi"
  138. alias s_rmd "bind KP_HOME d_red_medic"
  139. alias s_rsn "bind KP_UPARROW d_red_sniper"
  140. alias s_rsp "bind KP_PGUP d_red_spy"
  141.  
  142. alias s_bsc "bind KP_END d_blu_scout"
  143. alias s_bso "bind KP_DOWNARROW d_blu_soldier"
  144. alias s_bpy "bind KP_PGDN d_blu_pyro"
  145. alias s_bdm "bind KP_LEFTARROW d_blu_demo"
  146. alias s_bhv "bind KP_5 d_blu_heavy"
  147. alias s_ben "bind KP_RIGHTARROW d_blu_engi"
  148. alias s_bmd "bind KP_HOME d_blu_medic"
  149. alias s_bsn "bind KP_UPARROW d_blu_sniper"
  150. alias s_bsp "bind KP_PGUP d_blu_spy"
  151.  
  152. //define the switches to bypass the quote limit :/ wish valve would fix it
  153. alias d_rsc "alias disguise_what w_rsc"
  154. alias d_rso "alias disguise_what w_rso"
  155. alias d_rpy "alias disguise_what w_rpy"
  156. alias d_rdm "alias disguise_what w_rdm"
  157. alias d_rhv "alias disguise_what w_rhv"
  158. alias d_ren "alias disguise_what w_ren"
  159. alias d_rmd "alias disguise_what w_rmd"
  160. alias d_rsn "alias disguise_what w_rsn"
  161. alias d_rsp "alias disguise_what w_rsp"
  162.  
  163. alias d_bsc "alias disguise_what w_bsc"
  164. alias d_bso "alias disguise_what w_bso"
  165. alias d_bpy "alias disguise_what w_bpy"
  166. alias d_bdm "alias disguise_what w_bdm"
  167. alias d_bhv "alias disguise_what w_bhv"
  168. alias d_ben "alias disguise_what w_ben"
  169. alias d_bmd "alias disguise_what w_bmd"
  170. alias d_bsn "alias disguise_what w_bsn"
  171. alias d_bsp "alias disguise_what w_bsp"
  172.  
  173. //define the disguise list for disguise identifier
  174. alias w_rsc "echo Last disguised as: Red Scout"
  175. alias w_rso "echo Last disguised as: Red Soldier"
  176. alias w_rpy "echo Last disguised as: Red Pyro"
  177. alias w_rdm "echo Last disguised as: Red Demo"
  178. alias w_rhv "echo Last disguised as: Red Heavy"
  179. alias w_ren "echo Last disguised as: Red Engineer"
  180. alias w_rmd "echo Last disguised as: Red Medic"
  181. alias w_rsn "echo Last disguised as: Red Sniper"
  182. alias w_rsp "echo Last disguised as: Red Spy"
  183.  
  184. alias w_bsc "echo Last disguised as: Blu Scout"
  185. alias w_bso "echo Last disguised as: Blu Soldier"
  186. alias w_bpy "echo Last disguised as: Blu Pyro"
  187. alias w_bdm "echo Last disguised as: Blu Demoman"
  188. alias w_bhv "echo Last disguised as: Blu Heavy"
  189. alias w_ben "echo Last disguised as: Blu Engineer"
  190. alias w_bmd "echo Last disguised as: Blu Medic"
  191. alias w_bsn "echo Last disguised as: Blu Sniper"
  192. alias w_bsp "echo Last disguised as: Blu Spy"
  193.  
  194. //.wav file integration
  195. alias play_red "play selectred.wav"
  196. alias play_blu "play selectblu.wav"
  197.  
  198. //loop toggle command for enter key
  199. alias toggle toggle1
  200. alias toggle1 "select_red; play_red; alias toggle toggle2"
  201. alias toggle2 "select_blu; play_blu; alias toggle toggle1"
  202.  
  203. bind KP_INS toggle1
  204. bind KP_DEL toggle2
  205. bind KP_ENTER toggle
  206. bind MOUSE3 "lastdisguise random"
  207. bind KP_MULTIPLY "disguise_what"
  208.  
  209. toggle1