Difference between revisions of "User:Darkid/Code"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with "== Completed codes: == ::Push-to-talk Toggle:<code> :alias voiceon "+voicerecord; alias voicetoggle voiceoff" :alias voiceoff "-voicerecord; alias voicetoggle voiceon" :alias voi...")
 
m (Yay! It works now.)
Line 1: Line 1:
 
== Completed codes: ==
 
== Completed codes: ==
::Push-to-talk Toggle:<code>
+
::Push-to-talk Toggle:
 +
<code>
 +
:bind t voicetoggle
 +
:alias voicetoggle voiceon
 
:alias voiceon "+voicerecord; alias voicetoggle voiceoff"
 
:alias voiceon "+voicerecord; alias voicetoggle voiceoff"
 
:alias voiceoff "-voicerecord; alias voicetoggle voiceon"
 
:alias voiceoff "-voicerecord; alias voicetoggle voiceon"
:alias voicetoggle voiceon
+
</code>
:bind t voicetoggle</code>
 
 
<br>
 
<br>
::Auto-heal Toggle:<code>
+
::Auto-heal Toggle:
 +
<code>
 
:tf_medigun_autoheal 0
 
:tf_medigun_autoheal 0
 
:bind l autohealtoggle
 
:bind l autohealtoggle
 
:alias autohealtoggle autohealon
 
:alias autohealtoggle autohealon
 
:alias autohealon "tf_medigun_autoheal 1; alias autohealtoggle autohealoff"
 
:alias autohealon "tf_medigun_autoheal 1; alias autohealtoggle autohealoff"
:alias autohealoff "tf_medigun_autoheal 0; alias autohealtoggle autohealon"</code>
+
:alias autohealoff "tf_medigun_autoheal 0; alias autohealtoggle autohealon"
 +
</code>
 
<br>
 
<br>
::Multi-level Medic Radar:<code>
+
::Multi-level Medic Radar:
 +
<code>
 
:Hud_MedicAutocallersThreshold 065
 
:Hud_MedicAutocallersThreshold 065
 
:bind r radar
 
:bind r radar
Line 19: Line 24:
 
:alias thresh099 "echo 099; Hud_MedicAutocallersThreshold 099; alias radar thresh151; wait 1000; thresh065"
 
: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 thresh151 "echo 151; Hud_MedicAutocallersThreshold 151; alias radar thresh151; wait 1000; thresh065"
:alias thresh065 "echo 065; wait 1000; alias radar thresh099; Hud_MedicAutocallersThreshold 065"</code>
+
:alias thresh065 "echo 065; wait 1000; alias radar thresh099; Hud_MedicAutocallersThreshold 065"
 +
</code>
 
<br>
 
<br>
 
== WIP codes: ==
 
== WIP codes: ==
::Taunt Toggle<code>
+
::Taunt Toggle
:bind / tInput
+
<code>
:alias tInput "echo Input; tRedirect"
+
bind / tInput
:alias tRedirect "echo Redirect; alias tInput "tDisable"; tTaunt"
+
alias tInput "tRedirect"
:alias tTaunt "echo Taunt; +taunt; wait 200; tTaunt"
+
alias tRedirect "echo Redirect; alias tInput tDisable; tTaunt"
:alias tDisable "echo Disable; alias tTaunt "tReset""
+
alias tTaunt "tTaunt2"
:alias tReset "echo Reset; alias tInput "echo Input; tRedirect"; echo test1; alias tTaunt "echo Taunt; +taunt; wait 200; tTaunt"; echo Quit"</code>
+
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"
 +
</code>
 
<br>
 
<br>

Revision as of 19:18, 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"


WIP codes:

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"