// Medic Binds by kapito (/u/kapit0)

// Released 31/8/2015

// Update 1/9/2015:

// Fixed a couple of typos

// Update 3/9/2015:

// Changed the mouse2 bind for other classes

// You'll probably want to put the following into the other class's configs:

bind mouse2 +attack2

// Copy and paste the following into your medic.cfg at:

// C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\cfg\medic.cfg

// If you can't find the file, just create a Notepad file (and remember to change the extension to .cfg)

// 'Random' Voice Script - Spams voice commands (for use in conjunction with the Über masking)

// Also used every time Über is popped

alias "maskVoice" "voice1"

alias "voice1" "voicemenu 2 3; alias maskVoice voice2"

alias "voice2" "voicemenu 2 5; alias maskVoice voice3"

alias "voice3" "voicemenu 2 4; alias maskVoice voice4"

alias "voice4" "voicemenu 2 2; alias maskVoice voice5"

alias "voice5" "voicemenu 2 6; alias maskVoice voice6"

alias "voice6" "voicemenu 2 1; alias maskVoice voice7"

alias "voice7" "voicemenu 2 7; alias maskVoice voice1"

//alias "maskVoice" "voicemenu 2 6" // Uncomment if you want to use one particular voice command instead

// MEDIC! = "voicemenu 0 0"

// Thanks! = "voicemenu 0 1"

// Go Go Go! = "voicemenu 0 2"

// Move Up! = "voicemenu 0 3"

// Go Left = "voicemenu 0 4"

// Go Right = "voicemenu 0 5"

// Yes = "voicemenu 0 6"

// No = "voicemenu 0 7"

// Incoming = "voicemenu 1 0"

// Spy! = "voicemenu 1 1"

// Sentry Ahead! = "voicemenu 1 2"

// Teleporter Here! = "voicemenu 1 3"

// Dispenser Here! = "voicemenu 1 4"

// Sentry Here! = "voicemenu 1 5"

// Activate ÜberCharge! = "voicemenu 1 6"

// Help! = "voicemenu 2 0"

// Battle Cry = "voicemenu 2 1"

// Cheers = "voicemenu 2 2"

// Jeers = "voicemenu 2 3"

// Positive = "voicemenu 2 4"

// Negative = "voicemenu 2 5"

// Nice Shot = "voicemenu 2 6"

// Good Job = "voicemenu 2 7"

bind 1 "maskVoice" // Change "1" to whatever key you want this script bound to

// Fake ÜberCharge Script - makes Medic say "I am fully charged!" to confuse enemy team

bind 2 "voicemenu 1 7; say_team > FAKED FULL ÜBERCHARGE" // Change "2" to whatever key you want this script bound to

// ÜberCharge Mask Script

bind 3 "maskVoice; say_team > MASKED FULL ÜBERCHARGE" // Change "3" to whatever key you want this script bound too

// Popped ÜberCharge Script

alias "popMediG" "say_team > POPPED ÜBERCHARGE (MEDI GUN)"

alias "popKritz" "say_team > POPPED ÜBERCHARGE (KRITZKRIEG)"

alias "popQuick" "say_team > POPPED ÜBERCHARGE (QUICK-FIX)"

alias "popVacci" "say_team > POPPED ÜBERCHARGE (VACCINATOR)"

alias "pop" "popMediG"

alias "+uber" "spec_prev; maskVoice; +attack2; pop"

alias "-uber" "maskVoice; -attack2"

bind mouse2 +uber // Change "mouse2" to whatever key you want this script bound to

// Teammate 'Wallhack' Script - Press to show all teammates for a few seconds (helpful if you're lost)

hud_medicautocallers 1

alias autocall_default "hud_medicautocallersthreshold 50" // Change "50" to whatever health percentage you want teammates to auto-callout on normally

alias autocall_all "hud_medicautocallersthreshold 150"

alias +radar "autocall_all"

alias -radar "autocall_default"

autocall_default

bind 4 +radar // Change "4" to whatever key you want this script bound to

// Other Useful Binds

bind 5 "say_team > ENEMY MEDIC DOWN"

bind 6 "say_team > THEY POPPED ÜBERCHARGE"

bind 7 "alias pop popMediG; say_team > Using Medi Gun - 40-80 seconds until full ÜberCharge"

bind 8 "alias pop popKritz; say_team > Using Kritzkrieg - 32-64 seconds until full ÜberCharge"

bind 9 "alias pop popQuick; say_team > Using Quick-Fix - 32-64 seconds until full ÜberCharge"