controlling external led's

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

arjepsen
Posts: 1
Joined: Sat, 3. Jul 04, 17:04
x2

controlling external led's

Post by arjepsen » Fri, 12. Jan 24, 19:03

Hey.
I just bought a virpil throttle, which has these nice buttons with multi-color LEDs in them.
There is a tool for making the leds light up corresponding to various states in Elite Dangerous (it does so, by reading a status.json file).
In moving on to setting up the throttle with X4, I wonder if there is any way to read some ship and/or game states, outside the game, that would allow the buttons to reflect these game states?
I wouldn't mind doing some minor programming in python or the like if these states would be available in a file, but have anyone done anything like this already?

tezboyes
Posts: 19
Joined: Tue, 1. Apr 08, 20:52
x4

Re: controlling external led's

Post by tezboyes » Fri, 12. Jan 24, 20:14

Check out the X4 External App on Nexus.
It used Mod Support API to get what it needs.

That should help as a starter so you can see how to read the data.

I did think there was another one too. But I can't recall the name

Return to “X4: Foundations - Scripts and Modding”