Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Building Shortcut Script for Engineer - A Config Script for Team Fortress 2.

112 6 kb Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
alias engiescript_m30
alias engiescript_retrym3 "alias engiescript_m3o retrybuild"
alias engiescript_cancelm3 "alias engiescript_m3o cancelbuild"
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

//Use "r_drawviewmodel 1" to use VIEWMODELS or "r_drawviewmodel 0" to not use viewmodels
alias engiescript_ifviewmodelon "r_drawviewmodel 1"


//SOUND CUES -  Replace the sounds if you like. the alias names tell you when it plays
//                              You can change these ingame

alias playsound_buildactivate   "play music\class_menu_01"
alias playsound_cancel                  "play misc\talk"


//OPTIONS-      Change them to your preference
//|
//|____ WHAT MOUSE3 WILL DO AFTER YOU SELECTED A BUILDING
//|             |->     Use 'engiescript_retrym3' if you want mouse3 to retry buildactivate
//|                     Use 'engiescript_cancelm3' if you want mouse3 to cancel buildactivate
//|                     You can enter the commands in the console to change these options ingame
//|
  ;                             engiescript_retrym3
  ;                     //      engiescript_cancelm3
//|
//|____ KEY BINDS
//              |-> Change the keys (or even the commands proceeding it) inside the aliases to whatever you like.
//                      |
//                      |---->  // !!!BINDS WHEN SPAWNING!!!
                        ;               bind q "lastinv; playsound_cancel; engineerslot3; engiescript_ifviewmodelon; bind mouse1 +attack"
                        ;               bind mouse1 "+firstteleattack"
//                      |
//                      |---->  // mouse1
                        ;               alias engiescript_keys_1a "bind mouse1 +buildsentry"
                        ;               alias engiescript_keys_1b "bind mouse1 +buildattack"
                        ;               alias engiescript_keys_1c "bind mouse1 +attack"
//                      |
//                      |---->  // mouse2
                        ;               alias engiescript_keys_2a "bind mouse2 +builddispenser"
                        ;               alias engiescript_keys_2b "bind mouse2 +attack2"
//                      |
//                      |---->  // mouse3
                        ;               alias engiescript_keys_3a "bind mouse3 actioncancel"
                        ;               alias engiescript_keys_3b "bind mouse3 engiescript_m3o"
                        ;               alias engiescript_keys_3c "bind mouse3 buildactivate"
//                      |
//                      |---->  // mwheelup
                        ;               alias engiescript_keys_4a "bind mwheelup +buildentrance"
                        ;               alias engiescript_keys_4b "unbind mwheelup"
//                      |
//                      |---->  // mwheeldown
                        ;               alias engiescript_keys_5a "bind mwheeldown +buildexit"
                        ;               alias engiescript_keys_5b "unbind mwheeldown"
//                      |
//                      |---->  // mwheelup + mwheeldown
                        ;               alias engiescript_keys_6a "bind mwheelup goweapon13; bind mwheeldown goweapon12"
                        ;               alias engiescript_keys_6b "bind mwheelup goweapon21; bind mwheeldown goweapon23"
                        ;               alias engiescript_keys_6c "bind mwheelup goweapon32; bind mwheeldown goweapon31"
//                      |
//                      |---->  // q
                        ;               alias engiescript_keys_7a "bind q actioncancel"
                        ;               alias engiescript_keys_7b "bind q cancelbuild"
                        ;               alias engiescript_keys_7c "bind q engiescriptlastinv1"
                        ;               alias engiescript_keys_7d "bind q engiescriptlastinv2"
                        ;               alias engiescript_keys_7e "bind q engiescriptlastinv3"
//                      |
//                      |---->  // 1 + 2 + 3
                                        alias engiescript_keys_8a "bind 1 engineerslot1; bind 2 engineerslot2; bind 3 engineerslot3"
                                        alias engiescript_keys_8b "unbind 1; unbind 2; unbind 3"
                               
//      -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -      
alias buildactivate "engiescript_keys_8b; playsound_buildactivate; engiescript_keys_1a; engiescript_keys_2a; engiescript_keys_4a; engiescript_keys_5a; engiescript_keys_3a; engiescript_keys_7a"

