Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- exec crosshairswitcher/disable; spy
- exec resetscripts
- //Spy quick disguise with key combinations
- //By CupOfTea
- //v2.0
- //
- /////////////////////////////////////////////////////////////////////////////////////
- //Changelog: //
- //*v1.4: -Got the script working properly. //
- //*v1.5: -Added key to undisguise. //
- //*v2.0: -Replaced colors by Enemy/Ally. You will start disguising as an enemy. //
- // -Added changelog //
- /////////////////////////////////////////////////////////////////////////////////////
- //Enemies
- alias "e1" "disguise 1 -1; play vo\scout_yes01"
- alias "e2" "disguise 3 -1; play vo\soldier_yes04"
- alias "e3" "disguise 7 -1; play vo\pyro_moveup01"
- alias "e4" "disguise 4 -1; play vo\demoman_yes01"
- alias "e5" "disguise 6 -1; play vo\heavy_yes03"
- alias "e6" "disguise 9 -1; play vo\engineer_yes03"
- alias "e7" "disguise 5 -1; play vo\medic_yes03"
- alias "e8" "disguise 2 -1; play vo\sniper_yes03"
- alias "e9" "disguise 8 -1; play vo\spy_yes02"
- //Friendlies
- alias "a1" "disguise 1 -2; play vo\scout_no02"
- alias "a2" "disguise 3 -2; play vo\soldier_no02"
- alias "a3" "disguise 7 -2; play vo\pyro_no01"
- alias "a4" "disguise 4 -2; play vo\demoman_no03"
- alias "a5" "disguise 6 -2; play vo\heavy_no03"
- alias "a6" "disguise 9 -2; play vo\engineer_no01"
- alias "a7" "disguise 5 -2; play vo\medic_no01"
- alias "a8" "disguise 2 -2; play vo\sniper_no01"
- alias "a9" "disguise 8 -2; play vo\spy_no03"
- alias "disscout" "e1"
- alias "dissoldier" "e2"
- alias "dispyro" "e3"
- alias "disdemoman" "e4"
- alias "disheavy" "e5"
- alias "disengineer" "e6"
- alias "dismedic" "e7"
- alias "dissniper" "e8"
- alias "disspy" "e9"
- alias "undisg" "a9"
- alias "discolor" "disallied"
- alias "disallied" "alias disscout a1; alias dissoldier a2; alias dispyro a3; alias disdemoman a4; alias disheavy a5; alias disengineer a6; alias dismedic a7; alias dissniper a8; alias disspy a9; alias undisg a9; alias discolor disenemy"
- alias "disenemy" "alias disscout e1; alias dissoldier e2; alias dispyro e3; alias disdemoman e4; alias disheavy e5; alias disengineer e6; alias dismedic e7; alias dissniper e8; alias disspy e9; alias discolor disallied"
- alias "+disguise" "bind 1 disscout; bind 2 dissoldier; bind 3 dispyro; bind 4 disdemoman; bind 5 disheavy; bind 6 disengineer; bind 7 dismedic; bind 8 dissniper; bind 9 disspy; bind 0 discolor; bind - undisg"
- alias "-disguise" "bind 1 weapon1; bind 2 weapon2; bind 3 weapon3; bind 4 slot4; bind 5 slot5; bind 6 slot6; bind 7 slot7; bind 8 slot8; bind 9 slot9; bind 0 slot10; bind - disguiseteam"
- bind "KP_END" "+disguise"
- // Stabby's Viewmodel Script for Spy //
- // // // // // // // // // // // // // // // // // // // // // // // //
- //Viewmodels<< on when shooting amby, off when knife or watch out//
- // // // // // // // // // // // // // // // // // // // // // // // //
- // spawn with knife out and viewmodel mode set to "on"
- weapon3
- r_drawviewmodel 1
- knife_vm_mode
- // replace [KEY] with the your Keybinds for the sapper/knife/ambassador/watch
- bind 2 "+equip_sap" // Key/button for sapper
- bind 3 "+equip_knife" // Key/button for knife
- bind 1 "+equip_amby" // Key/button for ambassador
- bind mouse2 "+watch;spec_prev" // Key for watch (mouse2 default)
- //re-bind mouse1
- alias knife_vm_mode "bind mouse1 +viewmodel_knife" // binds mouse1 to turn viewmodel on when attacking (for knife knife)
- alias amby_vm_mode "bind mouse1 +viewmodel_amby" // binds mouse1 to turn viewmodel off when attacking (for amby)
- alias sap_vm_mode "bind mouse1 +viewmodel_sap" // binds mouse 1 to turn viewmodel on when attacking and off when not (for sapper)
- // causes viewmodel to go off or on when you shoot
- alias +viewmodel_knife "+attack;r_drawviewmodel 1;spec_next" // attacks, turns viewmodel on
- alias -viewmodel_knife "-attack;r_drawviewmodel 1" // finishes atack, turns viewmodel on again as safeguard
- alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next" // attacks, turns viewmodel off
- alias -viewmodel_amby "-attack;r_drawviewmodel 0" // finishes attack, turns viewmodel off again as a safeguard
- alias +viewmodel_sap "+attack;r_drawviewmodel 1;spec_next" // shows sapper when sapping
- alias -viewmodel_sap "-attack;r_drawviewmodel 0" // hides sapper when mouse1 released
- // Equip item, turn vm on/off, set vm toggle for attack
- alias +equip_knife "weapon3;r_drawviewmodel 1" // Equips knife, turns viewmodels on
- alias -equip_knife "knife_vm_mode;r_drawviewmodel 1" // Sets viewmodels to turn ON when stabbing (makes sure it stays on)
- alias +equip_amby "weapon1" // Equips amby
- alias -equip_amby "amby_vm_mode" // Sets viewmodels to turn OFF when shooting
- alias +equip_sap "weapon2;r_drawviewmodel 1" // Equips sapper, turns viewmodels on
- alias -equip_sap "sap_vm_mode" // Sets viewmodels to turn on while firing, and off when not
- alias +watch "+attack2;r_drawviewmodel 1" // watch up/cloak on/secondary attack + viewmodels on
- alias -watch "-attack2;r_drawviewmodel 1" // viewmodels on again as safeguard
- // // // // // // // // // // // //
- echo "Viewmodel script loaded" // confirms script loaded in the console
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement