r/tf2 • • May 13 '10
Simple Engineer Script (Quick Build and Destroy)
I have had some issues with my scripts ever since that recent multiple buildings issue. Whatever happened the damn thing wouldn't work so I ended up just making a new script and thought I'd share it. A lot of the ones available on the net use the lame wait command which won't usually work, and is cheap anyway.
For those that are not in the know, scripts allow you to rebind the buttons to do various things in the game. It is not cheating or exploiting.
This script only effects the engy; it makes numbers 1-4 on your keyboard build your buildings and 5-8 destroy them. It is much quicker than the standard build method. If these are not to your liking just change the bind "X" to whichever keys work for you.
If you use the Windows steam version of TF2 it should go into this folder: C:\Program Files (x86)\Steam\steamapps"windows username"\team fortress 2\tf\cfg\
I couldn't say where for macs etc.
I've upped it here: http://www.zshare.net/download/76056032556502a1/
Heres the copy/paste-able version (add it to engineer.cfg in the folder mentioned above):
//Build Menu
alias buildsentry "build 2";
alias builddispenser "build 0";
alias buildentry "build 1";
alias buildexit "build 3";
bind "1" "buildsentry";
bind "2" "builddispenser";
bind "3" "buildentry";
bind "4" "buildexit";
//Destroy Menu
alias destroysentry "destroy 2";
alias destroydispenser "destroy 0";
alias destroyentry "destroy 1";
alias destroyexit "destroy 3";
bind "5" "destroysentry";
bind "6" "destroydispenser";
bind "7" "destroyentry";
bind "8" "destroyexit";
View all comments
Show parent comment
3
u/KoalaKing May 14 '10
you can find your config files at
C:\Program Files\Steam\steamapps[steam username here]\team fortress 2\tf\cfg\
.cfg files are simply text files and should be opened with notepad or similar
Note that in the \cfg\ folder there is already a blank .cfg file for each class. The commands put in these .cfg files will automatically be executed each time you switch to that class in-game
Be careful though, because one class config will not automatically undo what another does. this means if you change a key bound to a default (for example, binding B to a command in your soldier.cfg) then if you switch to spy you won't be able to use your lastdisguise button (default B). To prevent this, put in some lines at the top of each config where you want the default command. In my example, you would simply put "unbind b" and "bind b lastdisguise" at the top of your spy.cfg file.
So to add my script, simply paste it into your engineer.cfg using notepad. You may want to change "CTRL" to "SHIFT" or some other key, as the control key is used for crouching. to change the keys used, simply alter the lines under "//keybinds". you may also have to edit other configs to return the default actions of the number keys (I don't use them, so it's not a big deal for me).
Hope this helps and isn't to exhausting to read... I write too much when I'm tired.