Expose state variables?

Many of us are sim nerds. I am one myself. I have a hotas, pedals and I play in the Vive (please don't start an argument all HMD's are cool and good). To assist with all of this I have Voice Attack fully fleshed out. I can say things like "Open the galaxy map" or "Deploy hardpoints". Yes many of these things are not necessary but its pretty darn cool to be able to talk to my computer and have it act for me.

I was wondering if there was anyway to access state variables in game? I would love to know if my ship is in super cruise, if my landing gear is deployed etc. Currently voice attack is blind to all of these things.

An example of why this would be useful. If I say "Computer, take us in", if I'm in supercruise voice attack would know to drop me out of supercruise. If I have docking privileges, voice attack would know to begin using my docking computer to dock. There are a lot of other examples as well. If this isn't currently a feature I'm sure exposing some state variables could be useful to the plethora of third party utilities people use to make this game great.

If this already exists I'd love to know, all my searching has come up empty! :)

Edit: To clarify, when I say expoose state variables I mean like a text file or some other such file voice attack could hook into that is updated with the different states the ship is in, that way voice attack could read from that file to make informed decisions based on a command and the state the ship is in.
 
Last edited:
Latest HCS Packs have a plugin that reads from the JSON event file (its under Saved Games in your home folder). This has transitions from system to system, SC, landing and from glide mode. HCS have started building this awareness into their packs, baby steps at the moment but lots of potential.

Simon
 
Latest HCS Packs have a plugin that reads from the JSON event file (its under Saved Games in your home folder). This has transitions from system to system, SC, landing and from glide mode. HCS have started building this awareness into their packs, baby steps at the moment but lots of potential.

Simon

I've tried to find this file and I cannot, exactly where is it?
 
Wouldn't that allow you to essentially have the game play itself.... while you do something else?

Everyone likes automating certain things. People play with EDDI to have it auto-trade. People use docking computers to dock for them. I am not looking to automate everything but I do like having the computer take over certain controls for me after I give it a command.

Edit: Btw just looked into EDDI, its awesome, thanks for the heads up.
 
Last edited:
TL;DR: No, and not allowed.

Apart from the official ways of reading the various log files Elite generates and creating as much of the game state from those as possible there's no way to access the game state.

There was some work done a few years ago to read the game state from memory, but FDev put a stop to that as it infringed licensing against reverse-engineering the game client. Furthermore, Frontier wants to keep the playing field as level as possible (given the impossibility of people having different hardware, HOTAS vs Mouse/Keyboard, etc etc) and adding this level of control and automation was deemed at providing too much benefit to those people taking advantage of it vs those without.

Perhaps in the future FDev will revise their stance and either publish an API themselves or provide official hooks for others to create one. But as of right now: no.
 
Back
Top Bottom