Skip to content

Instantly share code, notes, and snippets.

@DubThink

DubThink/base.cfg

Last active Sep 30, 2020
Embed
What would you like to do?
DubThink's medic and base cfgs for TF2 Fall 2020
// base config by DubThink
// parts assembled from a variety of places
// I use valve autoheal (in advanced options)
bind mouse2 +attack2
bind mouse3 +attack3
bind r +reload
bind q +lastinv
// p is my killbind. Nice and hard to hit accidentally
bind p explode
/// NULL MOVEMENT ///
// from somewhere on tftv, I didn't write this
bind w +mfwd
bind s +mback
bind a +mleft
bind d +mright
alias +mfwd "-back;+forward;alias checkfwd +forward"
alias +mback "-forward;+back;alias checkback +back"
alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
alias +mright "-moveleft;+moveright;alias checkright +moveright"
alias -mfwd "-forward;checkback;alias checkfwd none"
alias -mback "-back;checkfwd;alias checkback none"
alias -mleft "-moveleft;checkright;alias checkleft none"
alias -mright "-moveright;checkleft;alias checkright none"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""
/// END NULL MOVEMENT ///
// medic config by DubThink
// parts assembled from a variety of places
// I use valve autoheal (in advanced options)
exec base.cfg // this contains my universal binds (movement keys, reload, etc. This is needed because this script overrides a handful of default keys.)
// this is actually the most overpowered thing on medic, if you aren't using it already
// see at a glance without pressing buttons your entire team's health and respawn times,
// and see which classes of the enemy team is dead (and which are alive)
// some huds will also have names on this, which is even better
// some people find it decreases fps a little, but if you have a decent pc it's 100% worth on med even then
tf_use_match_hud 1
// I use my mouse4/5 buttons to temporarily switch to my xbow/melee.
// This allows for quick arrows and keeps my left hand free for movement etc.
alias +s1 "slot1;"
alias -s1 "slot2;"
alias +s3 "slot3"
alias -s3 "slot2"
bind mouse4 +s3
bind mouse5 +s1
// medic radar. Makes everyone call medic when held for a sec. Useful for when you spawn and that sort of thing.
alias "+radar" "hud_medicautocallersthreshold 150"
alias "-radar" "hud_medicautocallersthreshold 28.889999"
bind q +radar
// this allows me to always use, even if I don't have my medigun out (it also prevents accidental taunting with the ubersaw)
// hold to use if not on medigun
alias +use "slot2;+attack2;say_team <insert_funny_used_uber_joke_here>"
alias -use "-attack2;"
bind mouse2 +use
// middle click is fake uber
bind mouse3 "voicemenu 1 7"
// Random Voice from slin (modified)
// Plays a random voice line
alias "randomvoice" "random1"
alias "random1" "voicemenu 2 5;alias randomvoice random2"
alias "random2" "voicemenu 2 5;alias randomvoice random3"
alias "random3" "voicemenu 2 3;alias randomvoice random4"
alias "random4" "voicemenu 2 4;alias randomvoice random5"
alias "random5" "voicemenu 2 5;alias randomvoice random6"
alias "random6" "voicemenu 2 4;alias randomvoice random7"
alias "random7" "voicemenu 2 7;alias randomvoice random1"
// bind r to play a random voice
bind r "randomvoice"
// I use f5 and f6 to switch between loadouts and to b4nny-bind (fast resupply, allows you to keep your uber).
// Historically, I had this as stock and kritz, but now I use it as ubersaw (for last holds) and SV (the rest of the time)
bind f5 "load_itempreset 0"
bind f6 "load_itempreset 1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment