Advertisement
schwartzy

sniper.cfg

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