Prop-Hunt is a gamemode in TF2 that has some kind of "hide and seek" gameplay. RED team are disguised as "props" (common objects in TF2 maps, like trees, tables, barrels, and so much more) while BLU team are a group of pyros and heavies trying to find and eliminate them. To find a Prop-Hunt server use this page.
Anyone who played this mode knows that when you're on RED, you can freeze yourself by holding mouse2 (right-click). Unfortunately, as a RED player you will find yourself freezing most of the time. Here comes my simple scripts- right-click once to freeze, right-click again to unfreeze.
Put the following in the autoexec.cfg file:
//Prop Freeze
alias propi "propon";
alias propon "+attack2; alias propi propoff;"
alias propoff "-attack2; alias propi propon;"
bind mouse2 +attack2
alias propih "prophon";
alias prophon "say_team Prop bind is ON; bind mouse2 propi; alias propih prophoff"
alias prophoff "say_team Prop bind is OFF; bind mouse2 +attack2; alias propih prophon; propoff;"
bind "'" "propih";
In the last line, change the bind to a free key anywhere on your keyboard. When you join a Prop-Hunt server, hit it to turn on the mouse2 toggle. When you want to disable it, hit that key again.
When "prop bind is on", you can use mouse2 to toggle between freezing and unfreezing.
Showing posts with label TF2 Scripts. Show all posts
Showing posts with label TF2 Scripts. Show all posts
23.11.09
Managing Scripts in Team Fortress 2
Whether you never used a single script for TF2 yet, or you already have some, I fully recommend that your "cfg" directory will contain the following files:
scout.cfg
soldier.cfg
pyro.cfg
demoman.cfg
heavyweapons.cfg
engineer.cfg
medic.cfg
sniper.cfg
spy.cfg
back.cfg
autoexec.cfg
The file config.cfg should already be there.
1. Any class config file should start with the line "exec back.cfg".
2. Basically, any class-specific script will go to its class config file. Any binds that are effected by that script, should be redefined in back.cfg. For example, if the soldier config file binds the mouse2 (right-click) button to a rocket jump script, then you should write the line "bind 'mouse2' +attack2" in "back.cfg".
This is kind of a must-do before you read any of my other scripts related posts.
scout.cfg
soldier.cfg
pyro.cfg
demoman.cfg
heavyweapons.cfg
engineer.cfg
medic.cfg
sniper.cfg
spy.cfg
back.cfg
autoexec.cfg
The file config.cfg should already be there.
1. Any class config file should start with the line "exec back.cfg".
2. Basically, any class-specific script will go to its class config file. Any binds that are effected by that script, should be redefined in back.cfg. For example, if the soldier config file binds the mouse2 (right-click) button to a rocket jump script, then you should write the line "bind 'mouse2' +attack2" in "back.cfg".
This is kind of a must-do before you read any of my other scripts related posts.
Labels:
TF2 Scripts
Subscribe to:
Posts (Atom)