Advertisement
Guest User

medic.cfg

a guest
Aug 26th, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.89 KB | None | 0 0
  1. echo "****MEDIC CONFIG FILE LOADED****"
  2.  
  3. exec clear
  4.  
  5. exec crosshairswitcher/switcher; medic
  6.  
  7. //null movement
  8. alias +mfwd "-back;+forward;alias checkfwd +forward"
  9. alias +mback "-forward;+back;alias checkback +back"
  10. alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
  11. alias +mright "-moveleft;+moveright;alias checkright +moveright"
  12. alias -mfwd "-forward;checkback;alias checkfwd none"
  13. alias -mback "-back;checkfwd;alias checkback none"
  14. alias -mleft "-moveleft;checkright;alias checkleft none"
  15. alias -mright "-moveright;checkleft;alias checkright none"
  16. alias checkfwd none
  17. alias checkback none
  18. alias checkleft none
  19. alias checkright none
  20. alias none ""
  21.  
  22. //remove these bindings if you do not wish to have your movement nulled
  23. //if you only want nulled movement, but not voicespam, remove one m from the + commands
  24. bind w +mmfwd
  25. bind s +mmback
  26. bind a +mmleft
  27. bind d +mmright
  28.  
  29. //Uber masking spam
  30. alias +mmfwd "voicemenu 2 4; +mfwd"
  31. alias -mmfwd "-mfwd"
  32. alias +mmback "voicemenu 2 4; +mback"
  33. alias -mmback "-mback"
  34. alias +mmleft "voicemenu 2 4; +moveleft"
  35. alias -mmleft "-moveleft"
  36. alias +mmright "voicemenu 2 4; +moveright"
  37. alias -mmright "-moveright"
  38.  
  39. //toggle uber masking spam
  40. alias maskoff "bind w +mfwd; bind s +mback; bind a +mleft; bind d +mright; bind p maskon"
  41. alias maskon "bind w +mmfwd; bind s +mmback; bind a +mmleft; bind d +mmright; bind p maskoff"
  42.  
  43. //healing controls
  44. tf_medigun_autoheal "0"
  45.  
  46. //autoheal script, also prevents accidental weapon inspection. Hold action key to inspect
  47. alias key1 "slot1;autohealOff"
  48. alias key2 "slot2;autohealOn"
  49. alias key3 "slot3;autohealOff"
  50. alias autohealOn " +attack;alias +heal -attack;alias -heal +attack"
  51. alias autohealOff "-attack;alias +heal +attack;alias -heal -attack"
  52. alias turnoffmediccfg "bind mouse1 +attack;bind 1 slot1;bind 2 slot2;bind 3 slot3;-attack"
  53. bind mouse1 +heal
  54. bind 1 key1
  55. bind 2 key2
  56. bind 3 key3
  57.  
  58. //medic radar
  59. //forces all teammates to medic call
  60. alias autocall_initial "hud_medicautocallersthreshold "50""
  61. alias autocall_temp "hud_medicautocallersthreshold "150""
  62. alias +autocall_temp_hit "autocall_temp"
  63. alias -autocall_temp_hit "autocall_initial"
  64.  
  65. //crouchjump script
  66. alias +crouchjump "+jump; +duck"
  67. alias -crouchjump "-duck; -jump"
  68.  
  69. //remove this bind if you with to crouchjump manually
  70. bind "space" "+crouchjump"
  71.  
  72. //medigun switcher
  73. //Make sure to edit the alias's here if you wish to change the bindings of the script.
  74. alias skritz "load_itempreset 2; bind F1 smedi; bind F2 spawn2a"
  75. alias smedi "load_itempreset 0; bind F1 skritz; bind F2 spawn1a"
  76. alias spawn1a "load_itempreset 1; bind F2 spawn1b"
  77. alias spawn1b "load_itempreset 0; bind F2 spawn1a"
  78. alias spawn2a "load_itempreset 3; bind F2 spawn2b"
  79. alias spawn2b "load_Itempreset 2; bind F2 spawn2a"
  80.  
  81. //generic binds
  82. bind f "+use_action_slot_item"
  83.  
  84. //autocall and ubercharge mask binds
  85. bind "e" "+autocall_temp_hit"
  86. bind "p" "maskoff"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement