September 20, 200817 yr 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
September 21, 200817 yr 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
September 21, 200817 yr Commercial Member A search of this forum would reveal a great deal of subjects regarding fuel selection. Ed Wilson Mindstar AviationMy Playland - I69
September 21, 200817 yr Author Moderator 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) } Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
Create an account or sign in to comment