r/tf2scripthelp • • Feb 08 '14

Issue Need help with a spy sapper script

So I made a script for spy, with a few ideas from stabby's but it doesn't want to work! (off topic: what does reddit mean "flair my post")

bind "2" sapper_mode

//====Aliases====

alias viewmodel_on r_drawviewmodel 1
alias viewmodel_off r_drawviewmodel 0
alias sensitivity_fast sensitivity 5
alias sensitivity_slow sensitivity 1

//====Sapper====

alias sapper_alert say_team ***SAPPPING***                                                      
alias sapper_binds1 bind "mouse1" "+attack;sapper_alert"                                
alias +sapper_binds2 xhair_type_a
alias -sapper_binds2 xhair_type_b                                                    
alias sapper_mode "slot2;viewmodel_on;sensitivity_fast;sapper_binds1;+sapper_binds2"       

//====Crosshair switcher====

alias xhair_type_a cl_crosshair_file 
alias xhair_type_b cl_crosshair_file

I cannot understand at all what is wrong!

2 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/genemilder Scripter Feb 09 '14

No, that's not what my rewrite does. I made a custom +/- alias (+/-sap_attack) that mouse1 is bound to when you press 2.