Difference between revisions of "User:Lord Manship/scripts"

From Team Fortress Wiki
Jump to: navigation, search
m (Forgot to add CHANGEME to the bindings in the Voice Toggle/Hold Script)
m
 
(2 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
alias +JOINCLASS "bind 1 scout; bind 2 sol; bind 3 pyro; bind 4 demoman; bind 5 heavy; bind 6 engi; bind 7 medic; bind 8 sniper; bind 9 spy; bind e voicemenu16; bind r +reload;bind q voicemenu17;bind v dbs;<br/> bind y voicemenu22; bind u voicemenu23;bind f voicemenu12;bind i voicemenu27;bind c voicemenu20;bind z voicemenu02"<br/>
 
alias +JOINCLASS "bind 1 scout; bind 2 sol; bind 3 pyro; bind 4 demoman; bind 5 heavy; bind 6 engi; bind 7 medic; bind 8 sniper; bind 9 spy; bind e voicemenu16; bind r +reload;bind q voicemenu17;bind v dbs;<br/> bind y voicemenu22; bind u voicemenu23;bind f voicemenu12;bind i voicemenu27;bind c voicemenu20;bind z voicemenu02"<br/>
 
alias -JOINCLASS "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5; bind 6 slot6; bind 7 slot7; bind 8 slot8; bind 9 slot9; bind e voicemenu00; bind r voicemenu11; bind q voicemenu10; bind v +inspect;bind y voicemenu06;bind u voicemenu07; bind f +use_action_slot_item; bind i voicemenu01; bind c voice_menu_3; bind z voice_menu_1"<br/>
 
alias -JOINCLASS "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5; bind 6 slot6; bind 7 slot7; bind 8 slot8; bind 9 slot9; bind e voicemenu00; bind r voicemenu11; bind q voicemenu10; bind v +inspect;bind y voicemenu06;bind u voicemenu07; bind f +use_action_slot_item; bind i voicemenu01; bind c voice_menu_3; bind z voice_menu_1"<br/>
alias scout "join_class scout; disguise 1 -1; wait 50; voicemenu21"<br/>
+
alias scout "join_class scout; wait 50; voicemenu21"<br/>
alias sol "join_class soldier; disguise 3 -1; wait 50; voicemenu21"<br/>
+
alias sol "join_class soldier; wait 50; voicemenu21"<br/>
alias pyro "join_class pyro; disguise 7 -1; wait 50; voicemenu21"<br/>
+
alias pyro "join_class pyro; wait 50; voicemenu21"<br/>
alias demoman "join_class demoman; disguise 4 -1; wait 50; voicemenu21"<br/>
+
alias demoman "join_class demoman; wait 50; voicemenu21"<br/>
alias heavy "join_class heavyweapons; disguise 6 -1; wait 50; voicemenu21"<br/>
+
alias heavy "join_class heavyweapons; wait 50; voicemenu21"<br/>
alias engi "join_class engineer; disguise 9 -1; wait 50; voicemenu21;build 1 0"<br/>
+
alias engi "join_class engineer; wait 50; voicemenu21;build 1 0"<br/>
// When you switch to Engineer, you automaticly get out your teleporter.<br/>
+
// When you switch to Engineer, you automatically get out your teleporter.<br/>
alias medic "join_class medic; disguise 5 -1; wait 50; voicemenu21"<br/>
+
alias medic "join_class medic; wait 50; voicemenu21"<br/>
alias sniper "join_class sniper; disguise 2 -1; wait 50; voicemenu21"<br/>
+
alias sniper "join_class sniper; wait 50; voicemenu21"<br/>
alias spy "join_class spy; disguise 8 -1; wait 50; voicemenu21"<br/>
+
alias spy "join_class spy; disguiseRandom; wait 100; voicemenu21"<br/>
 +
// When you switch to Spy, you automatically disguise to a random class of the enemy.<br/>
 
alias dbs "destroy 2 0; wait 20; build 2 0; wait 20; +attack; wait 30; -attack; slot2; wait 20; slot1"<br/>
 
alias dbs "destroy 2 0; wait 20; build 2 0; wait 20; +attack; wait 30; -attack; slot2; wait 20; slot1"<br/>
 
// Destroy, then Build Sentry (DBS)<br/>
 
// Destroy, then Build Sentry (DBS)<br/>
Line 57: Line 58:
 
alias "voicemenu21" "voicemenu 2 1"<br/>
 
alias "voicemenu21" "voicemenu 2 1"<br/>
 
// Battle Cry.<br/>
 
// Battle Cry.<br/>
 +
<br/>
 +
<br/>
 +
<br/>
 +
<br/>
 +
// Spy Disguise Randomiser<br/>
 +
// Defining disguises...<br/>
 +
alias disScout "disguise 1 -1"<br/>
 +
alias disSoldier "disguise 3 -1"<br/>
 +
alias disPyro "disguise 7 -1"<br/>
 +
alias disDemo "disguise 4 -1"<br/>
 +
alias disHeavy "disguise 6 -1"<br/>
 +
alias disEngi "disguise 9 -1"<br/>
 +
alias disMedic "disguise 5 -1"<br/>
 +
alias disSniper "disguise 2 -1"<br/>
 +
alias disSpy "disguise 8 -1"<br/>
 +
<br/>
 +
alias disguiseRandom "disScout"<br/>
 +
<br/>
 +
alias disSTART ""<br/>
 +
alias dis2 ""<br/>
 +
alias dis3 ""<br/>
 +
alias dis4 ""<br/>
 +
alias dis5 ""<br/>
 +
alias dis6 ""<br/>
 +
alias dis7 ""<br/>
 +
alias dis8 ""<br/>
 +
alias dis9 ""<br/>
 +
alias disSTART "wait 10; disSTART_ALIAS; dis2"<br/>
 +
alias disSTART_ALIAS alias disguiseRandom "disSoldier"<br/>
 +
alias dis2 "wait 10; dis2_ALIAS; dis3"<br/>
 +
alias dis2_ALIAS alias disguiseRandom "disPyro"<br/>
 +
alias dis3 "wait 10; dis3_ALIAS; dis4"<br/>
 +
alias dis3_ALIAS alias disguiseRandom "disDemo"<br/>
 +
alias dis4 "wait 10; dis4_ALIAS; dis5"<br/>
 +
alias dis4_ALIAS alias disguiseRandom "disHeavy"<br/>
 +
alias dis5 "wait 10; dis5_ALIAS; dis6"<br/>
 +
alias dis5_ALIAS alias disguiseRandom "disEngi"<br/>
 +
alias dis6 "wait 10; dis6_ALIAS; dis7"<br/>
 +
alias dis6_ALIAS alias disguiseRandom "disMedic"<br/>
 +
alias dis7 "wait 10; dis7_ALIAS; dis8"<br/>
 +
alias dis7_ALIAS alias disguiseRandom "disSniper"<br/>
 +
alias dis8 "wait 10; dis8_ALIAS; dis9"<br/>
 +
alias dis8_ALIAS alias disguiseRandom "disSpy"<br/>
 +
alias dis9 "wait 10; dis9_ALIAS; disSTART"<br/>
 +
alias dis9_ALIAS alias disguiseRandom "disScout"<br/>
 +
disSTART<br/>
 +
<br/>
 
<br/>
 
<br/>
 
<br/>
 
<br/>
Line 63: Line 111:
  
 
=== Voice Toggle/Hold Script ===
 
=== Voice Toggle/Hold Script ===
I just recently created a script that allows me to either hold a key to voice chat, or tap it to keep it on.
+
I created a script that allows me to either hold a key to voice chat, or tap it to keep it on.
  
 
<code><br/>
 
<code><br/>
Line 80: Line 128:
 
<br/>
 
<br/>
 
bind CHANGEME!!! "recordON"<br/>
 
bind CHANGEME!!! "recordON"<br/>
// Change all CHANGEME!!!s to a key of you're choosing. EX: kp_plus (Keypad +)<br/>
+
// Change all CHANGEME!!!s to a key of your choosing. EX: kp_plus (Keypad +)<br/>
 
</code>
 
</code>
  
Line 86: Line 134:
  
 
== Server Scripts ==
 
== Server Scripts ==
I use the on my server when using a new map, just saves a few seconds of typing. (WARNING: Requires sv_cheats be set to 1, it'll do the automatically, but if your not the server admin it won't work.)
+
I use these on my server when using a new map, just saves a few seconds of typing. (WARNING: Requires sv_cheats be set to 1, it'll do the automatically, but if your not the server admin it won't work.)
When you run this command it will set sv_cheats to 1, run nav_generate, add 23 TF bots, and then turn off sv_cheats. The server will lag a bit while calculating walking spaces and other things for the bots to actually be useful instead of just standing around in the spawn.
+
When you run this command it will set sv_cheats to 1, run nav_generate, add 23 TF bots, and then turn off sv_cheats. The server will lag a bit while calculating walking spaces and other things for the bots to actually be useful instead of just standing around in spawn.
  
 
<code>
 
<code>

Latest revision as of 12:20, 6 October 2015