View Single Post
Old 09-22-2007, 07:21 PM   #10
DarK_TaO
Mapper ^^
 
Join Date: Apr 2007
Location: yes (:
Posts Rated Helpful 0 Times
Send a message via ICQ to DarK_TaO Send a message via MSN to DarK_TaO
Demoman Detpacks + Sounds + Team Msg

Code:
//****************************
//----------- Demo -----------
//****************************

clear
echo [Demoman] cfg loaded.

//*****		      *****
//---------Aliases---------
//*****		      *****

alias m1 "bind mouse1 +attack"
alias m2 "bind mouse2 +attack2"

//***************************
//---------- Waits ----------
//***************************

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

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

//================
//---- Sounds ----
//================

alias spk_t	"speak vox/female/terminate"
alias spk_a	"speak vox/female/detpack.activated"

alias spk_05	"speak vox/female/five.seconds"
alias spk_10	"speak vox/female/ten.seconds"
alias spk_20	"speak vox/female/twenty.seconds"
alias spk_30	"speak vox/female/thirty.seconds"
alias spk_40	"speak vox/female/forty.seconds"
alias spk_50	"speak vox/female/fifty.seconds"

//=========================
//----- Team Messages -----
//=========================
//
// Setting detpack {secs}

alias det_say	""
alias det_say05	"alias det_say say_team Setting detpack {5 Secs}"
alias det_say10	"alias det_say say_team Setting detpack {10 Secs}"
alias det_say20	"alias det_say say_team Setting detpack {20 Secs}"
alias det_say30	"alias det_say say_team Setting detpack {30 Secs}"
alias det_say40	"alias det_say say_team Setting detpack {40 Secs}"
alias det_say50	"alias det_say say_team Setting detpack {50 Secs}"

//=====================
//------ Detpack ------
//=====================

//      ------
//----- Modo 1 -----
//      ------

alias "det5"	"spk_5; alias timer detpack 5; det_say5; bind mouse1 +l_selec; bind mouse2 cancel_d"
alias "det10"	"spk_10; alias timer detpack 10; det_say10; bind mouse1 +l_selec; bind mouse2 cancel_d"
alias "det20"	"spk_20; alias timer detpack 20; det_say20; bind mouse1 +l_selec; bind mouse2 cancel_d"
alias "det30"	"spk_30; alias timer detpack 30; det_say30; bind mouse1 +l_selec; bind mouse2 cancel_d"
alias "det40"	"spk_30; alias timer detpack 40; det_say40; bind mouse1 +l_selec; bind mouse2 cancel_d"
alias "det50"	"spk_50; alias timer detpack 50; det_say50; bind mouse1 +l_selec; bind mouse2 cancel_d"

//     -------------
//---- Mouse Buttons ----
//     -------------

alias +l_selec	"timer;det_say; 2s; 0.5s; spk_a"
alias -l_selec	"m1; m2; WC; slot3"
alias cancel_d	"spk_t; m1; m2; WC; slot3"


//*****		    *****
//---------Binds---------
//*****		    *****


bind "kp_end"		"det5"		// Detpack for 5 Sec
bind "kp_downarrow"	"det10"		// Detpack for 10 Secs
bind "kp_pgdn"		"det20"		// Detpack for 20 Secs
bind "kp_leftarrow"	"det30"		// Detpack for 30 Secs
bind "kp_5"		"det40"		// Detpack for 40 Secs
bind "kp_rightarrow"	"det50"		// Detpack for 50 Secs

.- Select detpack with keypad
.- Place detpack with mouse1
.- Cancel selection with mouse2

Last edited by DarK_TaO; 09-22-2007 at 07:47 PM.
DarK_TaO is offline   Reply With Quote