|
|
 |
| Welcome to FOoM's TeamFortress Files |
| Engineer Scripts |
These are scripts for the engy only. For the best
results put them in your engineer.cfg using notepad.
You may change the bind lines to include your own key
choices. If you need help with how to setup scripts, go to this page Using Scripts.
STEAM ENGINEER BUILD SCRIPT (STEAM ONLY) - Added 09/12/2003
This script will build a gun, dispenser or teleporter unit using
a single key for each. You hold the key down until the building is finished. You can interupt building by
lifting the key. Once built, you can detonate and rebuild in a new location by
hitting the same key again. The sentry build portion
adds a key bound to rotate the gun 45 degrees to the
right with each hit.
//STEAM Engy Script - http://www.foom.net
//dispenser script
alias +dispenser "detdispenser; build 1"
alias -dispenser "build 3"
bind c "+dispenser"
//sentry script
alias +sentry "detsentry; build 2"
alias -sentry "build 3"
bind z "+sentry"
bind v "rotatesentry"
//teleporter script
alias +tele_ent "detentryteleporter; build 4"
alias -tele_ent "build 3"
alias +tele_exit "detexitteleporter; build 5"
alias -tele_exit "build 3"
bind , "+tele_ent"
bind . "+tele_exit"
STEAM ENGINEER BUILD SCRIPT #2 (STEAM ONLY)
This version has the team communication lines added, many players have asked for it.
//STEAM Engy Script - http://www.foom.net
//dispenser script
alias +dispenser "detdispenser; build 1; say_team Building Dispenser"
alias -dispenser "build 3"
bind c "+dispenser"
//sentry script
alias +sentry "detsentry; build 2; say_team Building SENTRY"
alias -sentry "build 3"
bind z "+sentry"
bind v "rotatesentry"
//teleporter script
alias +tele_ent "detentryteleporter; build 4; say_team Building ENTRANCE"
alias -tele_ent "build 3"
alias +tele_exit "detexitteleporter; build 5; say_team Building EXIT"
alias -tele_exit "build 3"
bind , "+tele_ent"
bind . "+tele_exit"
STEAM ENGY SCRIPT #3, NO KEY HOLD.
With this version written by [BD]Mr Freeze you just hit the key and let go, you don't have to hold it down to finish the build. You will need to hit it again to stop building, or to detonate. This a STEAM only script.
//No HOLD, One button build/dismantle/detonate for dispenser, sentrygun, and both teleporters..
//by [BD] Mr Freeze
//change the keys to your choices
bind c "build 1;dismantle 1;detdispenser"
bind z "build 2;dismantle 2;detsentry"
bind x "build 4;dismantle 4;detentryteleporter"
bind v "build 5;dismantle 5;detexitteleporter"
WRENCH SCRIPT - (ok for STEAM and NON-STEAM)
This script will change from the engy shotgun
to the wrench and start it whacking away. Use it for
very quick upgrades, ammo filling and repairing armor.
When you let go of the key you will automatically
switch back to your previous weapon.
//Toggle
spanner attack for upgrading guns
bind q +wrenchit
alias +wrenchit "use
tf_weapon_spanner; +attack"
alias -wrenchit "-attack; use
tf_weapon_supershotgun"
OLD Build Script for NON-STEAM TFC
Use this only for the NON-STEAM TFC engineer, in NON-STEAM TFC. (Written in 1999, commands modified in 2001.)
//sentry script and 45
degree rotate gun
alias +sentry "detsentry; build 2;say_team
Building Sentry"
alias -sentry "build 5"
bind z "+sentry"
bind , "rotatesentry"
//dispenser script
alias +dispenser "detdispenser; build 1"
alias -dispenser "build 5"
bind c "+dispenser"
ENGY COMMANDMENU FOR STEAM
You can also edit your existing TFC commandmenu for the GUI in STEAM. Edit and move your old custom TFC command menu to
the STEAM TFC dir:\SteamApps\(youname@email)\team fortress classic\tfc
This is a link to the default steam commandmenu (with tele) that is missing in some installs.
Default Steam commandmenu.txt
Or you can modify your existing pre-steam commandmenu. For the engineer teleporter menu, modify the Engineer
build section like this:
// ENGINEER
CUSTOM "7" "BUILD" "!BUILD"
{
// SENTRY GUN
CUSTOM "1" "BUILD SENTRY GUN" "!BUILDSENTRY"
CUSTOM "1" "ROT_SG_180" "!ROTATESENTRY180"
CUSTOM "2" "ROT_SG_45" "!ROTATESENTRY"
CUSTOM "3" "DISMANTLE SENTRY" "!DISMANTLESENTRY"
CUSTOM "4" "DETONATE SENTRY" "!DETONATESENTRY"
// DISPENSER
CUSTOM "5" "BUILD DISPENSER" "!BUILDDISPENSER"
CUSTOM "5" "DISMANTLE DISPENSER" "!DISMANTLEDISPENSER"
CUSTOM "6" "DETONATE DISPENSER" "!DETONATEDISPENSER"
"7" "TELEPORTER"
{
CUSTOM "1" "BUILD ENTRANCE" "!BUILDENTRYTELEPORTER"
CUSTOM "1" "DISMANTLE ENTRANCE" "!DISMANTLEENTRYTELEPORTER"
CUSTOM "2" "DETONATE ENTRANCE" "!DETONATEENTRYTELEPORTER"
CUSTOM "3" "BUILD EXIT" "!BUILDEXITTELEPORTER"
CUSTOM "3" "DISMANTLE EXIT" "!DISMANTLEEXITTELEPORTER"
CUSTOM "4" "DETONATE EXIT" "!DETONATEEXITTELEPORTER"
}
}
CUSTOM "7" "STOP BUILDING" "!BUILDSTOP"
|
|
|
|
|
 |
|