Hey, no worries — I was totally lost at the start too
If you give me your email address, I can send you my files. You’ll need to do quite a bit of tweaking to add your own lights, but at least you’ll have a working base to start from. Upload the files to ChatGPT and it will reply and even modify for you.
if ChatGPT wants some more Lamp ID's, upload "\DCS World\Mods\aircraft\FA-18C\Cockpit\Scripts\lamps.lua". file to GPT, it can find everything. Also there is more lua files like clickabledata.lua e.t.c.
DCS can send cockpit value out through Export.lua. i had already have a export.lua because of a mod or something. So i add a simple code inside.
a Node.js bridge just reads those values and pushes over a Websocket. Runs via powershell but you can build an exe file after you feel satisfied.
Then a custom SignlRGB HTML effect listens to and lights the RGB lights.
If you're not familiar with SignalRGB, basically, effects are simple canvas. You place your RGB lights on that canvas, and each lights shows the color of the spot it's positioned on.
So first things first, your device needs to be recognized by SignalRGB. (almost all my RGB lights, my keyboard and mouse, philipsh hue, case lights, logitech hotas e.t.c positioned on the canvas)
Great cockpit btw, have fun.