Quote:
Originally Posted by Circuitous
alias charge "+attack; wait; bind mouse1 discharge"
alias discharge "-attack; wait; bind mouse1 charge"
bind mouse1 "charge"
|
I just tried this in sniper.cfg, as well as another script similar to it that performs the same function, and they work great, but when ever I swap classes it carries over to the other class. I've tried making a "clean up script" that re-binds mouse1 to +attack like so:
Code:
echo Cleaner Script Loaded...
bind mouse1 +attack
or:
Code:
echo Cleaner Script Loaded...
unbind mouse1
bind mouse1 +attack
But then when I respawn as another class I get stuck with +attack on and end up firing my weapons until they run out of ammo and I'm left swinging the crowbar. Nothing I hit or do fixes this. Any ideas as to what I'm doing wrong? I've never screwed around with the scripting before so I don't know if I need to do something special.
I also tried putting
in the class config files to make it load my default settings, but that doesn't work either, giving me the same result as the clean up script.