r/Tf2Scripts • • Feb 14 '21

Request Vaccinator Quick-switch resistance script.

Hi! I've been wanting a Vaccinator quick-switch script lately, however, I cannot use the ones online due to the fact that I play on a laptop with a trackpad. I cannot use scroll to switch weapons, and rely on the num row. Furthermore I've also rebound several keys around my left hand such as E to M1.

I was wondering if someone could make a script that would allow me to quickswitch between resists using a combination of keys such as Shift+1 being Bullet, Shift+2 being Explosive and Shift+3 being Fire, similar to my Eureka Effect teleport bind.

Thanks in advance!

13 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/Xurkitree1 Feb 25 '21

Hmm, I seem to have correctly set up the config, and checking the console shows that the Shift/1,2,3/Alt keys have been bound properly. However, switching doesn't work - pressing both shift and 1/2/3 doesn't change resistances, only reload.

1

u/bythepowerofscience Feb 25 '21 edited Feb 25 '21

Hm. Let me test it in-game and I'll get back to you.

Thanks for checking the console to make sure it was bound correctly, by the way!

EDIT: Turns out I forgot to define a few aliases initially. Script has been updated, and it actually works now.