Jump to content
Sign in to follow this  
Guest

Double xml fuel tank selectors

Recommended Posts

Guest

that also prevents the default all selection upon loading. If it encounters a selection set to all, it resets it to the respective main tanks.You'll have to add your own graphics and change things as needed. I normally use comments quite a bit, so... It's based on a C310 selector, but with added lighted 'fuel transfer buttons' (fake, but suits me fine). Let's just paste it in and see what heppens :)(A:Fuel tank selector 1,enum) sp0 l0 0(*Off*) == if{ 0 quit } l0 1(*All*) == if{ 0 (*ForceLMain*) (>K:FUEL_SELECTOR_LEFT) 2 quit } l0 2(*LMain*) == if{ 1 quit } l0 4(*LAux*) == if{ 2 quit } l0 5(*RAuxC*) == if{ 3 quit } 4(A:Fuel tank selector 2,enum) sp0 l0 0(*Off*) == if{ 0 quit } l0 1(*All*) == if{ 0 (*ForceRMain*) (>K:FUEL_SELECTOR_2_RIGHT) 3 quit } l0 3(*RMain*) == if{ 1 quit } l0 4(*RAux*) == if{ 3 quit } l0 5(*LAuxC*) == if{ 2 quit } 4(L:Transfer Pump Left, bool)(L:Transfer Pump Right, bool)(L:Transfer Pump Left, bool) ! (>L:Transfer Pump Left, bool)(L:Transfer Pump Right, bool) ! (>L:Transfer Pump Right, bool)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...