VanFanel1980mx

Warframe - Movement 1.5 Macro v2.3

May 6th, 2014
617
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. ;WARFRAME - Movement 1.5 Macro v2.3
  2. ;By VanFanel1980mx
  3. ;Special Thanks to Warbros#1
  4. ;April 26, 2014
  5. ;Update 13.1.2 Required
  6. ;
  7. ;Version 2.1
  8. ;-Added a toggle function (Middle Mouse Button)
  9. ;-Added a suspend function to the chat window in-game (Y in my case)
  10. ;-Added Tool Tips for toggle status.
  11. ;
  12. ;Version 2.2
  13. ;-Added a timer for the tooltips so they disappear unless the script is running.
  14. ;-Fixed the movement lock after a Ground Slam Cancel or Copter Kick.
  15. ;
  16. ;Version 2.2.1
  17. ;-Key combinations are now bound to Warframe's default configuration
  18. ;-Make Sure the Right Shift key is mapped in "Hold to Sprint" in game.
  19. ;
  20. ;Version 2.3
  21. ;-Increased the timeframe to consistently perform a Hop Kick.
  22. ;-Removed some test code that could potentially bug out the macro.
  23. ;-------------------------------------------------------------------------------------------------------------
  24.  
  25. Tooltip, WARFRAME`nMovement Enhancer`nON, 0, 0
  26. SetTimer, RemoveToolTip, 15000
  27. ~LAlt::
  28. Suspend
  29. if A_IsSuspended = 1
  30. {
  31. Tooltip, WARFRAME`nMovement Enhancer`nOFF, 0, 0
  32. SetTimer, RemoveToolTip, 15000
  33. return
  34. }
  35. else
  36. {
  37. Tooltip, WARFRAME`nMovement Enhancer`nON, 0, 0
  38. }
  39. return
  40.  
  41. ~t::
  42. Suspend, On
  43. ToolTip, WARFRAME`nMovement Enhancer is OFF`nToggle Movement Enhancer ON `nwith Left Alt, 0, 0
  44. SetTimer, RemoveToolTip, 15000
  45. return
  46.  
  47. {
  48. #MaxThreadsPerHotkey 1
  49. ;-----------------------------------------------------------------------
  50. ; QUICK SLIDE
  51. ; * Tap a directional key twice
  52. ; * Hold the directional key the second time for duration
  53. ;-----------------------------------------------------------------------
  54. ~w::
  55. if (A_PriorHotkey <> "~w" or A_TimeSincePriorHotkey > 200)
  56. {
  57. KeyWait, w
  58. return
  59. }
  60. Send, {RShift Down}
  61. Sleep, 200
  62. Send, {LCtrl Down}{RShift Up}
  63. Sleep, 500
  64. Send, {LCtrl Up}
  65. return
  66. ;-----------------------------------------------------------------------
  67. ~a::
  68. if (A_PriorHotkey <> "~a" or A_TimeSincePriorHotkey > 200)
  69. {
  70. KeyWait, a
  71. return
  72. }
  73. Send, {RShift Down}
  74. Sleep, 200
  75. Send, {LCtrl Down}{RShift Up}
  76. Sleep, 500
  77. Send, {LCtrl Up}
  78. return
  79. ;----------------------------------------------------------------------
  80. ~s::
  81. if (A_PriorHotkey <> "~s" or A_TimeSincePriorHotkey > 200)
  82. {
  83. KeyWait, s
  84. return
  85. }
  86. Send, {RShift Down}
  87. Sleep, 200
  88. Send, {LCtrl Down}{RShift Up}
  89. Sleep, 500
  90. Send, {LCtrl Up}
  91. return
  92. ;----------------------------------------------------------------------
  93. ~d::
  94. if (A_PriorHotkey <> "~d" or A_TimeSincePriorHotkey > 200)
  95. {
  96. KeyWait, d
  97. return
  98. }
  99. Send, {RShift Down}
  100. Sleep, 200
  101. Send, {LCtrl Down}{RShift Up}
  102. Sleep, 500
  103. Send, {LCtrl Up}
  104. return
  105. ;----------------------------------------------------------------------
  106. ; EVASION ROLL
  107. ; *Press Jump + any direction while aiming or blocking
  108. ;----------------------------------------------------------------------
  109. ~RButton & Space::
  110. Send, {MButton}
  111. return
  112. }
  113. ;----------------------------------------------------------------------
  114. ;In case we need to remove tooltips.
  115. ;----------------------------------------------------------------------
  116. RemoveToolTip:
  117. SetTimer, RemoveToolTip, Off
  118. ToolTip
  119. return
  120. ;SetTimer, RemoveToolTip, 5000
  121. ;----------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment