Archived

This topic is now archived and is closed to further replies.

n4gix

Tank selectors

Recommended Posts

Hello, I am VERY new to gauge editing/creating. I have been trying to make a gauge automatically use the center tank untill it runs out and then switch over to the left and right tanks or all tanks to burn up the remaining fuel. I have a selector that will do this, but want it to be done automatically so on long flights I don't have to keep checking the remaining fuel for when it gets close and then switch over. Here is the code I got. So far it does nothing. Can anybody help?(A:Fuel_Tank_Center_Quantity, pounds) 10 > if{ (>K:FUEL_SELECTOR_CENTER) } els{ (>K:FUEL_SELECTOR_ALL) }Alex

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Also I've tried setting it up this way. I have been at this for a week + and still no go. Here is my current xml code which as the one above does absolutly nothing. (A:Fuel Tank Center Quantity, pounds) 10 > if{ (A:FUEL TANK SELECTOR,bool) ! if{ (>K:FUEL SELECTOR CENTER) } } els{ (A:FUEL TANK SELECTOR,bool) if{ (>K:FUEL SELECTOR ALL) } } Does anybody have any ideas that can help? I am about to lose my mind. Again I'm trying to code into my gauge to automatically turn center tank fuel selector on above ten pounds and all tanks on below ten pounds. Also if there is a better way to make the aircraft use the center tank first that would be better. Thanks in advance.Alex

Share this post


Link to post
Share on other sites

A search of this forum would reveal a great deal of subjects regarding fuel selection.

Share this post


Link to post
Share on other sites

First of all, even IF this worked it would be a very BAD idea, because it will simply trigger the key-event about 18 times every second:(A:Fuel_Tank_Center_Quantity, pounds) 10 > if{ (>K:FUEL_SELECTOR_CENTER) } els{ (>K:FUEL_SELECTOR_ALL) }What you want to accomplish cannot be done in FS...If you want to simplify your fuel management, you can simply force the sim to use "ALL". The custom (L:DoOnce,bool) will guarantee it will only execute once... ;) (L:DoOnce,bool) 0 == if{ (>K:FUEL_SELECTOR_ALL) 1 (>L:DoOnce,bool) }

Share this post


Link to post
Share on other sites