Difference between revisions of "Demoman Scripts"
From Fortress Forever Wiki
Jump to navigationJump to search (adding table) |
m |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Scripts]] | [[Category:Scripts]] | ||
− | |||
+ | Here you will find scripts that will be used ONLY by the [[:Class:Demoman|Demoman Class.]] | ||
+ | |||
+ | All scripts in this section should be placed in your [[Demoman_default|demoman.cfg.]] | ||
==Detpack Cycler 1== | ==Detpack Cycler 1== | ||
Line 9: | Line 11: | ||
Edited by [http://www.fortress-forever.com/forum/member.php?u=12955 Dr.Satan] | Edited by [http://www.fortress-forever.com/forum/member.php?u=12955 Dr.Satan] | ||
− | <code><pre>//Config Made by PorkChopVII | + | {| width="100%" style="background:#f5faff; border:1px solid #dce7ed" |
+ | | | ||
+ | {| border="0" style="background:#ffffff; style="text-align:center;" width="100%" align="center" cellpadding="3" cellspacing="3" | ||
+ | |- style="background:#dce7ed; color:#000000" | | ||
+ | | colspan="1" |'''Script''' | ||
+ | |- style="background-color: #f3f3f3;" style="text-align:left;" | | ||
+ | |<code><pre>//Config Made by PorkChopVII | ||
//Added more detcycle alias' | //Added more detcycle alias' | ||
//added detpack location var. | //added detpack location var. | ||
Line 51: | Line 59: | ||
− | //##################################################################################</pre></code> | + | //################################################################################## |
+ | </pre></code> | ||
+ | |- style="background-color: #f3f3f3;" | | ||
+ | |} | ||
+ | |} | ||
==Detpack Cycler 2== | ==Detpack Cycler 2== | ||
Line 72: | Line 84: | ||
|- style="background:#dce7ed; color:#000000" | | |- style="background:#dce7ed; color:#000000" | | ||
| colspan="1" |'''Script''' | | colspan="1" |'''Script''' | ||
− | |- style="background-color: #f3f3f3;" | | + | |- style="background-color: #f3f3f3;" style="text-align:left;" | |
− | |bind "kp_plus" "ENABLE_PAD" | + | |<code><pre>bind "kp_plus" "ENABLE_PAD" |
− | alias "ENABLE_PAD" "bind kp_ins 10xZERO; bind kp_end 10xONE; bind kp_downarrow 10xTWO; bind kp_pgdn 10xTHREE; bind kp_leftarrow 10xFOUR; bind kp_5 10xFIVE; bind kp_rightarrow 10xSIX; bind kp_home BAD_TIME; bind kp_uparrow BAD_TIME; bind kp_pgup BAD_TIME; unbind kp_plus; speak detpack_script\activated" | + | alias "ENABLE_PAD" "bind kp_ins 10xZERO; bind kp_end 10xONE; bind kp_downarrow 10xTWO; |
+ | bind kp_pgdn 10xTHREE; bind kp_leftarrow 10xFOUR; bind kp_5 10xFIVE; bind kp_rightarrow 10xSIX; | ||
+ | bind kp_home BAD_TIME; bind kp_uparrow BAD_TIME; bind kp_pgup BAD_TIME; unbind kp_plus; speak | ||
+ | detpack_script\activated" | ||
− | alias "DISABLE_PAD" "unbind kp_ins; unbind kp_end; unbind kp_downarrow; unbind kp_pgdn; unbind kp_leftarrow; unbind kp_5; unbind kp_rightarrow; unbind kp_home; unbind kp_uparrow; unbind kp_pgup; bind kp_plus ENABLE_PAD" | + | alias "DISABLE_PAD" "unbind kp_ins; unbind kp_end; unbind kp_downarrow; unbind kp_pgdn; |
+ | unbind kp_leftarrow; unbind kp_5; unbind kp_rightarrow; unbind kp_home; unbind kp_uparrow; | ||
+ | unbind kp_pgup; bind kp_plus ENABLE_PAD" | ||
− | alias "10xZERO" "bind kp_ins BAD_TIME; bind kp_end BAD_TIME; bind kp_downarrow BAD_TIME; bind kp_pgdn BAD_TIME; bind kp_leftarrow BAD_TIME; bind kp_5 10xZERO_1xFIVE; bind kp_rightarrow 10xZERO_1xSIX; bind kp_home 10xZERO_1xSEVEN; bind kp_uparrow 10xZERO_1xEIGHT; bind kp_pgup 10xZERO_1xNINE; speak detpack_script\zero" | + | alias "10xZERO" "bind kp_ins BAD_TIME; bind kp_end BAD_TIME; bind kp_downarrow BAD_TIME; |
+ | bind kp_pgdn BAD_TIME; bind kp_leftarrow BAD_TIME; bind kp_5 10xZERO_1xFIVE; bind kp_rightarrow | ||
+ | 10xZERO_1xSIX; bind kp_home 10xZERO_1xSEVEN; bind kp_uparrow 10xZERO_1xEIGHT; bind kp_pgup | ||
+ | 10xZERO_1xNINE; speak detpack_script\zero" | ||
alias "10xZERO_1xFIVE" "detpack 5; speak detpack_script\five; DISABLE_PAD" | alias "10xZERO_1xFIVE" "detpack 5; speak detpack_script\five; DISABLE_PAD" | ||
Line 87: | Line 107: | ||
alias "10xZERO_1xNINE" "detpack 9; speak detpack_script\nine; DISABLE_PAD" | alias "10xZERO_1xNINE" "detpack 9; speak detpack_script\nine; DISABLE_PAD" | ||
− | alias "10xONE" "bind kp_ins 10xONE_1xZERO; bind kp_end 10xONE_1xONE; bind kp_downarrow 10xONE_1xTWO; bind kp_pgdn 10xONE_1xTHREE; bind kp_leftarrow 10xONE_1xFOUR; bind kp_5 10xONE_1xFIVE; bind kp_rightarrow 10xONE_1xSIX; bind kp_home 10xONE_1xSEVEN; bind kp_uparrow 10xONE_1xEIGHT; bind kp_pgup 10xONE_1xNINE; speak detpack_script\one" | + | alias "10xONE" "bind kp_ins 10xONE_1xZERO; bind kp_end 10xONE_1xONE; bind kp_downarrow |
+ | 10xONE_1xTWO; bind kp_pgdn 10xONE_1xTHREE; bind kp_leftarrow 10xONE_1xFOUR; bind kp_5 10xONE_1xFIVE; | ||
+ | bind kp_rightarrow 10xONE_1xSIX; bind kp_home 10xONE_1xSEVEN; bind kp_uparrow 10xONE_1xEIGHT; bind | ||
+ | kp_pgup 10xONE_1xNINE; speak detpack_script\one" | ||
alias "10xONE_1xZERO" "detpack 10; speak detpack_script\zero; DISABLE_PAD" | alias "10xONE_1xZERO" "detpack 10; speak detpack_script\zero; DISABLE_PAD" | ||
Line 100: | Line 123: | ||
alias "10xONE_1xNINE" "detpack 19; speak detpack_script\nine; DISABLE_PAD" | alias "10xONE_1xNINE" "detpack 19; speak detpack_script\nine; DISABLE_PAD" | ||
− | alias "10xTWO" "bind kp_ins 10xTWO_1xZERO; bind kp_end 10xTWO_1xONE; bind kp_downarrow 10xTWO_1xTWO; bind kp_pgdn 10xTWO_1xTHREE; bind kp_leftarrow 10xTWO_1xFOUR; bind kp_5 10xTWO_1xFIVE; bind kp_rightarrow 10xTWO_1xSIX; bind kp_home 10xTWO_1xSEVEN; bind kp_uparrow 10xTWO_1xEIGHT; bind kp_pgup 10xTWO_1xNINE; speak detpack_script\two" | + | alias "10xTWO" "bind kp_ins 10xTWO_1xZERO; bind kp_end 10xTWO_1xONE; bind kp_downarrow |
+ | 10xTWO_1xTWO; bind kp_pgdn 10xTWO_1xTHREE; bind kp_leftarrow 10xTWO_1xFOUR; bind kp_5 10xTWO_1xFIVE; | ||
+ | bind kp_rightarrow 10xTWO_1xSIX; bind kp_home 10xTWO_1xSEVEN; bind kp_uparrow 10xTWO_1xEIGHT; bind | ||
+ | kp_pgup 10xTWO_1xNINE; speak detpack_script\two" | ||
alias "10xTWO_1xZERO" "detpack 20; speak detpack_script\zero; DISABLE_PAD" | alias "10xTWO_1xZERO" "detpack 20; speak detpack_script\zero; DISABLE_PAD" | ||
Line 113: | Line 139: | ||
alias "10xTWO_1xNINE" "detpack 29; speak detpack_script\nine; DISABLE_PAD" | alias "10xTWO_1xNINE" "detpack 29; speak detpack_script\nine; DISABLE_PAD" | ||
− | alias "10xTHREE" "bind kp_ins 10xTHREE_1xZERO; bind kp_end 10xTHREE_1xONE; bind kp_downarrow 10xTHREE_1xTWO; bind kp_pgdn 10xTHREE_1xTHREE; bind kp_leftarrow 10xTHREE_1xFOUR; bind kp_5 10xTHREE_1xFIVE; bind kp_rightarrow 10xTHREE_1xSIX; bind kp_home 10xTHREE_1xSEVEN; bind kp_uparrow 10xTHREE_1xEIGHT; bind kp_pgup 10xTHREE_1xNINE; speak detpack_script\three" | + | alias "10xTHREE" "bind kp_ins 10xTHREE_1xZERO; bind kp_end 10xTHREE_1xONE; bind kp_downarrow |
+ | 10xTHREE_1xTWO; bind kp_pgdn 10xTHREE_1xTHREE; bind kp_leftarrow 10xTHREE_1xFOUR; bind kp_5 | ||
+ | 10xTHREE_1xFIVE; bind kp_rightarrow 10xTHREE_1xSIX; bind kp_home 10xTHREE_1xSEVEN; bind kp_uparrow | ||
+ | 10xTHREE_1xEIGHT; bind kp_pgup 10xTHREE_1xNINE; speak detpack_script\three" | ||
alias "10xTHREE_1xZERO" "detpack 30; speak detpack_script\zero; DISABLE_PAD" | alias "10xTHREE_1xZERO" "detpack 30; speak detpack_script\zero; DISABLE_PAD" | ||
Line 126: | Line 155: | ||
alias "10xTHREE_1xNINE" "detpack 39; speak detpack_script\nine; DISABLE_PAD" | alias "10xTHREE_1xNINE" "detpack 39; speak detpack_script\nine; DISABLE_PAD" | ||
− | alias "10xFOUR" "bind kp_ins 10xFOUR_1xZERO; bind kp_end 10xFOUR_1xONE; bind kp_downarrow 10xFOUR_1xTWO; bind kp_pgdn 10xFOUR_1xTHREE; bind kp_leftarrow 10xFOUR_1xFOUR; bind kp_5 10xFOUR_1xFIVE; bind kp_rightarrow 10xFOUR_1xSIX; bind kp_home 10xFOUR_1xSEVEN; bind kp_uparrow 10xFOUR_1xEIGHT; bind kp_pgup 10xFOUR_1xNINE; speak detpack_script\four" | + | alias "10xFOUR" "bind kp_ins 10xFOUR_1xZERO; bind kp_end 10xFOUR_1xONE; bind kp_downarrow |
+ | 10xFOUR_1xTWO; bind kp_pgdn 10xFOUR_1xTHREE; bind kp_leftarrow 10xFOUR_1xFOUR; bind kp_5 | ||
+ | 10xFOUR_1xFIVE; bind kp_rightarrow 10xFOUR_1xSIX; bind kp_home 10xFOUR_1xSEVEN; bind kp_uparrow | ||
+ | 10xFOUR_1xEIGHT; bind kp_pgup 10xFOUR_1xNINE; speak detpack_script\four" | ||
alias "10xFOUR_1xZERO" "detpack 40; speak detpack_script\zero; DISABLE_PAD" | alias "10xFOUR_1xZERO" "detpack 40; speak detpack_script\zero; DISABLE_PAD" | ||
Line 139: | Line 171: | ||
alias "10xFOUR_1xNINE" "detpack 49; speak detpack_script\nine; DISABLE_PAD" | alias "10xFOUR_1xNINE" "detpack 49; speak detpack_script\nine; DISABLE_PAD" | ||
− | alias "10xFIVE" "bind kp_ins 10xFIVE_1xZERO; bind kp_end 10xFIVE_1xONE; bind kp_downarrow 10xFIVE_1xTWO; bind kp_pgdn 10xFIVE_1xTHREE; bind kp_leftarrow 10xFIVE_1xFOUR; bind kp_5 10xFIVE_1xFIVE; bind kp_rightarrow 10xFIVE_1xSIX; bind kp_home 10xFIVE_1xSEVEN; bind kp_uparrow 10xFIVE_1xEIGHT; bind kp_pgup 10xFIVE_1xNINE; speak detpack_script\five" | + | alias "10xFIVE" "bind kp_ins 10xFIVE_1xZERO; bind kp_end 10xFIVE_1xONE; bind kp_downarrow |
+ | 10xFIVE_1xTWO; bind kp_pgdn 10xFIVE_1xTHREE; bind kp_leftarrow 10xFIVE_1xFOUR; bind kp_5 | ||
+ | 10xFIVE_1xFIVE; bind kp_rightarrow 10xFIVE_1xSIX; bind kp_home 10xFIVE_1xSEVEN; bind kp_uparrow | ||
+ | 10xFIVE_1xEIGHT; bind kp_pgup 10xFIVE_1xNINE; speak detpack_script\five" | ||
alias "10xFIVE_1xZERO" "detpack 50; speak detpack_script\zero; DISABLE_PAD" | alias "10xFIVE_1xZERO" "detpack 50; speak detpack_script\zero; DISABLE_PAD" | ||
Line 152: | Line 187: | ||
alias "10xFIVE_1xNINE" "detpack 59; speak detpack_script\nine; DISABLE_PAD" | alias "10xFIVE_1xNINE" "detpack 59; speak detpack_script\nine; DISABLE_PAD" | ||
− | alias "10xSIX" "bind kp_ins 10xSIX_1xZERO; bind kp_end BAD_TIME; bind kp_downarrow BAD_TIME; bind kp_pgdn BAD_TIME; bind kp_leftarrow BAD_TIME; bind kp_5 BAD_TIME; bind kp_rightarrow BAD_TIME;bind kp_home BAD_TIME; bind kp_uparrow BAD_TIME; bind kp_pgup BAD_TIME; speak detpack_script\six" | + | alias "10xSIX" "bind kp_ins 10xSIX_1xZERO; bind kp_end BAD_TIME; bind kp_downarrow BAD_TIME; |
+ | bind kp_pgdn BAD_TIME; bind kp_leftarrow BAD_TIME; bind kp_5 BAD_TIME; bind kp_rightarrow BAD_TIME; | ||
+ | bind kp_home BAD_TIME; bind kp_uparrow BAD_TIME; bind kp_pgup BAD_TIME; speak detpack_script\six" | ||
alias "10xSIX_1xZERO" "detpack 60; speak detpack_script\zero; DISABLE_PAD" | alias "10xSIX_1xZERO" "detpack 60; speak detpack_script\zero; DISABLE_PAD" | ||
− | alias "BAD_TIME" "speak detpack_script\error; DISABLE_PAD" | + | alias "BAD_TIME" "speak detpack_script\error; DISABLE_PAD"</pre></code> |
|- style="background-color: #f3f3f3;" | | |- style="background-color: #f3f3f3;" | | ||
|} | |} | ||
|} | |} | ||
− | + | [[Image:Note.png]] '''Note:''' To enable the vox commands you MUST download the sound files and place them into your <tt>\FortressForever\sound\vox\</tt> file. Download the necessary files [http://rapidshare.com/files/86405445/demotimer.zip.html here!] | |
+ | {{Rating|2}} |
Latest revision as of 06:41, 23 February 2008
Here you will find scripts that will be used ONLY by the Demoman Class.
All scripts in this section should be placed in your demoman.cfg.
Detpack Cycler 1
Script by PorkChopVII
Edited by Dr.Satan
|
Detpack Cycler 2
Script by shadow
Instructions from readme
Press plus on numpad to activate, enter desired time for detpack with numpad numbers.
Valid times are 5 seconds to 60 seconds, invalid times result in error sound.
All vox sounds included. gg
|
File:Note.png Note: To enable the vox commands you MUST download the sound files and place them into your \FortressForever\sound\vox\ file. Download the necessary files here!