Welcome to Cockpitbuilders.com. Please login or sign up.

October 16, 2025, 11:22:30 AM

Login with username, password and session length

PROUDLY ENDORSING


Fly Elise-ng
413 Guests, 0 Users
Members
Stats
  • Total Posts: 59,757
  • Total Topics: 7,887
  • Online today: 702
  • Online ever: 1,343
  • (October 08, 2025, 07:40:38 AM)
Users Online
Users: 0
Guests: 413
Total: 413

COUNTDOWN TO WF2024


WORLDFLIGHT TEAM USA

Will Depart in...

Recent

Welcome

Lights to indicate switch positions

Started by ColinB, January 19, 2013, 07:16:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ColinB

Hi all, I am using a seperate screen to display things like Radio Stack, GPS, Gear position and other lights. I am buidling a "thing" to go over the front of the screen with cut outs to show only the parts I want such as the GPS screen without the bevel, radio frequencies without the rest of the radio stack display.

What I want to know is it possible to set a square on the screen to display a solid colour when a switch is in the on position, at the moment I have to display the switch panel which detracts from the feel of the rest of the panel.

Does that make sense?
Founder of GA Simulation

A group set up for fans of GA flying to chat and share anything GA related.

Also Find us on Facebook GA Simulation on FACEBOOK

iwik

Colin,
I'm not aware of anything like that but i beleive youvare going to be using  Bodnar board.
All you need to do here is any switch that you use to operate a function use a double pole
one and the second switch has a 1k and a LED wired in series. So when the switch is closed
the led lights at the same time as you signal to FSX the function you want. Of course this
wont help if you need to delay say for example landing lights.

Les

Kennair

Colin you can do this by making a gauge in FSX that changes color instead of showing a switch up/down. The easiest way to achieve this is to modify an existing gauge using FSPanel Studio.  If you take whatever switch it is you are activating and open it up in FSP you will see the graphics that are activated to show a switch up and a switch down position, simply replace these with a two color option such as black and red so instead of the switch off state showing the toggle in the down position, it displays a black square, and of course the switch on state can show the red square.  You will also need to edit the xml file associated with the gauge.

There are a couple of caveats however.  You need to be activating a switch within the aircraft which has a gauge file associated with it eg. Avionics on/off switch, and the gauge associated with it needs to be editable.  Some FSX gauges aren't and the older FS9 gauge files often can't be edited.  FSPanel will tell you whether its editable or not.  You could overcome this by creating a gauge from scratch but this requires some xml programming skills and reading the FSX SDK to achieve your desired switch.  That's a bit beyond me however.

Ken.
Intel i73770K | 16Gb RAM | GTX680 | Win7-64 | TH2GO | 3 x 42" FHD LCD TV's | FDS CDU | OC MCP, EFIS, COMMS | Aerosim Throttle | Sim-Avionics DSTD+ | FSX P3D XP10 | FTX | FSGRW | REX2E | Aivlasoft EFB| PFPX | FTG |Kennair

ColinB

Kennair, thank you very much, that is exactly the information I was looking for :D
Founder of GA Simulation

A group set up for fans of GA flying to chat and share anything GA related.

Also Find us on Facebook GA Simulation on FACEBOOK

Like the Website ?
Support Cockpitbuilders.com and Click Below to Donate