alias +buildsentry "destroy 2; build 2; r_drawviewmodel 0; engiescript_keys_2b; engiescript_keys_4b;engiescript_keys_5b; engiescript_keys_3b; engiescript_keys_7b"
alias -buildsentry "engiescript_keys_1b"
alias +builddispenser "destroy 0; build 0; r_drawviewmodel 0; engiescript_keys_1b; engiescript_keys_2b; engiescript_keys_4b;engiescript_keys_5b; engiescript_keys_3b; engiescript_keys_7b"
alias -builddispenser ""
alias +buildentrance "destroy 1; build 1; r_drawviewmodel 0; engiescript_keys_2b; engiescript_keys_4b;engiescript_keys_5b; engiescript_keys_3b; engiescript_keys_7b"
alias -buildentrance "engiescript_keys_1b"
alias +buildexit "destroy 3; build 3; r_drawviewmodel 0; engiescript_keys_2b; engiescript_keys_4b;engiescript_keys_5b; engiescript_keys_3b; engiescript_keys_7b"
alias -buildexit "engiescript_keys_1b"
alias +buildattack "+attack; engiescript_ifviewmodelon"
alias -buildattack "-attack; engiescript_keys_6c; engiescript_keys_7c; alias weaponreturn_actioncancel engineerslot3; engiescript_keys_7e; engiescript_keys_1c; engiescript_keys_8a; engiescript_keys_3c"

alias retrybuild "cancelbuild; buildactivate"
alias cancelbuild "playsound_cancel; lastinv; engiescript_ifviewmodelon; engiescript_keys_1c; weaponreturn_actioncancel; engiescript_keys_8a; engiescript_keys_3c"
alias actioncancel "playsound_cancel; engiescript_keys_8a; engiescript_keys_1c; engiescript_keys_2b; engiescript_keys_3c; weaponreturn_actioncancel"

alias engineerslot1 "slot1; engiescript_keys_6a; alias weaponreturn_actioncancel engineerslot1; engiescript_keys_7c"
alias engineerslot2 "slot2; engiescript_keys_6b; alias weaponreturn_actioncancel engineerslot2; engiescript_keys_7d"
alias engineerslot3 "slot3; engiescript_keys_6c; alias weaponreturn_actioncancel engineerslot3; engiescript_keys_7e"

alias goweapon12 "engineerslot2; alias engiescriptlastinv2 goweapon21; alias engiescriptlastinv3 goweapon32"
alias goweapon13 "engineerslot3; alias engiescriptlastinv3 goweapon31; alias engiescriptlastinv2 goweapon23"
alias goweapon21 "engineerslot1; alias engiescriptlastinv1 goweapon12; alias engiescriptlastinv3 goweapon31"
alias goweapon23 "engineerslot3; alias engiescriptlastinv3 goweapon32; alias engiescriptlastinv1 goweapon13"
alias goweapon31 "engineerslot1; alias engiescriptlastinv1 goweapon13; alias engiescriptlastinv2 goweapon21"
alias goweapon32 "engineerslot2; alias engiescriptlastinv2 goweapon23; alias engiescriptlastinv1 goweapon12"

engiescript_keys_6c
alias weaponreturn_actioncancel engineerslot3
alias engiescriptlastinv3 goweapon31
build 1
alias +firstteleattack "+attack; engiescript_ifviewmodelon"
alias -firstteleattack "-attack; bind mouse1 +attack"

bind mouse3 buildactivate
engiescript_keys_8a
engiescript_keys_9a
engiescript_keys_10a

Engineer Building Script

  • Lambdagon avatar
    Lambdagon username pic Joined 1y ago
    Ripe Supporter HL2 Manager TF2 Manager Brick Manager GMod Manager TFCOOP Manager HL Manager
    probly offline
    1,368 points Ranked 25,644th
    22 medals 2 legendary 6 rare
    • Became a Ripe Supporter Medal icon
    • Returned 5000 times Medal icon
    • Received thanks 50 times Medal icon
    • Returned 1000 times Medal icon
    • Achieved Game Manager clearance Medal icon
    • Submitted 15 Mods Medal icon
    29d
    usually just "bind alt build 2" works for me
    The TposeKing avatar
    Mantra
    The TposeKing
    URL to post:
  • Do0m avatar
    Do0m Joined 2y ago
    Offline
    779 points Ranked 48,033rd
    30d 30d
    4/26/2022 - NEW UPDATE
    A lot of stuff improved and added such as removing the useless serparate destruction shortcut and more
    Bananite
    URL to post:
  • Do0m avatar
    Do0m Joined 2y ago
    Offline
    779 points Ranked 48,033rd
    2y
    With this script I made I discovered that whenever you lag, for some reason the game executes the class config of your current class. Kinda Annoying that it makes me replace my entrance.
    Bananite
    URL to post:
  • Do0m avatar
    Do0m Joined 2y ago
    Offline
    779 points Ranked 48,033rd
    2y 2y
    Update 6-4-20

    Added features A. & C. to E.

    Bananite
    URL to post: