r/Tf2Scripts • u/SentientSpaghetti • Sep 19 '12
Satisfied [Help] Can someone make a script for me?
I've thought of a particular script for Pyro and thought someone on here could help me make it a reality.
Basically the default is having the flamer out (Degreaser in my case) and whenever the 'Q' key is pressed it switches to secondary (Flare, shotty etc.) and switches back when it is released. The same principle is to be applied to the 'E' key with the melee.
Could this work? Could someone make it work? Input muchly appreciated. Also help on binding the script to Pyro only would help, since I'm very new to scripting. Thanks!
9
Upvotes
6
u/TimePath Sep 19 '12 edited Sep 20 '12
Pyro.cfg:
hud_fastswitch 1alias +sec slot2alias -sec slot1alias +ter slot3alias -ter slot1bind q +secbind e +terIn every other cfg (assumptions made):
hud_fastswitch 0 // if you normally use fastswitch, you can remove this and the other linebind q lastinvbind e "voicemenu 0 0"Possible improvements: use command instead of slotx command.