Advertisement
HoustonEX

Spy.cfg Houston

Feb 7th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.93 KB | None | 0 0
  1.  
  2. exec clear
  3.  
  4.  
  5. unbind "f1"
  6. unbind "f2"
  7. unbind "f3"
  8. unbind "f4"
  9.  
  10. alias e_scout "disguise 1 -1; play vo\scout_yes01"
  11. alias e_sniper "disguise 2 -1; play vo\sniper_yes03"
  12. alias e_soldier "disguise 3 -1; play vo\soldier_yes04"
  13. alias e_demoman "disguise 4 -1; play vo\demoman_yes01"
  14. alias e_medic "disguise 5 -1; play vo\medic_yes03"
  15. alias e_hwguy "disguise 6 -1; play vo\heavy_yes03"
  16. alias e_pyro "disguise 7 -1; play vo\pyro_moveup01"
  17. alias e_spy "disguise 8 -1; play vo\spy_yes02"
  18. alias e_engineer "disguise 9 -1; play vo\engineer_yes03"
  19.  
  20. alias a_scout "disguise 1 -2; play vo\scout_no02"
  21. alias a_sniper "disguise 2 -2; play vo\sniper_no01"
  22. alias a_soldier "disguise 3 -2; play vo\soldier_no02"
  23. alias a_demoman "disguise 4 -2; play vo\demoman_no03"
  24. alias a_medic "disguise 5 -2; play vo\medic_no01"
  25. alias a_hwguy "disguise 6 -2; play vo\heavy_no03"
  26. alias a_pyro "disguise 7 -2; play vo\pyro_no01"
  27. alias a_spy "disguise 8 -2; play vo\spy_no03"
  28. alias a_engineer "disguise 9 -2; play vo\engineer_no01"
  29.  
  30. bind f1 e_scout
  31. bind f2 e_soldier
  32. bind f3 e_pyro
  33. bind f4 e_demoman
  34. bind f5 e_hwguy
  35. bind f6 e_engineer
  36. bind f7 e_medic
  37. bind f8 e_sniper
  38. bind f9 e_spy
  39. bind f10 drop_disg
  40. alias drop_disg "disguise 8 -2" // instantly removes disguise
  41.  
  42.  
  43.  
  44. alias +f_disg "bind f1 a_scout; bind f2 a_soldier; bind f3 a_pyro; bind f4 a_demoman; bind f5 a_hwguy; bind f6 a_engineer; bind f7 a_medic; bind f8 a_sniper; bind f9 a_spy"
  45. alias -f_disg "bind f1 e_scout; bind f2 e_soldier; bind f3 e_pyro; bind f4 e_demoman; bind f5 e_hwguy; bind f6 e_engineer; bind f7 e_medic; bind f8 e_sniper; bind f9 e_spy"
  46.  
  47. bind p +f_disg
  48.  
  49. viewmodel_fov 99
  50.  
  51.  
  52. bind "shift" "+zoomer"
  53. alias "+zoomer" "zoomin"
  54. alias "-zoomer" "zoomout"
  55. alias "zoomin" "r_drawviewmodel 0; fov_desired 85; wait 2; fov_desired 80; wait 2; fov_desired 75"
  56. alias "zoomout" "r_drawviewmodel 1; fov_desired 80; wait 2; fov_desired 85; wait 2; fov_desired 90"
  57.  
  58. viewmodel_fov 99
  59.  
  60.  
  61. // Stabby's Viewmodel Script for Spy //
  62.  
  63. // // // // // // // // // // // // // // // // // // // // // // // //
  64. //Viewmodels<< on when shooting amby, off when knife or watch out//
  65. // // // // // // // // // // // // // // // // // // // // // // // //
  66.  
  67.  
  68. // spawn with knife out and viewmodel mode set to "on"
  69.  
  70. slot3
  71. r_drawviewmodel 1
  72. knife_vm_mode
  73.  
  74.  
  75. // replace [KEY] with the your Keybinds for the sapper/knife/ambassador/watch
  76.  
  77. bind "2" +equip_sap // Key/button for sapper
  78. bind "3" +equip_knife // Key/button for knife
  79. bind "1" +equip_amby // Key/button for ambassador
  80. bind "mouse2" "+watch;spec_prev" // Key for watch (mouse2 default)
  81.  
  82.  
  83. //re-bind mouse1
  84.  
  85. alias knife_vm_mode "bind mouse1 +viewmodel_knife" // binds mouse1 to turn viewmodel on when attacking (for knife knife)
  86. alias amby_vm_mode "bind mouse1 +viewmodel_amby" // binds mouse1 to turn viewmodel off when attacking (for amby)
  87. alias sap_vm_mode "bind mouse1 +viewmodel_sap" // binds mouse 1 to turn viewmodel on when attacking and off when not (for sapper)
  88.  
  89.  
  90. // causes viewmodel to go off or on when you shoot
  91.  
  92. alias +viewmodel_knife "+attack;r_drawviewmodel 1;spec_next" // attacks, turns viewmodel on
  93. alias -viewmodel_knife "-attack;r_drawviewmodel 1" // finishes atack, turns viewmodel on again as safeguard
  94.  
  95. alias +viewmodel_amby "+attack;cl_autoreload 0;+reload;r_drawviewmodel 0;spec_next" // attacks, turns viewmodel off
  96. alias -viewmodel_amby "-attack;r_drawviewmodel 0" // finishes attack, turns viewmodel off again as a safeguard
  97.  
  98. alias +viewmodel_sap "+attack;r_drawviewmodel 1;spec_next" // shows sapper when sapping
  99. alias -viewmodel_sap "-attack;r_drawviewmodel 0" // hides sapper when mouse1 released
  100.  
  101.  
  102. // Equip item, turn vm on/off, set vm toggle for attack
  103.  
  104. alias +equip_knife "slot3;r_drawviewmodel 1" // Equips knife, turns viewmodels on
  105. alias -equip_knife "knife_vm_mode;r_drawviewmodel 1" // Sets viewmodels to turn ON when stabbing (makes sure it stays on)
  106.  
  107. alias +equip_amby "slot1" // Equips amby
  108. alias -equip_amby "amby_vm_mode" // Sets viewmodels to turn OFF when shooting
  109.  
  110. alias +equip_sap "slot2;r_drawviewmodel 1" // Equips sapper, turns viewmodels on
  111. alias -equip_sap "sap_vm_mode" // Sets viewmodels to turn on while firing, and off when not
  112.  
  113. alias +watch "+attack2;r_drawviewmodel 1" // watch up/cloak on/secondary attack + viewmodels on
  114. alias -watch "-attack2;r_drawviewmodel 1" // viewmodels on again as safeguard
  115.  
  116.  
  117. // // // // // // // // // // // //
  118.  
  119.  
  120. echo "Viewmodel script loaded" // confirms script loaded in the console
  121.  
  122.  
  123.  
  124. viewmodel_fov 99
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement