Diamond dodge bind: Difference between revisions
Roguelazer (talk | contribs) |
Added a note Tag: Mobile edit |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<s>Note:This no longer works because of the removal of strafe cmds from Lua. This is an automated dodge. It's not particularly effective, but can enable one to avoid shots from a hostile AI. When used against players, this is generally considered to be a "cheap" tactic.</s> | |||
This bind and others like it that control ship movement no longer work due to changes in the game. Specifically, multiple movement alias' or commands bound to a single key are not executed. However, if your keyboard supports pressing or holding two or more keys simultaneously, the movements will execute when the keys are pressed or held. | |||
==Code== | ==Code== | ||
alias dodgeTog dodgeOn | alias dodgeTog dodgeOn | ||
Line 6: | Line 10: | ||
alias dodgeOnD "alias dodgeLeft '+StrafeRight 0; +StrafeLeft; wait 2 dodgeRight'; dodgeUp; wait 1 dodgeRight" | alias dodgeOnD "alias dodgeLeft '+StrafeRight 0; +StrafeLeft; wait 2 dodgeRight'; dodgeUp; wait 1 dodgeRight" | ||
alias dodgeOff "alias dodgeUp dodgeInactive; alias dodgeDown dodgeInactive; alias dodgeTog dodgeOn; dodgeOffB" | alias dodgeOff "alias dodgeUp dodgeInactive; alias dodgeDown dodgeInactive; alias dodgeTog dodgeOn; dodgeOffB" | ||
alias dodgeOffB "alias dodgeRight dodgeInactive; alias dodgeLeft dodgeInactive; dodgeInactive; echo 'Auto dodge | alias dodgeOffB "alias dodgeRight dodgeInactive; alias dodgeLeft dodgeInactive; dodgeInactive; echo 'Auto dodge OFF'" | ||
alias dodgeUp dodgeInactive | alias dodgeUp dodgeInactive | ||
alias dodgeDown dodgeInactive | alias dodgeDown dodgeInactive | ||
Line 15: | Line 19: | ||
==Aliases== | ==Aliases== | ||
Bind the following commands to the key of your choice: | Bind the following commands to the key of your choice: | ||
{| | {| border="1" | ||
|- | |- | ||
! | ! Command | ||
! Description | |||
|- | |- | ||
| | | dodgeTog | ||
| Toggles the dodging pattern. | |||
|} | |} | ||
==Credit== | ==Credit== | ||
Created by Eldrad. | Created by Eldrad. | ||
[[Category:Binds]] |