Difference between revisions of "User:Darkid/Code"

From Team Fortress Wiki
Jump to: navigation, search
m (Yay! It works now.)
m (m edit.)
Line 27: Line 27:
 
</code>
 
</code>
 
<br>
 
<br>
== WIP codes: ==
 
 
::Taunt Toggle
 
::Taunt Toggle
 
<code>
 
<code>
bind / tInput
+
:bind / tInput
alias tInput "tRedirect"
+
:alias tInput "tRedirect"
alias tRedirect "echo Redirect; alias tInput tDisable; tTaunt"
+
:alias tRedirect "echo Redirect; alias tInput tDisable; tTaunt"
alias tTaunt "tTaunt2"
+
:alias tTaunt "tTaunt2"
alias tTaunt2 "echo Taunt; +taunt; wait 200; tTaunt"
+
:alias tTaunt2 "echo Taunt; +taunt; wait 200; tTaunt"
alias tDisable "echo Disable; alias tTaunt tReset"
+
:alias tDisable "echo Disable; alias tTaunt tReset"
alias tReset "echo Reset; alias tInput tRedirect; alias tTaunt tTaunt2"
+
:alias tReset "echo Reset; alias tInput tRedirect; alias tTaunt tTaunt2"
 
</code>
 
</code>
 
<br>
 
<br>

Revision as of 19:21, 2 March 2012

Completed codes:

Push-to-talk Toggle:

bind t voicetoggle
alias voicetoggle voiceon
alias voiceon "+voicerecord; alias voicetoggle voiceoff"
alias voiceoff "-voicerecord; alias voicetoggle voiceon"


Auto-heal Toggle:

tf_medigun_autoheal 0
bind l autohealtoggle
alias autohealtoggle autohealon
alias autohealon "tf_medigun_autoheal 1; alias autohealtoggle autohealoff"
alias autohealoff "tf_medigun_autoheal 0; alias autohealtoggle autohealon"


Multi-level Medic Radar:

Hud_MedicAutocallersThreshold 065
bind r radar
alias radar thresh099
alias thresh099 "echo 099; Hud_MedicAutocallersThreshold 099; alias radar thresh151; wait 1000; thresh065"
alias thresh151 "echo 151; Hud_MedicAutocallersThreshold 151; alias radar thresh151; wait 1000; thresh065"
alias thresh065 "echo 065; wait 1000; alias radar thresh099; Hud_MedicAutocallersThreshold 065"


Taunt Toggle

bind / tInput
alias tInput "tRedirect"
alias tRedirect "echo Redirect; alias tInput tDisable; tTaunt"
alias tTaunt "tTaunt2"
alias tTaunt2 "echo Taunt; +taunt; wait 200; tTaunt"
alias tDisable "echo Disable; alias tTaunt tReset"
alias tReset "echo Reset; alias tInput tRedirect; alias tTaunt tTaunt2"