Sign in to follow this  
Guest

xml, OBS setting

Recommended Posts

HiIs there any known way to _SET the OBS instead of INC and DEC? I've browsed through the known documents but I can't find anything useful.If it isn't such an event, what would be a good way of copying the airplanes current heading, to act as an 'OBS sync switch'?

Share this post


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

Just a guess: sometimes the argument of the K: event is used as stepsize (definetely true for DECISION_HEIGHT_INC and DEC), so possibly one step with the differential degrees as argument can be used.Arne BartelsP.S. sorry I forgot I did something like this a long time before in C gauges: try VOR1_SET and VOR2_SET

Share this post


Link to post
Share on other sites

Please explain more about stepsize !I'm trying to make a xml gauge that set the DH but the step of increase or decrease was "33", why is that ?Thanks.

Share this post


Link to post
Share on other sites

If you define stepsizes in INCREASE_DECISION_HEIGHT and DECREASE_DECISION_HEIGHT it will be in meters.e.g. <Click> 1 (> K:INCREASE_DECISION_HEIGHT) </Click> increases decision height by 1m (approx. 3 ft)<Click> 10 (> K:INCREASE_DECISION_HEIGHT) </Click> by 10m (approx. 30ft) etc.if you use <Click> 0 (> K:INCREASE_DECISION_HEIGHT) </Click> or<Click Event="INCREASE_DECISION_HEIGHT" />the stepsize depends on decision height. The last example will stop at the predefined maxima (0ft and the maximum DH, I can't recall which precisely) whereas the first both examples have no automatic minimum or maximum (you can reach negative or very huge DHs)Arne Bartels

Share this post


Link to post
Share on other sites

Thank you Bartels,I didn't know that the DH count by meters. Got it, pal. :)

Share this post


Link to post
Share on other sites

Arne, I had no luck with passing an argument to INC/DEC, but the VOR1_SET worked like a charm. LOL, I was only searching for OBS... Oh well...Thanks.

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