Guest User

Leptir1's Spy.cfg

a guest
Feb 22nd, 2012
20,602
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.48 KB | None | 0 0
  1. // IMPORTANT READ ME
  2. // IN ORDER TO NOT BREAK YOUR OTHER CLASSES ADD THE FOLLOWING CODE IN THE BEGINNING OF ALL YOUR CLASS CFGs
  3.  
  4. bind 1 slot1
  5. bind 2 slot2
  6. bind 3 slot3
  7. bind 4 slot4
  8. bind 5 slot5
  9. bind q lastinv
  10. bind mwheelup invprev
  11. bind mwheeldown invnext
  12. bind mouse1 +attack
  13.  
  14. // All credit goes to StabbyStabby
  15. // http://www.youtube.com/stabbyvideo
  16.  
  17.  
  18. //Defaults for Spy, these are changed everytime I switch to the class, put YOUR settings here
  19. cl_crosshair_blue "200"
  20. cl_crosshair_green "175"
  21. cl_crosshair_red "0"
  22. cl_crosshair_scale "30"
  23. cl_crosshair_file "crosshair5"
  24.  
  25. r_drawviewmodel 1
  26.  
  27.  
  28. //Ambassador Zoom Script
  29. alias "+ambyzoom" "fov_desired 75; viewmodel_fov 54; viewmodel_fov_demo 54; sensitivity 2.0"
  30. alias "-ambyzoom" "fov_desired 90; viewmodel_fov 70; viewmodel_fov_demo 70; sensitivity 2.8"
  31. bind "CTRL" "+ambyzoom"
  32.  
  33.  
  34.  
  35. //Crouch Color Toggle
  36. alias "stairtoggle" "on"
  37. alias "off" "bind CTRL +duck; alias stairtoggle on; echo CROUCH COLOR TOGGLE DISABLED"
  38. alias "on" "bind CTRL +crouchcolor; alias stairtoggle off; echo CROUCH COLOR TOGGLE ENABLED"
  39. bind "H" "stairtoggle"
  40.  
  41.  
  42. //Toggle Auto Disguise
  43. //This allows you to instantly redisguise without having to manually press the //lastdisguise command, however, you will NEVER leave your disguise.
  44. alias +disguiseattack "+attack"
  45. alias -disguiseattack "-attack; -wait; lastdisguise"
  46.  
  47.  
  48.  
  49. //Viewmodel Script
  50.  
  51.  
  52. bind "q" "switcher"
  53. bind "mouse2" "+watch;spec_prev"
  54.  
  55.  
  56. alias knife_vm_mode "bind mouse1 +viewmodel_knife"
  57. alias amby_vm_mode "bind mouse1 +viewmodel_amby"
  58. alias sap_vm_mode "bind mouse1 +viewmodel_sap"
  59.  
  60. alias +viewmodel_knife "+attack;r_drawviewmodel 1;spec_next"
  61. alias -viewmodel_knife "-attack;r_drawviewmodel 1"
  62. alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next"
  63. alias -viewmodel_amby "-attack;r_drawviewmodel 0"
  64. alias +viewmodel_sap "+attack;r_drawviewmodel 1;spec_next"
  65. alias -viewmodel_sap "-attack;r_drawviewmodel 1"
  66.  
  67.  
  68. alias equip_knife "slot3;r_drawviewmodel 1;knife_vm_mode"
  69.  
  70. alias equip_knife2amby "equip_knife;alias switcher equip_amby2knife;bind 2 equip_sap2knife;bind 3 equip_knife;bind 1 equip_amby2knife"
  71. alias equip_knife2sap "equip_knife;alias switcher equip_sap2knife;bind 2 equip_sap2knife;bind 3 equip_knife;bind 1 equip_amby2knife"
  72.  
  73. alias equip_amby "slot1;r_drawviewmodel 1;amby_vm_mode"
  74.  
  75. alias equip_amby2sap "equip_amby;alias switcher equip_sap2amby;bind 2 equip_sap2amby;bind 3 equip_knife2amby;bind 1 equip_amby"
  76. alias equip_amby2knife "equip_amby;alias switcher equip_knife2amby;bind 2 equip_sap2amby;bind 3 equip_knife2amby;bind 1 equip_amby"
  77.  
  78. alias equip_sap "slot2;r_drawviewmodel 1;sap_vm_mode"
  79.  
  80. alias equip_sap2knife "equip_sap;alias switcher equip_knife2sap;bind 2 equip_sap;bind 3 equip_knife2sap;bind 1 equip_amby2sap"
  81. alias equip_sap2amby "equip_sap;alias switcher equip_amby2sap;bind 2 equip_sap;bind 3 equip_knife2sap;bind 1 equip_amby2sap"
  82.  
  83. alias +watch "+attack2;r_drawviewmodel 1"
  84. alias -watch "-attack2;r_drawviewmodel 1"
  85.  
  86. equip_knife2amby
  87.  
  88.  
  89. //Ambassador Cooldown Color Change
  90. //Changes the color of the crosshair for a brief period of time, the exact time it takes for the Ambassador to cool off
  91. alias +AmbyHot "+attack; cl_crosshair_blue 0; cl_crosshair_green 100; cl_crosshair_red 255;"
  92. alias -AmbyHot "-attack; wait 165; cl_crosshair_blue 200; cl_crosshair_green 175; cl_crosshair_red 0"
  93.  
  94.  
  95. //Cooldown and Disguise
  96. //For when you want both commands enabled together
  97. //Changes the color of the crosshair for a brief period of time, the exact time it takes //for the Ambassador to cool off
  98. 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"
  99. alias -AmbyandDisguise "-attack; lastdisguise"
  100.  
  101.  
  102.  
  103. //Spy Toggle
  104. //Toggles auto diguise commands and Amnbassador Cooldown on and off
  105. alias "spytoggle" "set1"
  106. alias "set1" "bind mouse1 +disguiseattack; alias spytoggle set2; echo DISGUISE ON ATTACK ENABLED"
  107. alias "set2" "bind mouse1 +AmbyHot; alias spytoggle set3; echo AMBY COLOR CHANGE ENABLED"
  108. alias "set3" "bind mouse1 +AmbyandDisguise; alias spytoggle set4; echo AUTO DISGUISE AND COOLDOWN ENABLED"
  109. alias "set4" "bind mouse1 +attack; alias spytoggle set1; echo DISGUISE ON ATTACK AND COOLDOWN DISABLED"
  110. bind "G" "spytoggle"
  111.  
  112.  
  113.  
  114. //Disguise drop key, to enable faster Spy Capping and drop disguise when auto disguise is enabled
  115. alias dropdisguise "echo DISGUISE_DROP;disguise 8 -2"
  116.  
  117. bind "N" "dropdisguise"
  118.  
  119. alias dotxhairtype "dotxhairtypeb"
  120. alias dotxhairtypeb "cl_crosshair_file crosshair1;cl_crosshair_scale 30;alias dotxhairtype dotxhairtyper"
  121. alias dotxhairtyper "cl_crosshair_file crosshair5;cl_crosshair_scale 15;alias dotxhairtype dotxhairtypeb"
  122.  
  123.  
  124. alias dotxhaircolor "dotxhaircolorb"
  125. alias dotxhaircolorb "cl_crosshair_blue 0; cl_crosshair_green 255; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorc"
  126. alias dotxhaircolorc "cl_crosshair_blue 255; cl_crosshair_green 0; cl_crosshair_red 255;alias dotxhaircolor dotxhaircolord"
  127. alias dotxhaircolord "cl_crosshair_blue 240; cl_crosshair_green 255; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorb"
  128.  
  129.  
  130. cl_autoreload 0
  131.  
  132. bind "w" +fw
  133. alias +fw "+forward;dotxhaircolor"
  134. alias -fw "-forward;dotxhaircolor"
  135.  
  136. bind "s" +bw
  137. alias +bw "+back;dotxhaircolor"
  138. alias -bw "-back;dotxhaircolor"
  139.  
  140. bind "d" +mr
  141. alias +mr "+moveright;dotxhaircolor"
  142. alias -mr "-moveright;dotxhaircolor"
  143.  
  144. bind "a" +ml
  145. alias +ml "+moveleft;dotxhaircolor"
  146. alias -ml "-moveleft;dotxhaircolor"
Advertisement
Add Comment
Please, Sign In to add comment