• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

XML gauge help needed

Astoroth

Charter Member
If someone could help me with this, I would really appreciate it. I've tried to make this gauge, but xml and I do not get along at all. It's for a freeware project that I have made, called the Jetwing, inspired by Yves Rossey, the Jetman.

I need a gauge (invisible) that can operate both landing gear and flaps at the same time. I need it set so that when the gear are lowered, the flaps are set to full down, and when the gear are raised, the flaps are set to full up.

I know, sounds like an unusual request, but there is a method to my madness, lol.

I would appreciate any help with this. Full credit will of course be given.

Joe
 
Code:
<Gauge Name="Gear_Flap_Control" Version="1.0">

<Element>
    <Select>
      <Value>

          (A:GEAR CENTER POSITION,percent) 50 > 

        if{ (>K:FLAPS_DOWN) } 


        els{ (>K:FLAPS_UP) } 

                                                                              
      </Value>
    </Select>
  </Element> 


</Gauge>
 
Atoroth

Use the gauge Flusirainer supplied you in conjuntion with a setting in your aircraft.cfg and air file that sets the flaps up with just one position....and that being fully deployed....but I'm sure you already had that in mind.

OBIO
 
Thanks Flusirainer! Much appreciated! If you would like, PM me with the name to use when giving credit for the gauge, otherwise I'll just credit it to SOH Member Flusirainer.

Yup Obio, that's the way it's already set up, but thanks for the reminder!


Joe
 
That's ok.
a020.gif

This small help requires no global thanksgiving.
c020.gif
 
Back
Top