General Scripts

From Fortress Forever Wiki
Revision as of 22:04, 6 January 2009 by MonoXideAtWork (talk | contribs)
Jump to navigationJump to search


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.


Discard on Forward
alias +disforward "+forward; discard"
alias -disforward "-forward"
bind w "+disforward"


File:Note.png Note: You will need to put this line into your engineer.cfg if you do not want to discard as an engineer.

bind w "+foward"

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"


Non-Stop Demo Recording
//******		         ******
//------ Non Stop Demo Recording ------
//******	                 ******

//========================
// Up to 30 demos in a row
//========================

alias record	"r01"

alias r01	"record demo_01; alias record r01"
alias r02	"record demo_02; alias record r02"
alias r03	"record demo_03; alias record r03"
alias r04	"record demo_04; alias record r04"
alias r05	"record demo_05; alias record r05"
alias r06	"record demo_06; alias record r06"
alias r07	"record demo_07; alias record r07"
alias r08	"record demo_08; alias record r08"
alias r09	"record demo_09; alias record r09"
alias r10	"record demo_10; alias record r10"
alias r11	"record demo_11; alias record r11"
alias r12	"record demo_12; alias record r12"
alias r13	"record demo_13; alias record r13"
alias r14	"record demo_14; alias record r14"
alias r15	"record demo_15; alias record r15"
alias r16	"record demo_16; alias record r16"
alias r17	"record demo_17; alias record r17"
alias r18	"record demo_18; alias record r18"
alias r19	"record demo_19; alias record r19"
alias r20	"record demo_20; alias record r20"
alias r21	"record demo_21; alias record r21"
alias r22	"record demo_22; alias record r22"
alias r23	"record demo_23; alias record r23"
alias r24	"record demo_24; alias record r24"
alias r25	"record demo_25; alias record r25"
alias r26	"record demo_26; alias record r26"
alias r27	"record demo_27; alias record r27"
alias r28	"record demo_28; alias record r28"
alias r29	"record demo_29; alias record r29"
alias r30	"record demo_30"

alias startrec1	"record; alias startrec startrec2"
alias startrec2	"stop; alias startrec startrec1"
alias startrec	"startrec1"

bind ""	"startrec"


Toggle Crouch

Script by paranoidkirb

Instructions:

Place the following code into your userconfig.cfg.


Toggle Crouch Script
//=======================
//---- Toggle Crouch ----
//=======================

alias crouch+	"+duck; wait; alias crouch crouch-"
alias crouch-	"-duck; wait; alias crouch crouch+"
alias crouch	"crouch+"

bind "CTRL" "crouch"


Wait Script

Script by DarK_TaO

Instructions:

Place the following code into your userconfig.cfg.


Wait Script
// 0.02 Secs
alias "WC" "wait; wait" 	
// 0.03 Secs
alias "WM"	"wc; wait"	
// 0.05 Secs
alias "WL"	"wm; wc"	
// 0.1 Sec
alias "WEL"	"wl; wl"	
// 0.2 Secs
alias "MW"	"WEL; WEL"	


alias "0.25s"	"MW; WL"
alias "0.5s"	"MW; MW; WEL"
alias "0.75s"	"0.5s; 0.25s"