Guest User

Untitled

a guest
Jan 3rd, 2014
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. //Mouse Scroll Wheel Fix / This script requires two clicks mouse wheel down/up to change weapon //add "vstr wdownreset; vstr wupreset" to your weapon binds
  2.  
  3. seta wupreset "bind MWHEELUP vstr wuplock"
  4. seta wuplock "vstr wupreset; vstr wdownreset; bind MWHEELUP weapon 5"
  5. seta wdownreset "bind MWHEELDOWN vstr wdownlock"
  6. seta wdownlock "vstr wdownreset; vstr wupreset; bind MWHEELDOWN weapon 6"
  7.  
  8. // Weapon binds
  9.  
  10. set xhair1 "cg_drawcrosshair 2" // GT, LG, MG, PG, CG
  11. set xhair2 "cg_drawcrosshair 9" // Everything else
  12.  
  13. set pos1 "cg_gunz -2; cg_gunx 2; cg_guny -4; cg_drawgun 2; cl_mouseAccelOffset 0" // GT
  14. set pos2 "cg_gunz -10; cg_gunx -10; cg_guny 3; cg_drawgun 2; cl_mouseAccelOffset 0" // Everything else apart from SG + MG, except LG
  15. set pos3 "cg_gunz -10; cg_gunx -10; cg_guny 3; cg_drawgun 0; cl_mouseAccelOffset 0" // SG
  16. set pos4 "cg_gunz -2; cg_gunx 2; cg_guny -4; cg_drawgun 2; cl_mouseAccelOffset 1" // MG
  17. set pos5 "cg_gunz -10; cg_gunx -10; cg_guny 3; cg_drawgun 2; cl_mouseAccelOffset 2" // LG
  18.  
  19. set _GT "weapon 1; vstr pos1; vstr xhair1; vstr wdownreset; vstr wupreset"
  20. set _MG "weapon 2; vstr pos4; vstr xhair1; vstr wdownreset; vstr wupreset"
  21. set _SG "weapon 3; vstr pos3; vstr xhair2; vstr wdownreset; vstr wupreset"
  22. set _GL "weapon 4; vstr pos2; vstr xhair2; vstr wdownreset; vstr wupreset"
  23. set _RL "weapon 5; vstr pos2; vstr xhair2; vstr wuplock"
  24. set _LG "weapon 6; vstr pos5; vstr xhair1; vstr wdownlock"
  25. set _RG "weapon 7; vstr pos2; vstr xhair2; vstr wdownreset; vstr wupreset"
  26. set _PG "weapon 8; vstr pos2; vstr xhair1; vstr wdownreset; vstr wupreset"
  27. set _BFG "weapon 9; vstr pos2; vstr xhair2; vstr wdownreset; vstr wupreset"
  28. set _NG "weapon 11; vstr pos2; vstr xhair2; vstr wdownreset; vstr wupreset"
  29. set _ML "weapon 12; vstr pos2; vstr xhair2; vstr wdownreset; vstr wupreset"
  30. set _CG "weapon 13; vstr pos2; vstr xhair1; vstr wdownreset; vstr wupreset"
  31.  
  32. set zoomon "+zoom; bind * vstr zoomoff"
  33. set zoomoff "-zoom; bind * vstr zoomon"
  34.  
  35. bind "c" "vstr _GT"
  36. bind "e" "vstr _MG"
  37. bind "r" "vstr _SG"
  38. bind "mouse3" "vstr _GL"
  39. bind "MWHEELUP" "vstr _RL"
  40. bind "MWHEELDOWN" "vstr _LG"
  41. bind "SPACE" "vstr _RG"
  42. bind "q" "vstr _PG"
  43. bind "5" "vstr _BFG"
  44. bind "1" "vstr _NG"
  45. bind "4" "vstr _ML"
  46. bind "3" "vstr _CG"
  47.  
  48. bind "mouse1" "+attack"
  49. bind "*" "vstr zoomon"
  50. bind "g" "dropweapon"
  51. bind "h" "dropflag"
Advertisement
Add Comment
Please, Sign In to add comment