Difference between revisions of "General Class Scripts"

From Fortress Forever Wiki
Jump to navigationJump to search
(New page to replace Misc. Scripts (cleaner and more infomative title))
 
(Moving from Misc. Scripts page.)
Line 3: Line 3:
  
 
Below you will find general scripts that can / should be used by one or more classes. Instructions for where to place these scripts can be found with the associated script, however generally you will want to place these scripts into your [[Userconfig_default|userconfig.cfg.]]
 
Below you will find general scripts that can / should be used by one or more classes. Instructions for where to place these scripts can be found with the associated script, however generally you will want to place these scripts into your [[Userconfig_default|userconfig.cfg.]]
 +
 +
==Name Announcement 1==
 +
Script by [http://www.fortress-forever.com/forum/member.php?u=12955 Dr.Satan]
 +
 +
 +
'''Instructions'''
 +
 +
For this script you will need to place each script in the specified [[:Category:Default_Configs|<classname>.cfg]]
 +
 +
 +
{{Scripts | Description=Name Announcement Using One Key | Script=Put this code in your [[Userconfig_default|userconfig.cfg]]
 +
<code><pre>//    -----
 +
//---- Names ----
 +
//    -----
 +
 +
alias demo_n "say_team Now playing demo!"
 +
alias engy_n "say_team Now playing engy"
 +
alias hw_n "say_team Now playing hw!"
 +
alias med_n "say_team Now playing medic!"
 +
alias pyro_n "say_team Now playing pyro!"
 +
alias scout_n "say_team Now playing scout!"
 +
alias sniper_n "say_team Now playing sniper!"
 +
alias solly_n "say_team Now playing solly!"
 +
alias spy_n "say_team Now playing spy!"</pre></code>
 +
 +
Put this code in your [[Demoman_default|demoman.cfg]]
 +
<code><pre>//put in demoman.cfg
 +
bind rightarrow "demo_n"</pre></code>
 +
 +
Put this code in your [[Engineer_default|engineer.cfg]]
 +
<code><pre>//put in engineer.cfg
 +
bind rightarrow "engy_n"</pre></code>
 +
 +
Put this code in your [[Hwguy_default|hwguy.cfg]]
 +
<code><pre>//put in hwguy.cfg
 +
bind rightarrow "hw_n"</pre></code>
 +
 +
 +
Put this code in your [[Medic_default|medic.cfg]]
 +
<code><pre>//put in medic.cfg
 +
bind rightarrow "med_n"</pre></code>
 +
 +
Put this code in your [[Pyro_default|pyro.cfg]]
 +
<code><pre>//put in pyro.cfg
 +
bind rightarrow "pyro_n"</pre></code>
 +
 +
 +
Put this code in your [[Scout_default|scout.cfg]]
 +
<code><pre>//put in scout.cfg
 +
bind rightarrow "scout_n"</pre></code>
 +
 +
Put this code in your [[Sniper_default|sniper.cfg]]
 +
<code><pre>//put in sniper.cfg
 +
bind rightarrow "sniper_n"</pre></code>
 +
 +
 +
Put this code in your [[Soldier_default|soldier.cfg]]
 +
<code><pre>//put in soldier.cfg
 +
bind rightarrow "solly_n"</pre></code>
 +
 +
 +
Put this code in your [[Spy_default|spy.cfg]]
 +
<code><pre>//put in spy.cfg
 +
bind rightarrow "spy_n"</pre></code>}}

Revision as of 11:53, 7 February 2008


Below you will find general scripts that can / should be used by one or more classes. Instructions for where to place these scripts can be found with the associated script, however generally you will want to place these scripts into your userconfig.cfg.

Name Announcement 1

Script by Dr.Satan


Instructions

For this script you will need to place each script in the specified <classname>.cfg


Name Announcement Using One Key
Put this code in your userconfig.cfg
//     -----
//---- Names ----
//     -----

alias demo_n "say_team Now playing demo!"
alias engy_n "say_team Now playing engy"
alias hw_n "say_team Now playing hw!"
alias med_n "say_team Now playing medic!"
alias pyro_n "say_team Now playing pyro!"
alias scout_n "say_team Now playing scout!"
alias sniper_n "say_team Now playing sniper!"
alias solly_n "say_team Now playing solly!"
alias spy_n "say_team Now playing spy!"

Put this code in your demoman.cfg

//put in demoman.cfg
bind rightarrow "demo_n"

Put this code in your engineer.cfg

//put in engineer.cfg
bind rightarrow "engy_n"

Put this code in your hwguy.cfg

//put in hwguy.cfg
bind rightarrow "hw_n"


Put this code in your medic.cfg

//put in medic.cfg
bind rightarrow "med_n"

Put this code in your pyro.cfg

//put in pyro.cfg
bind rightarrow "pyro_n"


Put this code in your scout.cfg

//put in scout.cfg
bind rightarrow "scout_n"

Put this code in your sniper.cfg

//put in sniper.cfg
bind rightarrow "sniper_n"


Put this code in your soldier.cfg

//put in soldier.cfg
bind rightarrow "solly_n"


Put this code in your spy.cfg

//put in spy.cfg
bind rightarrow "spy_n"