r/Tf2Scripts • • Jul 23 '18
Script My very helpful Engineer miniscript(s)
Script 1
Put this in your Engineer.cfg file, or maybe even in your autoexec.file if you like the idea of it:
bind mouse3 "+WrenchWack"
alias +WrenchWack "slot3;wait 5;+attack"
alias -WrenchWack "lastinv;-attack"
This script is extremely simple but effective. If you hold down the scroll wheel, you attack with your Wrench. If you let go, you stop attacking and switch back to your last weapon.
Whenever you're upgrading/deploying/repairing a building, If you find it troublesome to quickly scroll through 5-6 different weapons to find your shotgun to fend off some Spy or Demoman, this script is for you. Switch to your Shotgun/Pistol, hold down mouse3, then release when someone unfriendly arrives.
If you don't like the inconsistent "wait" command, then use this script:
bind mouse3 "+Wrench"
alias +Wrench "slot3"
alias -Wrench "lastinv"
Requires more input to actually use the wrench, but otherwise does the same job.
Also, both of these scripts will work for all other classes except Spy, since Spy's third slot isn't Melee.
Script 2
This next script is by no means new or mine, but I may as well include it since we're talking about Engie scripts:
bind [KEY] "destroy 2 0;build 2 0"
It automatically destroys your Sentry Gun and selects the blueprints to place another Sentry Gun. Saves a lot of time and trouble.
If you want this for the other buildings, the codes "0 0," 1 0," and "1 1" co-relate to building/destroying the Dispenser, TeleEntrance, and TeleExit, respectively. But you're gonna need more keys. Also "Build 3 0" selects the Sapper for the Spy, which is odd.
Script 3
Here's some helpful chat binds for Engie for your team's eyes only. Use as many or as few as you wish, or edit to suit your needs. Voice commands added for appropriateness.
//Voicemenu 2 3 = Jeers, Voicemenu 2 5 = Negative, Voicemenu 1 1 = Spy!, Voicemenu 2 0 = Help!
Bind [KEY] "voicemenu 2 5;say_team >>>Dispenser Low on Health!<<<"
Bind [KEY] "voicemenu 2 3;say_team >>>Sentry Under Attack!<<<"
Bind [KEY] "say_team >>>Engie Down!<<<"
Bind [KEY] "voicemenu 1 1;say_team Spy's sapping my buildings"
Bind [KEY] "say_team [TELEPORTER PRIORITY] Engineer > Heavy > Medic > Power Classes > Sniper > Spy > Scout"
Bind [KEY] "voicemenu 2 0;say_team {Fellow Engies, my buildings need repairing}"
Bonus Script
Bind mouse3 "+attack3;voicemenu 1 1"
Use this for the other classes. It's helpful. It does attack3 for the rare situations you'll use it in as well as say "Spy!" with the press of a button. Simple, but I cannot get over its usefulness.
In conclusion, I spent way longer on this post than I should have.
View all comments
Show parent comment
2
u/[deleted] Jul 28 '18
There are indeed two different formats. One that accepts an additional argument (# #), and one based on singular arguments (#). I was only thinking about the former format when making this post. Both are mentioned on the wiki page.
I provided an alteration for
waitbut I'm sure you already saw that, so you must be asking about why the option with the wait command is there in the first place. Well, wait is enabled on all casual Valve servers as far as I know, which is the most popular game mode (and the one I play the most). Also, the more options, the merrier.