alphantomega

Vendetta Online - turbo toggle bind script (rewrite)

Jan 28th, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. echo *** lg_myTurbo v0.9 by Alphantomega 2014-01-29 is loading ...
  2. echo ***
  3. echo *** lg_ stands for LamerGamer which I refer to as a person not capable of playing the game the way
  4. echo *** it is meant to be played, as the LamerGamer requires addons and cannot survive or thrive without them
  5. echo *** Therfor _this_ LamerGamer spends more time on tweaking bind scripts than actually playing Vendetta.
  6. echo ***
  7. echo *** Oh, yeah, forgot: lg_ is to be considered a "namespace" to not get in conflict with other alias'es
  8. echo *** So, if you wish you can remove ALL "lg_" strings or replace them with your own needs.
  9. echo ***
  10. echo *** external function calls:
  11. echo *** lg_onButtonPress (e.g. /alias +lg_myTurbo lg_onButtonPress)
  12. echo *** lg_onButtonRelease (e.g. /alias -lg_myTurbo lg_onButtonRelease)
  13. echo *** /bind <key> +lg_myTurbo (will result in using <key> either for toggling turbo mode
  14. echo *** or to (regular) activate turbo as long as you press <key>
  15.  
  16. alias lg_stateZero " alias lg_onButtonPress lg_stateFirstPress ; alias lg_onButtonRelease lg_doNothing "
  17. alias lg_stateFirstPress " lg_substateTurbo "
  18. alias lg_stateSecondPress " lg_doToggleTurboOn ; alias lg_onButtonPress lg_doTurboOn ; alias lg_onButtonRelease lg_doToggleTurboOff "
  19. alias lg_substateTurbo " lg_substateTurboIsOff "
  20. alias lg_substateTurboIsOn " alias lg_onButtonPress lg_stateSecondPress ; alias lg_onButtonRelease lg_doToggleTurboOff "
  21. alias lg_substateTurboIsOff " lg_doToggleTurboOn ; alias lg_onButtonPress lg_stateSecondPress ; alias lg_onButtonRelease lg_stateZero "
  22.  
  23. alias lg_doToggleTurboOn " lg_doTurboOn ; alias lg_substateTurbo lg_substateTurboIsOn "
  24. alias lg_doToggleTurboOff " lg_doTurboOff ; alias lg_substateTurbo lg_substateTurboIsOff ; lg_stateZero "
  25. alias lg_doTurboOn " +turbo 1 "
  26. alias lg_doTurboOff " +turbo 0"
  27. alias lg_doNothing ""
  28.  
  29.  
  30. echo ***
  31. echo *** creating external function calls and initializing the entry state...
  32. lg_stateZero
  33. alias +lg_myTurbo lg_onButtonPress
  34. alias -lg_myTurbo lg_onButtonRelease
  35. echo *** ... done!
  36. echo ***
  37. echo *** LamerGamer's lg_myTurbo v0.9 by Alphantomega finished loading...
Advertisement
Add Comment
Please, Sign In to add comment