General Class Scripts

From Fortress Forever Wiki
Revision as of 11:53, 7 February 2008 by DrSatan-12955 (talk | contribs) (Moving from Misc. Scripts page.)
Jump to navigationJump to search


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"