Difference between revisions of "General Scripts"
Squeek-10494 (talk | contribs) m (→Wait Script) |
|||
Line 5: | Line 5: | ||
Below you will find examples of some of the most common general scripts. You will find that these scripts have nothing to do with the [[Class_Guides|character classes.]] You will need to place these scripts into your [[Userconfig_default|userconfig.cfg.]] | Below you will find examples of some of the most common general scripts. You will find that these scripts have nothing to do with the [[Class_Guides|character classes.]] You will need to place these scripts into your [[Userconfig_default|userconfig.cfg.]] | ||
− | == | + | |
+ | ==Teamsays for medic, engineer and ammo== | ||
+ | <pre>alias medicshout "say_team Need a Medic! ^2[^4%h^5|^3%a^2]; saveme" | ||
+ | alias engyshout "say_team Need some Armor! ! ^2[^4%h^5|^3%a^2]; engyme" | ||
+ | alias ammoshout "say_team Need some Ammo! %c main weapon ^2 LOW" | ||
+ | alias +medictoggle "bind x ammoshout; bind c engyshout" | ||
+ | alias -medictoggle "bind x discard; bind c dropitems" | ||
+ | bind "your key" +medictoggle</pre> | ||
+ | |||
+ | by holding "your key" it will temporarily rebind x and c to give you specific options that report vitals as well. Releasing mouse5 will rebind them to the defaults. | ||
+ | |||
Script by [http://www.fortress-forever.com/forum/member.php?u=12178 PorkChopVII] | Script by [http://www.fortress-forever.com/forum/member.php?u=12178 PorkChopVII] |
Revision as of 22:04, 6 January 2009
Below you will find examples of some of the most common general scripts. You will find that these scripts have nothing to do with the character classes. You will need to place these scripts into your userconfig.cfg.
Teamsays for medic, engineer and ammo
alias medicshout "say_team Need a Medic! ^2[^4%h^5|^3%a^2]; saveme" alias engyshout "say_team Need some Armor! ! ^2[^4%h^5|^3%a^2]; engyme" alias ammoshout "say_team Need some Ammo! %c main weapon ^2 LOW" alias +medictoggle "bind x ammoshout; bind c engyshout" alias -medictoggle "bind x discard; bind c dropitems" bind "your key" +medictoggle
by holding "your key" it will temporarily rebind x and c to give you specific options that report vitals as well. Releasing mouse5 will rebind them to the defaults.
Script by PorkChopVII
Instructions:
Place the following code into your userconfig.cfg.
|
Non-Stop Demo Recording
Script by DarK_TaO
Instructions:
Place the following code into your userconfig.cfg.
To change the key, replace the following line with your desired key:
bind "key" "startrec"
An example using the "f" key:
bind "f" "startrec"
|
Toggle Crouch
Script by paranoidkirb
Instructions:
Place the following code into your userconfig.cfg.
|
Wait Script
Script by DarK_TaO
Instructions:
Place the following code into your userconfig.cfg.
|