Advertisement
schwartzy

heavyweapons.cfg

Jul 6th, 2015
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.26 KB | None | 0 0
  1. bind "q" "voicemenu 1 1"
  2. alias +poop "+attack2"
  3. alias -poop "-attack2"
  4. bind mouse2 +poop
  5. unbind "r"
  6.  
  7. slot1
  8. r_drawviewmodel 1
  9. amby_vm_mode
  10.  
  11.  
  12. // replace [KEY] with the your Keybinds for the sapper/knife/ambassador/watch
  13.  
  14. bind "2" +equip_sap // Key/button for sapper
  15. bind "3" +equip_knife // Key/button for knife
  16. bind "1" +equip_amby // Key/button for ambassador
  17. bind "mouse2" "+watch;spec_prev" // Key for watch (mouse2 default)
  18.  
  19.  
  20. //re-bind mouse1
  21.  
  22. alias knife_vm_mode "bind mouse1 +viewmodel_knife" // binds mouse1 to turn viewmodel on when attacking (for knife knife)
  23. alias amby_vm_mode "bind mouse1 +viewmodel_amby" // binds mouse1 to turn viewmodel off when attacking (for amby)
  24. alias sap_vm_mode "bind mouse1 +viewmodel_sap" // binds mouse 1 to turn viewmodel on when attacking and off when not (for sapper)
  25.  
  26.  
  27. // causes viewmodel to go off or on when you shoot
  28.  
  29. alias +viewmodel_knife "+attack;r_drawviewmodel 1;spec_next" // attacks, turns viewmodel on
  30. alias -viewmodel_knife "-attack;r_drawviewmodel 1" // finishes atack, turns viewmodel on again as safeguard
  31.  
  32. alias +viewmodel_amby "+attack;cl_autoreload 0;+reload;r_drawviewmodel 0;spec_next" // attacks, turns viewmodel off
  33. alias -viewmodel_amby "-attack;r_drawviewmodel 0" // finishes attack, turns viewmodel off again as a safeguard
  34.  
  35. alias +viewmodel_sap "+attack;r_drawviewmodel 1;spec_next" // shows sapper when sapping
  36. alias -viewmodel_sap "-attack;r_drawviewmodel 0" // hides sapper when mouse1 released
  37.  
  38. alias dotxhairtype "dotxhairtypeb"
  39. alias dotxhairtypeb "cl_crosshair_file crosshair7;cl_crosshair_scale 36;alias dotxhairtype dotxhairtyper" // tweak crosshair_scale values to your liking
  40. alias dotxhairtyper "cl_crosshair_file crosshair7;cl_crosshair_scale 28;alias dotxhairtype dotxhairtypeb"
  41.  
  42. bind mouse1 +crosshairfire
  43. alias +crosshairfire "+attack;+reload;dotxhairtype;spec_next"
  44. alias -crosshairfire "-attack;dotxhairtype"
  45.  
  46. bind "w" +fw
  47. alias +fw "-back;+forward;alias checkfwd +forward;dotxhaircolor"
  48. alias -fw "-forward;checkback;alias checkfwd none;dotxhaircolor"
  49.  
  50. bind "s" +bw
  51. alias +bw "-forward;+back;alias checkback +back;dotxhaircolor"
  52. alias -bw "-back;checkfwd;alias checkback none;dotxhaircolor"
  53.  
  54. bind "d" +mr
  55. alias +mr "-moveleft;+moveright;alias checkright +moveright;dotxhaircolor"
  56. alias -mr "-moveright;checkleft;alias checkright none;dotxhaircolor"
  57.  
  58. bind "a" +ml
  59. alias +ml "-moveright;+moveleft;alias checkleft +moveleft;dotxhaircolor"
  60. alias -ml "-moveleft;checkright;alias checkleft none;dotxhaircolor"
  61.  
  62. alias checkfwd none
  63. alias checkback none
  64. alias checkleft none
  65. alias checkright none
  66. alias none ""
  67.  
  68. // color toggler
  69. alias dotxhaircolor "dotxhaircolorb"
  70. alias dotxhaircolorb "cl_crosshair_blue 0; cl_crosshair_green 255; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorc"
  71. alias dotxhaircolorc "cl_crosshair_blue 255; cl_crosshair_green 0; cl_crosshair_red 255;alias dotxhaircolor dotxhaircolord"
  72. alias dotxhaircolord "cl_crosshair_blue 240; cl_crosshair_green 255; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorb"
  73.  
  74. // Equip item, turn vm on/off, set vm toggle for attack
  75.  
  76. alias +equip_knife "slot3;r_drawviewmodel 1" // Equips knife, turns viewmodels on
  77. alias -equip_knife "knife_vm_mode;r_drawviewmodel 1" // Sets viewmodels to turn ON when stabbing (makes sure it stays on)
  78.  
  79. alias +equip_amby "slot1;r_drawviewmodel 0" // Equips amby
  80. alias -equip_amby "amby_vm_mode" // Sets viewmodels to turn OFF when shooting
  81.  
  82. alias +equip_sap "slot2;r_drawviewmodel 1" // Equips sapper, turns viewmodels on
  83. alias -equip_sap "sap_vm_mode" // Sets viewmodels to turn on while firing, and off when not
  84.  
  85. alias +watch "+attack2;r_drawviewmodel 0" // watch up/cloak on/secondary attack + viewmodels on
  86. alias -watch "-attack2;r_drawviewmodel 0" // viewmodels on again as safeguard
  87.  
  88. alias +spawn "join_class random"
  89. alias -spawn "join_class heavy"
  90. bind n +spawn
  91.  
  92. cl_autoreload 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement