Advertisement
Guest User

noupjump.cfg

a guest
May 24th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. // Null-cancelling movement script
  2. // (prevents you from pressing two opposing directions, which causes you to stop moving)
  3.  
  4. bind i +mfwd
  5. bind k +mback
  6. bind j +mleft
  7. bind l +mright
  8.  
  9. alias +mfwd "-back;+forward;alias checkfwd +forward; alias +checkForwardDepressed; alias -checkForwardDepressed"
  10. alias +mback "-forward;+back;alias checkback +back; alias +unknownError; alias -unknownError"
  11. alias +mleft "-moveright;+moveleft;alias checkleft +moveleft; alias +checkLeftDepressed; alias -checkLeftDepressed"
  12. alias +mright "-moveleft;+moveright;alias checkright +moveright; alias +checkRightDepressed; alias -checkRightDepressed"
  13. alias -mfwd "-forward;checkback;alias checkfwd; alias +lastDirection +forward; alias -lastDirection -forward; alias +checkForwardDepressed +unknownError; alias -checkForwardDepressed -unknownError"
  14. alias -mback "-back;checkfwd;alias checkback; alias +lastDirection +back; alias -lastDirection -back; alias +unknownError +checkLeftDepressed; alias -unknownError -checkLeftDepressed"
  15. alias -mleft "-moveleft;checkright;alias checkleft; alias +lastDirection +moveleft; alias -lastDirection -moveleft; alias +checkLeftDepressed +checkRightDepressed; alias -checkLeftDepressed -checkRightDepressed"
  16. alias -mright "-moveright;checkleft;alias checkright; alias +lastDirection +moveright; alias -lastDirection -moveright; alias +checkRightDepressed +noKeysPressed; alias -checkRightDepressed -noKeysPressed"
  17. alias checkfwd
  18. alias checkback
  19. alias checkleft
  20. alias checkright
  21.  
  22. alias +testKeysPressed +checkForwardDepressed
  23. alias -testKeysPressed -checkForwardDepressed
  24. alias +checkForwardDepressed +unknownError
  25. alias -checkForwardDepressed -unknownError
  26. alias +unknownError +checkLeftDepressed
  27. alias -unknownError -checkLeftDepressed
  28. alias +checkLeftDepressed +checkRightDepressed
  29. alias -checkLeftDepressed -checkRightDepressed
  30. alias +checkRightDepressed +noKeysPressed
  31. alias -checkRightDepressed -noKeysPressed
  32. alias +noKeysPressed +lastDirection
  33. alias -noKeysPressed -lastDirection
  34.  
  35. //Improved Crouch Jump Script
  36. //By: Chdata
  37. //Thanks to Stabby Stabby
  38. alias +rj2 "spec_mode;-duck;+cr;alias checkrj +cr"
  39. alias -rj2 "-cr;checkduck;alias checkrj"
  40. alias +crouch "-cr;+duck;alias checkduck +duck;alias +Qjump +jump"
  41. alias -crouch "-duck;checkrj;alias checkduck;enable"
  42. alias checkduck
  43. alias checkrj
  44. alias +cr "+Qjump;+duck"
  45. alias -cr "-duck;-Qjump"
  46. bind alt +rj2
  47. bind b +crouch
  48.  
  49. alias +crouchjump "+Qjump; +duck"
  50. alias -crouchjump "-duck; -Qjump"
  51. bind "ctrl" "+crouchjump"
  52.  
  53. alias +Qjump "+testKeysPressed; +jump"
  54. alias -Qjump "-jump; -testKeysPressed"
  55.  
  56. alias enableQ+ "alias +Qjump "+testKeysPressed; +jump""
  57. alias enableQ- "alias -Qjump "-jump; -testKeysPressed""
  58. alias enable "enableQ+; enableQ-"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement