Showing posts with label half-life-2. Show all posts
Showing posts with label half-life-2. Show all posts

Thursday, November 17, 2011

How do I automatically skip the valve loading movie on Steam/TF2?

Question

Each time I open TF2 I see the wonderful valve loading movie, I remember there was an option of --novideo for HL1 which used to remove it.

Any similar command line / preference I can use to disable it for Steam / TF2?

Answer

You can use "-novid" in for any Source game. To add it, right click on game and select properties. Then "Set Launch Options" and type in "-novid". This will skip the launch video.

Wednesday, July 13, 2011

How to map keys in Half Life 2/Team Fortress?

Question

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.

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

This would be helpful in Half Life 2 too. (snigger, tutu)

(They are the same engine, doing something in one should be the same in the other, right?)

Answer

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.