TurboCompound
Resource contributor
- Messages
- 190
Hi all!
I've gotten into the hobby of home cockpit building, and I have been working on wiring my LEDs to the sim. I can write a script that will write the LVars to FSUIPC offsets without any problem, but the logic for many of the xml gauges is very complex and lengthy, often using several AVars and LVars at once to drive their logic. Because of that, I would basically need to re-write the entire Gauge in SIOC to have my LEDs match the BMPs for the lamps in the sim. I was wondering if there was a line I could add to the XML gauges that would check the state of the Gauge Bitmap and write it to an LVar. That way, I could use the LVar in SIOC, and the Actually LED would always match the lamp in the sim. XML is not the most intuitive language, I'm afraid. I only understand it to the point where I can get a basic idea of the logic behind each gauge.
Sorry if this doesn't make sense or is too simple a question.
I've gotten into the hobby of home cockpit building, and I have been working on wiring my LEDs to the sim. I can write a script that will write the LVars to FSUIPC offsets without any problem, but the logic for many of the xml gauges is very complex and lengthy, often using several AVars and LVars at once to drive their logic. Because of that, I would basically need to re-write the entire Gauge in SIOC to have my LEDs match the BMPs for the lamps in the sim. I was wondering if there was a line I could add to the XML gauges that would check the state of the Gauge Bitmap and write it to an LVar. That way, I could use the LVar in SIOC, and the Actually LED would always match the lamp in the sim. XML is not the most intuitive language, I'm afraid. I only understand it to the point where I can get a basic idea of the logic behind each gauge.
Sorry if this doesn't make sense or is too simple a question.


