Difference between revisions of "Diamond dodge bind"

From Vendetta Online Wiki
Jump to: navigation, search
(Code)
(Added a note)
(Tag: Mobile edit)
 
(7 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==
<pre style="overflow: auto">
+
alias dodgeTog dodgeOn
alias dodgeTog dodgeOn
+
alias dodgeOn "alias dodgeUp '+StrafeDown 0; +StrafeUp; wait 2 dodgeDown'; dodgeOnB"
alias dodgeOn "alias dodgeUp '+StrafeDown 0; +StrafeUp; wait 2 dodgeDown'; dodgeOnB"
+
alias dodgeOnB "alias dodgeDown '+StrafeUp 0; +StrafeDown; wait 2 dodgeUp'; alias dodgeTog dodgeOff; dodgeOnC"
alias dodgeOnB "alias dodgeDown '+StrafeUp 0; +StrafeDown; wait 2 dodgeUp'; alias dodgeTog dodgeOff; dodgeOnC"
+
alias dodgeOnC "alias dodgeRight '+StrafeLeft 0; +StrafeRight; wait 2 dodgeLeft'; echo 'Auto dodge ON'; dodgeOnD"
alias dodgeOnC "alias dodgeRight '+StrafeLeft 0; +StrafeRight; wait 2 dodgeLeft'; echo 'Auto dodge ON'; dodgeOnD"
+
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 OFF'"
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
+
alias dodgeRight dodgeInactive
alias dodgeRight dodgeInactive
+
alias dodgeLeft dodgeInactive
alias dodgeLeft dodgeInactive
+
alias dodgeInactive "+StrafeUp 0; +StrafeDown 0; +StrafeRight 0; +StrafeLeft 0"
alias dodgeInactive "+StrafeUp 0; +StrafeDown 0; +StrafeRight 0; +StrafeLeft 0"
+
</pre>
+
  
 
==Aliases==
 
==Aliases==
 
Bind the following commands to the key of your choice:
 
Bind the following commands to the key of your choice:
{| style="border:2px solid grey;" cellspacing=0
+
{| border="1"
 
|-  
 
|-  
! style="border-right:1px solid grey; border-bottom:1px solid grey;" | <small>Command !! style="border-bottom:1px solid grey;" | <small>Description
+
! Command  
 +
! Description
 
|-
 
|-
| style="border-right:1px solid grey;" | <small>dodgeTog|| <small>Toggles the dodging pattern.
+
| dodgeTog
 +
| Toggles the dodging pattern.
 
|}
 
|}
  
 
==Credit==
 
==Credit==
 
Created by Eldrad.
 
Created by Eldrad.
 +
 +
[[Category:Binds]]

Latest revision as of 07:49, 4 April 2016

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.

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

alias dodgeTog dodgeOn
alias dodgeOn "alias dodgeUp '+StrafeDown 0; +StrafeUp; wait 2 dodgeDown'; dodgeOnB"
alias dodgeOnB "alias dodgeDown '+StrafeUp 0; +StrafeDown; wait 2 dodgeUp'; alias dodgeTog dodgeOff; dodgeOnC"
alias dodgeOnC "alias dodgeRight '+StrafeLeft 0; +StrafeRight; wait 2 dodgeLeft'; echo 'Auto dodge ON'; dodgeOnD"
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 dodgeOffB "alias dodgeRight dodgeInactive; alias dodgeLeft dodgeInactive; dodgeInactive; echo 'Auto dodge OFF'"
alias dodgeUp dodgeInactive
alias dodgeDown dodgeInactive
alias dodgeRight dodgeInactive
alias dodgeLeft dodgeInactive
alias dodgeInactive "+StrafeUp 0; +StrafeDown 0; +StrafeRight 0; +StrafeLeft 0"

Aliases

Bind the following commands to the key of your choice:

Command Description
dodgeTog Toggles the dodging pattern.

Credit

Created by Eldrad.