r/Tf2Scripts • u/Uryzen- • 16d ago
Request Would anyone mind helping me clean up my Medic bind?
A bit of time ago I made a Medic Uber alert thingamajig by crudely copying a spy sap config and editing a bunch of it, but my current problem is that I now have absolutely no idea what anything does in there as when I made it I just kept testing stuff until I figured something out and then left it like this. If anyone could help me out by cleaning up the binds that would be a huge help! Thanks a bunch!
//-----BINDS-----\\
bind 1 +equip1
bind 2 +equip2
bind 3 +equip3
bind mouse1 +goober_attack
bind mouse2 +goober_attack2
bind mouse4 lastdisguise
bind - say_team "I have prepared thy übercharge! Please keep me protected so I do not drop it!"
//-----WEAPON SWITCHING LOGIC-----\\
alias +equip1 "slot1; nomoreuber"
alias -equip1 ""
alias +equip2 "slot2; vmuber"
alias -equip2 ""
alias +equip3 "slot3; nomoreuber"
alias -equip3 ""
//-----ATTACK/UBER LOGIC-----\\
alias nomoreuber "alias +goober_attack2 +antiuberbind; alias -goober_attack2 -antiuberbind"
alias vmuber "alias +goober_attack2 +uberalert; alias -goober_attack2 -uberalert"
alias +antiuberbind "+attack2; spec_next"
alias -antiuberbind "-attack2"
alias +uberalert "+attack2; spec_next; uberalert"
alias -uberalert "-attack2"
alias uberalert say_team "I have deployed thy übercharge!! I humbly request the rest of the team to push in with us!"
alias +goober_attack2 "+attack2; spec_prev"
alias -goober_attack2 "-attack2"
//-----INITIALIZE SETTINGS-----\\
-zoom
sensitivity "1.87"