Tell me more ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I'm sick of trying to get my rocket jumps accurate enough to actually jump places, that I'm left trying to jump instead of killing the enemy.

This would be helpful in Half Life 2 too. As they have the same engine, doing something in one should be the same in the other, right?

How can I bind a series of keys to a single button?

share|improve this question
Try, try and try again. Building skill need time and patience. Scripting is not satisfying as learning to do manually. – Drake Jul 7 '10 at 22:40
I take it you mean Half-Life 2. Half-Life and Team Fortress 2 don't share the same engine. TF2 has the same engine as HL2, the Source engine. Half-Life, and Team Fortress Classic, use the GoldSrc engine. Just so you know. – user56 Jul 7 '10 at 22:41
Sorry, it was neigh on 6am when I posted that. I thought HL was synonymous with HL2. Altered. – glasnt Jul 7 '10 at 23:06

1 Answer

up vote 3 down vote accepted

You need an alias. Create a file called autoexec.cfg in your Steam\steamapps\YOUR_ALIAS_HERE\team fortress 2\tf\cfg and add the following:

//Rocket Jump
alias +rocketjump "+jump;+duck;wait;+attack"
alias -rocketjump "-jump;-attack;wait;wait;wait;-duck"
bind mouse2 "+rocketjump"

Change mouse2 to your desired key. You can do so much with scripting, this is just one example. Check out the TF2 Wiki for more.

share|improve this answer
Side note: Don't use TF2Wiki any more, use wiki.teamfortress.com instead. wiki.teamfortress.com/wiki/Soldier_scripts should be the same page on the official TF wiki. – user2974 Sep 1 '10 at 14:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.