Forum
TF2 Script question
Created 20th May 2009 @ 18:39
Add A Reply Pages: 1
Well… does anybody know a script that when you´ve got the primary weapon that +reload is active and when you use the secondary weapon that +reload is turned off?!
I want it for the Scout so i have to put the script in the scout.cfg right ?
Thanks and greetings from germany
-daN
—I use this for scout primary/secondary—
alias slot1reload “slot1;+reload”
alias slot2noreload “slot2;-reload”
bind mouse4 slot2noreload
bind mouse5 slot1reload
—If you want to switch between prim/sec with 1 button and have autoreload on 1 use this—
alias switchrocket “-reload; bind mouse4 Qshotty”
alias switchshotty “+reload; bind mouse4 Qrocket”
alias Qrocket “slot1; switchrocket”
alias Qshotty “slot2; switchshotty”
bind mouse4 Qshotty
you’ll have to addapt either of them to your button choice but it should work like that.
p.s. the ” ” thingy’s fuck up if you copy it directly so re-write it yourself into the cfg.
Thanks for the fast Reply ))
But ive got a probleme when i use “Q” for switch to previous weapon the script does not work :S
Any idea how to handle with that ?
)))
//Set up the specific weapons so that they will change to auto-reload as required.
alias “weapon1” “+reload; slot1; alias nextweap select21; alias prevweap select31; alias select1 weapon1; alias select2 select21; alias select3 select31;”
alias “weapon2” “-reload; slot2; alias nextweap select32; alias prevweap select12; alias select1 select12; alias select2 weapon2; alias select3 select32;”
alias “weapon3” “-reload; slot3; alias nextweap select13; alias prevweap select23; alias select1 select13; alias select2 select23; alias select3 weapon3;”
//Set up the previous weapon toggle
alias “select12” “weapon1; alias toggleweap select21”
alias “select13” “weapon1; alias toggleweap select31”
alias “select21” “weapon2; alias toggleweap select12”
alias “select23” “weapon2; alias toggleweap select32”
alias “select31” “weapon3; alias toggleweap select13”
alias “select32” “weapon3; alias toggleweap select23”
//Initialize script
select12
//Binds
bind “q” “toggleweap”
bind “1” “select1”
bind “2” “select2”
bind “3” “select3”
bind “MWHEELUP” “prevweap”
bind “MWHEELDOWN” “nextweap”
Works with scroll and quick switch.
haha, scripts, why don’t u do like me. Put reload on right mouse button and just hold it down when u have shottie up :)
Add A Reply Pages: 1