Voice Attack and EDDI–Automatically retracting your Landing Gear, Hardpoints, and Cargo Scoop before going into Hyperspace/Super Cruise

So … a few weeks back, someone asked if there was some way to automatically have your ship 1) retract landing gear, 2) retract hardpoints, and 3) close your cargo scoop when you go into supercruise. I told him No.

I was wrong.

Voice Attack can only pull this off if it keeps track of the states of your gear, points, and scoop. However, a second free program called EDDI obtain this information through the Frontier API, and can communicate this information to Voice Attack through Events and Voice Attack Variables.

We won't need Events in this particular example–but you should know about them, because they're awesome. Let's use the Heat Damage Event. If you have a Voice Attack macro called ((Heat damage event)), EDDI will run that macro when you suffer heat damage. Mine sets a Boolean variable called EventualRepair to True. When I dock, Voice Attack runs a macro called ((Docked event)). ((Docked event)) automatically refuels, lowers my ship into the hanger, and goes to Carrier Services–but if EventualRepair=True, it also hits the Repair button while it's doing that. (Oh, and it sets EventualRepair to False.)

But back to the topic at hand … when I run the Hyperspace or SuperCruise macro, Voice Attack first checks to see if {BOOL:EDDI cargo scoop deployed} is True. (As a side note, the Boolean compare won't work, even though this variable is technically Boolean. You have to use the Text compare.) If {BOOL:EDDI cargo scoop deployed} = True, Voice Attack closes the Cargo Scoop. It then performs the same function for {BOOL: EDDI hardpoints deployed} and {BOOL: EDDI landing gear deployed}.

And finally, I can program Voice Attack so that this macro runs when I push the button for Hyper Space. (However, you have to change the button in Elite: Dangerous–or the macro will trigger this action a second time after you've already triggered it. Set Hyperspace in the game to another button (or combination of buttons), and tell the macro to push that combination of buttons when it's done checking your gear/points/scoop.

Sorry about before … when I was wrong.

Source: https://www.reddit.com/r/EliteDangerous/comments/15v09yb/voice_attack_and_eddiautomatically_retracting/

leave a comment

Your email address will not be published. Required fields are marked *