Jump to content
Sign in to follow this  
Guest GLE1344

gauge for strobes

Recommended Posts

Guest GLE1344

Hey AllIs there any way to program a gauge that activates the strobe lights when the struts are extended, then turns them off when the struts are compressed? I know that some aircraft have this feature in real life (Learjet-60) thats why the learjet panel has the beacon/strobe lights on the same switch. The Lear-60 has a squat switch that controls the strobes as long as the beacons are on. Just wondering if this could be dupicated in XML...Tyler

Share this post


Link to post
Share on other sites

Hi,You could try something like: (L:Strobe Lights,bool) 1 == if{ (A:SIM ON GROUND,bool) 1 == if{ (>K:STROBES_OFF) } (A:SIM ON GROUND,bool) 0 == if{ (>K:STROBES_ON) } }(L:Strobe Lights,bool) could be the L:Var that makes it possible to switch the strobes and beacon on. (>K:TOGGLE_BEACON_LIGHTS) (L:Strobe Lights,bool) ! (>L:Strobe Lights,bool) Jan"Procul Negotiis"

Share this post


Link to post
Share on other sites
Guest Trevor de S

Tyler,My own preference would be to add initialisation to ensure 100% that the strobe and beacon lights start in sync. (just in case you manage to load a flight with the beacon lights already on)So something like : (L:Strobes init, bool) !if{ (A:Beacon Lights,bool) (>L:Strobe Lights,bool) 1 (>L:Strobes init, bool) }(L:Strobe Lights,bool) 1 == if{ (A:SIM ON GROUND,bool) 1 == if{ (>K:STROBES_OFF) } (A:SIM ON GROUND,bool) 0 == if{ (>K:STROBES_ON) } }(L:Strobe Lights,bool) could be the L:Var that makes it possible to switch the strobes and beacon on. (>K:TOGGLE_BEACON_LIGHTS) (L:Strobe Lights,bool) ! (>L:Strobe Lights,bool) Trevor.

Share this post


Link to post
Share on other sites
Guest GLE1344

Okay heres what I have in the xml file, and its not working...- - - (L:Strobe Lights,bool) 1 == if{ (A:SIM ON GROUND,bool) 1 == if{ (>K:STROBES_OFF) } (A:SIM ON GROUND,bool) 0 == if{ (>K:STROBES_ON) } } - - - (>K:TOGGLE_BEACON_LIGHTS) (L:Strobe Lights,bool) ! (>L:Strobe Lights,bool)Anyone feel like touching it up a lil?:-wave Tyler Johnsonhttp://home.comcast.net/~ijettyler/TJhalban2.jpghttp://hawaiian.virtualATP.org

Share this post


Link to post
Share on other sites
Guest bartels

Why not "slave" the strobe lights to beacon lights+not on ground?E.g. (A:Light beacon,bool) d (A:SIM ON GROUND,bool) ! && (>K:STROBES_SET)The "d" for dublicating, to make sure the switch shows the beacon state. If you want you can also add acombination of on ground and small g-force values to simulate de gear decrompession even more.Arne Bartels

Share this post


Link to post
Share on other sites

Hi,Did a little testing, seems to work too:(A:SIM ON GROUND,bool) 1 == if{ (>K:STROBES_OFF) } (A:SIM ON GROUND,bool) 0 == if{ (L:Strobe Lights,enum) 1 == if{ (>K:STROBES_ON) } (L:Strobe Lights,enum) 0 == if{ (>K:STROBES_OFF) } } SWITCH BITMAPS(L:Strobe Lights,enum) 0 == if{ 1 (>L:Strobe Lights,enum) (>K:TOGGLE_BEACON_LIGHTS) } els{ 0 (>L:Strobe Lights,enum) (>K:TOGGLE_BEACON_LIGHTS) } Jan"Procul Negotiis"

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