Hi all,
I've tried to create layered gauges (controlled through visibility) with reasonably good success. I'm doing this as an alternative approach to allow Display Unit switching in the default 737 that I'm working on.
The layers are the PFD, MFD and EICAS gauges from the default 737 in FSX. All I did was essentially cut and paste the 3x gauges xml code into a new gauge document, one above the other. Very straight forward.
While I've had good success, I've noticed that when I'm in MAP mode on the MFD, the airports, VORs etc overlay fails to appear. Yet they do appear on one of the MFDs that I've left untouched for testing purposes.
A bit of digging around reveals the MFD gauge uses CustomDraw to overlay the airports, VOR etc in MAP mode.
The avsim post here reveals to me that I'm going to run into problems with layered visibilities using the MFD gauge because it contains customdraw objects. However, this same post indicates there might be a way to order this to make it work, which I want to pursue because the MFD is the only gauge with customdraw objects, the PFD and EICAS don't use them.
So, I tried putting the MFD at the top, and then subsequently at the bottom of my layers, and neither approach worked. I can't see how ordering my new gauges in the panel.cfg file is going to make a difference, as they're all the same for the 5x Display Units (gauges = DU1, DU2, DU3 etc) with exactly the same code, with slight visibility coding differences.
Has anyone achieved this before, or can anyone provide some insight into how I might make this work?
Thank you in advance!
Trent
I've tried to create layered gauges (controlled through visibility) with reasonably good success. I'm doing this as an alternative approach to allow Display Unit switching in the default 737 that I'm working on.
The layers are the PFD, MFD and EICAS gauges from the default 737 in FSX. All I did was essentially cut and paste the 3x gauges xml code into a new gauge document, one above the other. Very straight forward.
While I've had good success, I've noticed that when I'm in MAP mode on the MFD, the airports, VORs etc overlay fails to appear. Yet they do appear on one of the MFDs that I've left untouched for testing purposes.
A bit of digging around reveals the MFD gauge uses CustomDraw to overlay the airports, VOR etc in MAP mode.
The avsim post here reveals to me that I'm going to run into problems with layered visibilities using the MFD gauge because it contains customdraw objects. However, this same post indicates there might be a way to order this to make it work, which I want to pursue because the MFD is the only gauge with customdraw objects, the PFD and EICAS don't use them.
So, I tried putting the MFD at the top, and then subsequently at the bottom of my layers, and neither approach worked. I can't see how ordering my new gauges in the panel.cfg file is going to make a difference, as they're all the same for the 5x Display Units (gauges = DU1, DU2, DU3 etc) with exactly the same code, with slight visibility coding differences.
Has anyone achieved this before, or can anyone provide some insight into how I might make this work?
Thank you in advance!
Trent