SHARE
TWEET

stuff

a guest May 6th, 2014 10,816 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. ------------Script Collection v1---------------
  3. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. ~via various sources/sites(gamebanana, SPUF, ect) or hand-made~
  5.  
  6. ----------------------=
  7. Using scripts and cfgs
  8. *C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\cfg
  9. *to have scripts that automatically runs upon launch make a text file named autoexec
  10. *changed the ".txt" ending to ".cfg"
  11. *to make a script that automatically runs apon joining a specific class make a .cfg file named after desired class
  12. *Example: "pyro.cfg" "engineer.cfg"
  13. *You can execute any .cfg file by typing in the console "exec" then the name of the file (without the .cfg at the end)
  14. *In this collection I use <key> as a place holder. Put whatever key you want there before you use
  15. *Except for scripts which the key used is a default function or the whole point of the script
  16. ----------------------=
  17.  
  18. --Pseudo-zoom script
  19. alias t_zoomer zoomin
  20. alias zoomin "fov_desired 70; r_drawviewmodel 0; alias t_zoomer zoomout"
  21. alias zoomout "fov_desired 90; r_drawviewmodel 1; alias t_zoomer zoomin"
  22. bind <key> t_zoomer
  23.  
  24. --voice-toggle
  25. Alias voicetoggle "voicetoggleon"
  26. alias voicetoggleon "+voicerecord; alias voicetoggle voicetoggleoff"
  27. alias voicetoggleoff "-voicerecord; alias voicetoggle voicetoggleon"
  28. bind <key> "voicetoggle"
  29.  
  30. --crouch-jump
  31. alias +crouchjump "+jump; +duck"
  32. alias -crouchjump "-duck; -jump"
  33. bind space "+crouchjump"
  34.  
  35. --high-5 toggle
  36. alias "hi_t" "+use_action_slot_item;bind H hi_l"
  37. alias "hi_l" "-use_action_slot_item;bind H hi_t"
  38. bind "H" "hi_t"
  39.  
  40. --null-movement
  41. bind w +mfwd
  42. bind s +mback
  43. bind a +mleft
  44. bind d +mright
  45.  
  46. alias +mfwd "-back;+forward;alias checkfwd +forward"
  47. alias +mback "-forward;+back;alias checkback +back"
  48. alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
  49. alias +mright "-moveleft;+moveright;alias checkright +moveright"
  50. alias -mfwd "-forward;checkback;alias checkfwd none"
  51. alias -mback "-back;checkfwd;alias checkback none"
  52. alias -mleft "-moveleft;checkright;alias checkleft none"
  53. alias -mright "-moveright;checkleft;alias checkright none"
  54. alias checkfwd none
  55. alias checkback none
  56. alias checkleft none
  57. alias checkright none
  58. alias none ""
  59.  
  60. --viewmodel toggle
  61. alias stuffis stuffon
  62. alias stuffon "r_drawviewmodel 0; bind stuffis stuffoff"
  63. alias stuffoff "r_drawviewmodel 1; bind stuffis stuffon"
  64. bind <key> stuffis
  65.  
  66. --Pyro panic button
  67. alias panic panicon
  68. alias panicon "+left; cl_yawspeed 1500; voicemenu 2 0; alias panic panicoff"
  69. alias panicoff "-left; cl_yawspeed 210; alias panic panicon"
  70. bind <key> panic
  71.  
  72. --Engineer build + destroy binds
  73. //tent = teleporter entrance, text = teleporter exit
  74. alias buildsent "destroy 2 0; build 2 0"
  75. alias builddisp "destroy 0 0; build 0 0"
  76. alias buildtent "destroy 1 0; build 1 0"
  77. alias buildtext "destroy 1 1; build 1 1"
  78. bind <key1> buildsent
  79. bind <key2> builddisp
  80. bind <key3> buildtent
  81. bind <key4> buildtext
  82.  
  83. --EZ spy civilian
  84. //hold sapper out when using
  85. alias +civ "+use_action_slot_item"
  86. alias -civ "build 3 0; -use_action_slot_item"
  87.  
  88. bind <key> +civ
  89.  
  90. --EZ Flarepunch
  91. //spew fire before activating
  92. alias +punch "slot2; +attack"
  93. alias -punch "slot1; -attack"
  94. bind <key> +punch
  95.  
  96. --medic uber-shout auto-mask
  97. alias +maskcall "+attack2; voicemenu 2 4"
  98. alias -maskcall "-attack2"
  99. bind mouse2 +maskcall
  100.  
  101. --Spy keypad disguising
  102.  
  103. //1-9 to disguise as a class respectively
  104. //hold down 0 and press a key to disguise as a friendly class
  105. //1-3 scout, soldier, pyro
  106. //4-6 demo, heavy, engi
  107. //7-9 medic, sniper, spy
  108. alias enemysco "disguise 1 -1"
  109. alias enemysol "disguise 3 -1"
  110. alias enemypyr "disguise 7 -1"
  111. alias enemydem "disguise 4 -1"
  112. alias enemyhea "disguise 6 -1"
  113. alias enemyeng "disguise 9 -1"
  114. alias enemymed "disguise 5 -1"
  115. alias enemysni "disguise 2 -1"
  116. alias enemyspy "disguise 8 -1"
  117. alias friendsco "disguise 1 -2"
  118. alias friendsol "disguise 3 -2"
  119. alias friendpyr "disguise 7 -2"
  120. alias frienddem "disguise 4 -2"
  121. alias friendhea "disguise 6 -2"
  122. alias friendeng "disguise 9 -2"
  123. alias friendmed "disguise 5 -2"
  124. alias friendsni "disguise 2 -2"
  125. alias friendspy "disguise 8 -2"
  126. alias enemydisguise "alias scodis enemysco; alias soldis enemysol; alias pyrdis enemypyr; alias demdis enemydem; alias headis enemyhea; alias engdis enemyeng; alias meddis enemymed; alias snidis enemysni; alias spydis enemyspy"
  127. alias frienddisguise "alias scodis friendsco; alias soldis friendsol; alias pyrdis friendpyr; alias demdis frienddem; alias headis friendhea; alias engdis friendeng; alias meddis friendmed; alias snidis friendsni; alias spydis friendspy"
  128. enemydisguise
  129. alias +setdisguise "frienddisguise"
  130. alias -setdisguise "enemydisguise"
  131. bind KP_INS +setdisguise
  132. bind KP_END scodis
  133. bind KP_DOWNARROW soldis
  134. bind KP_PGDN pyrdis
  135. bind KP_LEFTARROW demdis
  136. bind KP_5 headis
  137. bind KP_RIGHTARROW engdis
  138. bind KP_HOME meddis
  139. bind KP_UPARROW snidis
  140. bind KP_PGUP spydis
RAW Paste Data
Top