December 30, 200223 yr Hallo,Just downloaded Matthias' "Cold and dark startup gauge"Probably i did something wrong, with install.What happened:Landing in the dark i lost all electrical- etc. power right after touch-down.(A:Sim on the ground.....????????What did i or is wrong?I installed the following code in a bigger gauge:.............(G:Var1) 0 == (A:Sim On Ground, bool) && if{ 0 (>K:MIXTURE_LEAN) (>K:FUEL_SELECTOR_OFF) (>K:FUEL_SELECTOR_2_OFF) 0 (>K:TOGGLE_ALTERNATOR1) 0 (>K:TOGGLE_ALTERNATOR2) 0 (>K:TOGGLE_ALTERNATOR3) 0 (>K:TOGGLE_ALTERNATOR4) 0 (>K:ALL_LIGHTS_TOGGLE) 0 (>K:TOGGLE_AVIONICS_MASTER) 0 (>K:TOGGLE_MASTER_BATTERY) 1 (>G:Var1) }.........NB No other G:Var1's in that gauge!Janhttp://community.webshots.com/storage/1/v4...75aouncN_th.jpg Jan "Beatus ille qui procul negotiis..."
December 30, 200223 yr The code looks correct. Make sure you don't have swapped &'s with &'s. Also check if this code is used more then once in the panel, e.g. the gauge used more then once or together with the original gauge, or together with the oriinal gauge. When happened it? If I see this correct it might happen if you swap aircrafts or reload aircraft in mid-air and then land, at touchdown everything is switched off. Something like (G:Var1) 0 == if{(A:Sim On Ground, bool) if{ ... } 1 (>G:Var1)}should help then, it makes sure that the code ... is only executed at loading of the aircraft, and placed on ground, maybe it doesn't work at all, I haven't checked.Arnme Bartels
Create an account or sign in to comment