[CODE]
alias +minisentry "destroy 2 0; build 2 0; +attack"
alias -minisentry "-attack"
bind [I]KEY[/I] +minisentry[/CODE]
Should work, need someone to test it.
Version with wait command:
[CODE]alias minisentry "destroy 2 0;wait 10;build 2 0;wait 10;+attack;wait 10;-attack"
bind [I]KEY[/I] minisentry[/CODE]
[I]If it isn't working, just adjust the wait values.[/I]
Destroys an old sentry, builds a new one.
Excellent.
Have a wrench (Unfortunately it is not golden)
Cheers for appriciating it, guys.
I tried it out real fast, only problem is that you never stop attacking unless you manually use -attack.
I just bind it to the button next to it; not too big a deal.
Hm, could you try this one, please? Cannot access TF2 right now.
[QUOTE]
alias minisentry "destroy 2 0;wait 10;build 2 0;wait 10;+attack;wait 25;-attack"
bind KEY minisentry[/QUOTE]
I just increased wait time.
Still doesn't stop the attacking :v:
Are you sure the server allows wait command?
It's my server, I'd know if it allowed it :v:
Well is it on a sv_allow_wait_command 1 server?
[editline]11:20PM[/editline]
Ninja'd.
[editline]11:21PM[/editline]
[code]alias minisentry "destroy 2 0;wait 10;build 2 0;wait 10;+attack;wait 25 ; -jump; wait 25;-attack"
bind KEY minisentry[/code]
Try that, It might work :v:
Could anyone else try if it works? There is no reason for not to work.
[editline]01:22PM[/editline]
-jump? What?
Just try it. I had to add another command once because it was using the same command, in other words, I have no idea why, but it worked once on Garry's Mod.
It should work anyways, I've been using this script for dispenser blocks, except with 'wait 50' instead of 'wait 10' [I]before[/I] '+attack', but that shouldn't matter at all.
[editline]01:24PM[/editline]
Breakin' my automerge
Still makes me attack non-stop afterwards.
When i used it with FJ in hand, it would shoot from gun, switch to PDA, select sentry and have blueprint visible. Didnt place it as i think it should, and if i allready had revenge crits stored then i would waste one to replace the sentry.
i think taking the attack command out would fix it for me, because id rather quickly get to the "choose where to place" part.
Great if youve got a sentry out with kills in it and want to quickly replace it with crits, or just quick destroy to unload on someone
The script worked for me. I pasted it in Engineer.cfg.
I find that wait commands inside the alias command only work if they're in a CFG, not if you paste them in the console. Paste it in Engineer.cfg like Chekko and it should work just fine.
Extremely useful, thanks.
Very very useful. Thank you.
[QUOTE=robowurmz;23229198]I find that wait commands inside the alias command only work if they're in a CFG, not if you paste them in the console. Paste it in Engineer.cfg like Chekko and it should work just fine.[/QUOTE]
That's not true. All engineer.cfg does is pasting everything you have written in it to the console when you select the engineer class.
I think this script being such an obvious requirement when using the minisentry should be incorperated when using it somehow. Maybe middle clicking or something with the Gunslinger out will destroy your older sentry.
Cheers, guys!
Also, if anyone is having some problems with aliases, just do it without them. It's not necessary.
[CODE]bind [I]KEY[/I] "destroy 2 0;wait 10;build 2 0;wait 10;+attack;wait 10;-attack"
[/CODE]
I have had my mouse3 bound to "destroy sentry, build sentry" for more than 1 year now.
Offensive engineering meant something in these times.
Like I said though it's such a needed script for the mini-sentries, goes beyond me why you can't do that already with the update without the need of a miniscript.
Is there anyway to make this deploy the sentry instantly right when I press a button?
How do I put this in my game?
Sorry, never used a script before.
Alright, first of all, you can do it EVEN simpler, just do
[code]alias destroybuild "destroy 2; wait 50; build 2"
bind KEY Destroybuild[/code]
Also, TizzYcho, to install it, go to your steam directory > Steam apps> Your account name>Team Fortress 2> TF > CFG. Then go and copy and paste the code in Engineer.cfg, after, go and replace KEY with a key you want to press that activates the script (eg. bind mouse3, mouse3 = scroll wheel pressed down)
Sorry, you need to Log In to post a reply to this thread.