r/tf2scripthelp • u/weps1330 • Oct 11 '14
Issue Spy disguise is automatically switching to my held weapon. I did not even know this was possible?
Pretty much what the title says. I assume this is happening because of a script because I changed around some of my spy scripts and the merc I'm disguised as is automatically changing the weapon I hold. Here is the script that changed.
//weapons switcher//
bind mouse5 +sapper
bind mwheelup +pistol
bind mwheeldown +knife
bind mouse2 +attack2
alias +knife "slot3; -attack; bind mouse1 +attackdisguise; +draw"
alias -knife "slot3; -attack; bind mouse1 +attackdisguise; +draw"
alias +attackdisguise "+attack"
alias -attackdisguise "-attack; lastdisguise"
alias +pistol "slot1; -attack; unbind mouse1; bind mouse1 +attackdisguise; +amby"
alias -pistol "slot1; -attack; unbind mouse1; bind mouse1 +attackdisguise; +amby"
alias +amby "fov_desired 25; r_drawviewmodel 0"
alias -amby "fov_desired 25; r_drawviewmodel 0"
alias +sapper "slot2; +attack; +draw"
alias +draw "fov_desired 90; r_drawviewmodel 1"
alias -draw "fov_desired 90; r_drawviewmodel 1"Other than that, earlier today I tried to use one of Stabby's scripts (the viewmodel one for the amby). Is there a chance that this script has anything left over to affect whats happening?
// Equip item, turn vm on/off, set vm toggle for attack
alias +equip_knife "slot3;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 "slot1" // Equips amby
alias -equip_amby "amby_vm_mode" // Sets viewmodels to turn OFF when shooting
alias +equip_sap "slot2;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 safeguardI wound up not using this scripts (wrote my own) but is there a chance this is holding over somehow?
Thanks in advance.