Board index FlightGear Development Aircraft Cockpit development

Togle custom huds.

Discussion about creating 2d and 3d cockpits.

Togle custom huds.

Postby StuartC » Sun Jun 02, 2019 9:46 am

I have done this before, a long time ago and I cant remember what aircraft or how I did it.

Using the non canvas hud system, I hade hud1.xml , hud2.xml etc
I cant remember how to have those listed in the set file to be able to toggle through them.
Can anyone remind me ?
StuartC
 
Posts: 2737
Joined: Fri Jun 18, 2010 8:18 pm
Location: Arse end of the Universe
Callsign: WF01
Version: 2018.3.2
OS: W10 64 bit

Re: Togle custom huds.

Postby Thorsten » Sun Jun 02, 2019 3:55 pm

The only way I know are standard conditionals on the HUD items.
Thorsten
 
Posts: 11086
Joined: Mon Nov 02, 2009 8:33 am

Re: Togle custom huds.

Postby RenanMsV » Tue Jun 11, 2019 1:05 am

Code: Select all
<hud>
   <!-- FGUK FLIR HUD -->
   <path n="1">Aircraft/My_Aircraft/Hud/hud.xml</path>
   <visibility n="1">true</visibility>
   <palette>
      <color n="0">
         <alpha type="float">0.85</alpha>
         <antialiased type="bool">true</antialiased>
         <brightness type="float">0.85</brightness>
         <transparent type="bool">true</transparent>
         <red type="float">0.38</red>
         <green type="float">0.38</green>
         <blue type="float">0.22</blue>
      </color>
   </palette>
</hud>   


this?
www.flightgearbrasil.com.br
www.fgbrazukas.wixsite.com/fgbrazukas
RenanMsV
 
Posts: 134
Joined: Thu Oct 27, 2016 2:02 am
Callsign: BR-RVD

Re: Togle custom huds.

Postby StuartC » Tue Jun 11, 2019 8:45 am

Something like it.
Thee was a way ( which I cant remember how ) to define a number of Hud versions in the set file so they can be cycled through using a keybinding ( not colour changing, but huds with different displayed functions ).
Im going to need to experiment I think.
StuartC
 
Posts: 2737
Joined: Fri Jun 18, 2010 8:18 pm
Location: Arse end of the Universe
Callsign: WF01
Version: 2018.3.2
OS: W10 64 bit


Return to Cockpit development

Who is online

Users browsing this forum: No registered users and 1 guest