Difference between revisions of "Demoman Scripts"
From Fortress Forever Wiki
Jump to navigationJump to searchm (Protected "Demoman Scripts" [edit=sysop:move=sysop]) |
m |
||
(7 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== | ||
+ | |||
+ | |||
+ | Script by [http://www.fortress-forever.com/forum/member.php?u=12178 PorkChopVII] | ||
+ | |||
+ | Edited by [http://www.fortress-forever.com/forum/member.php?u=12955 Dr.Satan] | ||
+ | |||
+ | {| 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 detpack location var. | ||
+ | |||
+ | //################################################################################# | ||
+ | //What is announced what class is selected and spawned | ||
+ | speak "vox/tfc/pipe.cleanup" | ||
+ | |||
+ | //creating the timer cycler | ||
+ | alias detcycle1 "alias placedet drop5; alias dettimeup detcycle4; alias dettimedown detcycle2;speak vox/tfc/five; teamsay" | ||
+ | alias detcycle2 "alias placedet drop10;alias dettimeup detcycle1; alias dettimedown detcycle3;speak vox/tfc/ten; teamsay" | ||
+ | alias detcycle3 "alias placedet drop15; alias dettimeup dercycle2; alias derrimedown dercycle4; speak vox/tfc/fifteen; teamsay" | ||
+ | alias detcycle4 "alias placedet drop20;alias dettimeup detcycle3; alias dettimedown detcycle5;speak vox/tfc/twenty; teamsay" | ||
+ | alias detcycle5 "alias placedet drop25;alias dettimeup detcycle4; alias dettimedown detcycle6;speak vox/tfc/twenty.five; teamsay" | ||
+ | alias detcycle6 "alias placedet drop30;alias dettimeup detcycle5; alias dettimedown detcycle7;speak vox/tfc/thirty; teamsay" | ||
+ | alias detcycle7 "alias placedet drop35;alias dettimeup detcycle6; alias dettimedown detcycle8;speak vox/tfc/thirty.five; teamsay" | ||
+ | alias detcycle8 "alias placedet drop40;alias dettimeup detcycle7; alias dettimedown detcycle9;speak vox/tfc/forty; teamsay" | ||
+ | alias detcycle9 "alias placedet drop45;alias dettimeup detcycle8; alias dettimedown detcycle10;speak vox/tfc/forty.five; teamsay" | ||
+ | alias detcycle10 "alias placedet drop50;alias dettimeup detcycle9; alias dettimedown detcycle1;speak vox/tfc/fifty; teamsay" | ||
+ | alias dettimeup "detcycle4" | ||
+ | alias dettimedown "detcycle2" | ||
+ | |||
+ | //makes smaller variables for the dettime | ||
+ | alias drop50 "detpack 50" | ||
+ | alias drop45 "detpack 45" | ||
+ | alias drop40 "detpack 40" | ||
+ | alias drop35 "detpack 35" | ||
+ | alias drop30 "detpack 30" | ||
+ | alias drop25 "detpack 25" | ||
+ | alias drop20 "detpack 20" | ||
+ | alias drop15 "detpack 15" | ||
+ | alias drop10 "detpack 10" | ||
+ | alias drop5 "detpack 5" | ||
+ | |||
+ | alias teamsay "0.5; say_team Detpack set at %pl with a fuse of %pf" | ||
+ | |||
+ | |||
+ | bind mouse3 "placedet" | ||
+ | bind mwheelup "dettimeup" | ||
+ | bind mwheeldown "dettimedown" | ||
+ | |||
+ | |||
+ | //################################################################################## | ||
+ | </pre></code> | ||
+ | |- style="background-color: #f3f3f3;" | | ||
+ | |} | ||
+ | |} | ||
+ | |||
+ | ==Detpack Cycler 2== | ||
+ | |||
+ | Script by [http://www.fortress-forever.com/forum/member.php?u=5539 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 | ||
+ | |||
+ | {| 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>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 "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_1xFIVE" "detpack 5; speak detpack_script\five; DISABLE_PAD" | ||
+ | alias "10xZERO_1xSIX" "detpack 6; speak detpack_script\six; DISABLE_PAD" | ||
+ | alias "10xZERO_1xSEVEN" "detpack 7; speak detpack_script\seven; DISABLE_PAD" | ||
+ | alias "10xZERO_1xEIGHT" "detpack 8; speak detpack_script\eight; 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_1xZERO" "detpack 10; speak detpack_script\zero; DISABLE_PAD" | ||
+ | alias "10xONE_1xONE" "detpack 11; speak detpack_script\one; DISABLE_PAD" | ||
+ | alias "10xONE_1xTWO" "detpack 12; speak detpack_script\two; DISABLE_PAD" | ||
+ | alias "10xONE_1xTHREE" "detpack 13; speak detpack_script\three; DISABLE_PAD" | ||
+ | alias "10xONE_1xFOUR" "detpack 14; speak detpack_script\four; DISABLE_PAD" | ||
+ | alias "10xONE_1xFIVE" "detpack 15; speak detpack_script\five; DISABLE_PAD" | ||
+ | alias "10xONE_1xSIX" "detpack 16; speak detpack_script\six; DISABLE_PAD" | ||
+ | alias "10xONE_1xSEVEN" "detpack 17; speak detpack_script\seven; DISABLE_PAD" | ||
+ | alias "10xONE_1xEIGHT" "detpack 18; speak detpack_script\eight; 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_1xZERO" "detpack 20; speak detpack_script\zero; DISABLE_PAD" | ||
+ | alias "10xTWO_1xONE" "detpack 21; speak detpack_script\one; DISABLE_PAD" | ||
+ | alias "10xTWO_1xTWO" "detpack 22; speak detpack_script\two; DISABLE_PAD" | ||
+ | alias "10xTWO_1xTHREE" "detpack 23; speak detpack_script\three; DISABLE_PAD" | ||
+ | alias "10xTWO_1xFOUR" "detpack 24; speak detpack_script\four; DISABLE_PAD" | ||
+ | alias "10xTWO_1xFIVE" "detpack 25; speak detpack_script\five; DISABLE_PAD" | ||
+ | alias "10xTWO_1xSIX" "detpack 26; speak detpack_script\six; DISABLE_PAD" | ||
+ | alias "10xTWO_1xSEVEN" "detpack 27; speak detpack_script\seven; DISABLE_PAD" | ||
+ | alias "10xTWO_1xEIGHT" "detpack 28; speak detpack_script\eight; 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_1xZERO" "detpack 30; speak detpack_script\zero; DISABLE_PAD" | ||
+ | alias "10xTHREE_1xONE" "detpack 31; speak detpack_script\one; DISABLE_PAD" | ||
+ | alias "10xTHREE_1xTWO" "detpack 32; speak detpack_script\two; DISABLE_PAD" | ||
+ | alias "10xTHREE_1xTHREE" "detpack 33; speak detpack_script\three; DISABLE_PAD" | ||
+ | alias "10xTHREE_1xFOUR" "detpack 34; speak detpack_script\four; DISABLE_PAD" | ||
+ | alias "10xTHREE_1xFIVE" "detpack 35; speak detpack_script\five; DISABLE_PAD" | ||
+ | alias "10xTHREE_1xSIX" "detpack 36; speak detpack_script\six; DISABLE_PAD" | ||
+ | alias "10xTHREE_1xSEVEN" "detpack 37; speak detpack_script\seven; DISABLE_PAD" | ||
+ | alias "10xTHREE_1xEIGHT" "detpack 38; speak detpack_script\eight; 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_1xZERO" "detpack 40; speak detpack_script\zero; DISABLE_PAD" | ||
+ | alias "10xFOUR_1xONE" "detpack 41; speak detpack_script\one; DISABLE_PAD" | ||
+ | alias "10xFOUR_1xTWO" "detpack 42; speak detpack_script\two; DISABLE_PAD" | ||
+ | alias "10xFOUR_1xTHREE" "detpack 43; speak detpack_script\three; DISABLE_PAD" | ||
+ | alias "10xFOUR_1xFOUR" "detpack 44; speak detpack_script\four; DISABLE_PAD" | ||
+ | alias "10xFOUR_1xFIVE" "detpack 45; speak detpack_script\five; DISABLE_PAD" | ||
+ | alias "10xFOUR_1xSIX" "detpack 46; speak detpack_script\six; DISABLE_PAD" | ||
+ | alias "10xFOUR_1xSEVEN" "detpack 47; speak detpack_script\seven; DISABLE_PAD" | ||
+ | alias "10xFOUR_1xEIGHT" "detpack 48; speak detpack_script\eight; 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_1xZERO" "detpack 50; speak detpack_script\zero; DISABLE_PAD" | ||
+ | alias "10xFIVE_1xONE" "detpack 51; speak detpack_script\one; DISABLE_PAD" | ||
+ | alias "10xFIVE_1xTWO" "detpack 52; speak detpack_script\two; DISABLE_PAD" | ||
+ | alias "10xFIVE_1xTHREE" "detpack 53; speak detpack_script\three; DISABLE_PAD" | ||
+ | alias "10xFIVE_1xFOUR" "detpack 54; speak detpack_script\four; DISABLE_PAD" | ||
+ | alias "10xFIVE_1xFIVE" "detpack 55; speak detpack_script\five; DISABLE_PAD" | ||
+ | alias "10xFIVE_1xSIX" "detpack 56; speak detpack_script\six; DISABLE_PAD" | ||
+ | alias "10xFIVE_1xSEVEN" "detpack 57; speak detpack_script\seven; DISABLE_PAD" | ||
+ | alias "10xFIVE_1xEIGHT" "detpack 58; speak detpack_script\eight; 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_1xZERO" "detpack 60; speak detpack_script\zero; DISABLE_PAD" | ||
+ | |||
+ | alias "BAD_TIME" "speak detpack_script\error; DISABLE_PAD"</pre></code> | ||
+ | |- 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!