Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.31 KB | None | 0 0
  1. //---------------------\\
  2. // Woolen's Spy Config \\
  3. //---------------------\\
  4.  
  5. // Contact me at any of these:
  6. // YouTube: www.youtube.com/user/TheBoy7477
  7. // Twitter: www.twitter.com/WoolenSleevelet
  8. // Discord: www.discord.gg/8FNrdFR
  9.  
  10. // Check for updates / other config files:
  11. // Pastebin: www.pastebin.com/u/WoolenSleevelet
  12.  
  13. // All of my scripts are intended to be used alongside Yttrium's Viewmodel Mod,
  14. // Which handles all of the viewmodel hiding for me (it's much more reliable than any script)
  15. // Yttrium's Mod Installation Video: https://www.youtube.com/watch?v=4phrSBGD1qA
  16.  
  17. //--------------------------------
  18. // Resetting Binds
  19. //--------------------------------
  20.  
  21. // Starts by resetting all keyboard/mouse binds to (my) defaults.
  22.  
  23. // If you want to use YOUR default bindings, find your "config.cfg" (inside cfg folder)
  24. // and copy paste the first 70 or so lines in here,
  25. // replacing all my bind "key" "action" lines with yours.
  26.  
  27. unbindall
  28. bind "0" "slot10"
  29. bind "1" "slot1"
  30. bind "2" "slot2"
  31. bind "3" "slot3"
  32. bind "4" "slot4"
  33. bind "5" "slot5"
  34. bind "6" "slot6"
  35. bind "7" "slot7"
  36. bind "8" "slot8"
  37. bind "9" "slot9"
  38. bind "a" "+moveleft"
  39. bind "b" "lastdisguise"
  40. bind "c" "voice_menu_3"
  41. bind "d" "+moveright"
  42. bind "e" ""
  43. bind "f" "+inspect"
  44. bind "g" "+taunt"
  45. bind "h" "+use_action_slot_item"
  46. bind "i" "showmapinfo"
  47. bind "j" "cl_trigger_first_notification"
  48. bind "k" "cl_decline_first_notification"
  49. bind "l" "dropitem"
  50. bind "m" "open_charinfo_direct"
  51. bind "n" "open_charinfo_backpack"
  52. bind "o" "+attack3"
  53. bind "p" "vr_reset_home_pos"
  54. bind "q" ""
  55. bind "r" "+reload;mp_showrespawntimes"
  56. bind "s" "+back"
  57. bind "t" "impulse 201"
  58. bind "u" ""
  59. bind "y" ""
  60. bind "v" "voice_menu_1"
  61. bind "w" "+forward"
  62. bind "x" "voice_menu_2"
  63. bind "z" "voicemenu 0 0"
  64. bind "'" "+moveup"
  65. bind "`" "toggleconsole"
  66. bind "," "changeclass"
  67. bind "." "changeteam"
  68. bind "/" "+movedown"
  69. bind "-" "disguiseteam"
  70. bind "SPACE" "+crouchjump"
  71. bind "TAB" "+showscores"
  72. bind "ESCAPE" "cancelselect"
  73. bind "INS" "+klook"
  74. bind "END" "explode"
  75. bind "PGUP" "+lookup"
  76. bind "PGDN" "+lookdown"
  77. bind "PAUSE" "pause"
  78. bind "ALT" "+strafe"
  79. bind "ctrl" "+voicerecord"
  80. bind "SHIFT" "+duck"
  81. bind "F1" "load_itempreset 0;"
  82. bind "F2" "load_itempreset 1;"
  83. bind "F3" "load_itempreset 2;"
  84. bind "F4" "load_itempreset 3;
  85. bind "F5" "player_ready_toggle"
  86. bind "F6" "screenshot"
  87. bind "F7" "save_replay"
  88. bind "F8" "record asdf; stop"
  89. bind "F9" "askconnect_accept"
  90. bind "F10" "show_quest_log"
  91. bind "MOUSE1" "+attack"
  92. bind "MOUSE2" "+attack2"
  93. bind "MOUSE3" "lastinv"
  94. bind "MWHEELUP" "slot2"
  95. bind "MWHEELDOWN" "slot3"
  96. bind KP_END "join_class scout"
  97. bind KP_DOWNARROW "join_class soldier"
  98. bind KP_PGDN "join_class pyro"
  99. bind KP_LEFTARROW "join_class demoman"
  100. bind KP_5 "join_class heavyweapons"
  101. bind KP_RIGHTARROW "join_class engineer"
  102. bind KP_HOME "join_class medic"
  103. bind KP_UPARROW "join_class sniper"
  104. bind KP_PGUP "join_class spy" bind "0" "slot10"
  105. bind "1" "slot1"
  106. bind "2" "slot2"
  107. bind "3" "slot3"
  108. bind "4" "slot4"
  109. bind "5" "slot5"
  110. bind "6" "slot6"
  111. bind "7" "slot7"
  112. bind "8" "slot8"
  113. bind "9" "slot9"
  114. bind "a" "+moveleft"
  115. bind "b" "lastdisguise"
  116. bind "c" "voice_menu_3"
  117. bind "d" "+moveright"
  118. bind "e" ""
  119. bind "f" "+inspect"
  120. bind "g" "+taunt"
  121. bind "h" "+use_action_slot_item"
  122. bind "i" "showmapinfo"
  123. bind "j" "cl_trigger_first_notification"
  124. bind "k" "cl_decline_first_notification"
  125. bind "l" "dropitem"
  126. bind "m" "open_charinfo_direct"
  127. bind "n" "open_charinfo_backpack"
  128. bind "o" "+attack3"
  129. bind "p" "vr_reset_home_pos"
  130. bind "q" ""
  131. bind "r" "+reload;mp_showrespawntimes"
  132. bind "s" "+back"
  133. bind "t" "impulse 201"
  134. bind "u" ""
  135. bind "y" ""
  136. bind "v" "voice_menu_1"
  137. bind "w" "+forward"
  138. bind "x" "voice_menu_2"
  139. bind "z" "voicemenu 0 0"
  140. bind "'" "+moveup"
  141. bind "`" "toggleconsole"
  142. bind "," "changeclass"
  143. bind "." "changeteam"
  144. bind "/" "+movedown"
  145. bind "-" "disguiseteam"
  146. bind "SPACE" "+jump"
  147. bind "TAB" "+showscores"
  148. bind "ESCAPE" "cancelselect"
  149. bind "INS" "+klook"
  150. bind "END" "explode"
  151. bind "PGUP" "+lookup"
  152. bind "PGDN" "+lookdown"
  153. bind "PAUSE" "pause"
  154. bind "ALT" "+strafe"
  155. bind "ctrl" "+voicerecord"
  156. bind "SHIFT" "+duck"
  157. bind "F1" "load_itempreset 0;"
  158. bind "F2" "load_itempreset 1;"
  159. bind "F3" "load_itempreset 2;"
  160. bind "F4" "load_itempreset 3;
  161. bind "F5" "player_ready_toggle"
  162. bind "F6" "screenshot"
  163. bind "F7" "save_replay"
  164. bind "F8" "record asdf; stop"
  165. bind "F9" "askconnect_accept"
  166. bind "F10" "show_quest_log"
  167. bind "MOUSE1" "+attack"
  168. bind "MOUSE2" "+attack2"
  169. bind "MOUSE3" "lastinv"
  170. bind "MWHEELUP" "slot2"
  171. bind "MWHEELDOWN" "slot3"
  172. bind KP_END "join_class scout"
  173. bind KP_DOWNARROW "join_class soldier"
  174. bind KP_PGDN "join_class pyro"
  175. bind KP_LEFTARROW "join_class demoman"
  176. bind KP_5 "join_class heavyweapons"
  177. bind KP_RIGHTARROW "join_class engineer"
  178. bind KP_HOME "join_class medic"
  179. bind KP_UPARROW "join_class sniper"
  180. bind KP_PGUP "join_class spy"
  181.  
  182. //--------------------------------
  183. // Spy specific stuff
  184. //--------------------------------
  185.  
  186. // Cool shit right here
  187. // Left click to shoot/stab, right click for invis/deadringer
  188. // Mousewheel up to switch to gun, mousewheel down for knife
  189. // Hold mouse5 to pull out and use sapper, let go to switch back to last weapon
  190. // Press 5 a bunch to change to enemy medic and pull out medigun (to check what they are running)
  191. // Press 6 to change to friendly scout (for cart pushing and being with your team)
  192. // Press mouse4 to change to an enemy scout (small model+weapon for sneaky decloaks especially when you crouch, no speed loss, your actual hitbox does not change to match scout hitbox so snipers have to shoot above your scout disguise head to hit your spy one)
  193. // Press Q to undisguise (quickly cap a point/cart / show your spychecking teammate you are on their team)
  194. // Press mousewheel and scroll down repeatedly for satisfying knife animation (best part of the script)
  195.  
  196. // Primary Attack
  197. alias "+primatck" "+attack"
  198. alias "-primatck" "-attack"
  199.  
  200. // Secondary Attack
  201. alias "+secatack" "+attack2"
  202. alias "-secatack" "-attack2"
  203.  
  204. // Sapper
  205. alias "+sapper" "slot2;+attack"
  206. alias "-sapper" "lastinv;-attack"
  207.  
  208. // Quick Disguises
  209. alias "checkmedigun" "slot2; disguise 5 -1"
  210. alias "friendlyscout" "disguise 1 -2"
  211. alias "enemyscout" "disguise 1 -1"
  212. alias "undisguise" "disguise 8 -2"
  213.  
  214. // Feel free to change the keys these are bound to!
  215. bind "mouse1" "+primatck"
  216. bind "mouse2" "+secatack"
  217. bind "mouse3" "lastinv"
  218. bind "r" "+sapper"
  219. bind "mwheelup" "slot1"
  220. bind "mwheeldown" "slot3"
  221.  
  222. bind "q" "undisguise"
  223. bind "5" "checkmedigun"
  224. bind "6" "friendlyscout"
  225. bind "mouse4" "enemyscout"
  226.  
  227. // If you don't have a 5 button mouse you should rebind
  228. // any "mouse4" and "mouse5" actions to another key
  229. // such as E R or Q
  230.  
  231. //--------------------------------
  232. // Misc stuff
  233. //--------------------------------
  234.  
  235. // Press "-" on the numpad in MvM to put enemy hp above their head.
  236. // Works around a bug in MvM where you cannot see giant robot HP,
  237. // unless you have enabled above head HP meters.
  238. bind kp_minus "incrementvar tf_hud_target_id_disable_floating_health 0 1 1"
  239.  
  240. // Generic stuff like fov and crosshair, feel free to change / remove any of these
  241. r_drawviewmodel 1
  242. viewmodel_fov 90
  243. fov_desired 90
  244. cl_crosshair_file crosshair3; cl_crosshair_scale 40
  245. glow_outline_effect_enable 1
  246. cl_showfps 0
  247. cl_autoreload 1
  248. r_drawtracers_firstperson 0
  249. hud_fastswitch 1
  250.  
  251. // Execute some other configs
  252. // If you don't have these, comment out these lines or download them from my video description
  253. exec nullmove; // The config which lets you strafe without stopping if you press both A and D at the same time
  254. exec scoreboard; // The config which shows net_graph and fps and stuff when you hold "tab"
  255.  
  256. // Some bug fixing buttons, press them if needed.
  257. bind "[" hud_reloadscheme // Only reloads hud, fixes some hud related issues
  258. bind "]" "helpme" // Records then stops a demo, restarts audio, reloads hud (general fix all button)
  259.  
  260. alias "helpme" "record demo ; stop ; snd_restart ; hud_reloadscheme"
  261.  
  262. // MANUALLY RESTART YOUR DEMO RECORDING IF YOU ARE IN AN ETF2L LEAGUE GAME AND PRESS THIS BUTTON
  263. // Doesnt matter in pubs/ugc/lobbies/ whatever. ETF2L just likes you to record your demos.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement