Discussion Full Ship API

Hi there,
I'm building a console to help control my ship. Different buttons on the console trigger actions like deploying landing gear etc. I'd really like to take it to the next level with indicator lights and ship status but to do that, I would really need as much data about the ship as possible. Are there currently any API's that have detailed ship status information? I'd really like to have booleans for things like landing gear deployed, hard points deployed etc. I'd also like to be able to know the ship's hull status and speed.

Really, the more information I can get, the cooler it will be. Is there anything out there that I have missed? Are there any plans to include an API like this to ED in the future?
 
As far as I'm aware, no 'live' statuses are available without using EULA-unfriendly hooks in the game executable. Things like hull and component status are still available through official third party API calls, but seem to be severely delayed and basically useless. Speed is completely unavailable

If you plan on making a full control console(no other inputs except some mouse for menus), you could simply have the toggles for things like gear and hardpoints(as long as "firing deploys hardpoints" is not toggled in game options) be the only requirements for status lights. They would be accurate for the most part(exception being blown up and respawning at a station with gear out and weapons in)

Edit:
Some clarification on the above:
Have a "Landing Gear" switch, turn it on for a "Gear" light to turn on, turn it off to have the light turn off (and have both set to the Landing Gear keybind)
If you want to get fancy, you could make the light status only update around once a second, so if you want to 'reset' it when it gets out of sync, just toggle the switch on and off really quickly
 
Last edited:
Has anyone tried hooking into game packets? Or does it also break EULA?

Hooking into the game was originally tolerated, but has been forbidden due to the impact of stability on the client and hence support efforts. Too lazy to search, but it was a post by Michael Brookes in 2014 during beta.

Other than that, the packets are encrypted, and decryption might be illegal in your jurisdiction. There is a web-based API for the client (not the mobile "Companion" API), and I've looked into it, but no progress or response from devs since.
 
Back
Top Bottom