Skip to content

Instantly share code, notes, and snippets.

@marcinof
Created June 24, 2012 06:21
Show Gist options
  • Save marcinof/2981918 to your computer and use it in GitHub Desktop.
Save marcinof/2981918 to your computer and use it in GitHub Desktop.
General's Medic cfg
// General's Competitive Medic Config
// Special thanks to Chris, Spike and qkls
//
//
// Features:
// * Weapons mouse binds
// * Uber faking/masking
// * Medigun/spawn swapper without losing charge
// * Backup spawn swapper
// * Kill bind
// * Radar-like medic bubbles while holding syringe gun
// * Fancy spammable masking
// * Vievmodels on/off
// * Auto crouch jump
// * Movement script
//
// Weapon aliases
//
//
alias +medigun "slot2;+attack;autocall_initial"
alias -medigun "-attack"
alias +needlegun "slot1;+attack;autocall_temp"
alias -needlegun "-attack"
alias +ubersaw "slot3;+attack;autocall_temp"
alias -ubersaw "-attack"
//
//
// Autocall changer
//
// Bubbles radar
//
alias autocall_initial "hud_medicautocallersthreshold 50" //health to autocall with medigun
alias autocall_temp "hud_medicautocallersthreshold 99" //health to autocall with syringe
alias +autocall_temp_hit "autocall_temp"
alias -autocall_temp_hit "autocall_initial"
//
//
// Ubercharge
//
// Will switch to medigun automatically, drop intel carried (carrying intel prevents using ubercharge)
//
alias +charge "+attack2;slot2;dropitem;say_team ">>> CHARGE USED <<<";autocall_initial"
alias -charge "-attack2"
//
//
// Fake Charge
//
// Pretty self explanatory
//
alias fakeuber "voicemenu 1 7;say_team ">>> FAKED CHARGE <<<""
//
//
// Spawn move & medigun swap
//
// set your loadouts like that:
// A: Medigun default
// B: Kritz default
// C: Medigun with other hat\misc\non-strange
// D: Kritz with other hat\misc\non-strange
//
// the important part is that A and C are medigun, B and D are kritz, A and C are not the same, B and D are not the same
//
//
alias "equip_medigun" "load_itempreset 0; say_team ">>> MEDIGUN <<<"; alias swap_medigun "equip_kritz"; alias swap_spawn_with_medigun "swap_spawn_with_medigun_2"; alias swap_spawn "swap_spawn_with_medigun";"
alias "equip_kritz" "load_itempreset 1; say_team ">>> KRITZKRIEG <<<"; alias swap_medigun "equip_medigun"; alias swap_spawn_with_kritz "swap_spawn_with_kritz_2"; alias swap_spawn "swap_spawn_with_kritz";"
alias "swap_spawn_with_medigun_1" "load_itempreset 0; say_team ">>> SPAWN SWAP (MEDIGUN) <<<"; alias swap_spawn_with_medigun "swap_spawn_with_medigun_2";"
alias "swap_spawn_with_medigun_2" "load_itempreset 2; say_team ">>> SPAWN SWAP (MEDIGUN) <<<"; alias swap_spawn_with_medigun "swap_spawn_with_medigun_1";"
alias "swap_spawn_with_kritz_1" "load_itempreset 1; say_team ">>> SPAWN SWAP (KRITZKRIEG) <<<"; alias swap_spawn_with_kritz "swap_spawn_with_kritz_2";"
alias "swap_spawn_with_kritz_2" "load_itempreset 3; say_team ">>> SPAWN SWAP (KRITZKRIEG) <<<"; alias swap_spawn_with_kritz "swap_spawn_with_kritz_1";"
alias "swap_spawn_with_medigun" "swap_spawn_with_medigun_2"
alias "swap_spawn_with_kritz" "swap_spawn_with_kritz_2"
alias "swap_medigun" "equip_kritz"
alias "swap_spawn" "swap_spawn_with_medigun"
//
//
// Backup Spawn Swap
//
// Steam item servers are sometimes f***ed up, so here's backup spawn changer
//
//
alias forwardspawn_random "join_class "random";alias "swap_backup" "forwardspawn_medic""
alias forwardspawn_medic "join_class "medic";alias "swap_backup" "forwardspawn_random";say_team ">>> SPAWN SWAP <<<""
alias swap_backup "forwardspawn_random"
//
//
// Fancy mask spamming
//
// Mask your uber like a boss!
// Instead of usual 'Medic!' spam one of awesome
// Medic voice commands will be used.
// There are plenty of them, so they won't repeat themselves too soon
// (Some of commands I use leave automatic team chat message, if you don't
// want to use them just comment/delete aliases from spam8 to spam15 and
// replace spam8 with spam0 in the spam7 line)
//
//
alias spam spam0
alias spam0 "voicemenu 2 0; alias spam spam1"
alias spam1 "voicemenu 2 1; alias spam spam2"
alias spam2 "voicemenu 2 2; alias spam spam3"
alias spam3 "voicemenu 2 3; alias spam spam4"
alias spam4 "voicemenu 2 4; alias spam spam5"
alias spam5 "voicemenu 2 5; alias spam spam6"
alias spam6 "voicemenu 2 6; alias spam spam7"
alias spam7 "voicemenu 2 7; alias spam spam8"
alias spam8 "voicemenu 0 0; alias spam spam9"
alias spam9 "voicemenu 0 1; alias spam spam10"
alias spam10 "voicemenu 0 2; alias spam spam11"
alias spam11 "voicemenu 0 3; alias spam spam12"
alias spam12 "voicemenu 0 6; alias spam spam13"
alias spam13 "voicemenu 0 7; alias spam spam14"
alias spam14 "voicemenu 1 0; alias spam spam15"
alias spam15 "voicemenu 1 4; alias spam spam0"
//
//
// Vievmodel toggle
//
// Turning vievmodel on and off, may help sometimes.
// Change vievmodel_fov value to whatever suits you the best,
// Higher values show more of the weapon and arms but may show missing parts.
// Default value is 70, as far as I remember.
// Progression is off->on->off w/o beam->on
//
//
alias on "viewmodel_fov 90; r_drawviewmodel 1; alias toggle_model "off";"
alias off "viewmodel_fov 90; r_drawviewmodel 0; alias toggle_model "on2";""
alias on2 "viewmodel_fov 90; r_drawviewmodel 1; alias toggle_model "very_off";"
alias very_off "viewmodel_fov 0; r_drawviewmodel 0; alias toggle_model "on";"" //without healing beam
alias toggle_model "off"
//
//
// Crouch-jump
//
// I see no point in NOT using this as Medic
//
//
alias "+cjump" "+jump;+duck"
alias "-cjump" "-jump;-duck"
//
//
// Movement script
//
// Prevents blocking movement, while pressing opposite directions during strafing
// IMO everyone should have this global, but including just in case
//
//
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 ""
//
//
// binds
//
// change them to whatever you wish
//
//
bind w "+mfwd"
bind s "+mback"
bind a "+mleft"
bind d "+mright"
bind SPACE "+cjump"
bind j "fakeuber"
bind e "spam"
bind f1 "swap_spawn"
bind f2 "swap_medigun"
binf f3 "swap_backup"
bind f6 "kill"
bind f7 "explode" //mwahahahahahahaa
bind mouse1 "+medigun"
bind mouse3 "+needlegun"
bind mouse2 "+ubersaw"
bind mouse4 "+charge"
bind t "toggle_model"
echo ">>> GENERAL'S MEDIC CONFIG ACTIVATED <<<"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment