Sign in to follow this  
Guest scoman81

XML code question

Recommended Posts

The code below is typical of code used in a particular vendor's gauges. The primary purpose of the code is to toggle the AdfOn variable, but what's the purpose of the afterburner reference, when the plane has no afterburners? Are they using it as some sort of temp?0 (>K:TOGGLE_AFTERBURNER2) (L:AdfOn,bool) ! (>L:AdfOn,bool)Thanks,Dave

Share this post


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

The use of (>K:TOGGLE_AFTERBURNER2) was used as a part of a XMLsound gauge by the late Bill Morad. It was a workaround to provide sounds for gauge "clicks", "toggles", "thumps" etc... using this older version doesnot work in FS9 unless the aircraft is a jet, where in FS2002 the (>K:TOGGLE_AFTERBURNER2) works because that version allowed the coommand even if it was a recip prop aircraft. There is a new and very well implemented sound gauge by Doug Dawson here in the library, but in order to use the code for al the gauges in your panel will have to be rewriiten to use.Regards,Roman(KGRB)

Share this post


Link to post
Share on other sites

Thanks for the info. I figured it had to be some funky hidden thing. :)

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