x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 

Forum

TF2 Script question

Created 20th May 2009 @ 18:39

Add A Reply Pages: 1

danny.

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

Jonni

[FB]

—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.

Jan

k0

bind “1” “slot1; +reload”
bind “2” “slot2; -reload”
bind “3” “slot3; -reload”

easy & fast

danny.

Thanks for the fast Reply ))

danny.

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 ?
)))

ProZaK

syster

//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.

Deux

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