plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

ModelMuncher avatar image
ModelMuncher asked FlyingRaccoon commented

Decision Height Default Format

Using the SDK "ASOBO_NAVCOM_Decision_Height_Template"
I have got a perfectly well working system, with Knob adjusting the DH and a BUG Being Set on the Radio Altimeter Gauge ..
HOWEVER - This is defaulting to METERS and I require this in FEET ..
even though My Options are set for Hybrid (Altitude in feet) Both the Tooltip and adjustment "steps" are in meters preventing the instrument from acting properly.

Is there any Param I can put into the Behaviours code to switch this to feet ?
like <UNITS>Feet</UNITS> ??

aircraftgaugesanimation
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image
FlyingRaccoon answered

Hello @ModelMuncher

Allowing you to choose the unit was forgotten in this template it seems. We will fix this in a future update.
In the meantime, we suggest you make a copy of this template and edit it so it uses the units you want.

Thank you for reporting the problem.
Regards,
Sylvain

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

ModelMuncher avatar image
ModelMuncher answered

Appreciate the fast response Silvain ..
Thats exactly what we were going to do .. Thank you

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

ModelMuncher avatar image
ModelMuncher answered FlyingRaccoon commented

@FlyingRaccoon
Having a great deal of trouble re writing the template due to missing or wrong Key events ..
please see attached and Note for planned future update Thanks

meanwhile any suggestions please ?



1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image FlyingRaccoon ♦♦ commented ·
All of these events are taking a float32 parameter with a value in meters so passing your value after conversion should work.

For INC/DEC events, if no value or 0 value is passed, a default increment/decrement of 10 meters will be used instead.

@Nocturne The doc is wrong there.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.