Jump to content

Alaybozan1

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Alaybozan1

  1. 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.
  2. If you'd like to use it, I can share my code and explain how to use it. I haven't created a standalone setup file yet. I assume you're already using SignalRGB.
  3. I set this up by using DCS’s export data (Export.lua) to read cockpit light ID's. ID's (gear, AoA, strobe, afterburner etc.) are sent out to a small Node.js bridge. (working on powershell atm.) The bridge converts them into simple WebSocket messages. On the SignalRGB, I wrote a custom HTML canvas effect. That effect listens to the data and lights up my RGB. (Each lights position can be arranged right inside the SignalRGB canvas) So when gear moves, AoA blinks, or burners fire, my desk lights do the same. Still tweaking, i managed to get less latency today (50-100 ms)
  4. A custom bridge and canvas effect for SignalRGB. I appreciate getting your feedback. Node.js Bridge: Collects exported cockpit data from DCS (gear, AoA, console lights, taxi, strobe, warning test, afterburner) and streams simplified JSON via WebSocket. HTML Canvas: Receives the data and turns it into real-time RGB lighting effects: • Gear → Red bar (up/down/transit) • AoA → Red / Yellow / Green indexer • Console → Green glow • Taxi → White top bar • Warning Test → Color grid • Strobe → Red blink • Afterburner → Orange flame
  5. Thnx man, I learned from this video that I needed to add a zero at the end of every 4 digits for the precise code.
×
×
  • Create New...