Jump to content
Sign in to follow this  
Guest bartels

Cold and dark!

Recommended Posts

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

Share this post


Link to post
Share on other sites
Guest bartels

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

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...