Version: *1.39.9 SDK 0.24.5
Frequency: Consistently*
Severity: *High
Context: What package? When editing or mounted from Community? In main menu or in flight? etc…
Bug description:
If you look at the cub:
there is an example of separate left right mag switches for just ON/OFF. It works.
<UseTemplate Name="ASOBO_ENGINE_Switch_Magneto_Template">
<SWITCH_TYPE>ON_OFF</SWITCH_TYPE>
<MAGNETO_ID>LEFT</MAGNETO_ID>
<NODE_ID>ENGINE_Switch_Ignition_1</NODE_ID>
<ANIM_NAME>ENGINE_Switch_Ignition_1</ANIM_NAME>
<PART_ID>ENGINE_Switch_Magneto_1</PART_ID>
<TT_DESCRIPTION_ID>@TT_Package.ENGINE_MAGNETO_STATE_ACTION_SET_LR</TT_DESCRIPTION_ID>
<TT_DESCRIPTION_INDEX>(R:1:@TT_Package.GT_STATE_LEFT)</TT_DESCRIPTION_INDEX>
</UseTemplate>
<UseTemplate Name="ASOBO_ENGINE_Switch_Magneto_Template">
<SWITCH_TYPE>ON_OFF</SWITCH_TYPE>
<MAGNETO_ID>RIGHT</MAGNETO_ID>
<NODE_ID>ENGINE_Switch_Ignition_2</NODE_ID>
<ANIM_NAME>ENGINE_Switch_Ignition_2</ANIM_NAME>
<PART_ID>ENGINE_Switch_Magneto_2</PART_ID>
<TT_DESCRIPTION_ID>@TT_Package.ENGINE_MAGNETO_STATE_ACTION_SET_LR</TT_DESCRIPTION_ID>
<TT_DESCRIPTION_INDEX>(R:1:@TT_Package.GT_STATE_RIGHT)</TT_DESCRIPTION_INDEX>
</UseTemplate>
However applying this code to a multi engine project there is a mis match between what the <MAGNETO_ID> and <MAGNETO_SIDE> functionality. Notice in the cub the <MAGNETO_ID> is left or right!. But logically and used by all the other mag switches as an indicator for the engine that the mag is linked to. So setting the <MAGNETO_ID> to 1,2,3 or 4 breaks the code. And trying to set <MAGNETO_SIDE> to left or right breaks also.
Am I missing something? The Microsoft Aero145 has mags for two engines, however the code is DRM’d. Any is there ASOBO code used in that product or is it proprietary?
Repro steps:
Attachments:
Private attachments: Send a PM to @PrivateContent with the link to this topic and the link to download your content