[QUOTE=Samuelgames;23241918]Add a +attack2 to it.[/QUOTE]
So like this? bind mouse3 "destroy 2 0;wait 10;build 2 0;wait 10;+attack;wait 10;-attack;+attack2"
[QUOTE=Jrock455;23242109]So like this? bind mouse3 "destroy 2 0;wait 10;build 2 0;wait 10;+attack;wait 10;-attack;+attack2"[/QUOTE]
Get rid of it, it'll just hold down attack2, then you'll have to manually stop it.
An even easier way to do it:
[code]//Quickbuild 1-4 to build and destroy
bind "1" "build 2; destroy 2" //Builds and Destroys Sentry
bind "2" "build 0; destroy 0" //Builds and Destroys Dispenser
bind "3" "build 1; destroy 1" //Builds and Destroys Teleport Entrance
bind "4" "build 3; destroy 3" //Builds and Destroys Teleport Exit[/code]
It also works for the mini sentry.
I've used this script forever, and I haven't been in the PDA since.
Add this if you dont want to see the PDA's in the mouse scroll:
[code]alias weapon1 "slot1; bind mwheeldown weapon2; bind mwheelup weapon3"
alias weapon2 "slot2; bind mwheeldown weapon3; bind mwheelup weapon1"
alias weapon3 "slot3; bind mwheeldown weapon1; bind mwheelup weapon2"
weapon1[/code]
I updated my old script, and it works FLAWLESSLY, doesn't hold attack, or anything, just destroys builds then attack1's, and then after you don't need to stop it manually, just use this.
[code]alias destroybuild "destroy 2; wait 50; build 2; wait 50; +attack; wait 50; -attack "
bind mouse3 Destroybuild
[/code]
I tested it myself :)
Updated the OP with a wait-independent version. Needs to be tested, though.
[QUOTE=JurajIsNotPirat;23254516]Updated the OP with a wait-independent version. Needs to be tested, though.[/QUOTE]
It doesn't get to build the sentry.
I tried it with 66 fps and if I have the shotgun out and use the bind, I just shoot the shotgun then equip the toolbox for the sentry.
Thats nice, I'll try that later.
If you can't build more than one mini sentry, at least this makes it more flexible. Thanks.
Using this to do Mini-Sentry spam has to be the most fun I've ever had as an Engineer. I had to change it so it switches back to the shotgun instead of the melee slot, though.
[QUOTE=SamuraiZack;23242171]An even easier way to do it:
[code]//Quickbuild 1-4 to build and destroy
bind "1" "build 2; destroy 2" //Builds and Destroys Sentry
bind "2" "build 0; destroy 0" //Builds and Destroys Dispenser
bind "3" "build 1; destroy 1" //Builds and Destroys Teleport Entrance
bind "4" "build 3; destroy 3" //Builds and Destroys Teleport Exit[/code]It also works for the mini sentry.
I've used this script forever, and I haven't been in the PDA since.
Add this if you dont want to see the PDA's in the mouse scroll:
[code]alias weapon1 "slot1; bind mwheeldown weapon2; bind mwheelup weapon3"
alias weapon2 "slot2; bind mwheeldown weapon3; bind mwheelup weapon1"
alias weapon3 "slot3; bind mwheeldown weapon1; bind mwheelup weapon2"
weapon1[/code][/QUOTE]
I fucking love you.
No more pulling out a PDA while desperately looking for a weapon.
I really love this script!.
[editline]11:15PM[/editline]
I made a script, just for the heck of it. This builds the Sentry, Teleport (both) and dispenser.
The teleports and dispenser doesn't destroy themself, obviously.
[code]alias destroybuild "destroy 2;build 2;wait 30;+attack; wait 50;-attack"
bind KEY Destroybuild
alias buildteleen "build 1;wait 30;+attack; wait 50;-attack"
bind KEY buildteleen
alias buildteleex "build 3;wait 30;+attack; wait 50;-attack"
bind KEY buildteleex
alias builddisp "build 0;wait 30;+attack; wait 50;-attack"
bind KEY builddisp[/code]
[QUOTE=SamuraiZack;23242171]An even easier way to do it:
[code]//Quickbuild 1-4 to build and destroy
bind "1" "build 2; destroy 2" //Builds and Destroys Sentry
bind "2" "build 0; destroy 0" //Builds and Destroys Dispenser
bind "3" "build 1; destroy 1" //Builds and Destroys Teleport Entrance
bind "4" "build 3; destroy 3" //Builds and Destroys Teleport Exit[/code]
It also works for the mini sentry.
I've used this script forever, and I haven't been in the PDA since.
Add this if you dont want to see the PDA's in the mouse scroll:
[code]alias weapon1 "slot1; bind mwheeldown weapon2; bind mwheelup weapon3"
alias weapon2 "slot2; bind mwheeldown weapon3; bind mwheelup weapon1"
alias weapon3 "slot3; bind mwheeldown weapon1; bind mwheelup weapon2"
weapon1[/code][/QUOTE]
This is an awesome script, just one problem. With any other class, you can't select a weapon with the 1, 2, 3, or 4 keys. What are the binds I can put in my other classes cfg's so it fixes that?
[editline]12:47pm[/editline]
Found it. Just paste this into all your other class cfgss.
[code]bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"[/code]
[QUOTE=Supacasey;23261665]I fucking love you.
No more pulling out a PDA while desperately looking for a weapon.[/QUOTE]
I just hit q. When I spawn I always hit 3 then q and go on my daily business. That way I always swap between the shotgun and the wrench.
I just found something weird. I NEVER use scripts, but I decided to try the 1st script on this page. When I press the key to build + destroy, it shoots my shotgun. But if I use the script to shoot (instead of LMB), and keep switching back to the Frontier Justice, it allows me to shoot just as fast as I would without switching back and forth, but I never have to reload.
So it essentially gives the Frontier Justice an unlimited clip.
Interesting.
[QUOTE=Bosco;23268483]This is an awesome script, just one problem. With any other class, you can't select a weapon with the 1, 2, 3, or 4 keys. What are the binds I can put in my other classes cfg's so it fixes that?
[editline]12:47pm[/editline]
Found it. Just paste this into all your other class cfgss.
[code]bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"[/code][/QUOTE]
^ Yes, that fixes the other classes.
This is also what I have in all of my other class cfg's to fix the mouse scroll (if you use it):
bind mwheeldown invnext
bind mwheelup invprev
Also, if anyone is interested, I have a refined spy script that only switches from revolver and knife in the mouse wheel, and 1-9 change classes.
[editline]01:52AM[/editline]
[QUOTE=placeboing;23290340]I just found something weird. I NEVER use scripts, but I decided to try the 1st script on this page. When I press the key to build + destroy, it shoots my shotgun. But if I use the script to shoot (instead of LMB), and keep switching back to the Frontier Justice, it allows me to shoot just as fast as I would without switching back and forth, but I never have to reload.
So it essentially gives the Frontier Justice an unlimited clip.
Interesting.[/QUOTE]
Your'e not actually shooting a bullet, just seeing the animation.
these scripts are all nice, but we should be striving not to use wait. D:
I declare the OP, USEFUL!
Nice script, shame it can't just be bound to when you goto build a new sentry?
[QUOTE=SamuraiZack;23295033]
Also, if anyone is interested, I have a refined spy script that [B]only switches from revolver and knife[/B] in the mouse wheel, and 1-9 change classes.
[/QUOTE]
What about sapper? I would be interested if it had the sapper as well...
[QUOTE=RoBaDoB;23299695]Nice script, shame it can't just be bound to when you goto build a new sentry?[/QUOTE]
[QUOTE]alias +minisentry "destroy 2 0"
alias -minisentry "build 2 0"
bind KEY +minisentry[/QUOTE]
Have a wrench.
[code]//Quickbuild hold mouse4 then 1-4 to build and destroy
alias sentrybuild bind "1" "build 2; destroy 2" //Builds and Destroys Sentry
alias dispenserbuild bind "2" "build 0; destroy 0" //Builds and Destroys Dispenser
alias entrybuild bind "3" "build 1; destroy 1" //Builds and Destroys Teleport Entrance
alias exitbuild bind "4" "build 3; destroy 3" //Builds and Destroys Teleport Exit
//
alias +buildstuff "setrybuild; dispenserbuild; entrybuild; exitbuild" //for toggling the use of these keys for building
alias -buildstuff "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4"
//
bind mouse4 +buildstuff[/code]
Can someone tell me what's wrong with this?
I just want to be able to hit the button twice to destroy then build, it should work, in theory, and does when I just straight up bind it, but then I lose my weapon switching keys.
Sorry, you need to Log In to post a reply to this thread.