An intelligent VoiceAttack plugin for Elite: Dangerous, powered by EliteAPI
EliteVA is a VoiceAttack plugin specifically designed for Elite: Dangerous, enhancing your macros with events, variables, and keybindings support. By leveraging EliteAPI, it empowers you to create a truly intelligent voice assistant for your game, using VoiceAttack.
Consider the scenario of retracting your landing gear using a VoiceAttack macro.
Traditionally, the macro would be quite simple:
Press the G key
However, this approach lacks intelligence. What if the landing gear is already retracted or your commander is currently in supercruise? And what if the landing gear key is not actually the G
key? In these situations, the macro would fail.
By using EliteVA, you can significantly improve the intelligence of your macro. Here's how:
Boolean compare: EliteAPI.Gear equals True
Boolean compare: EliteAPI.Supercruise equals False
Press variable key: [EliteAPI.LandingGearToggle]
By incorporating these checks into your profile, you can create a much smarter and more reliable voice assistant for your game.
Let's help you get started, commander.
EliteVA is distributed through GitHub, making it the recommended method for installation. Alternatively, you can compile the plugin to retrieve the plugin file.
To install, follow these steps:
EliteVA converts numerous in-game events into macro commands. For example, retracting your gear will trigger the ((EliteAPI.Ship.Gear))
command, while cracking an asteroid will trigger the ((EliteAPI.AsteroidCracked))
macro.
EliteVA provides access to various variables synced with the game. For instance, {BOOL:EliteAPI.Gear}
holds the value of the ship's landing gear status, and {BOOL:MassLocked}
indicates whether you're currently mass-locked. EliteVA outputs set variables in the Variables folder, which is generated when running the plugin.
EliteVA makes all in-game keybindings available and keeps them updated whenever changes are made to the keybindings preset in-game. Instead of blindly pressing the G
key to retract the landing gear, your macro can use the {TXT:EliteAPI.LandingGearToggle}
variable to press the actual key assigned to the gear.
A list of all supported keybindings can be found in the Bindings.txt
file within the generated Variables folder.
Disclaimer
Please note that VoiceAttack does not support external Joystick or Hotas triggers.
The plugin will only expose keyboard keybindings.
Make sure that either the primary or secondary keybinding is set to a keyboard key.