[Go back to index]

Asobo\Airliner\AirlinerCommon.xml

Source XML
<ModelBehaviors> <Include ModelBehaviorFile="Asobo\Generic.xml"/> <Include RelativeFile="Inputs\\Airliner_Inputs.xml"/> <Include ModelBehaviorFile="Asobo\TRANSPONDER\Transponder.xml"/> <!-- ################################## AIRLINER ################################## --> <!-- ############################################################################## --> <Template Name="ASOBO_AIRLINER_ATC_BUTTON_Template"> <Parameters Type="Default"> <Condition Valid="SEQ_1"> <True> <SEQ1_SUFFIX>_SEQ1</SEQ1_SUFFIX> </True> <False> <NO_SEQ1/> </False> </Condition> </Parameters> <Parameters Type="Default"> <NODE_ID>#BUTTON_NAME#</NODE_ID> <ANIM_NAME>#BUTTON_NAME#</ANIM_NAME> <Condition Valid="SEQ_1"> <NODE_ID_SEQ1>#BUTTON_NAME##SEQ1_SUFFIX#</NODE_ID_SEQ1> </Condition> <EVENT_TYPE>H</EVENT_TYPE> <EVENT_NAME>#EVENT_TARGET#_BTN_#BUTTON_ID#</EVENT_NAME> <WWISE_PREFIX>atc</WWISE_PREFIX> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <IE_NAME>#BUTTON_ID#</IE_NAME> <INPUT_EVENT_ID_SOURCE>AIRLINER_ATC</INPUT_EVENT_ID_SOURCE> <SET_STATE_EXTERNAL>if{ (&gt;#EVENT_TYPE#:#EVENT_NAME#) }</SET_STATE_EXTERNAL> </UseTemplate> <Condition Valid="SEQ_1"> <Component ID="#NODE_ID_SEQ1#" Node="#NODE_ID_SEQ1#"> <Switch> <Case Check="POTENTIOMETER"> <UseTemplate Name="ASOBO_GT_Emissive_Potentiometer"/> </Case> <Case Check="SIMVAR_POWER_SETTING"> <UseTemplate Name="ASOBO_GT_Emissive_Power_Setting"/> </Case> </Switch> </Component> </Condition> </Template> <Template Name="ASOBO_AIRLINER_ATC_Template"> <Parameters Type="Default"> <PUSH_BTN_PREFIX>AIRLINER_ATC_Push_</PUSH_BTN_PREFIX> <PUSH_BTN_SUFFIX/> </Parameters> <Parameters Type="Default"> <WWISE_PREFIX>atc_transponder</WWISE_PREFIX> <Switch Param="TYPE"> <Case Value="BOEING"> <BUTTON_IDENT_NAME>#PUSH_BTN_PREFIX#Ident#PUSH_BTN_SUFFIX#</BUTTON_IDENT_NAME> <KNOB_ABVBLW_NAME>AIRLINER_ATC_Knob_</KNOB_ABVBLW_NAME> <!-- not used --> <KNOB_IDENT_NAME>atc_transponder_push_ident</KNOB_IDENT_NAME> <KNOB_XPNDR_NAME>atc_transponder_knob_ident</KNOB_XPNDR_NAME> <EVENT_TARGET>B747_8_ATC</EVENT_TARGET> </Case> <Case Value="AIRBUS"> <BUTTON_IDENT_NAME>#PUSH_BTN_PREFIX#Ident#PUSH_BTN_SUFFIX#</BUTTON_IDENT_NAME> <KNOB_XPNDR_MODE_NODE_ID>Knob_ATC_STBY</KNOB_XPNDR_MODE_NODE_ID> <KNOB_XPNDR_MODE_ANIM_NAME>Knob_ATC_STBY</KNOB_XPNDR_MODE_ANIM_NAME> <KNOB_XPNDR_THRT_NODE_ID>KNOB_ATC_THRT</KNOB_XPNDR_THRT_NODE_ID> <KNOB_XPNDR_THRT_ANIM_NAME>KNOB_ATC_THRT</KNOB_XPNDR_THRT_ANIM_NAME> <KNOB_XPNDR_ON_OFF_NODE_ID>Knob_ATC_ALT</KNOB_XPNDR_ON_OFF_NODE_ID> <KNOB_XPNDR_ON_OFF_ANIM_NAME>Knob_ATC_ALT</KNOB_XPNDR_ON_OFF_ANIM_NAME> <EVENT_TARGET>A320_Neo_ATC</EVENT_TARGET> <WWISE_EVENT>atc_thrt_knob</WWISE_EVENT> <COUNT>3</COUNT> </Case> </Switch> </Parameters> <Parameters Type="Override"> <ATC_BUTTON_COUNT>7</ATC_BUTTON_COUNT> <Switch Param="TYPE"> <Case Value="BOEING"> <SET_TRANSPONDER_STATE>(&gt;A:TRANSPONDER STATE:1, Enum)</SET_TRANSPONDER_STATE> <GET_TRANSPONDER_STATE>(A:TRANSPONDER STATE:1, Enum)</GET_TRANSPONDER_STATE> <ENUM_VAL_STBY>1</ENUM_VAL_STBY> <ENUM_VAL_ALT>4</ENUM_VAL_ALT> <ENUM_VAL_ON>3</ENUM_VAL_ON> <KNOB_XPNDR_NODE_ID>#KNOB_XPNDR_NAME#</KNOB_XPNDR_NODE_ID> <KNOB_XPNDR_ANIM_NAME>#KNOB_XPNDR_NAME#</KNOB_XPNDR_ANIM_NAME> </Case> </Switch> </Parameters> <Component ID="AIRLINER_ATC_Shared_Components"> <Loop> <Setup> <Param>CUR_ID</Param> <From>0</From> <Inc>1</Inc> <To>#ATC_BUTTON_COUNT#</To> </Setup> <Do> <UseTemplate Name="ASOBO_AIRLINER_ATC_BUTTON_Template"> <BUTTON_ID>#CUR_ID#</BUTTON_ID> <BUTTON_NAME>#PUSH_BTN_PREFIX##CUR_ID##PUSH_BTN_SUFFIX#</BUTTON_NAME> <TT_DESCRIPTION_ID>@TT_Package.FMC_PUSH_CHAR_ACTION</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>(R:1:@TT_Package.GT_STATE_XPNDR) '#CUR_ID#'</TT_DESCRIPTION_INDEX> <TOOLTIP_DISABLED>True</TOOLTIP_DISABLED> <SEQ_1>True</SEQ_1> </UseTemplate> </Do> </Loop> <UseTemplate Name="ASOBO_AIRLINER_ATC_BUTTON_Template"> <BUTTON_NAME>#PUSH_BTN_PREFIX#CLR#PUSH_BTN_SUFFIX#</BUTTON_NAME> <BUTTON_ID>CLR</BUTTON_ID> <TT_DESCRIPTION_ID>@TT_Package.TRANSPONDER_PUSH_CLR_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.TRANSPONDER_PUSH_CLR_TITLE</TOOLTIP_TITLE> <SEQ_1>True</SEQ_1> </UseTemplate> </Component> <Switch Param="TYPE"> <Case Value="BOEING"> <UseTemplate Name="ASOBO_AIRLINER_ATC_Transponder_Mode_Knob_Template"> <NODE_ID>#KNOB_XPNDR_NODE_ID#</NODE_ID> <ANIM_NAME>#KNOB_XPNDR_ANIM_NAME#</ANIM_NAME> <TOOLTIP_TITLE>@TT_Package.TRANSPONDER_KNOB_MODE_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.TRANSPONDER_KNOB_MODE_ACTION_SET</TT_DESCRIPTION_ID> </UseTemplate> <UseTemplate Name="ASOBO_AIRLINER_ATC_BUTTON_Template"> <BUTTON_NAME>#KNOB_IDENT_NAME#</BUTTON_NAME> <BUTTON_ID>IDENT</BUTTON_ID> <TOOLTIP_TITLE>@TT_Package.TRANSPONDER_PUSH_IDT_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.TRANSPONDER_PUSH_IDT_ACTION</TT_DESCRIPTION_ID> <EVENT_TYPE>K</EVENT_TYPE> <EVENT_NAME>XPNDR_IDENT_ON</EVENT_NAME> <TT_VALUE>(A:TRANSPONDER IDENT:1, Bool) @TT_OnOff_Cond</TT_VALUE> <TT_VALUE_IS_DYNAMIC>True</TT_VALUE_IS_DYNAMIC> </UseTemplate> </Case> <Case Value="AIRBUS"> <UseTemplate Name="ASOBO_AIRLINER_ATC_BUTTON_Template"> <BUTTON_NAME>#BUTTON_IDENT_NAME#</BUTTON_NAME> <BUTTON_ID>IDENT</BUTTON_ID> <TOOLTIP_TITLE>@TT_Package.TRANSPONDER_PUSH_IDT_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.TRANSPONDER_PUSH_IDT_ACTION</TT_DESCRIPTION_ID> <EVENT_TYPE>K</EVENT_TYPE> <EVENT_NAME>XPNDR_IDENT_ON</EVENT_NAME> <TT_VALUE>(A:TRANSPONDER IDENT:1, Bool) @TT_OnOff_Cond</TT_VALUE> <TT_VALUE_IS_DYNAMIC>True</TT_VALUE_IS_DYNAMIC> </UseTemplate> <Component ID="ATC_Knobs"> <Parameters Type="Override"> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <KNOB_TYPE>X_STATES</KNOB_TYPE> <INPUT_EVENT_ID_SOURCE>AIRLINER_ATC</INPUT_EVENT_ID_SOURCE> <STATE_VAR_NAME_AUTO>XMLVAR_Transponder_Mode_Is_Auto</STATE_VAR_NAME_AUTO> <STATE_VAR_NAME_THRT>XMLVAR_XPNDR_THRT_Switch</STATE_VAR_NAME_THRT> <STATE_VAR_NAME_ALT>XMLVAR_ALT_Mode_Requested</STATE_VAR_NAME_ALT> </Parameters> <Component ID="ATC_Knob_Mode"> <Parameters Type="Default"> <POS_STBY>0</POS_STBY> <POS_AUTO>1</POS_AUTO> <POS_ON>2</POS_ON> </Parameters> <Parameters Type="Override"> <ENABLE_AUTO_MODE>1 (&gt;L:#STATE_VAR_NAME_AUTO#)</ENABLE_AUTO_MODE> <DISABLE_AUTO_MODE>0 (&gt;L:#STATE_VAR_NAME_AUTO#)</DISABLE_AUTO_MODE> <IS_AUTO_MODE>(L:#STATE_VAR_NAME_AUTO#)</IS_AUTO_MODE> <ENUM_VAL_STBY>1</ENUM_VAL_STBY> <ENUM_VAL_ON>4 3 (L:#STATE_VAR_NAME_ALT#) ?</ENUM_VAL_ON> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>Mode</IE_NAME> <NUM_STATES>3</NUM_STATES> <NODE_ID>#KNOB_XPNDR_MODE_NODE_ID#</NODE_ID> <ANIM_NAME>#KNOB_XPNDR_MODE_ANIM_NAME#</ANIM_NAME> <TOOLTIP_TITLE>@TT_Package.TRANSPONDER_KNOB_MODE_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.TRANSPONDER_KNOB_MODE_ACTION_SET</TT_DESCRIPTION_ID> <SET_STATE_#POS_STBY#>#DISABLE_AUTO_MODE# #ENUM_VAL_STBY# (&gt;A:TRANSPONDER STATE:1, Enum)</SET_STATE_#POS_STBY#> <SET_STATE_#POS_AUTO#>#ENABLE_AUTO_MODE#</SET_STATE_#POS_AUTO#> <SET_STATE_#POS_ON#>#DISABLE_AUTO_MODE# #ENUM_VAL_ON# (&gt;A:TRANSPONDER STATE:1, Enum)</SET_STATE_#POS_ON#> <TT_VALUE_#POS_STBY#>@TT_Package.GT_STATE_STANDBY</TT_VALUE_#POS_STBY#> <TT_VALUE_#POS_AUTO#>@TT_Package.GT_STATE_AUTO</TT_VALUE_#POS_AUTO#> <TT_VALUE_#POS_ON#>@TT_Package.GT_STATE_ON</TT_VALUE_#POS_ON#> <STR_STATE_#POS_STBY#>Standby</STR_STATE_#POS_STBY#> <STR_STATE_#POS_AUTO#>Auto</STR_STATE_#POS_AUTO#> <STR_STATE_#POS_ON#>On</STR_STATE_#POS_ON#> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_NAME_AUTO#</LOCAL_VAR_TO_WATCH_0> <LOCAL_VAR_TO_WATCH_1>#STATE_VAR_NAME_ALT#</LOCAL_VAR_TO_WATCH_1> <SIMVAR_TO_WATCH_0>GENERAL ENG COMBUSTION:1</SIMVAR_TO_WATCH_0> <SIMVAR_TO_WATCH_1>GENERAL ENG COMBUSTION:2</SIMVAR_TO_WATCH_1> <SIMVAR_TO_WATCH_2>TRANSPONDER STATE:1</SIMVAR_TO_WATCH_2> <GET_STATE_EXTERNAL>(A:TRANSPONDER STATE:1, Enum) sp0 #IS_AUTO_MODE# sp1</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL> l1 if{ #ENUM_VAL_ON# #ENUM_VAL_STBY# (A:GENERAL ENG COMBUSTION:1, Bool) (A:GENERAL ENG COMBUSTION:2, Bool) or ? s3 (A:TRANSPONDER STATE:1, Enum) != if{ l3 (&gt;A:TRANSPONDER STATE:1, Enum) } #POS_AUTO# sp2 } els{ #POS_STBY# #POS_ON# l0 #ENUM_VAL_STBY# == ? sp2 #POS_ON# l2 == if{ (A:TRANSPONDER STATE:1, Enum) #ENUM_VAL_ON# != if{ #ENUM_VAL_ON# (&gt;A:TRANSPONDER STATE:1, Enum) } } } l2 </ENUM_VAL_TO_POS_EXTERNAL> </UseTemplate> </Component> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>Active</IE_NAME> <NUM_STATES>2</NUM_STATES> <TOOLTIP_TITLE>@TT_Package.TRANSPONDER_KNOB_RPTG_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.TRANSPONDER_KNOB_RPTG_ACTION</TT_DESCRIPTION_ID> <NODE_ID>#KNOB_XPNDR_ON_OFF_NODE_ID#</NODE_ID> <ANIM_NAME>#KNOB_XPNDR_ON_OFF_ANIM_NAME#</ANIM_NAME> <SET_STATE_EXTERNAL>p0 (&gt;L:#STATE_VAR_NAME_ALT#)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:#STATE_VAR_NAME_ALT#) sp0</GET_STATE_EXTERNAL> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_NAME_ALT#</LOCAL_VAR_TO_WATCH_0> </UseTemplate> <UseTemplate Name="ASOBO_GT_Interaction_Tooltip"> <NODE_ID>#KNOB_XPNDR_THRT_NODE_ID#</NODE_ID> </UseTemplate> </Component> </Case> </Switch> </Template> <Template Name="ASOBO_AIRLINER_ATC_Transponder_Mode_Knob_Template"> <Parameters Type="Default"> <NODE_ID>AIRLINER_ATC_Transponder_Mode_Knob</NODE_ID> <ANIM_NAME>AIRLINER_ATC_Transponder_Mode_Knob</ANIM_NAME> <SET_TRANSPONDER_STATE>(&gt;A:TRANSPONDER STATE:1, Enum)</SET_TRANSPONDER_STATE> <GET_TRANSPONDER_STATE>(A:TRANSPONDER STATE:1, Enum)</GET_TRANSPONDER_STATE> <TRANSPONDER_SIMVAR>TRANSPONDER STATE:1</TRANSPONDER_SIMVAR> <POS_STBY>0</POS_STBY> <POS_XPNDR>1</POS_XPNDR> <POS_TA>2</POS_TA> <POS_TARA>3</POS_TARA> <POS_ALT>4</POS_ALT> <ON_POS_STBY>0 (&gt;I:XMLVAR_IDENT_Shutdown_Time)</ON_POS_STBY> <ON_POS_XPNDR/> <ON_POS_TA/> <ON_POS_TARA/> <ON_POS_ALT/> <ENUM_VAL_STBY>1</ENUM_VAL_STBY> <ENUM_VAL_ALT>4</ENUM_VAL_ALT> <ENUM_VAL_ON>3</ENUM_VAL_ON> <Condition Valid="IDENT"> <ANIM_NAME_PUSH>AIRLINER_ATC_Transponder_Mode_Knob_Push</ANIM_NAME_PUSH> <TT_DESCRIPTION_ID_IDENT>@TT_Package.TRANSPONDER_PUSH_IDT_ACTION</TT_DESCRIPTION_ID_IDENT> <WWISE_PUSH_EVENT_1>transponder_push_on</WWISE_PUSH_EVENT_1> <WWISE_PUSH_EVENT_2>transponder_push_off</WWISE_PUSH_EVENT_2> </Condition> <WWISE_PREFIX>transponder</WWISE_PREFIX> </Parameters> <Parameters Type="Override"> <STATE_VAR_MODE>XMLVAR_Transponder_Mode</STATE_VAR_MODE> <IE_NAME>Mode</IE_NAME> <INPUT_EVENT_ID_SOURCE>AIRLINER_ATC</INPUT_EVENT_ID_SOURCE> <Condition Valid="IDENT"> <IE_NAME_IDENT>Ident</IE_NAME_IDENT> <BUTTON_ID>IDENT</BUTTON_ID> </Condition> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <Condition Valid="IDENT"> <UseTemplate Name="ASOBO_AIRLINER_Push_Event_Base_Template"> <IE_NAME>#IE_NAME_IDENT#</IE_NAME> <ON_PUSH_EVENT>(&gt;H:#EVENT_TARGET#_BTN_#BUTTON_ID#)</ON_PUSH_EVENT> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_IDENT#</TT_DESCRIPTION_ID> </UseTemplate> </Condition> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <CREATE_COMPONENT>False</CREATE_COMPONENT> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <KNOB_TYPE>X_STATES</KNOB_TYPE> <NUM_STATES>5</NUM_STATES> <STR_STATE_#POS_STBY#>STBY</STR_STATE_#POS_STBY#> <STR_STATE_#POS_XPNDR#>XPNDR</STR_STATE_#POS_XPNDR#> <STR_STATE_#POS_TA#>TA</STR_STATE_#POS_TA#> <STR_STATE_#POS_TARA#>TARA</STR_STATE_#POS_TARA#> <STR_STATE_#POS_ALT#>ALT</STR_STATE_#POS_ALT#> <TT_VALUE_#POS_STBY#>@TT_Package.GT_STATE_STANDBY</TT_VALUE_#POS_STBY#> <TT_VALUE_#POS_XPNDR#>@TT_Package.GT_STATE_XPNDR</TT_VALUE_#POS_XPNDR#> <TT_VALUE_#POS_TA#>@TT_Package.GT_STATE_TA</TT_VALUE_#POS_TA#> <TT_VALUE_#POS_TARA#>@TT_Package.GT_STATE_TARA</TT_VALUE_#POS_TARA#> <TT_VALUE_#POS_ALT#>@TT_Package.GT_STATE_ALT</TT_VALUE_#POS_ALT#> <SET_STATE_#POS_STBY#>0 (&gt;L:#STATE_VAR_MODE#) #ENUM_VAL_STBY# #SET_TRANSPONDER_STATE# #ON_POS_STBY#</SET_STATE_#POS_STBY#> <SET_STATE_#POS_XPNDR#>1 (&gt;L:#STATE_VAR_MODE#) #ENUM_VAL_ALT# #SET_TRANSPONDER_STATE# #ON_POS_XPNDR#</SET_STATE_#POS_XPNDR#> <SET_STATE_#POS_TA#>2 (&gt;L:#STATE_VAR_MODE#) #ENUM_VAL_ALT# #SET_TRANSPONDER_STATE# #ON_POS_TA#</SET_STATE_#POS_TA#> <SET_STATE_#POS_TARA#>3 (&gt;L:#STATE_VAR_MODE#) #ENUM_VAL_ALT# #SET_TRANSPONDER_STATE# #ON_POS_TARA#</SET_STATE_#POS_TARA#> <SET_STATE_#POS_ALT#>0 (&gt;L:#STATE_VAR_MODE#) #ENUM_VAL_ON# #SET_TRANSPONDER_STATE# #ON_POS_ALT#</SET_STATE_#POS_ALT#> <PART_ID>TRANSPONDER_KNOB</PART_ID> <GET_STATE_EXTERNAL>(L:#STATE_VAR_MODE#) sp0 #GET_TRANSPONDER_STATE# sp1</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL> l0 0 &gt; if{ l0 1 == if{ #POS_XPNDR# sp2 g1 } l0 2 == if{ #POS_TA# sp2 g1 } l0 3 == if{ #POS_TARA# sp2 g1 } } els{ #POS_STBY# #POS_ALT# l1 #ENUM_VAL_STBY# == ? sp2 g1 } :1 l2 </ENUM_VAL_TO_POS_EXTERNAL> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_MODE#</LOCAL_VAR_TO_WATCH_0> <SIMVAR_TO_WATCH_0>#TRANSPONDER_SIMVAR#</SIMVAR_TO_WATCH_0> <Condition Valid="IDENT"> <ON_PRIMARY_EVENT>(&gt;B:#INPUT_EVENT_ID_SOURCE#_#IE_NAME_IDENT#_Push) (E:SIMULATION TIME, second) 0.5 + (&gt;O:_ReleaseTime)</ON_PRIMARY_EVENT> <IE_ID_EXTERNAL_0>#IE_NAME_IDENT#</IE_ID_EXTERNAL_0> <ANIM_CODE_PUSH>(O:_PushAnimVar) 0 &gt; if{ (E:SIMULATION TIME, second) (O:_ReleaseTime) &gt; if{ 0 (&gt;O:_PushAnimVar) } } (O:_PushAnimVar)</ANIM_CODE_PUSH> </Condition> </UseTemplate> </Component> </Template> <Template Name="ASOBO_AIRLINER_Update_Shutdown_Lights_On_Takeoff"> <Parameters Type="Default"> <LIGHT_TYPE_1/> <LIGHT_TYPE_2/> <LIGHT_TYPE_3/> </Parameters> <UseTemplate Name="ASOBO_GT_Helper_Recursive_Param_Builder"> <PARAM_REPEATED_START>0 (&gt;K:</PARAM_REPEATED_START> <PARAM_REPEATED_END>) </PARAM_REPEATED_END> <PARAM_NAME>UPDATE_CODE</PARAM_NAME> <PARAM_START> (A:SIM ON GROUND, Bool) s1 ! (O:XMLVAR_IsOnGround) and if{ </PARAM_START> <PARAM_END> } l1 (&gt;O:XMLVAR_IsOnGround) </PARAM_END> <Condition Valid="LIGHT_TYPE_1"> <True> <ID>#LIGHT_TYPE_1#_LIGHTS_SET</ID> <Condition Valid="LIGHT_TYPE_2"> <True> <ID2>#LIGHT_TYPE_2#_LIGHTS_SET</ID2> <Condition Valid="LIGHT_TYPE_3"> <True> <ID3>#LIGHT_TYPE_2#_LIGHTS_SET</ID3> </True> </Condition> </True> </Condition> </True> </Condition> <EXIT_TEMPLATE>ASOBO_GT_Update</EXIT_TEMPLATE> <FREQUENCY>1</FREQUENCY> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Update_Set_Potentiometer_On_Takeoff"> <Parameters Type="Default"> <POTENTIOMETER_AIR_VALUE>0</POTENTIOMETER_AIR_VALUE> <POTENTIOMETER_GROUND_VALUE>100</POTENTIOMETER_GROUND_VALUE> </Parameters> <!-- XMLVAR_IsOnGround value : 0 = Not Init, 1 = False, 2 = True --> <UseTemplate Name="ASOBO_GT_Update"> <UPDATE_CODE> (A:SIM ON GROUND, Bool) s1 ! (O:XMLVAR_IsOnGround) 1 != and if{ #POTENTIOMETER_AIR_VALUE# #POTENTIOMETER# (&gt;K:2:LIGHT_POTENTIOMETER_SET) } els{ l1 (O:XMLVAR_IsOnGround) 2 != and if{ #POTENTIOMETER_GROUND_VALUE# #POTENTIOMETER# (&gt;K:2:LIGHT_POTENTIOMETER_SET) } } l1 1 + (&gt;O:XMLVAR_IsOnGround) </UPDATE_CODE> <FREQUENCY>1</FREQUENCY> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Update_Set_Potentiometer_On_Gears_Up"> <Parameters Type="Default"> <POTENTIOMETER_GEAR_UP_VALUE>50</POTENTIOMETER_GEAR_UP_VALUE> <POTENTIOMETER_GEAR_DOWN_VALUE>100</POTENTIOMETER_GEAR_DOWN_VALUE> </Parameters> <!-- XMLVAR_IsGearDown value : 0 = Not Init, 1 = False, 2 = True --> <UseTemplate Name="ASOBO_GT_Update"> <UPDATE_CODE> (A:GEAR HANDLE POSITION, Bool) s1 ! (O:XMLVAR_IsGearDown) 1 != and if{ #POTENTIOMETER_GEAR_UP_VALUE# #POTENTIOMETER# (&gt;K:2:LIGHT_POTENTIOMETER_SET) } els{ l1 (O:XMLVAR_IsGearDown) 2 != and if{ #POTENTIOMETER_GEAR_DOWN_VALUE# #POTENTIOMETER# (&gt;K:2:LIGHT_POTENTIOMETER_SET) } } l1 1 + (&gt;O:XMLVAR_IsGearDown) </UPDATE_CODE> <FREQUENCY>1</FREQUENCY> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_GlassCockpit_Push_Template"> <Parameters Type="Default"> <NODE_ID>AIRBUS_Push_Autopilot_#ID_BTN#_#ID#</NODE_ID> <ANIM_NAME>AIRBUS_Push_Autopilot_#ID_BTN#_#ID#</ANIM_NAME> <PART_ID>AIRBUS_Push_Autopilot_#ID_BTN#</PART_ID> <ONOFF_VARIABLE>BTN_#ID_BTN#_FILTER_ACTIVE</ONOFF_VARIABLE> </Parameters> <Parameters Type="Default"> <SEQ1_NOT_DIMMABLE>True</SEQ1_NOT_DIMMABLE> <SEQ1_NODE_ID>#NODE_ID#_SEQ1</SEQ1_NODE_ID> <SEQ2_NODE_ID>#NODE_ID#_SEQ2</SEQ2_NODE_ID> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <WWISE_PREFIX>AIRBUS</WWISE_PREFIX> <IS_AIRLINER>True</IS_AIRLINER> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <WWISE_PREFIX>autopilot</WWISE_PREFIX> <IE_NAME>#ID_BTN#</IE_NAME> <SET_STATE_EXTERNAL>p0 (L:#ONOFF_VARIABLE#) != if{ (&gt;H:#PLANE_PREFIX#_MFD_BTN_#ID_BTN#) (&gt;H:#PLANE_PREFIX#_PFD_BTN_#ID_BTN#) }</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:#ONOFF_VARIABLE#) sp0</GET_STATE_EXTERNAL> <SEQ1_EMISSIVE_CODE>(L:#ONOFF_VARIABLE#)</SEQ1_EMISSIVE_CODE> <LOCAL_VAR_TO_WATCH_0>#ONOFF_VARIABLE#</LOCAL_VAR_TO_WATCH_0> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Knob_ND_Cursor_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <Parameters Type="Default"> <NODE_ID>AIRLINER_Knob_ND_Cursor_#ID#</NODE_ID> <ANIM_NAME>AIRLINER_Knob_ND_Cursor_#ID#</ANIM_NAME> <PART_ID>AIRLINER_Knob_ND_Cursor</PART_ID> <BUTTON_NODE_ID>AIRLINER_Knob_ND_Cursor_#ID#_Push</BUTTON_NODE_ID> <BUTTON_ANIM_NAME>AIRLINER_Knob_ND_Cursor_#ID#_Push</BUTTON_ANIM_NAME> <WWISE_PREFIX>autopilot_knob</WWISE_PREFIX> <WWISE_EVENT>autopilot_knob</WWISE_EVENT> <TOOLTIP_TITLE>@TT_Package.AIRLINER_ND_CURSOR_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_ND_CURSOR_ACTION</TT_DESCRIPTION_ID> <Switch Param="TYPE"> <Case Value="AS01B"> <ON_PUSH_EVENT>(&gt;H:AS01B_MFD_#ID#_Cursor_Press)</ON_PUSH_EVENT> <TT_DESCRIPTION_ID_PUSH>@TT_Package.AIRLINER_ND_CURSOR_ACTION_PUSH</TT_DESCRIPTION_ID_PUSH> </Case> </Switch> </Parameters> <Component ID="#NODE_ID#_Group"> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>ND_Cursor</IE_NAME> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <IS_INFINITE>True</IS_INFINITE> <SET_STATE_EXTERNAL>p0 0 &gt; if{ (&gt;H:AS01B_MFD_#ID#_Cursor_INC) } els{ (&gt;H:AS01B_MFD_#ID#_Cursor_DEC) }</SET_STATE_EXTERNAL> </UseTemplate> <Condition NotEmpty="ON_PUSH_EVENT"> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>ND_Cursor_Button</IE_NAME> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <ANIM_NAME>#BUTTON_ANIM_NAME#</ANIM_NAME> <NODE_ID>#BUTTON_NODE_ID#</NODE_ID> <SET_STATE_EXTERNAL>if{ #ON_PUSH_EVENT# }</SET_STATE_EXTERNAL> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_PUSH#</TT_DESCRIPTION_ID> </UseTemplate> </Condition> </Component> </Template> <Template Name="ASOBO_AIRLINER_Knob_ND_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <Parameters Type="Default"> <WWISE_PREFIX>autopilot_knob</WWISE_PREFIX> <WWISE_EVENT>autopilot_knob</WWISE_EVENT> <NODE_ID>AIRLINER_Knob_Autopilot_ND_#ID#</NODE_ID> <ANIM_NAME>AIRLINER_Knob_Autopilot_ND_#ID#</ANIM_NAME> <PART_ID>AIRLINER_Knob_Autopilot_ND</PART_ID> <BUTTON_NODE_ID>AIRLINER_Knob_Autopilot_ND_#ID#_Push</BUTTON_NODE_ID> <BUTTON_ANIM_NAME>AIRLINER_Knob_Autopilot_ND_#ID#_Push</BUTTON_ANIM_NAME> <TOOLTIP_TITLE>@TT_Package.AIRLINER_KNOB_ND_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_KNOB_ND_ACTION_MODE</TT_DESCRIPTION_ID> <IE_NAME>ROSE_Mode</IE_NAME> <Switch Param="TYPE"> <Case Value="AIRBUS"> <STR_STATE_0>LS</STR_STATE_0> <STR_STATE_1>VOR</STR_STATE_1> <STR_STATE_2>NAV</STR_STATE_2> <STR_STATE_3>ARC</STR_STATE_3> <STR_STATE_4>PLAN</STR_STATE_4> <NUM_STATES>5</NUM_STATES> <NAV_MODE_VAR>A320_Neo_MFD_NAV_MODE</NAV_MODE_VAR> </Case> <Case Value="BOEING_747"> <STR_STATE_0>APP</STR_STATE_0> <STR_STATE_1>VOR</STR_STATE_1> <STR_STATE_2>MAP</STR_STATE_2> <STR_STATE_3>PLN</STR_STATE_3> <NUM_STATES>4</NUM_STATES> <NAV_MODE_VAR>B747_8_MFD_NAV_MODE</NAV_MODE_VAR> <TT_DESCRIPTION_ID_PUSH>@TT_Package.AIRLINER_KNOB_ND_CTR_ACTION</TT_DESCRIPTION_ID_PUSH> <ON_PUSH_EVENT>(&gt;H:B747_8_MFD_KNOB_AUTOPILOT_CTR)</ON_PUSH_EVENT> <PUSH_IE_NAME>AP_CTR</PUSH_IE_NAME> </Case> </Switch> </Parameters> <Component ID="#NODE_ID#_Group"> <Parameters Type="Override"> <MAX_POS Process="Int">#NUM_STATES# 1 -</MAX_POS> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <KNOB_TYPE>X_STATES</KNOB_TYPE> <Loop> <Setup> <Param>CUR_ID</Param> <From>0</From> <Inc>1</Inc> <To>#MAX_POS#</To> </Setup> <Do> <Parameters Type="Override"> <STR_STATE Process="Param">STR_STATE_#CUR_ID#</STR_STATE> </Parameters> <TT_VALUE_#CUR_ID#>'#STR_STATE#'</TT_VALUE_#CUR_ID#> <TT_VALUE_#CUR_ID#_IS_DYNAMIC>True</TT_VALUE_#CUR_ID#_IS_DYNAMIC> </Do> </Loop> <SET_STATE_EXTERNAL>p0 (&gt;L:#NAV_MODE_VAR#)</SET_STATE_EXTERNAL> <LOCAL_VAR_TO_WATCH_0>#NAV_MODE_VAR#</LOCAL_VAR_TO_WATCH_0> <GET_STATE_EXTERNAL>(L:#NAV_MODE_VAR#) sp0</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL>l0</ENUM_VAL_TO_POS_EXTERNAL> </UseTemplate> <Condition Valid="ON_PUSH_EVENT"> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <SET_STATE_EXTERNAL>if{ #ON_PUSH_EVENT# }</SET_STATE_EXTERNAL> <IE_NAME>#PUSH_IE_NAME#</IE_NAME> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_PUSH#</TT_DESCRIPTION_ID> <NODE_ID>#BUTTON_NODE_ID#</NODE_ID> <ANIM_NAME>#BUTTON_ANIM_NAME#</ANIM_NAME> <NUM_STATES>2</NUM_STATES> </UseTemplate> </Condition> </Component> </Template> <Template Name="ASOBO_AIRLINER_Knob_ND_Range_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <Parameters Type="Default"> <WWISE_PREFIX>autopilot_knob</WWISE_PREFIX> <WWISE_EVENT>autopilot_knob</WWISE_EVENT> <NODE_ID>AIRLINER_Knob_Autopilot_ND_Range_#ID#</NODE_ID> <ANIM_NAME>AIRLINER_Knob_Autopilot_ND_Range_#ID#</ANIM_NAME> <PART_ID>AIRLINER_Knob_Autopilot_ND_Range</PART_ID> <BUTTON_NODE_ID>AIRLINER_Knob_Autopilot_ND_Range_#ID#_Push</BUTTON_NODE_ID> <BUTTON_ANIM_NAME>AIRLINER_Knob_Autopilot_ND_Range_#ID#_Push</BUTTON_ANIM_NAME> <TOOLTIP_TITLE>@TT_Package.AIRLINER_KNOB_ND_RANGE_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_KNOB_ND_RANGE_ACTION</TT_DESCRIPTION_ID> <IE_NAME>ND_Range_#ID#</IE_NAME> <Switch Param="TYPE"> <Case Value="AIRBUS"> <NM_STATE_0>10</NM_STATE_0> <NM_STATE_1>20</NM_STATE_1> <NM_STATE_2>40</NM_STATE_2> <NM_STATE_3>80</NM_STATE_3> <NM_STATE_4>160</NM_STATE_4> <NM_STATE_5>320</NM_STATE_5> <NUM_STATES>6</NUM_STATES> <ND_VAR>A320_Neo_MFD_Range</ND_VAR> </Case> <Case Value="BOEING_747"> <NM_STATE_0>0.25</NM_STATE_0> <NM_STATE_1>0.5</NM_STATE_1> <NM_STATE_2>1</NM_STATE_2> <NM_STATE_3>2</NM_STATE_3> <NM_STATE_4>5</NM_STATE_4> <NM_STATE_5>10</NM_STATE_5> <NM_STATE_6>20</NM_STATE_6> <NM_STATE_7>40</NM_STATE_7> <NM_STATE_8>80</NM_STATE_8> <NM_STATE_9>160</NM_STATE_9> <NM_STATE_10>320</NM_STATE_10> <NM_STATE_11>640</NM_STATE_11> <NUM_STATES>12</NUM_STATES> <ND_VAR>B747_8_MFD_Range</ND_VAR> <TT_DESCRIPTION_ID_PUSH>@TT_Package.AIRLINER_KNOB_ND_TFC_ACTION</TT_DESCRIPTION_ID_PUSH> <ON_PUSH_EVENT>(&gt;H:B747_8_MFD_KNOB_RANGE_TFC)</ON_PUSH_EVENT> <PUSH_IE_NAME>ND_Range_TFC</PUSH_IE_NAME> </Case> <Case Value="AS01B"> <TT_DESCRIPTION_ID_PUSH>@TT_Package.AIRLINER_KNOB_ND_CTR_ACTION</TT_DESCRIPTION_ID_PUSH> <IE_CW_CODE>(&gt;H:AS01B_MFD_#ID#_Range_INC)</IE_CW_CODE> <IE_CCW_CODE>(&gt;H:AS01B_MFD_#ID#_Range_DEC)</IE_CCW_CODE> <ON_PUSH_EVENT>(&gt;H:AS01B_MFD_#ID#_AUTOPILOT_CTR)</ON_PUSH_EVENT> <PUSH_IE_NAME>ND_Range_CTR</PUSH_IE_NAME> <COUNT>36</COUNT> </Case> </Switch> </Parameters> <Component ID="#NODE_ID#_Group"> <Parameters Type="Override"> <Condition NotEmpty="NUM_STATES"> <MAX_POS Process="Int">#NUM_STATES# 1 -</MAX_POS> </Condition> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <Condition NotEmpty="NUM_STATES"> <True> <KNOB_TYPE>X_STATES</KNOB_TYPE> <Loop> <Setup> <Param>CUR_ID</Param> <From>0</From> <Inc>1</Inc> <To>#MAX_POS#</To> </Setup> <Do> <Parameters Type="Override"> <NM_STATE Process="Param">NM_STATE_#CUR_ID#</NM_STATE> </Parameters> <STR_STATE_#CUR_ID#>Set_#NM_STATE#_NM</STR_STATE_#CUR_ID#> <TT_VALUE_#CUR_ID#>'#NM_STATE# NM'</TT_VALUE_#CUR_ID#> <TT_VALUE_#CUR_ID#_IS_DYNAMIC>True</TT_VALUE_#CUR_ID#_IS_DYNAMIC> </Do> </Loop> <SET_STATE_EXTERNAL>p0 (&gt;L:#ND_VAR#)</SET_STATE_EXTERNAL> <LOCAL_VAR_TO_WATCH_0>#ND_VAR#</LOCAL_VAR_TO_WATCH_0> <GET_STATE_EXTERNAL>(L:#ND_VAR#) sp0</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL>l0</ENUM_VAL_TO_POS_EXTERNAL> </True> <False> <IS_INFINITE>True</IS_INFINITE> <SET_STATE_EXTERNAL>p0 0 &gt; if{ #IE_CW_CODE# } els{ #IE_CCW_CODE# }</SET_STATE_EXTERNAL> </False> </Condition> </UseTemplate> <Condition Valid="ON_PUSH_EVENT"> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <SET_STATE_EXTERNAL>if{ #ON_PUSH_EVENT# }</SET_STATE_EXTERNAL> <IE_NAME>#PUSH_IE_NAME#</IE_NAME> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_PUSH#</TT_DESCRIPTION_ID> <NODE_ID>#BUTTON_NODE_ID#</NODE_ID> <ANIM_NAME>#BUTTON_ANIM_NAME#</ANIM_NAME> <NUM_STATES>2</NUM_STATES> </UseTemplate> </Condition> </Component> </Template> <Template Name="ASOBO_AIRLINER_Switch_Baro_Selector_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <Parameters Type="Default"> <NODE_ID>AIRLINER_Switch_Baro_Selector_#ID#</NODE_ID> <ANIM_NAME>AIRLINER_Switch_Baro_Selector_#ID#</ANIM_NAME> <PART_ID>AIRLINER_Switch_Baro_Selector</PART_ID> <BARO_SEL_VAR>XMLVAR_Baro_Selector_HPA_#ID#</BARO_SEL_VAR> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> <WWISE_EVENT_1>autopilot_baro_selector_button_on</WWISE_EVENT_1> <WWISE_EVENT_2>autopilot_baro_selector_button_off</WWISE_EVENT_2> <TOOLTIP_TITLE>@TT_Package.AIRLINER_BARO_SELECTOR_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_BARO_SELECTOR_ACTION</TT_DESCRIPTION_ID> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>Baro_Selector</IE_NAME> <LOCAL_VAR_TO_WATCH_0>#BARO_SEL_VAR#</LOCAL_VAR_TO_WATCH_0> <SET_STATE_EXTERNAL>p0 (&gt;L:#BARO_SEL_VAR#)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:#BARO_SEL_VAR#) sp0</GET_STATE_EXTERNAL> <TT_VALUE_ON>'hPa'</TT_VALUE_ON> <TT_VALUE_OFF>'inHg'</TT_VALUE_OFF> <STR_STATE_ON>HPA</STR_STATE_ON> <STR_STATE_OFF>IN_HG</STR_STATE_OFF> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Audio_Panel_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_GT_Helper_Suffix_ID_Appender"> <TEMPLATE_TO_CALL>ASOBO_AIRLINER_Audio_Panel_SubTemplate</TEMPLATE_TO_CALL> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Audio_Panel_SubTemplate"> <Parameters Type="Default"> <PREFIX>AIRLINER</PREFIX> </Parameters> <Parameters Type="Default"> <NODE_ID_RECEIVER_VHF_L>#PREFIX#_AudioReceiver_Knob_VHF_L#SUFFIX_ID#</NODE_ID_RECEIVER_VHF_L> <NODE_ID_LIGHT_RECEIVER_VHF_L>#PREFIX#_AudioReceiver_Knob_VHF_L_LIGHT#SUFFIX_ID#</NODE_ID_LIGHT_RECEIVER_VHF_L> <ANIM_NAME_KNOB_RECEIVER_VHF_L>#PREFIX#_AudioReceiver_Knob_VHF_L#SUFFIX_ID#</ANIM_NAME_KNOB_RECEIVER_VHF_L> <ANIM_NAME_PUSH_RECEIVER_VHF_L>#PREFIX#_AudioReceiver_Push_VHF_L#SUFFIX_ID#</ANIM_NAME_PUSH_RECEIVER_VHF_L> <NODE_ID_LED_RECEIVER_VHF_L>#PREFIX#_AudioReceiver_Knob_VHF_L_LED#SUFFIX_ID#</NODE_ID_LED_RECEIVER_VHF_L> <NODE_ID_BUTTON_VHF_L>#PREFIX#_AudioReceiver_Push_mic_call_01#SUFFIX_ID#</NODE_ID_BUTTON_VHF_L> <ANIM_NAME_BUTTON_VHF_L>#PREFIX#_AudioReceiver_Push_mic_call_01#SUFFIX_ID#</ANIM_NAME_BUTTON_VHF_L> <NODE_ID_BUTTON_SEQ1_VHF_L>#PREFIX#_AudioReceiver_Push_mic_call_01_SEQ1#SUFFIX_ID#</NODE_ID_BUTTON_SEQ1_VHF_L> <NODE_ID_BUTTON_SEQ2_VHF_L>#PREFIX#_AudioReceiver_Push_mic_call_01_SEQ2#SUFFIX_ID#</NODE_ID_BUTTON_SEQ2_VHF_L> <NODE_ID_RECEIVER_VHF_C>#PREFIX#_AudioReceiver_Knob_VHF_C#SUFFIX_ID#</NODE_ID_RECEIVER_VHF_C> <NODE_ID_LIGHT_RECEIVER_VHF_C>#PREFIX#_AudioReceiver_Knob_VHF_C_LIGHT#SUFFIX_ID#</NODE_ID_LIGHT_RECEIVER_VHF_C> <ANIM_NAME_KNOB_RECEIVER_VHF_C>#PREFIX#_AudioReceiver_Knob_VHF_C#SUFFIX_ID#</ANIM_NAME_KNOB_RECEIVER_VHF_C> <ANIM_NAME_PUSH_RECEIVER_VHF_C>#PREFIX#_AudioReceiver_Push_VHF_C#SUFFIX_ID#</ANIM_NAME_PUSH_RECEIVER_VHF_C> <NODE_ID_LED_RECEIVER_VHF_C>#PREFIX#_AudioReceiver_Knob_VHF_C_LED#SUFFIX_ID#</NODE_ID_LED_RECEIVER_VHF_C> <NODE_ID_BUTTON_VHF_C>#PREFIX#_AudioReceiver_Push_mic_call_02#SUFFIX_ID#</NODE_ID_BUTTON_VHF_C> <ANIM_NAME_BUTTON_VHF_C>#PREFIX#_AudioReceiver_Push_mic_call_02#SUFFIX_ID#</ANIM_NAME_BUTTON_VHF_C> <NODE_ID_BUTTON_SEQ1_VHF_C>#PREFIX#_AudioReceiver_Push_mic_call_02_SEQ1#SUFFIX_ID#</NODE_ID_BUTTON_SEQ1_VHF_C> <NODE_ID_BUTTON_SEQ2_VHF_C>#PREFIX#_AudioReceiver_Push_mic_call_02_SEQ2#SUFFIX_ID#</NODE_ID_BUTTON_SEQ2_VHF_C> <NODE_ID_RECEIVER_VHF_R>#PREFIX#_AudioReceiver_Knob_VHF_R#SUFFIX_ID#</NODE_ID_RECEIVER_VHF_R> <NODE_ID_LIGHT_RECEIVER_VHF_R>#PREFIX#_AudioReceiver_Knob_VHF_R_LIGHT#SUFFIX_ID#</NODE_ID_LIGHT_RECEIVER_VHF_R> <ANIM_NAME_KNOB_RECEIVER_VHF_R>#PREFIX#_AudioReceiver_Knob_VHF_R#SUFFIX_ID#</ANIM_NAME_KNOB_RECEIVER_VHF_R> <ANIM_NAME_PUSH_RECEIVER_VHF_R>#PREFIX#_AudioReceiver_Push_VHF_R#SUFFIX_ID#</ANIM_NAME_PUSH_RECEIVER_VHF_R> <NODE_ID_LED_RECEIVER_VHF_R>#PREFIX#_AudioReceiver_Knob_VHF_R_LED#SUFFIX_ID#</NODE_ID_LED_RECEIVER_VHF_R> <NODE_ID_BUTTON_VHF_R>#PREFIX#_AudioReceiver_Push_mic_call_03#SUFFIX_ID#</NODE_ID_BUTTON_VHF_R> <ANIM_NAME_BUTTON_VHF_R>#PREFIX#_AudioReceiver_Push_mic_call_03#SUFFIX_ID#</ANIM_NAME_BUTTON_VHF_R> <NODE_ID_BUTTON_SEQ1_VHF_R>#PREFIX#_AudioReceiver_Push_mic_call_03_SEQ1#SUFFIX_ID#</NODE_ID_BUTTON_SEQ1_VHF_R> <NODE_ID_BUTTON_SEQ2_VHF_R>#PREFIX#_AudioReceiver_Push_mic_call_03_SEQ2#SUFFIX_ID#</NODE_ID_BUTTON_SEQ2_VHF_R> <Switch Param="TYPE"> <Case Value="AIRBUS"> <POTENTIOMETER_SEQ1/> <DONT_OVERRIDE_BASE_EMISSIVE>False</DONT_OVERRIDE_BASE_EMISSIVE> <SEQ2_EMISSIVE_CODE>1</SEQ2_EMISSIVE_CODE> <TEMPLATE_TYPE>KNOB_SWITCH</TEMPLATE_TYPE> </Case> <Case Value="BOEING"> <SEQ2_EMISSIVE_CODE>0</SEQ2_EMISSIVE_CODE> </Case> <Case Value="AS01B"> <SEQ2_EMISSIVE_CODE>0</SEQ2_EMISSIVE_CODE> </Case> </Switch> <SEQ1_EMISSIVE_DRIVES_VISIBILITY>False</SEQ1_EMISSIVE_DRIVES_VISIBILITY> <SEQ2_EMISSIVE_DRIVES_VISIBILITY>False</SEQ2_EMISSIVE_DRIVES_VISIBILITY> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Audio_Volume_Knob_Template"> <NODE_ID>#NODE_ID_RECEIVER_VHF_L#</NODE_ID> <NODE_ID_LIGHT>#NODE_ID_LIGHT_RECEIVER_VHF_L#</NODE_ID_LIGHT> <ANIM_NAME_KNOB>#ANIM_NAME_KNOB_RECEIVER_VHF_L#</ANIM_NAME_KNOB> <ANIM_NAME_SWITCH>#ANIM_NAME_PUSH_RECEIVER_VHF_L#</ANIM_NAME_SWITCH> <NODE_ID_LED>#NODE_ID_LED_RECEIVER_VHF_L#</NODE_ID_LED> <NODE_ID_BUTTON>#NODE_ID_BUTTON_VHF_L#</NODE_ID_BUTTON> <ANIM_NAME_BUTTON>#ANIM_NAME_BUTTON_VHF_L#</ANIM_NAME_BUTTON> <NODE_ID_BUTTON_SEQ1>#NODE_ID_BUTTON_SEQ1_VHF_L#</NODE_ID_BUTTON_SEQ1> <NODE_ID_BUTTON_SEQ2>#NODE_ID_BUTTON_SEQ2_VHF_L#</NODE_ID_BUTTON_SEQ2> <FREQ_ID>VHF_L</FREQ_ID> <ID_COM>1</ID_COM> </UseTemplate> <UseTemplate Name="ASOBO_AIRLINER_Audio_Volume_Knob_Template"> <NODE_ID>#NODE_ID_RECEIVER_VHF_C#</NODE_ID> <NODE_ID_LIGHT>#NODE_ID_LIGHT_RECEIVER_VHF_C#</NODE_ID_LIGHT> <ANIM_NAME_KNOB>#ANIM_NAME_KNOB_RECEIVER_VHF_C#</ANIM_NAME_KNOB> <ANIM_NAME_SWITCH>#ANIM_NAME_PUSH_RECEIVER_VHF_C#</ANIM_NAME_SWITCH> <NODE_ID_LED>#NODE_ID_LED_RECEIVER_VHF_C#</NODE_ID_LED> <NODE_ID_BUTTON>#NODE_ID_BUTTON_VHF_C#</NODE_ID_BUTTON> <ANIM_NAME_BUTTON>#ANIM_NAME_BUTTON_VHF_C#</ANIM_NAME_BUTTON> <NODE_ID_BUTTON_SEQ1>#NODE_ID_BUTTON_SEQ1_VHF_C#</NODE_ID_BUTTON_SEQ1> <NODE_ID_BUTTON_SEQ2>#NODE_ID_BUTTON_SEQ2_VHF_C#</NODE_ID_BUTTON_SEQ2> <FREQ_ID>VHF_C</FREQ_ID> <ID_COM>2</ID_COM> </UseTemplate> <UseTemplate Name="ASOBO_AIRLINER_Audio_Volume_Knob_Template"> <NODE_ID>#NODE_ID_RECEIVER_VHF_R#</NODE_ID> <NODE_ID_LIGHT>#NODE_ID_LIGHT_RECEIVER_VHF_R#</NODE_ID_LIGHT> <ANIM_NAME_KNOB>#ANIM_NAME_KNOB_RECEIVER_VHF_R#</ANIM_NAME_KNOB> <ANIM_NAME_SWITCH>#ANIM_NAME_PUSH_RECEIVER_VHF_R#</ANIM_NAME_SWITCH> <NODE_ID_LED>#NODE_ID_LED_RECEIVER_VHF_R#</NODE_ID_LED> <NODE_ID_BUTTON>#NODE_ID_BUTTON_VHF_R#</NODE_ID_BUTTON> <ANIM_NAME_BUTTON>#ANIM_NAME_BUTTON_VHF_R#</ANIM_NAME_BUTTON> <NODE_ID_BUTTON_SEQ1>#NODE_ID_BUTTON_SEQ1_VHF_R#</NODE_ID_BUTTON_SEQ1> <NODE_ID_BUTTON_SEQ2>#NODE_ID_BUTTON_SEQ2_VHF_R#</NODE_ID_BUTTON_SEQ2> <FREQ_ID>VHF_R</FREQ_ID> <ID_COM>3</ID_COM> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Audio_Volume_Knob_Template"> <Parameters Type="Default"> <VOLUME_INCREMENT>5</VOLUME_INCREMENT> <ID_BTN>#ID_COM#</ID_BTN> <TRANSMIT_ID process="Int">#ID_COM# 1 -</TRANSMIT_ID> <STATE_VAR_NAME>XMLVAR_COM_Transmit_Channel</STATE_VAR_NAME> <STATE_VAR_NAME_SWITCH>XMLVAR_COM_#ID_COM#_#FREQ_ID#_#ID#_Switch_Down</STATE_VAR_NAME_SWITCH> <STATE_VAR_NAME_KNOB>XMLVAR_COM_#ID_COM#_Volume_#FREQ_ID#_#ID#</STATE_VAR_NAME_KNOB> <TOOLTIP_TITLE_BUTTON>@TT_Package.AIRLINER_PUSH_RADIO_VHF_TITLE</TOOLTIP_TITLE_BUTTON> <TOOLTIP_TITLE_KNOB>@TT_Package.AIRLINER_AUDIORECEIVER_KNOB_VHF_TITLE</TOOLTIP_TITLE_KNOB> <TT_DESCRIPTION_ID_BUTTON>@TT_Package.AIRLINER_PUSH_RADIO_VHF_ACTION</TT_DESCRIPTION_ID_BUTTON> <TT_DESCRIPTION_ID_KNOB_BUTTON>@TT_Package.AIRLINER_AUDIORECEIVER_KNOB_VHF_ACTION_SET</TT_DESCRIPTION_ID_KNOB_BUTTON> <TT_DESCRIPTION_ID_KNOB>@TT_Package.AIRLINER_AUDIORECEIVER_KNOB_VHF_ACTION</TT_DESCRIPTION_ID_KNOB> </Parameters> <Parameters Type="Override"> <IE_NAME_BUTTON>#FREQ_ID#_#ID#_COM_#ID_COM#_Transmit</IE_NAME_BUTTON> <IE_NAME_KNOB>#FREQ_ID#_#ID#_COM_#ID_COM#_Volume</IE_NAME_KNOB> <IE_NAME_KNOB_BUTTON>#FREQ_ID#_#ID#_COM_#ID_COM#_Receive</IE_NAME_KNOB_BUTTON> </Parameters> <Parameters Type="Override"> <Switch Param="TEMPLATE_TYPE"> <Case Value="KNOB_SWITCH"> <TRANSMIT_EMISSIVE_CODE>(B:AIRLINER_#IE_NAME_KNOB_BUTTON#, Bool) (B:AIRLINER_#IE_NAME_BUTTON#, Bool) and</TRANSMIT_EMISSIVE_CODE> </Case> <Default> <TRANSMIT_EMISSIVE_CODE>(B:AIRLINER_#IE_NAME_BUTTON#, Bool)</TRANSMIT_EMISSIVE_CODE> </Default> </Switch> </Parameters> <UseTemplate Name="ASOBO_GT_Update"> <FREQUENCY>3</FREQUENCY> <UPDATE_CODE>(A:COM TRANSMIT:#ID_COM#, Bool) if{ #ID_BTN# (&gt;L:#STATE_VAR_NAME#) }</UPDATE_CODE> </UseTemplate> <Condition Valid="NO_BUTTON"> <False> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_BUTTON#</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>#ID_COM#</TT_DESCRIPTION_INDEX> <TOOLTIP_TITLE>#TOOLTIP_TITLE_BUTTON#</TOOLTIP_TITLE> <IS_AIRLINER>True</IS_AIRLINER> <NODE_ID>#NODE_ID_BUTTON#</NODE_ID> <ANIM_NAME>#ANIM_NAME_BUTTON#</ANIM_NAME> <SEQ1_NODE_ID>#NODE_ID_BUTTON_SEQ1#</SEQ1_NODE_ID> <SEQ2_NODE_ID>#NODE_ID_BUTTON_SEQ2#</SEQ2_NODE_ID> <SET_STATE_EXTERNAL>#ID_BTN# (&gt;L:#STATE_VAR_NAME#) #TRANSMIT_ID# (&gt;K:PILOT_TRANSMITTER_SET) 4 (&gt;K:COPILOT_TRANSMITTER_SET)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>#ID_BTN# (L:#STATE_VAR_NAME#) == sp0</GET_STATE_EXTERNAL> <ON_AFTER_SET_CODE> #ID_BTN# (L:#STATE_VAR_NAME#) == (&gt;O:AIRLINER_#IE_NAME_BUTTON#_Position)</ON_AFTER_SET_CODE> <SEQ1_EMISSIVE_CODE>(B:AIRLINER_#IE_NAME_BUTTON#, Bool)</SEQ1_EMISSIVE_CODE> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_NAME#</LOCAL_VAR_TO_WATCH_0> <IE_NAME>#IE_NAME_BUTTON#</IE_NAME> <WWISE_PREFIX>audioreceiver_knob</WWISE_PREFIX> <Switch Param="TYPE"> <Case Value="AS01B"> <POTENTIOMETER/> </Case> </Switch> </UseTemplate> </False> </Condition> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <Switch Param="TEMPLATE_TYPE"> <Case Value="KNOB_SWITCH"> <UseTemplate Name="ASOBO_AIRLINER_Push_Event_Base_Template"> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> <IE_NAME>#IE_NAME_KNOB_BUTTON#</IE_NAME> <SET_STATE_EXTERNAL>p0 (&gt;L:#STATE_VAR_NAME_SWITCH#) 1 (&gt;I:XMLVAR_COM_UpdateReceivers)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:#STATE_VAR_NAME_SWITCH#) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_KNOB_BUTTON#</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>#ID_COM#</TT_DESCRIPTION_INDEX> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_NAME_SWITCH#</LOCAL_VAR_TO_WATCH_0> <ANIM>EXTERNAL</ANIM> </UseTemplate> </Case> </Switch> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>#IE_NAME_KNOB#</IE_NAME> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <IS_INFINITE>False</IS_INFINITE> <CREATE_COMPONENT>False</CREATE_COMPONENT> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_KNOB#</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>#ID_COM#</TT_DESCRIPTION_INDEX> <TOOLTIP_TITLE>#TOOLTIP_TITLE_KNOB#</TOOLTIP_TITLE> <Switch Param="TEMPLATE_TYPE"> <Case Value="KNOB_SWITCH"> <TEMPLATE_VARIANT>Switch</TEMPLATE_VARIANT> <IE_ID_EXTERNAL_0>#IE_NAME_KNOB_BUTTON#</IE_ID_EXTERNAL_0> <USE_SIMVAR_FOR_BUTTON_ANIM>False</USE_SIMVAR_FOR_BUTTON_ANIM> <USE_SIMVAR_FOR_KNOB_ANIM>False</USE_SIMVAR_FOR_KNOB_ANIM> <ANIM_CODE_SWITCH>(B:AIRLINER_#IE_NAME_KNOB_BUTTON#, Bool) 100 *</ANIM_CODE_SWITCH> <KNOB_ANIM_CODE>(B:AIRLINER_#IE_NAME_KNOB#, Percent)</KNOB_ANIM_CODE> <CENTER_RADIUS>0.002</CENTER_RADIUS> </Case> <Default> <ANIM_CODE>(B:AIRLINER_#IE_NAME_KNOB#, Percent)</ANIM_CODE> </Default> </Switch> <SET_STATE_EXTERNAL>100 / (&gt;L:#STATE_VAR_NAME_KNOB#) 1 (&gt;I:XMLVAR_COM_UpdateVolumes)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:#STATE_VAR_NAME_KNOB#) 100 *</GET_STATE_EXTERNAL> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_NAME_KNOB#</LOCAL_VAR_TO_WATCH_0> <INC_PARAM_0>#VOLUME_INCREMENT# p0 *</INC_PARAM_0> <INC_PARAM_0_IS_DYNAMIC>True</INC_PARAM_0_IS_DYNAMIC> <DEC_PARAM_0>#VOLUME_INCREMENT# p0 *</DEC_PARAM_0> <DEC_PARAM_0_IS_DYNAMIC>True</DEC_PARAM_0_IS_DYNAMIC> <ANIM_NAME>#ANIM_NAME_KNOB#</ANIM_NAME> <WWISE_PREFIX>audioreceiver</WWISE_PREFIX> <COUNT>36</COUNT> </UseTemplate> </Component> <Switch Param="TYPE"> <Case Value="BOEING"> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_LED#</NODE_ID> <EMISSIVE_CODE>#TRANSMIT_EMISSIVE_CODE#</EMISSIVE_CODE> </UseTemplate> </Case> <Case Value="AS01B"> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_LED#</NODE_ID> <EMISSIVE_CODE>#TRANSMIT_EMISSIVE_CODE#</EMISSIVE_CODE> <POTENTIOMETER/> </UseTemplate> </Case> </Switch> <Condition Valid="NO_LIGHT"> <False> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_LIGHT#</NODE_ID> <COMPONENT_ID>#NODE_ID_LIGHT#_Light</COMPONENT_ID> <Switch Param="TYPE"> <Case Value="BOEING"> <DONT_OVERRIDE_BASE_EMISSIVE>False</DONT_OVERRIDE_BASE_EMISSIVE> </Case> <Default> <EMISSIVE_CODE>#TRANSMIT_EMISSIVE_CODE#</EMISSIVE_CODE> </Default> </Switch> </UseTemplate> </False> </Condition> </Template> <Template Name="ASOBO_Airliner_Audio_Panel_Knob_Lights_Dummies"> <Parameters Type="Override"> <DONT_OVERRIDE_BASE_EMISSIVE>False</DONT_OVERRIDE_BASE_EMISSIVE> </Parameters> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_FLT_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_CAB_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_PA_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_HF_L_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_HF_R_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_SAT_L_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_SAT_R_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_SPKR_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_01_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_02_#ID#_SEQ1</NODE_ID> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Audio_Panel_Updater"> <Parameters Type="Override"> <COM_COUNT>3</COM_COUNT> <Switch Param="TYPE"> <Case Value="AIRBUS"> <RADIO_COUNT>2</RADIO_COUNT> <HANDLE_COM_RECEIVE>True</HANDLE_COM_RECEIVE> <HANDLE_COM_VOLUME>True</HANDLE_COM_VOLUME> </Case> <Default> <RADIO_COUNT>3</RADIO_COUNT> <HANDLE_COM_RECEIVE>False</HANDLE_COM_RECEIVE> <HANDLE_COM_VOLUME>True</HANDLE_COM_VOLUME> </Default> </Switch> <UPDATE_CODE_EXTERNAL/> </Parameters> <Parameters Type="Override"> <Condition Valid="HANDLE_COM_RECEIVE"> <Loop> <Setup> <Param>COM_ID</Param> <From>1</From> <Inc>1</Inc> <To>#COM_COUNT#</To> </Setup> <Do> <Parameters Type="Default" Lifetime="Loop"> <UPDATE_CODE_T/> </Parameters> <Parameters Type="Override" Lifetime="Loop"> <VHF_SP_ID Process="Int">#COM_COUNT# #COM_ID# +</VHF_SP_ID> <Switch Param="COM_ID"> <Case Value="1"> <VHF_NAME>VHF_L</VHF_NAME> </Case> <Case Value="2"> <VHF_NAME>VHF_C</VHF_NAME> </Case> <Case Value="3"> <VHF_NAME>VHF_R</VHF_NAME> </Case> </Switch> </Parameters> <Parameters Type="Override" Lifetime="Loop"> <Switch Param="RADIO_COUNT"> <Case Value="2"> <UPDATE_CODE_T>#UPDATE_CODE_T# (A:COM RECEIVE:#COM_ID#, Bool) sp#COM_ID# (B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Receive, Bool) (B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Receive, Bool) or sp#VHF_SP_ID# (I:XMLVAR_COM_UpdateReceivers) if{ l#VHF_SP_ID# (&gt;K:COM#COM_ID#_RECEIVE_SELECT) } els{ l#COM_ID# l#VHF_SP_ID# != if{ (&gt;B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Receive_Toggle) } } </UPDATE_CODE_T> </Case> <Case Value="3"> <UPDATE_CODE_T>#UPDATE_CODE_T# (A:COM RECEIVE:#COM_ID#, Bool) sp#COM_ID# (B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Receive, Bool) (B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Receive, Bool) or (B:AIRLINER_#VHF_NAME#_3_COM_#COM_ID#_Receive, Bool) or sp#VHF_SP_ID# (I:XMLVAR_COM_UpdateReceivers) if{ l#VHF_SP_ID# (&gt;K:COM#COM_ID#_RECEIVE_SELECT) } els{ l#COM_ID# l#VHF_SP_ID# != if{ (&gt;B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Receive_Toggle) } } </UPDATE_CODE_T> </Case> </Switch> </Parameters> </Do> <Then> <UPDATE_CODE_EXTERNAL>#UPDATE_CODE_EXTERNAL##UPDATE_CODE_T#</UPDATE_CODE_EXTERNAL> </Then> </Loop> </Condition> </Parameters> <Parameters Type="Override"> <Condition Valid="HANDLE_COM_VOLUME"> <Loop> <Setup> <Param>COM_ID</Param> <From>1</From> <Inc>1</Inc> <To>#COM_COUNT#</To> </Setup> <Do> <Parameters Type="Default" Lifetime="Loop"> <UPDATE_CODE_T/> </Parameters> <Parameters Type="Override" Lifetime="Loop"> <COM_SP_ID Process="Int">#COM_COUNT# 2 * #COM_ID# +</COM_SP_ID> </Parameters> <Parameters Type="Override" Lifetime="Loop"> <VHF_SP_ID Process="Int">3 #COM_SP_ID# +</VHF_SP_ID> <Switch Param="COM_ID"> <Case Value="1"> <VHF_NAME>VHF_L</VHF_NAME> </Case> <Case Value="2"> <VHF_NAME>VHF_C</VHF_NAME> </Case> <Case Value="3"> <VHF_NAME>VHF_R</VHF_NAME> </Case> </Switch> </Parameters> <Parameters Type="Override" Lifetime="Loop"> <Switch Param="RADIO_COUNT"> <Case Value="2"> <UPDATE_CODE_T>#UPDATE_CODE_T# (A:COM VOLUME:#COM_ID#, Percent) sp#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume, Percent) (B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Volume, Percent) max sp#VHF_SP_ID# (I:XMLVAR_COM_UpdateVolumes) if{ l#VHF_SP_ID# (&gt;K:COM#COM_ID#_VOLUME_SET) } els{ l#COM_SP_ID# l#VHF_SP_ID# != if{ l#COM_SP_ID# l#VHF_SP_ID# &gt; if{ l#COM_SP_ID# (&gt;B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume_Set) } els{ l#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume) min (&gt;B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume_Set) l#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Volume) min (&gt;B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Volume_Set) } } } </UPDATE_CODE_T> </Case> <Case Value="3"> <UPDATE_CODE_T>#UPDATE_CODE_T# (A:COM VOLUME:#COM_ID#, Percent) sp#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume, Percent) (B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Volume, Percent) max (B:AIRLINER_#VHF_NAME#_3_COM_#COM_ID#_Volume, Percent) max sp#VHF_SP_ID# (I:XMLVAR_COM_UpdateVolumes) if{ l#VHF_SP_ID# (&gt;K:COM#COM_ID#_VOLUME_SET) } els{ l#COM_SP_ID# l#VHF_SP_ID# != if{ l#COM_SP_ID# l#VHF_SP_ID# &gt; if{ l#COM_SP_ID# (&gt;B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume_Set) } els{ l#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume) min (&gt;B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume_Set) l#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Volume) min (&gt;B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Volume_Set) l#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_3_COM_#COM_ID#_Volume) min (&gt;B:AIRLINER_#VHF_NAME#_3_COM_#COM_ID#_Volume_Set) } } } </UPDATE_CODE_T> </Case> </Switch> </Parameters> </Do> <Then> <UPDATE_CODE_EXTERNAL>#UPDATE_CODE_EXTERNAL##UPDATE_CODE_T#</UPDATE_CODE_EXTERNAL> </Then> </Loop> </Condition> </Parameters> <!-- This Panel takes input from the 3 audio panels and sets the simvars to the value it should have based on it --> <!-- Simvar is ON if any Panel sets it to ON, Volume is the Max of the 3 panels --> <UseTemplate Name="ASOBO_GT_Update"> <FREQUENCY>1</FREQUENCY> <UPDATE_CODE>#UPDATE_CODE_EXTERNAL#</UPDATE_CODE> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Seatbelts_Template"> <Parameters Type="Default"> <TYPE>ON_OFF</TYPE> </Parameters> <Parameters Type="Default"> <Switch Param="INTERACTION_TYPE"> <Case Value="Knob"> <SWITCH_DIRECTION>Horizontal</SWITCH_DIRECTION> <ARROW_TYPE>Curved</ARROW_TYPE> <NUM_STATES>2</NUM_STATES> <KNOB_TYPE>X_STATES</KNOB_TYPE> </Case> </Switch> <NODE_ID>AIRLINER_#INTERACTION_TYPE#_Seatbelts</NODE_ID> <ANIM_NAME>AIRLINER_#INTERACTION_TYPE#_Seatbelts</ANIM_NAME> <WWISE_PREFIX>seatbelts</WWISE_PREFIX> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_OVHD_SWITCH_INTLT_SEATBELT_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.AIRLINER_OVHD_SWITCH_INTLT_SEATBELT_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>Seatbelts</IE_NAME> <SET_STATE_EXTERNAL>(A:CABIN SEATBELTS ALERT SWITCH, Bool) p0 != if{ (&gt;K:CABIN_SEATBELTS_ALERT_SWITCH_TOGGLE) }</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(A:CABIN SEATBELTS ALERT SWITCH, Bool) sp0</GET_STATE_EXTERNAL> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Switch_Seatbelts_Template"> <UseTemplate Name="ASOBO_AIRLINER_Seatbelts_Template"> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Knob_Seatbelts_Template"> <UseTemplate Name="ASOBO_AIRLINER_Seatbelts_Template"> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_NoSmoking_Template"> <Parameters Type="Default"> <TYPE>ON_OFF</TYPE> </Parameters> <Parameters Type="Default"> <Switch Param="INTERACTION_TYPE"> <Case Value="Knob"> <SWITCH_DIRECTION>Horizontal</SWITCH_DIRECTION> <ARROW_TYPE>Curved</ARROW_TYPE> <NUM_STATES>2</NUM_STATES> <KNOB_TYPE>X_STATES</KNOB_TYPE> </Case> </Switch> <NODE_ID>AIRLINER_#INTERACTION_TYPE#_NoSmoking</NODE_ID> <ANIM_NAME>AIRLINER_#INTERACTION_TYPE#_NoSmoking</ANIM_NAME> <WWISE_PREFIX>nosmoking</WWISE_PREFIX> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_OVHD_SWITCH_INTLT_NOSMOKING_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.AIRLINER_OVHD_SWITCH_INTLT_NOSMOKING_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>No_Smoking</IE_NAME> <SET_STATE_EXTERNAL>(A:CABIN NO SMOKING ALERT SWITCH, Bool) p0 != if{ (&gt;K:CABIN_NO_SMOKING_ALERT_SWITCH_TOGGLE) }</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(A:CABIN NO SMOKING ALERT SWITCH, Bool) sp0</GET_STATE_EXTERNAL> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Switch_NoSmoking_Template"> <UseTemplate Name="ASOBO_AIRLINER_NoSmoking_Template"> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Push_Clock_Template"> <Parameters Type="Default"> <NODE_ID>AIRLINER_Push_Clock</NODE_ID> <ANIM_NAME>AIRLINER_Push_Clock</ANIM_NAME> <PLANE_PREFIX>Generic</PLANE_PREFIX> <BUTTON_ID>Clock</BUTTON_ID> <WWISE_PREFIX>safety_clock</WWISE_PREFIX> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> <TOOLTIP_TITLE>@TT_Package.AIRLINER_PUSH_MAIN_PANEL_CLOCK_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_PUSH_MAIN_PANEL_CLOCK_ACTION</TT_DESCRIPTION_ID> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <SET_STATE_EXTERNAL>(&gt;H:#PLANE_PREFIX#_BTN_#BUTTON_ID#)</SET_STATE_EXTERNAL> <IE_NAME>Clock</IE_NAME> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_HUD_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <Parameters Type="Default"> <STATE_VAR_NAME>XMLVAR_HUD_#ID#_Down</STATE_VAR_NAME> <WWISE_EVENT_1>autopilot_hud_switch_down</WWISE_EVENT_1> <WWISE_EVENT_2>autopilot_hud_switch_up</WWISE_EVENT_2> <NORMALIZED_TIME_1>0.8</NORMALIZED_TIME_1> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_HUD_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.AIRLINER_HUD_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>HUD_#ID#</IE_NAME> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> <SET_STATE_EXTERNAL>p0 (&gt;L:#STATE_VAR_NAME#)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:#STATE_VAR_NAME#) sp0</GET_STATE_EXTERNAL> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_NAME#</LOCAL_VAR_TO_WATCH_0> <STR_STATE_ON>Down</STR_STATE_ON> <STR_STATE_OFF>Up</STR_STATE_OFF> <TT_VALUE_ON>(R:1:@TT_Package.GT_STATE_DOWN)</TT_VALUE_ON> <TT_VALUE_OFF>(R:1:@TT_Package.GT_STATE_UP)</TT_VALUE_OFF> </UseTemplate> </Template> <!-- ########################################## --> <!-- AIRLINER Interaction inputs setup template --> <Template Name="ASOBO_AIRLINER_Base_Template"> <Parameters Type="Default"> <INPUT_EVENT_ID_SOURCE>AIRLINER</INPUT_EVENT_ID_SOURCE> <WWISE_PREFIX>AIRLINER</WWISE_PREFIX> </Parameters> <UseTemplate Name="ASOBO_Interaction_Base_Template"> <USE_INPUT_EVENT_ID>AIRLINER</USE_INPUT_EVENT_ID> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Push_Event_Base_Template"> <UseTemplate Name="ASOBO_Interaction_Push_Event_Base_Template"> <USE_INPUT_EVENT_ID>AIRLINER</USE_INPUT_EVENT_ID> </UseTemplate> </Template> <Template Name="ASOBO_AIRLINER_Pull_Event_Base_Template"> <UseTemplate Name="ASOBO_Interaction_Pull_Event_Base_Template"> <USE_INPUT_EVENT_ID>AIRLINER</USE_INPUT_EVENT_ID> </UseTemplate> </Template> </ModelBehaviors>

Includes

Templates

Template list
  • ASOBO_AIRLINER_ATC_BUTTON_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_ATC_BUTTON_Template"> <Parameters Type="Default"> <Condition Valid="SEQ_1"> <True> <SEQ1_SUFFIX>_SEQ1</SEQ1_SUFFIX> </True> <False> <NO_SEQ1/> </False> </Condition> </Parameters> <Parameters Type="Default"> <NODE_ID>#BUTTON_NAME#</NODE_ID> <ANIM_NAME>#BUTTON_NAME#</ANIM_NAME> <Condition Valid="SEQ_1"> <NODE_ID_SEQ1>#BUTTON_NAME##SEQ1_SUFFIX#</NODE_ID_SEQ1> </Condition> <EVENT_TYPE>H</EVENT_TYPE> <EVENT_NAME>#EVENT_TARGET#_BTN_#BUTTON_ID#</EVENT_NAME> <WWISE_PREFIX>atc</WWISE_PREFIX> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <IE_NAME>#BUTTON_ID#</IE_NAME> <INPUT_EVENT_ID_SOURCE>AIRLINER_ATC</INPUT_EVENT_ID_SOURCE> <SET_STATE_EXTERNAL>if{ (&gt;#EVENT_TYPE#:#EVENT_NAME#) }</SET_STATE_EXTERNAL> </UseTemplate> <Condition Valid="SEQ_1"> <Component ID="#NODE_ID_SEQ1#" Node="#NODE_ID_SEQ1#"> <Switch> <Case Check="POTENTIOMETER"> <UseTemplate Name="ASOBO_GT_Emissive_Potentiometer"/> </Case> <Case Check="SIMVAR_POWER_SETTING"> <UseTemplate Name="ASOBO_GT_Emissive_Power_Setting"/> </Case> </Switch> </Component> </Condition> </Template>

    Parameters initialization:

    • Default

      Condition: Valid(SEQ_1)

      • Case: True

        Parameters set:

        • SEQ1_SUFFIX
      • Case: False

        Parameters set:

        • NO_SEQ1
    • Default

      Parameters set:

      • NODE_ID (using BUTTON_NAME)
      • ANIM_NAME (using BUTTON_NAME)
      • EVENT_TYPE
      • EVENT_NAME (using EVENT_TARGET, BUTTON_ID)
      • WWISE_PREFIX

      Condition: Valid(SEQ_1)

      • Case: True

        Parameters set:

        • NODE_ID_SEQ1 (using BUTTON_NAME, SEQ1_SUFFIX)

    Templates used:

    • ASOBO_AIRLINER_Base_Template

      Parameters set:

      • INTERACTION_TYPE
      • IE_NAME (using BUTTON_ID)
      • INPUT_EVENT_ID_SOURCE
      • SET_STATE_EXTERNAL (using EVENT_TYPE, EVENT_NAME)

    Condition: Valid(SEQ_1)

    • Case: True

      Parameters read:

      • NODE_ID_SEQ1

      Components:

  • ASOBO_AIRLINER_ATC_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_ATC_Template"> <Parameters Type="Default"> <PUSH_BTN_PREFIX>AIRLINER_ATC_Push_</PUSH_BTN_PREFIX> <PUSH_BTN_SUFFIX/> </Parameters> <Parameters Type="Default"> <WWISE_PREFIX>atc_transponder</WWISE_PREFIX> <Switch Param="TYPE"> <Case Value="BOEING"> <BUTTON_IDENT_NAME>#PUSH_BTN_PREFIX#Ident#PUSH_BTN_SUFFIX#</BUTTON_IDENT_NAME> <KNOB_ABVBLW_NAME>AIRLINER_ATC_Knob_</KNOB_ABVBLW_NAME> <KNOB_IDENT_NAME>atc_transponder_push_ident</KNOB_IDENT_NAME> <KNOB_XPNDR_NAME>atc_transponder_knob_ident</KNOB_XPNDR_NAME> <EVENT_TARGET>B747_8_ATC</EVENT_TARGET> </Case> <Case Value="AIRBUS"> <BUTTON_IDENT_NAME>#PUSH_BTN_PREFIX#Ident#PUSH_BTN_SUFFIX#</BUTTON_IDENT_NAME> <KNOB_XPNDR_MODE_NODE_ID>Knob_ATC_STBY</KNOB_XPNDR_MODE_NODE_ID> <KNOB_XPNDR_MODE_ANIM_NAME>Knob_ATC_STBY</KNOB_XPNDR_MODE_ANIM_NAME> <KNOB_XPNDR_THRT_NODE_ID>KNOB_ATC_THRT</KNOB_XPNDR_THRT_NODE_ID> <KNOB_XPNDR_THRT_ANIM_NAME>KNOB_ATC_THRT</KNOB_XPNDR_THRT_ANIM_NAME> <KNOB_XPNDR_ON_OFF_NODE_ID>Knob_ATC_ALT</KNOB_XPNDR_ON_OFF_NODE_ID> <KNOB_XPNDR_ON_OFF_ANIM_NAME>Knob_ATC_ALT</KNOB_XPNDR_ON_OFF_ANIM_NAME> <EVENT_TARGET>A320_Neo_ATC</EVENT_TARGET> <WWISE_EVENT>atc_thrt_knob</WWISE_EVENT> <COUNT>3</COUNT> </Case> </Switch> </Parameters> <Parameters Type="Override"> <ATC_BUTTON_COUNT>7</ATC_BUTTON_COUNT> <Switch Param="TYPE"> <Case Value="BOEING"> <SET_TRANSPONDER_STATE>(&gt;A:TRANSPONDER STATE:1, Enum)</SET_TRANSPONDER_STATE> <GET_TRANSPONDER_STATE>(A:TRANSPONDER STATE:1, Enum)</GET_TRANSPONDER_STATE> <ENUM_VAL_STBY>1</ENUM_VAL_STBY> <ENUM_VAL_ALT>4</ENUM_VAL_ALT> <ENUM_VAL_ON>3</ENUM_VAL_ON> <KNOB_XPNDR_NODE_ID>#KNOB_XPNDR_NAME#</KNOB_XPNDR_NODE_ID> <KNOB_XPNDR_ANIM_NAME>#KNOB_XPNDR_NAME#</KNOB_XPNDR_ANIM_NAME> </Case> </Switch> </Parameters> <Component ID="AIRLINER_ATC_Shared_Components"> <Loop> <Setup> <Param>CUR_ID</Param> <From>0</From> <Inc>1</Inc> <To>#ATC_BUTTON_COUNT#</To> </Setup> <Do> <UseTemplate Name="ASOBO_AIRLINER_ATC_BUTTON_Template"> <BUTTON_ID>#CUR_ID#</BUTTON_ID> <BUTTON_NAME>#PUSH_BTN_PREFIX##CUR_ID##PUSH_BTN_SUFFIX#</BUTTON_NAME> <TT_DESCRIPTION_ID>@TT_Package.FMC_PUSH_CHAR_ACTION</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>(R:1:@TT_Package.GT_STATE_XPNDR) &apos;#CUR_ID#&apos;</TT_DESCRIPTION_INDEX> <TOOLTIP_DISABLED>True</TOOLTIP_DISABLED> <SEQ_1>True</SEQ_1> </UseTemplate> </Do> </Loop> <UseTemplate Name="ASOBO_AIRLINER_ATC_BUTTON_Template"> <BUTTON_NAME>#PUSH_BTN_PREFIX#CLR#PUSH_BTN_SUFFIX#</BUTTON_NAME> <BUTTON_ID>CLR</BUTTON_ID> <TT_DESCRIPTION_ID>@TT_Package.TRANSPONDER_PUSH_CLR_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.TRANSPONDER_PUSH_CLR_TITLE</TOOLTIP_TITLE> <SEQ_1>True</SEQ_1> </UseTemplate> </Component> <Switch Param="TYPE"> <Case Value="BOEING"> <UseTemplate Name="ASOBO_AIRLINER_ATC_Transponder_Mode_Knob_Template"> <NODE_ID>#KNOB_XPNDR_NODE_ID#</NODE_ID> <ANIM_NAME>#KNOB_XPNDR_ANIM_NAME#</ANIM_NAME> <TOOLTIP_TITLE>@TT_Package.TRANSPONDER_KNOB_MODE_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.TRANSPONDER_KNOB_MODE_ACTION_SET</TT_DESCRIPTION_ID> </UseTemplate> <UseTemplate Name="ASOBO_AIRLINER_ATC_BUTTON_Template"> <BUTTON_NAME>#KNOB_IDENT_NAME#</BUTTON_NAME> <BUTTON_ID>IDENT</BUTTON_ID> <TOOLTIP_TITLE>@TT_Package.TRANSPONDER_PUSH_IDT_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.TRANSPONDER_PUSH_IDT_ACTION</TT_DESCRIPTION_ID> <EVENT_TYPE>K</EVENT_TYPE> <EVENT_NAME>XPNDR_IDENT_ON</EVENT_NAME> <TT_VALUE>(A:TRANSPONDER IDENT:1, Bool) @TT_OnOff_Cond</TT_VALUE> <TT_VALUE_IS_DYNAMIC>True</TT_VALUE_IS_DYNAMIC> </UseTemplate> </Case> <Case Value="AIRBUS"> <UseTemplate Name="ASOBO_AIRLINER_ATC_BUTTON_Template"> <BUTTON_NAME>#BUTTON_IDENT_NAME#</BUTTON_NAME> <BUTTON_ID>IDENT</BUTTON_ID> <TOOLTIP_TITLE>@TT_Package.TRANSPONDER_PUSH_IDT_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.TRANSPONDER_PUSH_IDT_ACTION</TT_DESCRIPTION_ID> <EVENT_TYPE>K</EVENT_TYPE> <EVENT_NAME>XPNDR_IDENT_ON</EVENT_NAME> <TT_VALUE>(A:TRANSPONDER IDENT:1, Bool) @TT_OnOff_Cond</TT_VALUE> <TT_VALUE_IS_DYNAMIC>True</TT_VALUE_IS_DYNAMIC> </UseTemplate> <Component ID="ATC_Knobs"> <Parameters Type="Override"> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <KNOB_TYPE>X_STATES</KNOB_TYPE> <INPUT_EVENT_ID_SOURCE>AIRLINER_ATC</INPUT_EVENT_ID_SOURCE> <STATE_VAR_NAME_AUTO>XMLVAR_Transponder_Mode_Is_Auto</STATE_VAR_NAME_AUTO> <STATE_VAR_NAME_THRT>XMLVAR_XPNDR_THRT_Switch</STATE_VAR_NAME_THRT> <STATE_VAR_NAME_ALT>XMLVAR_ALT_Mode_Requested</STATE_VAR_NAME_ALT> </Parameters> <Component ID="ATC_Knob_Mode"> <Parameters Type="Default"> <POS_STBY>0</POS_STBY> <POS_AUTO>1</POS_AUTO> <POS_ON>2</POS_ON> </Parameters> <Parameters Type="Override"> <ENABLE_AUTO_MODE>1 (&gt;L:#STATE_VAR_NAME_AUTO#)</ENABLE_AUTO_MODE> <DISABLE_AUTO_MODE>0 (&gt;L:#STATE_VAR_NAME_AUTO#)</DISABLE_AUTO_MODE> <IS_AUTO_MODE>(L:#STATE_VAR_NAME_AUTO#)</IS_AUTO_MODE> <ENUM_VAL_STBY>1</ENUM_VAL_STBY> <ENUM_VAL_ON>4 3 (L:#STATE_VAR_NAME_ALT#) ?</ENUM_VAL_ON> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>Mode</IE_NAME> <NUM_STATES>3</NUM_STATES> <NODE_ID>#KNOB_XPNDR_MODE_NODE_ID#</NODE_ID> <ANIM_NAME>#KNOB_XPNDR_MODE_ANIM_NAME#</ANIM_NAME> <TOOLTIP_TITLE>@TT_Package.TRANSPONDER_KNOB_MODE_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.TRANSPONDER_KNOB_MODE_ACTION_SET</TT_DESCRIPTION_ID> <SET_STATE_#POS_STBY#>#DISABLE_AUTO_MODE# #ENUM_VAL_STBY# (&gt;A:TRANSPONDER STATE:1, Enum)</SET_STATE_#POS_STBY#> <SET_STATE_#POS_AUTO#>#ENABLE_AUTO_MODE#</SET_STATE_#POS_AUTO#> <SET_STATE_#POS_ON#>#DISABLE_AUTO_MODE# #ENUM_VAL_ON# (&gt;A:TRANSPONDER STATE:1, Enum)</SET_STATE_#POS_ON#> <TT_VALUE_#POS_STBY#>@TT_Package.GT_STATE_STANDBY</TT_VALUE_#POS_STBY#> <TT_VALUE_#POS_AUTO#>@TT_Package.GT_STATE_AUTO</TT_VALUE_#POS_AUTO#> <TT_VALUE_#POS_ON#>@TT_Package.GT_STATE_ON</TT_VALUE_#POS_ON#> <STR_STATE_#POS_STBY#>Standby</STR_STATE_#POS_STBY#> <STR_STATE_#POS_AUTO#>Auto</STR_STATE_#POS_AUTO#> <STR_STATE_#POS_ON#>On</STR_STATE_#POS_ON#> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_NAME_AUTO#</LOCAL_VAR_TO_WATCH_0> <LOCAL_VAR_TO_WATCH_1>#STATE_VAR_NAME_ALT#</LOCAL_VAR_TO_WATCH_1> <SIMVAR_TO_WATCH_0>GENERAL ENG COMBUSTION:1</SIMVAR_TO_WATCH_0> <SIMVAR_TO_WATCH_1>GENERAL ENG COMBUSTION:2</SIMVAR_TO_WATCH_1> <SIMVAR_TO_WATCH_2>TRANSPONDER STATE:1</SIMVAR_TO_WATCH_2> <GET_STATE_EXTERNAL>(A:TRANSPONDER STATE:1, Enum) sp0 #IS_AUTO_MODE# sp1</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL> l1 if{ #ENUM_VAL_ON# #ENUM_VAL_STBY# (A:GENERAL ENG COMBUSTION:1, Bool) (A:GENERAL ENG COMBUSTION:2, Bool) or ? s3 (A:TRANSPONDER STATE:1, Enum) != if{ l3 (&gt;A:TRANSPONDER STATE:1, Enum) } #POS_AUTO# sp2 } els{ #POS_STBY# #POS_ON# l0 #ENUM_VAL_STBY# == ? sp2 #POS_ON# l2 == if{ (A:TRANSPONDER STATE:1, Enum) #ENUM_VAL_ON# != if{ #ENUM_VAL_ON# (&gt;A:TRANSPONDER STATE:1, Enum) } } } l2 </ENUM_VAL_TO_POS_EXTERNAL> </UseTemplate> </Component> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>Active</IE_NAME> <NUM_STATES>2</NUM_STATES> <TOOLTIP_TITLE>@TT_Package.TRANSPONDER_KNOB_RPTG_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.TRANSPONDER_KNOB_RPTG_ACTION</TT_DESCRIPTION_ID> <NODE_ID>#KNOB_XPNDR_ON_OFF_NODE_ID#</NODE_ID> <ANIM_NAME>#KNOB_XPNDR_ON_OFF_ANIM_NAME#</ANIM_NAME> <SET_STATE_EXTERNAL>p0 (&gt;L:#STATE_VAR_NAME_ALT#)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:#STATE_VAR_NAME_ALT#) sp0</GET_STATE_EXTERNAL> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_NAME_ALT#</LOCAL_VAR_TO_WATCH_0> </UseTemplate> <UseTemplate Name="ASOBO_GT_Interaction_Tooltip"> <NODE_ID>#KNOB_XPNDR_THRT_NODE_ID#</NODE_ID> </UseTemplate> </Component> </Case> </Switch> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • PUSH_BTN_PREFIX
      • PUSH_BTN_SUFFIX
    • Default

      Parameters set:

      • WWISE_PREFIX

      Condition: Switch(TYPE)

      • Case: BOEING

        Parameters set:

        • BUTTON_IDENT_NAME (using PUSH_BTN_PREFIX, PUSH_BTN_SUFFIX)
        • KNOB_ABVBLW_NAME
        • KNOB_IDENT_NAME
        • KNOB_XPNDR_NAME
        • EVENT_TARGET
      • Case: AIRBUS

        Parameters set:

        • BUTTON_IDENT_NAME (using PUSH_BTN_PREFIX, PUSH_BTN_SUFFIX)
        • KNOB_XPNDR_MODE_NODE_ID
        • KNOB_XPNDR_MODE_ANIM_NAME
        • KNOB_XPNDR_THRT_NODE_ID
        • KNOB_XPNDR_THRT_ANIM_NAME
        • KNOB_XPNDR_ON_OFF_NODE_ID
        • KNOB_XPNDR_ON_OFF_ANIM_NAME
        • EVENT_TARGET
        • WWISE_EVENT
        • COUNT
    • Override

      Parameters set:

      • ATC_BUTTON_COUNT

      Condition: Switch(TYPE)

      • Case: BOEING

        Parameters set:

        • SET_TRANSPONDER_STATE
        • GET_TRANSPONDER_STATE
        • ENUM_VAL_STBY
        • ENUM_VAL_ALT
        • ENUM_VAL_ON
        • KNOB_XPNDR_NODE_ID (using KNOB_XPNDR_NAME)
        • KNOB_XPNDR_ANIM_NAME (using KNOB_XPNDR_NAME)

    Components:

    • AIRLINER_ATC_Shared_Components

      Parameters read:

      • ATC_BUTTON_COUNT

      Parameters set:

      • CUR_ID

      Templates used:

      • ASOBO_AIRLINER_ATC_BUTTON_Template

        Parameters set:

        • BUTTON_ID (using CUR_ID)
        • BUTTON_NAME (using PUSH_BTN_PREFIX, CUR_ID, PUSH_BTN_SUFFIX)
        • TT_DESCRIPTION_ID
        • TT_DESCRIPTION_INDEX (using CUR_ID)
        • TOOLTIP_DISABLED
        • SEQ_1
      • ASOBO_AIRLINER_ATC_BUTTON_Template

        Parameters set:

        • BUTTON_NAME (using PUSH_BTN_PREFIX, PUSH_BTN_SUFFIX)
        • BUTTON_ID
        • TT_DESCRIPTION_ID
        • TOOLTIP_TITLE
        • SEQ_1

    Condition: Switch(TYPE)

    • Case: BOEING

      Templates used:

    • Case: AIRBUS

      Components:

      • ATC_Knobs

        Parameters set:

        • INTERACTION_TYPE
        • KNOB_TYPE
        • INPUT_EVENT_ID_SOURCE
        • STATE_VAR_NAME_AUTO
        • STATE_VAR_NAME_THRT
        • STATE_VAR_NAME_ALT

        Components:

        • ATC_Knob_Mode

          Parameters set:

          • POS_STBY
          • POS_AUTO
          • POS_ON
          • ENABLE_AUTO_MODE (using STATE_VAR_NAME_AUTO)
          • DISABLE_AUTO_MODE (using STATE_VAR_NAME_AUTO)
          • IS_AUTO_MODE (using STATE_VAR_NAME_AUTO)
          • ENUM_VAL_STBY
          • ENUM_VAL_ON (using STATE_VAR_NAME_ALT)

          Templates used:

          • ASOBO_AIRLINER_Base_Template

            Parameters set:

            • IE_NAME
            • NUM_STATES
            • NODE_ID (using KNOB_XPNDR_MODE_NODE_ID)
            • ANIM_NAME (using KNOB_XPNDR_MODE_ANIM_NAME)
            • TOOLTIP_TITLE
            • TT_DESCRIPTION_ID
            • SET_STATE_#POS_STBY# (using DISABLE_AUTO_MODE, ENUM_VAL_STBY)
            • SET_STATE_#POS_AUTO# (using ENABLE_AUTO_MODE)
            • SET_STATE_#POS_ON# (using DISABLE_AUTO_MODE, ENUM_VAL_ON)
            • TT_VALUE_#POS_STBY#
            • TT_VALUE_#POS_AUTO#
            • TT_VALUE_#POS_ON#
            • STR_STATE_#POS_STBY#
            • STR_STATE_#POS_AUTO#
            • STR_STATE_#POS_ON#
            • LOCAL_VAR_TO_WATCH_0 (using STATE_VAR_NAME_AUTO)
            • LOCAL_VAR_TO_WATCH_1 (using STATE_VAR_NAME_ALT)
            • SIMVAR_TO_WATCH_0
            • SIMVAR_TO_WATCH_1
            • SIMVAR_TO_WATCH_2
            • GET_STATE_EXTERNAL (using IS_AUTO_MODE)
            • ENUM_VAL_TO_POS_EXTERNAL (using ENUM_VAL_ON, ENUM_VAL_STBY, POS_AUTO, POS_STBY, POS_ON)

        Templates used:

        • ASOBO_AIRLINER_Base_Template

          Parameters set:

          • IE_NAME
          • NUM_STATES
          • TOOLTIP_TITLE
          • TT_DESCRIPTION_ID
          • NODE_ID (using KNOB_XPNDR_ON_OFF_NODE_ID)
          • ANIM_NAME (using KNOB_XPNDR_ON_OFF_ANIM_NAME)
          • SET_STATE_EXTERNAL (using STATE_VAR_NAME_ALT)
          • GET_STATE_EXTERNAL (using STATE_VAR_NAME_ALT)
          • LOCAL_VAR_TO_WATCH_0 (using STATE_VAR_NAME_ALT)
        • ASOBO_GT_Interaction_Tooltip

          Parameters set:

          • NODE_ID (using KNOB_XPNDR_THRT_NODE_ID)

      Templates used:

      • ASOBO_AIRLINER_ATC_BUTTON_Template

        Parameters set:

        • BUTTON_NAME (using BUTTON_IDENT_NAME)
        • BUTTON_ID
        • TOOLTIP_TITLE
        • TT_DESCRIPTION_ID
        • EVENT_TYPE
        • EVENT_NAME
        • TT_VALUE
        • TT_VALUE_IS_DYNAMIC
  • ASOBO_AIRLINER_ATC_Transponder_Mode_Knob_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_ATC_Transponder_Mode_Knob_Template"> <Parameters Type="Default"> <NODE_ID>AIRLINER_ATC_Transponder_Mode_Knob</NODE_ID> <ANIM_NAME>AIRLINER_ATC_Transponder_Mode_Knob</ANIM_NAME> <SET_TRANSPONDER_STATE>(&gt;A:TRANSPONDER STATE:1, Enum)</SET_TRANSPONDER_STATE> <GET_TRANSPONDER_STATE>(A:TRANSPONDER STATE:1, Enum)</GET_TRANSPONDER_STATE> <TRANSPONDER_SIMVAR>TRANSPONDER STATE:1</TRANSPONDER_SIMVAR> <POS_STBY>0</POS_STBY> <POS_XPNDR>1</POS_XPNDR> <POS_TA>2</POS_TA> <POS_TARA>3</POS_TARA> <POS_ALT>4</POS_ALT> <ON_POS_STBY>0 (&gt;I:XMLVAR_IDENT_Shutdown_Time)</ON_POS_STBY> <ON_POS_XPNDR/> <ON_POS_TA/> <ON_POS_TARA/> <ON_POS_ALT/> <ENUM_VAL_STBY>1</ENUM_VAL_STBY> <ENUM_VAL_ALT>4</ENUM_VAL_ALT> <ENUM_VAL_ON>3</ENUM_VAL_ON> <Condition Valid="IDENT"> <ANIM_NAME_PUSH>AIRLINER_ATC_Transponder_Mode_Knob_Push</ANIM_NAME_PUSH> <TT_DESCRIPTION_ID_IDENT>@TT_Package.TRANSPONDER_PUSH_IDT_ACTION</TT_DESCRIPTION_ID_IDENT> <WWISE_PUSH_EVENT_1>transponder_push_on</WWISE_PUSH_EVENT_1> <WWISE_PUSH_EVENT_2>transponder_push_off</WWISE_PUSH_EVENT_2> </Condition> <WWISE_PREFIX>transponder</WWISE_PREFIX> </Parameters> <Parameters Type="Override"> <STATE_VAR_MODE>XMLVAR_Transponder_Mode</STATE_VAR_MODE> <IE_NAME>Mode</IE_NAME> <INPUT_EVENT_ID_SOURCE>AIRLINER_ATC</INPUT_EVENT_ID_SOURCE> <Condition Valid="IDENT"> <IE_NAME_IDENT>Ident</IE_NAME_IDENT> <BUTTON_ID>IDENT</BUTTON_ID> </Condition> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <Condition Valid="IDENT"> <UseTemplate Name="ASOBO_AIRLINER_Push_Event_Base_Template"> <IE_NAME>#IE_NAME_IDENT#</IE_NAME> <ON_PUSH_EVENT>(&gt;H:#EVENT_TARGET#_BTN_#BUTTON_ID#)</ON_PUSH_EVENT> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_IDENT#</TT_DESCRIPTION_ID> </UseTemplate> </Condition> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <CREATE_COMPONENT>False</CREATE_COMPONENT> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <KNOB_TYPE>X_STATES</KNOB_TYPE> <NUM_STATES>5</NUM_STATES> <STR_STATE_#POS_STBY#>STBY</STR_STATE_#POS_STBY#> <STR_STATE_#POS_XPNDR#>XPNDR</STR_STATE_#POS_XPNDR#> <STR_STATE_#POS_TA#>TA</STR_STATE_#POS_TA#> <STR_STATE_#POS_TARA#>TARA</STR_STATE_#POS_TARA#> <STR_STATE_#POS_ALT#>ALT</STR_STATE_#POS_ALT#> <TT_VALUE_#POS_STBY#>@TT_Package.GT_STATE_STANDBY</TT_VALUE_#POS_STBY#> <TT_VALUE_#POS_XPNDR#>@TT_Package.GT_STATE_XPNDR</TT_VALUE_#POS_XPNDR#> <TT_VALUE_#POS_TA#>@TT_Package.GT_STATE_TA</TT_VALUE_#POS_TA#> <TT_VALUE_#POS_TARA#>@TT_Package.GT_STATE_TARA</TT_VALUE_#POS_TARA#> <TT_VALUE_#POS_ALT#>@TT_Package.GT_STATE_ALT</TT_VALUE_#POS_ALT#> <SET_STATE_#POS_STBY#>0 (&gt;L:#STATE_VAR_MODE#) #ENUM_VAL_STBY# #SET_TRANSPONDER_STATE# #ON_POS_STBY#</SET_STATE_#POS_STBY#> <SET_STATE_#POS_XPNDR#>1 (&gt;L:#STATE_VAR_MODE#) #ENUM_VAL_ALT# #SET_TRANSPONDER_STATE# #ON_POS_XPNDR#</SET_STATE_#POS_XPNDR#> <SET_STATE_#POS_TA#>2 (&gt;L:#STATE_VAR_MODE#) #ENUM_VAL_ALT# #SET_TRANSPONDER_STATE# #ON_POS_TA#</SET_STATE_#POS_TA#> <SET_STATE_#POS_TARA#>3 (&gt;L:#STATE_VAR_MODE#) #ENUM_VAL_ALT# #SET_TRANSPONDER_STATE# #ON_POS_TARA#</SET_STATE_#POS_TARA#> <SET_STATE_#POS_ALT#>0 (&gt;L:#STATE_VAR_MODE#) #ENUM_VAL_ON# #SET_TRANSPONDER_STATE# #ON_POS_ALT#</SET_STATE_#POS_ALT#> <PART_ID>TRANSPONDER_KNOB</PART_ID> <GET_STATE_EXTERNAL>(L:#STATE_VAR_MODE#) sp0 #GET_TRANSPONDER_STATE# sp1</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL> l0 0 &gt; if{ l0 1 == if{ #POS_XPNDR# sp2 g1 } l0 2 == if{ #POS_TA# sp2 g1 } l0 3 == if{ #POS_TARA# sp2 g1 } } els{ #POS_STBY# #POS_ALT# l1 #ENUM_VAL_STBY# == ? sp2 g1 } :1 l2 </ENUM_VAL_TO_POS_EXTERNAL> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_MODE#</LOCAL_VAR_TO_WATCH_0> <SIMVAR_TO_WATCH_0>#TRANSPONDER_SIMVAR#</SIMVAR_TO_WATCH_0> <Condition Valid="IDENT"> <ON_PRIMARY_EVENT>(&gt;B:#INPUT_EVENT_ID_SOURCE#_#IE_NAME_IDENT#_Push) (E:SIMULATION TIME, second) 0.5 + (&gt;O:_ReleaseTime)</ON_PRIMARY_EVENT> <IE_ID_EXTERNAL_0>#IE_NAME_IDENT#</IE_ID_EXTERNAL_0> <ANIM_CODE_PUSH>(O:_PushAnimVar) 0 &gt; if{ (E:SIMULATION TIME, second) (O:_ReleaseTime) &gt; if{ 0 (&gt;O:_PushAnimVar) } } (O:_PushAnimVar)</ANIM_CODE_PUSH> </Condition> </UseTemplate> </Component> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • NODE_ID
      • ANIM_NAME
      • SET_TRANSPONDER_STATE
      • GET_TRANSPONDER_STATE
      • TRANSPONDER_SIMVAR
      • POS_STBY
      • POS_XPNDR
      • POS_TA
      • POS_TARA
      • POS_ALT
      • ON_POS_STBY
      • ON_POS_XPNDR
      • ON_POS_TA
      • ON_POS_TARA
      • ON_POS_ALT
      • ENUM_VAL_STBY
      • ENUM_VAL_ALT
      • ENUM_VAL_ON
      • WWISE_PREFIX

      Condition: Valid(IDENT)

      • Case: True

        Parameters set:

        • ANIM_NAME_PUSH
        • TT_DESCRIPTION_ID_IDENT
        • WWISE_PUSH_EVENT_1
        • WWISE_PUSH_EVENT_2
    • Override

      Parameters set:

      • STATE_VAR_MODE
      • IE_NAME
      • INPUT_EVENT_ID_SOURCE

      Condition: Valid(IDENT)

      • Case: True

        Parameters set:

        • IE_NAME_IDENT
        • BUTTON_ID

    Parameters read:

    • NODE_ID

    Components:

    • #NODE_ID# (Node: #NODE_ID#)

      Templates used:

      • ASOBO_AIRLINER_Base_Template

        Parameters set:

        • CREATE_COMPONENT
        • INTERACTION_TYPE
        • KNOB_TYPE
        • NUM_STATES
        • STR_STATE_#POS_STBY#
        • STR_STATE_#POS_XPNDR#
        • STR_STATE_#POS_TA#
        • STR_STATE_#POS_TARA#
        • STR_STATE_#POS_ALT#
        • TT_VALUE_#POS_STBY#
        • TT_VALUE_#POS_XPNDR#
        • TT_VALUE_#POS_TA#
        • TT_VALUE_#POS_TARA#
        • TT_VALUE_#POS_ALT#
        • SET_STATE_#POS_STBY# (using STATE_VAR_MODE, ENUM_VAL_STBY, SET_TRANSPONDER_STATE, ON_POS_STBY)
        • SET_STATE_#POS_XPNDR# (using STATE_VAR_MODE, ENUM_VAL_ALT, SET_TRANSPONDER_STATE, ON_POS_XPNDR)
        • SET_STATE_#POS_TA# (using STATE_VAR_MODE, ENUM_VAL_ALT, SET_TRANSPONDER_STATE, ON_POS_TA)
        • SET_STATE_#POS_TARA# (using STATE_VAR_MODE, ENUM_VAL_ALT, SET_TRANSPONDER_STATE, ON_POS_TARA)
        • SET_STATE_#POS_ALT# (using STATE_VAR_MODE, ENUM_VAL_ON, SET_TRANSPONDER_STATE, ON_POS_ALT)
        • PART_ID
        • GET_STATE_EXTERNAL (using STATE_VAR_MODE, GET_TRANSPONDER_STATE)
        • ENUM_VAL_TO_POS_EXTERNAL (using POS_XPNDR, POS_TA, POS_TARA, POS_STBY, POS_ALT, ENUM_VAL_STBY)
        • LOCAL_VAR_TO_WATCH_0 (using STATE_VAR_MODE)
        • SIMVAR_TO_WATCH_0 (using TRANSPONDER_SIMVAR)

        Condition: Valid(IDENT)

        • Case: True

          Parameters set:

          • ON_PRIMARY_EVENT (using INPUT_EVENT_ID_SOURCE, IE_NAME_IDENT)
          • IE_ID_EXTERNAL_0 (using IE_NAME_IDENT)
          • ANIM_CODE_PUSH

      Condition: Valid(IDENT)

      • Case: True

        Templates used:

  • ASOBO_AIRLINER_Update_Shutdown_Lights_On_Takeoff

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Update_Shutdown_Lights_On_Takeoff"> <Parameters Type="Default"> <LIGHT_TYPE_1/> <LIGHT_TYPE_2/> <LIGHT_TYPE_3/> </Parameters> <UseTemplate Name="ASOBO_GT_Helper_Recursive_Param_Builder"> <PARAM_REPEATED_START>0 (&gt;K:</PARAM_REPEATED_START> <PARAM_REPEATED_END>) </PARAM_REPEATED_END> <PARAM_NAME>UPDATE_CODE</PARAM_NAME> <PARAM_START> (A:SIM ON GROUND, Bool) s1 ! (O:XMLVAR_IsOnGround) and if{ </PARAM_START> <PARAM_END> } l1 (&gt;O:XMLVAR_IsOnGround) </PARAM_END> <Condition Valid="LIGHT_TYPE_1"> <True> <ID>#LIGHT_TYPE_1#_LIGHTS_SET</ID> <Condition Valid="LIGHT_TYPE_2"> <True> <ID2>#LIGHT_TYPE_2#_LIGHTS_SET</ID2> <Condition Valid="LIGHT_TYPE_3"> <True> <ID3>#LIGHT_TYPE_2#_LIGHTS_SET</ID3> </True> </Condition> </True> </Condition> </True> </Condition> <EXIT_TEMPLATE>ASOBO_GT_Update</EXIT_TEMPLATE> <FREQUENCY>1</FREQUENCY> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • LIGHT_TYPE_1
      • LIGHT_TYPE_2
      • LIGHT_TYPE_3

    Templates used:

    • ASOBO_GT_Helper_Recursive_Param_Builder

      Parameters set:

      • PARAM_REPEATED_START
      • PARAM_REPEATED_END
      • PARAM_NAME
      • PARAM_START
      • PARAM_END
      • EXIT_TEMPLATE
      • FREQUENCY

      Condition: Valid(LIGHT_TYPE_1)

      • Case: True

        Parameters set:

        • ID (using LIGHT_TYPE_1)

        Condition: Valid(LIGHT_TYPE_2)

        • Case: True

          Parameters set:

          • ID2 (using LIGHT_TYPE_2)

          Condition: Valid(LIGHT_TYPE_3)

          • Case: True

            Parameters set:

            • ID3 (using LIGHT_TYPE_2)
  • ASOBO_AIRLINER_Update_Set_Potentiometer_On_Takeoff

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Update_Set_Potentiometer_On_Takeoff"> <Parameters Type="Default"> <POTENTIOMETER_AIR_VALUE>0</POTENTIOMETER_AIR_VALUE> <POTENTIOMETER_GROUND_VALUE>100</POTENTIOMETER_GROUND_VALUE> </Parameters> <UseTemplate Name="ASOBO_GT_Update"> <UPDATE_CODE> (A:SIM ON GROUND, Bool) s1 ! (O:XMLVAR_IsOnGround) 1 != and if{ #POTENTIOMETER_AIR_VALUE# #POTENTIOMETER# (&gt;K:2:LIGHT_POTENTIOMETER_SET) } els{ l1 (O:XMLVAR_IsOnGround) 2 != and if{ #POTENTIOMETER_GROUND_VALUE# #POTENTIOMETER# (&gt;K:2:LIGHT_POTENTIOMETER_SET) } } l1 1 + (&gt;O:XMLVAR_IsOnGround) </UPDATE_CODE> <FREQUENCY>1</FREQUENCY> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • POTENTIOMETER_AIR_VALUE
      • POTENTIOMETER_GROUND_VALUE

    Templates used:

    • ASOBO_GT_Update

      Parameters set:

      • UPDATE_CODE (using POTENTIOMETER_AIR_VALUE, POTENTIOMETER, POTENTIOMETER_GROUND_VALUE)
      • FREQUENCY
  • ASOBO_AIRLINER_Update_Set_Potentiometer_On_Gears_Up

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Update_Set_Potentiometer_On_Gears_Up"> <Parameters Type="Default"> <POTENTIOMETER_GEAR_UP_VALUE>50</POTENTIOMETER_GEAR_UP_VALUE> <POTENTIOMETER_GEAR_DOWN_VALUE>100</POTENTIOMETER_GEAR_DOWN_VALUE> </Parameters> <UseTemplate Name="ASOBO_GT_Update"> <UPDATE_CODE> (A:GEAR HANDLE POSITION, Bool) s1 ! (O:XMLVAR_IsGearDown) 1 != and if{ #POTENTIOMETER_GEAR_UP_VALUE# #POTENTIOMETER# (&gt;K:2:LIGHT_POTENTIOMETER_SET) } els{ l1 (O:XMLVAR_IsGearDown) 2 != and if{ #POTENTIOMETER_GEAR_DOWN_VALUE# #POTENTIOMETER# (&gt;K:2:LIGHT_POTENTIOMETER_SET) } } l1 1 + (&gt;O:XMLVAR_IsGearDown) </UPDATE_CODE> <FREQUENCY>1</FREQUENCY> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • POTENTIOMETER_GEAR_UP_VALUE
      • POTENTIOMETER_GEAR_DOWN_VALUE

    Templates used:

    • ASOBO_GT_Update

      Parameters set:

      • UPDATE_CODE (using POTENTIOMETER_GEAR_UP_VALUE, POTENTIOMETER, POTENTIOMETER_GEAR_DOWN_VALUE)
      • FREQUENCY
  • ASOBO_AIRLINER_GlassCockpit_Push_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_GlassCockpit_Push_Template"> <Parameters Type="Default"> <NODE_ID>AIRBUS_Push_Autopilot_#ID_BTN#_#ID#</NODE_ID> <ANIM_NAME>AIRBUS_Push_Autopilot_#ID_BTN#_#ID#</ANIM_NAME> <PART_ID>AIRBUS_Push_Autopilot_#ID_BTN#</PART_ID> <ONOFF_VARIABLE>BTN_#ID_BTN#_FILTER_ACTIVE</ONOFF_VARIABLE> </Parameters> <Parameters Type="Default"> <SEQ1_NOT_DIMMABLE>True</SEQ1_NOT_DIMMABLE> <SEQ1_NODE_ID>#NODE_ID#_SEQ1</SEQ1_NODE_ID> <SEQ2_NODE_ID>#NODE_ID#_SEQ2</SEQ2_NODE_ID> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <WWISE_PREFIX>AIRBUS</WWISE_PREFIX> <IS_AIRLINER>True</IS_AIRLINER> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <WWISE_PREFIX>autopilot</WWISE_PREFIX> <IE_NAME>#ID_BTN#</IE_NAME> <SET_STATE_EXTERNAL>p0 (L:#ONOFF_VARIABLE#) != if{ (&gt;H:#PLANE_PREFIX#_MFD_BTN_#ID_BTN#) (&gt;H:#PLANE_PREFIX#_PFD_BTN_#ID_BTN#) }</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:#ONOFF_VARIABLE#) sp0</GET_STATE_EXTERNAL> <SEQ1_EMISSIVE_CODE>(L:#ONOFF_VARIABLE#)</SEQ1_EMISSIVE_CODE> <LOCAL_VAR_TO_WATCH_0>#ONOFF_VARIABLE#</LOCAL_VAR_TO_WATCH_0> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • NODE_ID (using ID_BTN, ID)
      • ANIM_NAME (using ID_BTN, ID)
      • PART_ID (using ID_BTN)
      • ONOFF_VARIABLE (using ID_BTN)
    • Default

      Parameters set:

      • SEQ1_NOT_DIMMABLE
      • SEQ1_NODE_ID (using NODE_ID)
      • SEQ2_NODE_ID (using NODE_ID)

    Templates used:

    • ASOBO_AIRLINER_Base_Template

      Parameters set:

      • WWISE_PREFIX
      • IS_AIRLINER
      • INTERACTION_TYPE
      • IE_NAME (using ID_BTN)
      • SET_STATE_EXTERNAL (using ONOFF_VARIABLE, PLANE_PREFIX, ID_BTN)
      • GET_STATE_EXTERNAL (using ONOFF_VARIABLE)
      • SEQ1_EMISSIVE_CODE (using ONOFF_VARIABLE)
      • LOCAL_VAR_TO_WATCH_0 (using ONOFF_VARIABLE)
  • ASOBO_AIRLINER_Knob_ND_Cursor_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Knob_ND_Cursor_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <Parameters Type="Default"> <NODE_ID>AIRLINER_Knob_ND_Cursor_#ID#</NODE_ID> <ANIM_NAME>AIRLINER_Knob_ND_Cursor_#ID#</ANIM_NAME> <PART_ID>AIRLINER_Knob_ND_Cursor</PART_ID> <BUTTON_NODE_ID>AIRLINER_Knob_ND_Cursor_#ID#_Push</BUTTON_NODE_ID> <BUTTON_ANIM_NAME>AIRLINER_Knob_ND_Cursor_#ID#_Push</BUTTON_ANIM_NAME> <WWISE_PREFIX>autopilot_knob</WWISE_PREFIX> <WWISE_EVENT>autopilot_knob</WWISE_EVENT> <TOOLTIP_TITLE>@TT_Package.AIRLINER_ND_CURSOR_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_ND_CURSOR_ACTION</TT_DESCRIPTION_ID> <Switch Param="TYPE"> <Case Value="AS01B"> <ON_PUSH_EVENT>(&gt;H:AS01B_MFD_#ID#_Cursor_Press)</ON_PUSH_EVENT> <TT_DESCRIPTION_ID_PUSH>@TT_Package.AIRLINER_ND_CURSOR_ACTION_PUSH</TT_DESCRIPTION_ID_PUSH> </Case> </Switch> </Parameters> <Component ID="#NODE_ID#_Group"> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>ND_Cursor</IE_NAME> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <IS_INFINITE>True</IS_INFINITE> <SET_STATE_EXTERNAL>p0 0 &gt; if{ (&gt;H:AS01B_MFD_#ID#_Cursor_INC) } els{ (&gt;H:AS01B_MFD_#ID#_Cursor_DEC) }</SET_STATE_EXTERNAL> </UseTemplate> <Condition NotEmpty="ON_PUSH_EVENT"> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>ND_Cursor_Button</IE_NAME> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <ANIM_NAME>#BUTTON_ANIM_NAME#</ANIM_NAME> <NODE_ID>#BUTTON_NODE_ID#</NODE_ID> <SET_STATE_EXTERNAL>if{ #ON_PUSH_EVENT# }</SET_STATE_EXTERNAL> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_PUSH#</TT_DESCRIPTION_ID> </UseTemplate> </Condition> </Component> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ID
    • Default

      Parameters set:

      • NODE_ID (using ID)
      • ANIM_NAME (using ID)
      • PART_ID
      • BUTTON_NODE_ID (using ID)
      • BUTTON_ANIM_NAME (using ID)
      • WWISE_PREFIX
      • WWISE_EVENT
      • TOOLTIP_TITLE
      • TT_DESCRIPTION_ID

      Condition: Switch(TYPE)

      • Case: AS01B

        Parameters set:

        • ON_PUSH_EVENT (using ID)
        • TT_DESCRIPTION_ID_PUSH

    Parameters read:

    • NODE_ID

    Components:

    • #NODE_ID#_Group

      Templates used:

      Condition: NotEmpty(ON_PUSH_EVENT)

      • Case: True

        Templates used:

        • ASOBO_AIRLINER_Base_Template

          Parameters set:

          • IE_NAME
          • INTERACTION_TYPE
          • ANIM_NAME (using BUTTON_ANIM_NAME)
          • NODE_ID (using BUTTON_NODE_ID)
          • SET_STATE_EXTERNAL (using ON_PUSH_EVENT)
          • TT_DESCRIPTION_ID (using TT_DESCRIPTION_ID_PUSH)
  • ASOBO_AIRLINER_Knob_ND_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Knob_ND_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <Parameters Type="Default"> <WWISE_PREFIX>autopilot_knob</WWISE_PREFIX> <WWISE_EVENT>autopilot_knob</WWISE_EVENT> <NODE_ID>AIRLINER_Knob_Autopilot_ND_#ID#</NODE_ID> <ANIM_NAME>AIRLINER_Knob_Autopilot_ND_#ID#</ANIM_NAME> <PART_ID>AIRLINER_Knob_Autopilot_ND</PART_ID> <BUTTON_NODE_ID>AIRLINER_Knob_Autopilot_ND_#ID#_Push</BUTTON_NODE_ID> <BUTTON_ANIM_NAME>AIRLINER_Knob_Autopilot_ND_#ID#_Push</BUTTON_ANIM_NAME> <TOOLTIP_TITLE>@TT_Package.AIRLINER_KNOB_ND_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_KNOB_ND_ACTION_MODE</TT_DESCRIPTION_ID> <IE_NAME>ROSE_Mode</IE_NAME> <Switch Param="TYPE"> <Case Value="AIRBUS"> <STR_STATE_0>LS</STR_STATE_0> <STR_STATE_1>VOR</STR_STATE_1> <STR_STATE_2>NAV</STR_STATE_2> <STR_STATE_3>ARC</STR_STATE_3> <STR_STATE_4>PLAN</STR_STATE_4> <NUM_STATES>5</NUM_STATES> <NAV_MODE_VAR>A320_Neo_MFD_NAV_MODE</NAV_MODE_VAR> </Case> <Case Value="BOEING_747"> <STR_STATE_0>APP</STR_STATE_0> <STR_STATE_1>VOR</STR_STATE_1> <STR_STATE_2>MAP</STR_STATE_2> <STR_STATE_3>PLN</STR_STATE_3> <NUM_STATES>4</NUM_STATES> <NAV_MODE_VAR>B747_8_MFD_NAV_MODE</NAV_MODE_VAR> <TT_DESCRIPTION_ID_PUSH>@TT_Package.AIRLINER_KNOB_ND_CTR_ACTION</TT_DESCRIPTION_ID_PUSH> <ON_PUSH_EVENT>(&gt;H:B747_8_MFD_KNOB_AUTOPILOT_CTR)</ON_PUSH_EVENT> <PUSH_IE_NAME>AP_CTR</PUSH_IE_NAME> </Case> </Switch> </Parameters> <Component ID="#NODE_ID#_Group"> <Parameters Type="Override"> <MAX_POS Process="Int">#NUM_STATES# 1 -</MAX_POS> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <KNOB_TYPE>X_STATES</KNOB_TYPE> <Loop> <Setup> <Param>CUR_ID</Param> <From>0</From> <Inc>1</Inc> <To>#MAX_POS#</To> </Setup> <Do> <Parameters Type="Override"> <STR_STATE Process="Param">STR_STATE_#CUR_ID#</STR_STATE> </Parameters> <TT_VALUE_#CUR_ID#>&apos;#STR_STATE#&apos;</TT_VALUE_#CUR_ID#> <TT_VALUE_#CUR_ID#_IS_DYNAMIC>True</TT_VALUE_#CUR_ID#_IS_DYNAMIC> </Do> </Loop> <SET_STATE_EXTERNAL>p0 (&gt;L:#NAV_MODE_VAR#)</SET_STATE_EXTERNAL> <LOCAL_VAR_TO_WATCH_0>#NAV_MODE_VAR#</LOCAL_VAR_TO_WATCH_0> <GET_STATE_EXTERNAL>(L:#NAV_MODE_VAR#) sp0</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL>l0</ENUM_VAL_TO_POS_EXTERNAL> </UseTemplate> <Condition Valid="ON_PUSH_EVENT"> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <SET_STATE_EXTERNAL>if{ #ON_PUSH_EVENT# }</SET_STATE_EXTERNAL> <IE_NAME>#PUSH_IE_NAME#</IE_NAME> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_PUSH#</TT_DESCRIPTION_ID> <NODE_ID>#BUTTON_NODE_ID#</NODE_ID> <ANIM_NAME>#BUTTON_ANIM_NAME#</ANIM_NAME> <NUM_STATES>2</NUM_STATES> </UseTemplate> </Condition> </Component> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ID
    • Default

      Parameters set:

      • WWISE_PREFIX
      • WWISE_EVENT
      • NODE_ID (using ID)
      • ANIM_NAME (using ID)
      • PART_ID
      • BUTTON_NODE_ID (using ID)
      • BUTTON_ANIM_NAME (using ID)
      • TOOLTIP_TITLE
      • TT_DESCRIPTION_ID
      • IE_NAME

      Condition: Switch(TYPE)

      • Case: AIRBUS

        Parameters set:

        • STR_STATE_0
        • STR_STATE_1
        • STR_STATE_2
        • STR_STATE_3
        • STR_STATE_4
        • NUM_STATES
        • NAV_MODE_VAR
      • Case: BOEING_747

        Parameters set:

        • STR_STATE_0
        • STR_STATE_1
        • STR_STATE_2
        • STR_STATE_3
        • NUM_STATES
        • NAV_MODE_VAR
        • TT_DESCRIPTION_ID_PUSH
        • ON_PUSH_EVENT
        • PUSH_IE_NAME

    Parameters read:

    • NODE_ID

    Components:

    • #NODE_ID#_Group

      Parameters set:

      • MAX_POS (using NUM_STATES)

      Templates used:

      • ASOBO_AIRLINER_Base_Template

        Parameters read:

        • MAX_POS

        Parameters set:

        • INTERACTION_TYPE
        • KNOB_TYPE
        • CUR_ID
        • STR_STATE (using CUR_ID)
        • TT_VALUE_#CUR_ID# (using STR_STATE)
        • TT_VALUE_#CUR_ID#_IS_DYNAMIC
        • SET_STATE_EXTERNAL (using NAV_MODE_VAR)
        • LOCAL_VAR_TO_WATCH_0 (using NAV_MODE_VAR)
        • GET_STATE_EXTERNAL (using NAV_MODE_VAR)
        • ENUM_VAL_TO_POS_EXTERNAL

      Condition: Valid(ON_PUSH_EVENT)

      • Case: True

        Templates used:

        • ASOBO_AIRLINER_Base_Template

          Parameters set:

          • INTERACTION_TYPE
          • SET_STATE_EXTERNAL (using ON_PUSH_EVENT)
          • IE_NAME (using PUSH_IE_NAME)
          • TT_DESCRIPTION_ID (using TT_DESCRIPTION_ID_PUSH)
          • NODE_ID (using BUTTON_NODE_ID)
          • ANIM_NAME (using BUTTON_ANIM_NAME)
          • NUM_STATES
  • ASOBO_AIRLINER_Knob_ND_Range_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Knob_ND_Range_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <Parameters Type="Default"> <WWISE_PREFIX>autopilot_knob</WWISE_PREFIX> <WWISE_EVENT>autopilot_knob</WWISE_EVENT> <NODE_ID>AIRLINER_Knob_Autopilot_ND_Range_#ID#</NODE_ID> <ANIM_NAME>AIRLINER_Knob_Autopilot_ND_Range_#ID#</ANIM_NAME> <PART_ID>AIRLINER_Knob_Autopilot_ND_Range</PART_ID> <BUTTON_NODE_ID>AIRLINER_Knob_Autopilot_ND_Range_#ID#_Push</BUTTON_NODE_ID> <BUTTON_ANIM_NAME>AIRLINER_Knob_Autopilot_ND_Range_#ID#_Push</BUTTON_ANIM_NAME> <TOOLTIP_TITLE>@TT_Package.AIRLINER_KNOB_ND_RANGE_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_KNOB_ND_RANGE_ACTION</TT_DESCRIPTION_ID> <IE_NAME>ND_Range_#ID#</IE_NAME> <Switch Param="TYPE"> <Case Value="AIRBUS"> <NM_STATE_0>10</NM_STATE_0> <NM_STATE_1>20</NM_STATE_1> <NM_STATE_2>40</NM_STATE_2> <NM_STATE_3>80</NM_STATE_3> <NM_STATE_4>160</NM_STATE_4> <NM_STATE_5>320</NM_STATE_5> <NUM_STATES>6</NUM_STATES> <ND_VAR>A320_Neo_MFD_Range</ND_VAR> </Case> <Case Value="BOEING_747"> <NM_STATE_0>0.25</NM_STATE_0> <NM_STATE_1>0.5</NM_STATE_1> <NM_STATE_2>1</NM_STATE_2> <NM_STATE_3>2</NM_STATE_3> <NM_STATE_4>5</NM_STATE_4> <NM_STATE_5>10</NM_STATE_5> <NM_STATE_6>20</NM_STATE_6> <NM_STATE_7>40</NM_STATE_7> <NM_STATE_8>80</NM_STATE_8> <NM_STATE_9>160</NM_STATE_9> <NM_STATE_10>320</NM_STATE_10> <NM_STATE_11>640</NM_STATE_11> <NUM_STATES>12</NUM_STATES> <ND_VAR>B747_8_MFD_Range</ND_VAR> <TT_DESCRIPTION_ID_PUSH>@TT_Package.AIRLINER_KNOB_ND_TFC_ACTION</TT_DESCRIPTION_ID_PUSH> <ON_PUSH_EVENT>(&gt;H:B747_8_MFD_KNOB_RANGE_TFC)</ON_PUSH_EVENT> <PUSH_IE_NAME>ND_Range_TFC</PUSH_IE_NAME> </Case> <Case Value="AS01B"> <TT_DESCRIPTION_ID_PUSH>@TT_Package.AIRLINER_KNOB_ND_CTR_ACTION</TT_DESCRIPTION_ID_PUSH> <IE_CW_CODE>(&gt;H:AS01B_MFD_#ID#_Range_INC)</IE_CW_CODE> <IE_CCW_CODE>(&gt;H:AS01B_MFD_#ID#_Range_DEC)</IE_CCW_CODE> <ON_PUSH_EVENT>(&gt;H:AS01B_MFD_#ID#_AUTOPILOT_CTR)</ON_PUSH_EVENT> <PUSH_IE_NAME>ND_Range_CTR</PUSH_IE_NAME> <COUNT>36</COUNT> </Case> </Switch> </Parameters> <Component ID="#NODE_ID#_Group"> <Parameters Type="Override"> <Condition NotEmpty="NUM_STATES"> <MAX_POS Process="Int">#NUM_STATES# 1 -</MAX_POS> </Condition> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <Condition NotEmpty="NUM_STATES"> <True> <KNOB_TYPE>X_STATES</KNOB_TYPE> <Loop> <Setup> <Param>CUR_ID</Param> <From>0</From> <Inc>1</Inc> <To>#MAX_POS#</To> </Setup> <Do> <Parameters Type="Override"> <NM_STATE Process="Param">NM_STATE_#CUR_ID#</NM_STATE> </Parameters> <STR_STATE_#CUR_ID#>Set_#NM_STATE#_NM</STR_STATE_#CUR_ID#> <TT_VALUE_#CUR_ID#>&apos;#NM_STATE# NM&apos;</TT_VALUE_#CUR_ID#> <TT_VALUE_#CUR_ID#_IS_DYNAMIC>True</TT_VALUE_#CUR_ID#_IS_DYNAMIC> </Do> </Loop> <SET_STATE_EXTERNAL>p0 (&gt;L:#ND_VAR#)</SET_STATE_EXTERNAL> <LOCAL_VAR_TO_WATCH_0>#ND_VAR#</LOCAL_VAR_TO_WATCH_0> <GET_STATE_EXTERNAL>(L:#ND_VAR#) sp0</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL>l0</ENUM_VAL_TO_POS_EXTERNAL> </True> <False> <IS_INFINITE>True</IS_INFINITE> <SET_STATE_EXTERNAL>p0 0 &gt; if{ #IE_CW_CODE# } els{ #IE_CCW_CODE# }</SET_STATE_EXTERNAL> </False> </Condition> </UseTemplate> <Condition Valid="ON_PUSH_EVENT"> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <SET_STATE_EXTERNAL>if{ #ON_PUSH_EVENT# }</SET_STATE_EXTERNAL> <IE_NAME>#PUSH_IE_NAME#</IE_NAME> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_PUSH#</TT_DESCRIPTION_ID> <NODE_ID>#BUTTON_NODE_ID#</NODE_ID> <ANIM_NAME>#BUTTON_ANIM_NAME#</ANIM_NAME> <NUM_STATES>2</NUM_STATES> </UseTemplate> </Condition> </Component> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ID
    • Default

      Parameters set:

      • WWISE_PREFIX
      • WWISE_EVENT
      • NODE_ID (using ID)
      • ANIM_NAME (using ID)
      • PART_ID
      • BUTTON_NODE_ID (using ID)
      • BUTTON_ANIM_NAME (using ID)
      • TOOLTIP_TITLE
      • TT_DESCRIPTION_ID
      • IE_NAME (using ID)

      Condition: Switch(TYPE)

      • Case: AIRBUS

        Parameters set:

        • NM_STATE_0
        • NM_STATE_1
        • NM_STATE_2
        • NM_STATE_3
        • NM_STATE_4
        • NM_STATE_5
        • NUM_STATES
        • ND_VAR
      • Case: BOEING_747

        Parameters set:

        • NM_STATE_0
        • NM_STATE_1
        • NM_STATE_2
        • NM_STATE_3
        • NM_STATE_4
        • NM_STATE_5
        • NM_STATE_6
        • NM_STATE_7
        • NM_STATE_8
        • NM_STATE_9
        • NM_STATE_10
        • NM_STATE_11
        • NUM_STATES
        • ND_VAR
        • TT_DESCRIPTION_ID_PUSH
        • ON_PUSH_EVENT
        • PUSH_IE_NAME
      • Case: AS01B

        Parameters set:

        • TT_DESCRIPTION_ID_PUSH
        • IE_CW_CODE (using ID)
        • IE_CCW_CODE (using ID)
        • ON_PUSH_EVENT (using ID)
        • PUSH_IE_NAME
        • COUNT

    Parameters read:

    • NODE_ID

    Components:

    • #NODE_ID#_Group

      Templates used:

      • ASOBO_AIRLINER_Base_Template

        Parameters set:

        • INTERACTION_TYPE

        Condition: NotEmpty(NUM_STATES)

        • Case: True

          Parameters read:

          • MAX_POS

          Parameters set:

          • KNOB_TYPE
          • CUR_ID
          • NM_STATE (using CUR_ID)
          • STR_STATE_#CUR_ID# (using NM_STATE)
          • TT_VALUE_#CUR_ID# (using NM_STATE)
          • TT_VALUE_#CUR_ID#_IS_DYNAMIC
          • SET_STATE_EXTERNAL (using ND_VAR)
          • LOCAL_VAR_TO_WATCH_0 (using ND_VAR)
          • GET_STATE_EXTERNAL (using ND_VAR)
          • ENUM_VAL_TO_POS_EXTERNAL
        • Case: False

          Parameters set:

          • IS_INFINITE
          • SET_STATE_EXTERNAL (using IE_CW_CODE, IE_CCW_CODE)

      Condition: NotEmpty(NUM_STATES)

      • Case: True

        Parameters set:

        • MAX_POS (using NUM_STATES)

      Condition: Valid(ON_PUSH_EVENT)

      • Case: True

        Templates used:

        • ASOBO_AIRLINER_Base_Template

          Parameters set:

          • INTERACTION_TYPE
          • SET_STATE_EXTERNAL (using ON_PUSH_EVENT)
          • IE_NAME (using PUSH_IE_NAME)
          • TT_DESCRIPTION_ID (using TT_DESCRIPTION_ID_PUSH)
          • NODE_ID (using BUTTON_NODE_ID)
          • ANIM_NAME (using BUTTON_ANIM_NAME)
          • NUM_STATES
  • ASOBO_AIRLINER_Switch_Baro_Selector_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Switch_Baro_Selector_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <Parameters Type="Default"> <NODE_ID>AIRLINER_Switch_Baro_Selector_#ID#</NODE_ID> <ANIM_NAME>AIRLINER_Switch_Baro_Selector_#ID#</ANIM_NAME> <PART_ID>AIRLINER_Switch_Baro_Selector</PART_ID> <BARO_SEL_VAR>XMLVAR_Baro_Selector_HPA_#ID#</BARO_SEL_VAR> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> <WWISE_EVENT_1>autopilot_baro_selector_button_on</WWISE_EVENT_1> <WWISE_EVENT_2>autopilot_baro_selector_button_off</WWISE_EVENT_2> <TOOLTIP_TITLE>@TT_Package.AIRLINER_BARO_SELECTOR_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_BARO_SELECTOR_ACTION</TT_DESCRIPTION_ID> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>Baro_Selector</IE_NAME> <LOCAL_VAR_TO_WATCH_0>#BARO_SEL_VAR#</LOCAL_VAR_TO_WATCH_0> <SET_STATE_EXTERNAL>p0 (&gt;L:#BARO_SEL_VAR#)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:#BARO_SEL_VAR#) sp0</GET_STATE_EXTERNAL> <TT_VALUE_ON>&apos;hPa&apos;</TT_VALUE_ON> <TT_VALUE_OFF>&apos;inHg&apos;</TT_VALUE_OFF> <STR_STATE_ON>HPA</STR_STATE_ON> <STR_STATE_OFF>IN_HG</STR_STATE_OFF> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ID
    • Default

      Parameters set:

      • NODE_ID (using ID)
      • ANIM_NAME (using ID)
      • PART_ID
      • BARO_SEL_VAR (using ID)
      • INTERACTION_TYPE
      • WWISE_EVENT_1
      • WWISE_EVENT_2
      • TOOLTIP_TITLE
      • TT_DESCRIPTION_ID

    Templates used:

    • ASOBO_AIRLINER_Base_Template

      Parameters set:

      • IE_NAME
      • LOCAL_VAR_TO_WATCH_0 (using BARO_SEL_VAR)
      • SET_STATE_EXTERNAL (using BARO_SEL_VAR)
      • GET_STATE_EXTERNAL (using BARO_SEL_VAR)
      • TT_VALUE_ON
      • TT_VALUE_OFF
      • STR_STATE_ON
      • STR_STATE_OFF
  • ASOBO_AIRLINER_Audio_Panel_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Audio_Panel_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_GT_Helper_Suffix_ID_Appender"> <TEMPLATE_TO_CALL>ASOBO_AIRLINER_Audio_Panel_SubTemplate</TEMPLATE_TO_CALL> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ID

    Templates used:

  • ASOBO_AIRLINER_Audio_Panel_SubTemplate

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Audio_Panel_SubTemplate"> <Parameters Type="Default"> <PREFIX>AIRLINER</PREFIX> </Parameters> <Parameters Type="Default"> <NODE_ID_RECEIVER_VHF_L>#PREFIX#_AudioReceiver_Knob_VHF_L#SUFFIX_ID#</NODE_ID_RECEIVER_VHF_L> <NODE_ID_LIGHT_RECEIVER_VHF_L>#PREFIX#_AudioReceiver_Knob_VHF_L_LIGHT#SUFFIX_ID#</NODE_ID_LIGHT_RECEIVER_VHF_L> <ANIM_NAME_KNOB_RECEIVER_VHF_L>#PREFIX#_AudioReceiver_Knob_VHF_L#SUFFIX_ID#</ANIM_NAME_KNOB_RECEIVER_VHF_L> <ANIM_NAME_PUSH_RECEIVER_VHF_L>#PREFIX#_AudioReceiver_Push_VHF_L#SUFFIX_ID#</ANIM_NAME_PUSH_RECEIVER_VHF_L> <NODE_ID_LED_RECEIVER_VHF_L>#PREFIX#_AudioReceiver_Knob_VHF_L_LED#SUFFIX_ID#</NODE_ID_LED_RECEIVER_VHF_L> <NODE_ID_BUTTON_VHF_L>#PREFIX#_AudioReceiver_Push_mic_call_01#SUFFIX_ID#</NODE_ID_BUTTON_VHF_L> <ANIM_NAME_BUTTON_VHF_L>#PREFIX#_AudioReceiver_Push_mic_call_01#SUFFIX_ID#</ANIM_NAME_BUTTON_VHF_L> <NODE_ID_BUTTON_SEQ1_VHF_L>#PREFIX#_AudioReceiver_Push_mic_call_01_SEQ1#SUFFIX_ID#</NODE_ID_BUTTON_SEQ1_VHF_L> <NODE_ID_BUTTON_SEQ2_VHF_L>#PREFIX#_AudioReceiver_Push_mic_call_01_SEQ2#SUFFIX_ID#</NODE_ID_BUTTON_SEQ2_VHF_L> <NODE_ID_RECEIVER_VHF_C>#PREFIX#_AudioReceiver_Knob_VHF_C#SUFFIX_ID#</NODE_ID_RECEIVER_VHF_C> <NODE_ID_LIGHT_RECEIVER_VHF_C>#PREFIX#_AudioReceiver_Knob_VHF_C_LIGHT#SUFFIX_ID#</NODE_ID_LIGHT_RECEIVER_VHF_C> <ANIM_NAME_KNOB_RECEIVER_VHF_C>#PREFIX#_AudioReceiver_Knob_VHF_C#SUFFIX_ID#</ANIM_NAME_KNOB_RECEIVER_VHF_C> <ANIM_NAME_PUSH_RECEIVER_VHF_C>#PREFIX#_AudioReceiver_Push_VHF_C#SUFFIX_ID#</ANIM_NAME_PUSH_RECEIVER_VHF_C> <NODE_ID_LED_RECEIVER_VHF_C>#PREFIX#_AudioReceiver_Knob_VHF_C_LED#SUFFIX_ID#</NODE_ID_LED_RECEIVER_VHF_C> <NODE_ID_BUTTON_VHF_C>#PREFIX#_AudioReceiver_Push_mic_call_02#SUFFIX_ID#</NODE_ID_BUTTON_VHF_C> <ANIM_NAME_BUTTON_VHF_C>#PREFIX#_AudioReceiver_Push_mic_call_02#SUFFIX_ID#</ANIM_NAME_BUTTON_VHF_C> <NODE_ID_BUTTON_SEQ1_VHF_C>#PREFIX#_AudioReceiver_Push_mic_call_02_SEQ1#SUFFIX_ID#</NODE_ID_BUTTON_SEQ1_VHF_C> <NODE_ID_BUTTON_SEQ2_VHF_C>#PREFIX#_AudioReceiver_Push_mic_call_02_SEQ2#SUFFIX_ID#</NODE_ID_BUTTON_SEQ2_VHF_C> <NODE_ID_RECEIVER_VHF_R>#PREFIX#_AudioReceiver_Knob_VHF_R#SUFFIX_ID#</NODE_ID_RECEIVER_VHF_R> <NODE_ID_LIGHT_RECEIVER_VHF_R>#PREFIX#_AudioReceiver_Knob_VHF_R_LIGHT#SUFFIX_ID#</NODE_ID_LIGHT_RECEIVER_VHF_R> <ANIM_NAME_KNOB_RECEIVER_VHF_R>#PREFIX#_AudioReceiver_Knob_VHF_R#SUFFIX_ID#</ANIM_NAME_KNOB_RECEIVER_VHF_R> <ANIM_NAME_PUSH_RECEIVER_VHF_R>#PREFIX#_AudioReceiver_Push_VHF_R#SUFFIX_ID#</ANIM_NAME_PUSH_RECEIVER_VHF_R> <NODE_ID_LED_RECEIVER_VHF_R>#PREFIX#_AudioReceiver_Knob_VHF_R_LED#SUFFIX_ID#</NODE_ID_LED_RECEIVER_VHF_R> <NODE_ID_BUTTON_VHF_R>#PREFIX#_AudioReceiver_Push_mic_call_03#SUFFIX_ID#</NODE_ID_BUTTON_VHF_R> <ANIM_NAME_BUTTON_VHF_R>#PREFIX#_AudioReceiver_Push_mic_call_03#SUFFIX_ID#</ANIM_NAME_BUTTON_VHF_R> <NODE_ID_BUTTON_SEQ1_VHF_R>#PREFIX#_AudioReceiver_Push_mic_call_03_SEQ1#SUFFIX_ID#</NODE_ID_BUTTON_SEQ1_VHF_R> <NODE_ID_BUTTON_SEQ2_VHF_R>#PREFIX#_AudioReceiver_Push_mic_call_03_SEQ2#SUFFIX_ID#</NODE_ID_BUTTON_SEQ2_VHF_R> <Switch Param="TYPE"> <Case Value="AIRBUS"> <POTENTIOMETER_SEQ1/> <DONT_OVERRIDE_BASE_EMISSIVE>False</DONT_OVERRIDE_BASE_EMISSIVE> <SEQ2_EMISSIVE_CODE>1</SEQ2_EMISSIVE_CODE> <TEMPLATE_TYPE>KNOB_SWITCH</TEMPLATE_TYPE> </Case> <Case Value="BOEING"> <SEQ2_EMISSIVE_CODE>0</SEQ2_EMISSIVE_CODE> </Case> <Case Value="AS01B"> <SEQ2_EMISSIVE_CODE>0</SEQ2_EMISSIVE_CODE> </Case> </Switch> <SEQ1_EMISSIVE_DRIVES_VISIBILITY>False</SEQ1_EMISSIVE_DRIVES_VISIBILITY> <SEQ2_EMISSIVE_DRIVES_VISIBILITY>False</SEQ2_EMISSIVE_DRIVES_VISIBILITY> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Audio_Volume_Knob_Template"> <NODE_ID>#NODE_ID_RECEIVER_VHF_L#</NODE_ID> <NODE_ID_LIGHT>#NODE_ID_LIGHT_RECEIVER_VHF_L#</NODE_ID_LIGHT> <ANIM_NAME_KNOB>#ANIM_NAME_KNOB_RECEIVER_VHF_L#</ANIM_NAME_KNOB> <ANIM_NAME_SWITCH>#ANIM_NAME_PUSH_RECEIVER_VHF_L#</ANIM_NAME_SWITCH> <NODE_ID_LED>#NODE_ID_LED_RECEIVER_VHF_L#</NODE_ID_LED> <NODE_ID_BUTTON>#NODE_ID_BUTTON_VHF_L#</NODE_ID_BUTTON> <ANIM_NAME_BUTTON>#ANIM_NAME_BUTTON_VHF_L#</ANIM_NAME_BUTTON> <NODE_ID_BUTTON_SEQ1>#NODE_ID_BUTTON_SEQ1_VHF_L#</NODE_ID_BUTTON_SEQ1> <NODE_ID_BUTTON_SEQ2>#NODE_ID_BUTTON_SEQ2_VHF_L#</NODE_ID_BUTTON_SEQ2> <FREQ_ID>VHF_L</FREQ_ID> <ID_COM>1</ID_COM> </UseTemplate> <UseTemplate Name="ASOBO_AIRLINER_Audio_Volume_Knob_Template"> <NODE_ID>#NODE_ID_RECEIVER_VHF_C#</NODE_ID> <NODE_ID_LIGHT>#NODE_ID_LIGHT_RECEIVER_VHF_C#</NODE_ID_LIGHT> <ANIM_NAME_KNOB>#ANIM_NAME_KNOB_RECEIVER_VHF_C#</ANIM_NAME_KNOB> <ANIM_NAME_SWITCH>#ANIM_NAME_PUSH_RECEIVER_VHF_C#</ANIM_NAME_SWITCH> <NODE_ID_LED>#NODE_ID_LED_RECEIVER_VHF_C#</NODE_ID_LED> <NODE_ID_BUTTON>#NODE_ID_BUTTON_VHF_C#</NODE_ID_BUTTON> <ANIM_NAME_BUTTON>#ANIM_NAME_BUTTON_VHF_C#</ANIM_NAME_BUTTON> <NODE_ID_BUTTON_SEQ1>#NODE_ID_BUTTON_SEQ1_VHF_C#</NODE_ID_BUTTON_SEQ1> <NODE_ID_BUTTON_SEQ2>#NODE_ID_BUTTON_SEQ2_VHF_C#</NODE_ID_BUTTON_SEQ2> <FREQ_ID>VHF_C</FREQ_ID> <ID_COM>2</ID_COM> </UseTemplate> <UseTemplate Name="ASOBO_AIRLINER_Audio_Volume_Knob_Template"> <NODE_ID>#NODE_ID_RECEIVER_VHF_R#</NODE_ID> <NODE_ID_LIGHT>#NODE_ID_LIGHT_RECEIVER_VHF_R#</NODE_ID_LIGHT> <ANIM_NAME_KNOB>#ANIM_NAME_KNOB_RECEIVER_VHF_R#</ANIM_NAME_KNOB> <ANIM_NAME_SWITCH>#ANIM_NAME_PUSH_RECEIVER_VHF_R#</ANIM_NAME_SWITCH> <NODE_ID_LED>#NODE_ID_LED_RECEIVER_VHF_R#</NODE_ID_LED> <NODE_ID_BUTTON>#NODE_ID_BUTTON_VHF_R#</NODE_ID_BUTTON> <ANIM_NAME_BUTTON>#ANIM_NAME_BUTTON_VHF_R#</ANIM_NAME_BUTTON> <NODE_ID_BUTTON_SEQ1>#NODE_ID_BUTTON_SEQ1_VHF_R#</NODE_ID_BUTTON_SEQ1> <NODE_ID_BUTTON_SEQ2>#NODE_ID_BUTTON_SEQ2_VHF_R#</NODE_ID_BUTTON_SEQ2> <FREQ_ID>VHF_R</FREQ_ID> <ID_COM>3</ID_COM> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • PREFIX
    • Default

      Parameters set:

      • NODE_ID_RECEIVER_VHF_L (using PREFIX, SUFFIX_ID)
      • NODE_ID_LIGHT_RECEIVER_VHF_L (using PREFIX, SUFFIX_ID)
      • ANIM_NAME_KNOB_RECEIVER_VHF_L (using PREFIX, SUFFIX_ID)
      • ANIM_NAME_PUSH_RECEIVER_VHF_L (using PREFIX, SUFFIX_ID)
      • NODE_ID_LED_RECEIVER_VHF_L (using PREFIX, SUFFIX_ID)
      • NODE_ID_BUTTON_VHF_L (using PREFIX, SUFFIX_ID)
      • ANIM_NAME_BUTTON_VHF_L (using PREFIX, SUFFIX_ID)
      • NODE_ID_BUTTON_SEQ1_VHF_L (using PREFIX, SUFFIX_ID)
      • NODE_ID_BUTTON_SEQ2_VHF_L (using PREFIX, SUFFIX_ID)
      • NODE_ID_RECEIVER_VHF_C (using PREFIX, SUFFIX_ID)
      • NODE_ID_LIGHT_RECEIVER_VHF_C (using PREFIX, SUFFIX_ID)
      • ANIM_NAME_KNOB_RECEIVER_VHF_C (using PREFIX, SUFFIX_ID)
      • ANIM_NAME_PUSH_RECEIVER_VHF_C (using PREFIX, SUFFIX_ID)
      • NODE_ID_LED_RECEIVER_VHF_C (using PREFIX, SUFFIX_ID)
      • NODE_ID_BUTTON_VHF_C (using PREFIX, SUFFIX_ID)
      • ANIM_NAME_BUTTON_VHF_C (using PREFIX, SUFFIX_ID)
      • NODE_ID_BUTTON_SEQ1_VHF_C (using PREFIX, SUFFIX_ID)
      • NODE_ID_BUTTON_SEQ2_VHF_C (using PREFIX, SUFFIX_ID)
      • NODE_ID_RECEIVER_VHF_R (using PREFIX, SUFFIX_ID)
      • NODE_ID_LIGHT_RECEIVER_VHF_R (using PREFIX, SUFFIX_ID)
      • ANIM_NAME_KNOB_RECEIVER_VHF_R (using PREFIX, SUFFIX_ID)
      • ANIM_NAME_PUSH_RECEIVER_VHF_R (using PREFIX, SUFFIX_ID)
      • NODE_ID_LED_RECEIVER_VHF_R (using PREFIX, SUFFIX_ID)
      • NODE_ID_BUTTON_VHF_R (using PREFIX, SUFFIX_ID)
      • ANIM_NAME_BUTTON_VHF_R (using PREFIX, SUFFIX_ID)
      • NODE_ID_BUTTON_SEQ1_VHF_R (using PREFIX, SUFFIX_ID)
      • NODE_ID_BUTTON_SEQ2_VHF_R (using PREFIX, SUFFIX_ID)
      • SEQ1_EMISSIVE_DRIVES_VISIBILITY
      • SEQ2_EMISSIVE_DRIVES_VISIBILITY

      Condition: Switch(TYPE)

      • Case: AIRBUS

        Parameters set:

        • POTENTIOMETER_SEQ1
        • DONT_OVERRIDE_BASE_EMISSIVE
        • SEQ2_EMISSIVE_CODE
        • TEMPLATE_TYPE
      • Case: BOEING

        Parameters set:

        • SEQ2_EMISSIVE_CODE
      • Case: AS01B

        Parameters set:

        • SEQ2_EMISSIVE_CODE

    Templates used:

    • ASOBO_AIRLINER_Audio_Volume_Knob_Template

      Parameters set:

      • NODE_ID (using NODE_ID_RECEIVER_VHF_L)
      • NODE_ID_LIGHT (using NODE_ID_LIGHT_RECEIVER_VHF_L)
      • ANIM_NAME_KNOB (using ANIM_NAME_KNOB_RECEIVER_VHF_L)
      • ANIM_NAME_SWITCH (using ANIM_NAME_PUSH_RECEIVER_VHF_L)
      • NODE_ID_LED (using NODE_ID_LED_RECEIVER_VHF_L)
      • NODE_ID_BUTTON (using NODE_ID_BUTTON_VHF_L)
      • ANIM_NAME_BUTTON (using ANIM_NAME_BUTTON_VHF_L)
      • NODE_ID_BUTTON_SEQ1 (using NODE_ID_BUTTON_SEQ1_VHF_L)
      • NODE_ID_BUTTON_SEQ2 (using NODE_ID_BUTTON_SEQ2_VHF_L)
      • FREQ_ID
      • ID_COM
    • ASOBO_AIRLINER_Audio_Volume_Knob_Template

      Parameters set:

      • NODE_ID (using NODE_ID_RECEIVER_VHF_C)
      • NODE_ID_LIGHT (using NODE_ID_LIGHT_RECEIVER_VHF_C)
      • ANIM_NAME_KNOB (using ANIM_NAME_KNOB_RECEIVER_VHF_C)
      • ANIM_NAME_SWITCH (using ANIM_NAME_PUSH_RECEIVER_VHF_C)
      • NODE_ID_LED (using NODE_ID_LED_RECEIVER_VHF_C)
      • NODE_ID_BUTTON (using NODE_ID_BUTTON_VHF_C)
      • ANIM_NAME_BUTTON (using ANIM_NAME_BUTTON_VHF_C)
      • NODE_ID_BUTTON_SEQ1 (using NODE_ID_BUTTON_SEQ1_VHF_C)
      • NODE_ID_BUTTON_SEQ2 (using NODE_ID_BUTTON_SEQ2_VHF_C)
      • FREQ_ID
      • ID_COM
    • ASOBO_AIRLINER_Audio_Volume_Knob_Template

      Parameters set:

      • NODE_ID (using NODE_ID_RECEIVER_VHF_R)
      • NODE_ID_LIGHT (using NODE_ID_LIGHT_RECEIVER_VHF_R)
      • ANIM_NAME_KNOB (using ANIM_NAME_KNOB_RECEIVER_VHF_R)
      • ANIM_NAME_SWITCH (using ANIM_NAME_PUSH_RECEIVER_VHF_R)
      • NODE_ID_LED (using NODE_ID_LED_RECEIVER_VHF_R)
      • NODE_ID_BUTTON (using NODE_ID_BUTTON_VHF_R)
      • ANIM_NAME_BUTTON (using ANIM_NAME_BUTTON_VHF_R)
      • NODE_ID_BUTTON_SEQ1 (using NODE_ID_BUTTON_SEQ1_VHF_R)
      • NODE_ID_BUTTON_SEQ2 (using NODE_ID_BUTTON_SEQ2_VHF_R)
      • FREQ_ID
      • ID_COM
  • ASOBO_AIRLINER_Audio_Volume_Knob_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Audio_Volume_Knob_Template"> <Parameters Type="Default"> <VOLUME_INCREMENT>5</VOLUME_INCREMENT> <ID_BTN>#ID_COM#</ID_BTN> <TRANSMIT_ID process="Int">#ID_COM# 1 -</TRANSMIT_ID> <STATE_VAR_NAME>XMLVAR_COM_Transmit_Channel</STATE_VAR_NAME> <STATE_VAR_NAME_SWITCH>XMLVAR_COM_#ID_COM#_#FREQ_ID#_#ID#_Switch_Down</STATE_VAR_NAME_SWITCH> <STATE_VAR_NAME_KNOB>XMLVAR_COM_#ID_COM#_Volume_#FREQ_ID#_#ID#</STATE_VAR_NAME_KNOB> <TOOLTIP_TITLE_BUTTON>@TT_Package.AIRLINER_PUSH_RADIO_VHF_TITLE</TOOLTIP_TITLE_BUTTON> <TOOLTIP_TITLE_KNOB>@TT_Package.AIRLINER_AUDIORECEIVER_KNOB_VHF_TITLE</TOOLTIP_TITLE_KNOB> <TT_DESCRIPTION_ID_BUTTON>@TT_Package.AIRLINER_PUSH_RADIO_VHF_ACTION</TT_DESCRIPTION_ID_BUTTON> <TT_DESCRIPTION_ID_KNOB_BUTTON>@TT_Package.AIRLINER_AUDIORECEIVER_KNOB_VHF_ACTION_SET</TT_DESCRIPTION_ID_KNOB_BUTTON> <TT_DESCRIPTION_ID_KNOB>@TT_Package.AIRLINER_AUDIORECEIVER_KNOB_VHF_ACTION</TT_DESCRIPTION_ID_KNOB> </Parameters> <Parameters Type="Override"> <IE_NAME_BUTTON>#FREQ_ID#_#ID#_COM_#ID_COM#_Transmit</IE_NAME_BUTTON> <IE_NAME_KNOB>#FREQ_ID#_#ID#_COM_#ID_COM#_Volume</IE_NAME_KNOB> <IE_NAME_KNOB_BUTTON>#FREQ_ID#_#ID#_COM_#ID_COM#_Receive</IE_NAME_KNOB_BUTTON> </Parameters> <Parameters Type="Override"> <Switch Param="TEMPLATE_TYPE"> <Case Value="KNOB_SWITCH"> <TRANSMIT_EMISSIVE_CODE>(B:AIRLINER_#IE_NAME_KNOB_BUTTON#, Bool) (B:AIRLINER_#IE_NAME_BUTTON#, Bool) and</TRANSMIT_EMISSIVE_CODE> </Case> <Default> <TRANSMIT_EMISSIVE_CODE>(B:AIRLINER_#IE_NAME_BUTTON#, Bool)</TRANSMIT_EMISSIVE_CODE> </Default> </Switch> </Parameters> <UseTemplate Name="ASOBO_GT_Update"> <FREQUENCY>3</FREQUENCY> <UPDATE_CODE>(A:COM TRANSMIT:#ID_COM#, Bool) if{ #ID_BTN# (&gt;L:#STATE_VAR_NAME#) }</UPDATE_CODE> </UseTemplate> <Condition Valid="NO_BUTTON"> <False> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_BUTTON#</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>#ID_COM#</TT_DESCRIPTION_INDEX> <TOOLTIP_TITLE>#TOOLTIP_TITLE_BUTTON#</TOOLTIP_TITLE> <IS_AIRLINER>True</IS_AIRLINER> <NODE_ID>#NODE_ID_BUTTON#</NODE_ID> <ANIM_NAME>#ANIM_NAME_BUTTON#</ANIM_NAME> <SEQ1_NODE_ID>#NODE_ID_BUTTON_SEQ1#</SEQ1_NODE_ID> <SEQ2_NODE_ID>#NODE_ID_BUTTON_SEQ2#</SEQ2_NODE_ID> <SET_STATE_EXTERNAL>#ID_BTN# (&gt;L:#STATE_VAR_NAME#) #TRANSMIT_ID# (&gt;K:PILOT_TRANSMITTER_SET) 4 (&gt;K:COPILOT_TRANSMITTER_SET)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>#ID_BTN# (L:#STATE_VAR_NAME#) == sp0</GET_STATE_EXTERNAL> <ON_AFTER_SET_CODE> #ID_BTN# (L:#STATE_VAR_NAME#) == (&gt;O:AIRLINER_#IE_NAME_BUTTON#_Position)</ON_AFTER_SET_CODE> <SEQ1_EMISSIVE_CODE>(B:AIRLINER_#IE_NAME_BUTTON#, Bool)</SEQ1_EMISSIVE_CODE> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_NAME#</LOCAL_VAR_TO_WATCH_0> <IE_NAME>#IE_NAME_BUTTON#</IE_NAME> <WWISE_PREFIX>audioreceiver_knob</WWISE_PREFIX> <Switch Param="TYPE"> <Case Value="AS01B"> <POTENTIOMETER/> </Case> </Switch> </UseTemplate> </False> </Condition> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <Switch Param="TEMPLATE_TYPE"> <Case Value="KNOB_SWITCH"> <UseTemplate Name="ASOBO_AIRLINER_Push_Event_Base_Template"> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> <IE_NAME>#IE_NAME_KNOB_BUTTON#</IE_NAME> <SET_STATE_EXTERNAL>p0 (&gt;L:#STATE_VAR_NAME_SWITCH#) 1 (&gt;I:XMLVAR_COM_UpdateReceivers)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:#STATE_VAR_NAME_SWITCH#) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_KNOB_BUTTON#</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>#ID_COM#</TT_DESCRIPTION_INDEX> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_NAME_SWITCH#</LOCAL_VAR_TO_WATCH_0> <ANIM>EXTERNAL</ANIM> </UseTemplate> </Case> </Switch> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>#IE_NAME_KNOB#</IE_NAME> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <IS_INFINITE>False</IS_INFINITE> <CREATE_COMPONENT>False</CREATE_COMPONENT> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_KNOB#</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>#ID_COM#</TT_DESCRIPTION_INDEX> <TOOLTIP_TITLE>#TOOLTIP_TITLE_KNOB#</TOOLTIP_TITLE> <Switch Param="TEMPLATE_TYPE"> <Case Value="KNOB_SWITCH"> <TEMPLATE_VARIANT>Switch</TEMPLATE_VARIANT> <IE_ID_EXTERNAL_0>#IE_NAME_KNOB_BUTTON#</IE_ID_EXTERNAL_0> <USE_SIMVAR_FOR_BUTTON_ANIM>False</USE_SIMVAR_FOR_BUTTON_ANIM> <USE_SIMVAR_FOR_KNOB_ANIM>False</USE_SIMVAR_FOR_KNOB_ANIM> <ANIM_CODE_SWITCH>(B:AIRLINER_#IE_NAME_KNOB_BUTTON#, Bool) 100 *</ANIM_CODE_SWITCH> <KNOB_ANIM_CODE>(B:AIRLINER_#IE_NAME_KNOB#, Percent)</KNOB_ANIM_CODE> <CENTER_RADIUS>0.002</CENTER_RADIUS> </Case> <Default> <ANIM_CODE>(B:AIRLINER_#IE_NAME_KNOB#, Percent)</ANIM_CODE> </Default> </Switch> <SET_STATE_EXTERNAL>100 / (&gt;L:#STATE_VAR_NAME_KNOB#) 1 (&gt;I:XMLVAR_COM_UpdateVolumes)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:#STATE_VAR_NAME_KNOB#) 100 *</GET_STATE_EXTERNAL> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_NAME_KNOB#</LOCAL_VAR_TO_WATCH_0> <INC_PARAM_0>#VOLUME_INCREMENT# p0 *</INC_PARAM_0> <INC_PARAM_0_IS_DYNAMIC>True</INC_PARAM_0_IS_DYNAMIC> <DEC_PARAM_0>#VOLUME_INCREMENT# p0 *</DEC_PARAM_0> <DEC_PARAM_0_IS_DYNAMIC>True</DEC_PARAM_0_IS_DYNAMIC> <ANIM_NAME>#ANIM_NAME_KNOB#</ANIM_NAME> <WWISE_PREFIX>audioreceiver</WWISE_PREFIX> <COUNT>36</COUNT> </UseTemplate> </Component> <Switch Param="TYPE"> <Case Value="BOEING"> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_LED#</NODE_ID> <EMISSIVE_CODE>#TRANSMIT_EMISSIVE_CODE#</EMISSIVE_CODE> </UseTemplate> </Case> <Case Value="AS01B"> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_LED#</NODE_ID> <EMISSIVE_CODE>#TRANSMIT_EMISSIVE_CODE#</EMISSIVE_CODE> <POTENTIOMETER/> </UseTemplate> </Case> </Switch> <Condition Valid="NO_LIGHT"> <False> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_LIGHT#</NODE_ID> <COMPONENT_ID>#NODE_ID_LIGHT#_Light</COMPONENT_ID> <Switch Param="TYPE"> <Case Value="BOEING"> <DONT_OVERRIDE_BASE_EMISSIVE>False</DONT_OVERRIDE_BASE_EMISSIVE> </Case> <Default> <EMISSIVE_CODE>#TRANSMIT_EMISSIVE_CODE#</EMISSIVE_CODE> </Default> </Switch> </UseTemplate> </False> </Condition> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • VOLUME_INCREMENT
      • ID_BTN (using ID_COM)
      • TRANSMIT_ID (using ID_COM)
      • STATE_VAR_NAME
      • STATE_VAR_NAME_SWITCH (using ID_COM, FREQ_ID, ID)
      • STATE_VAR_NAME_KNOB (using ID_COM, FREQ_ID, ID)
      • TOOLTIP_TITLE_BUTTON
      • TOOLTIP_TITLE_KNOB
      • TT_DESCRIPTION_ID_BUTTON
      • TT_DESCRIPTION_ID_KNOB_BUTTON
      • TT_DESCRIPTION_ID_KNOB
    • Override

      Parameters set:

      • IE_NAME_BUTTON (using FREQ_ID, ID, ID_COM)
      • IE_NAME_KNOB (using FREQ_ID, ID, ID_COM)
      • IE_NAME_KNOB_BUTTON (using FREQ_ID, ID, ID_COM)
    • Override

      Condition: Switch(TEMPLATE_TYPE)

      • Case: KNOB_SWITCH

        Parameters set:

        • TRANSMIT_EMISSIVE_CODE (using IE_NAME_KNOB_BUTTON, IE_NAME_BUTTON)
      • Default case:

        Parameters set:

        • TRANSMIT_EMISSIVE_CODE (using IE_NAME_BUTTON)

    Parameters read:

    • NODE_ID

    Components:

    • #NODE_ID# (Node: #NODE_ID#)

      Templates used:

      • ASOBO_AIRLINER_Base_Template

        Parameters set:

        • IE_NAME (using IE_NAME_KNOB)
        • INTERACTION_TYPE
        • IS_INFINITE
        • CREATE_COMPONENT
        • TT_DESCRIPTION_ID (using TT_DESCRIPTION_ID_KNOB)
        • TT_DESCRIPTION_INDEX (using ID_COM)
        • TOOLTIP_TITLE (using TOOLTIP_TITLE_KNOB)
        • SET_STATE_EXTERNAL (using STATE_VAR_NAME_KNOB)
        • GET_STATE_EXTERNAL (using STATE_VAR_NAME_KNOB)
        • LOCAL_VAR_TO_WATCH_0 (using STATE_VAR_NAME_KNOB)
        • INC_PARAM_0 (using VOLUME_INCREMENT)
        • INC_PARAM_0_IS_DYNAMIC
        • DEC_PARAM_0 (using VOLUME_INCREMENT)
        • DEC_PARAM_0_IS_DYNAMIC
        • ANIM_NAME (using ANIM_NAME_KNOB)
        • WWISE_PREFIX
        • COUNT

        Condition: Switch(TEMPLATE_TYPE)

        • Case: KNOB_SWITCH

          Parameters set:

          • TEMPLATE_VARIANT
          • IE_ID_EXTERNAL_0 (using IE_NAME_KNOB_BUTTON)
          • USE_SIMVAR_FOR_BUTTON_ANIM
          • USE_SIMVAR_FOR_KNOB_ANIM
          • ANIM_CODE_SWITCH (using IE_NAME_KNOB_BUTTON)
          • KNOB_ANIM_CODE (using IE_NAME_KNOB)
          • CENTER_RADIUS
        • Default case:

          Parameters set:

          • ANIM_CODE (using IE_NAME_KNOB)

      Condition: Switch(TEMPLATE_TYPE)

      • Case: KNOB_SWITCH

        Templates used:

        • ASOBO_AIRLINER_Push_Event_Base_Template

          Parameters set:

          • INTERACTION_TYPE
          • IE_NAME (using IE_NAME_KNOB_BUTTON)
          • SET_STATE_EXTERNAL (using STATE_VAR_NAME_SWITCH)
          • GET_STATE_EXTERNAL (using STATE_VAR_NAME_SWITCH)
          • SIM_STATE_IS_ON_EXTERNAL
          • TT_DESCRIPTION_ID (using TT_DESCRIPTION_ID_KNOB_BUTTON)
          • TT_DESCRIPTION_INDEX (using ID_COM)
          • LOCAL_VAR_TO_WATCH_0 (using STATE_VAR_NAME_SWITCH)
          • ANIM

    Templates used:

    • ASOBO_GT_Update

      Parameters set:

      • FREQUENCY
      • UPDATE_CODE (using ID_COM, ID_BTN, STATE_VAR_NAME)

    Condition: Valid(NO_BUTTON)

    • Case: False

      Templates used:

      • ASOBO_AIRLINER_Base_Template

        Parameters set:

        • INTERACTION_TYPE
        • TT_DESCRIPTION_ID (using TT_DESCRIPTION_ID_BUTTON)
        • TT_DESCRIPTION_INDEX (using ID_COM)
        • TOOLTIP_TITLE (using TOOLTIP_TITLE_BUTTON)
        • IS_AIRLINER
        • NODE_ID (using NODE_ID_BUTTON)
        • ANIM_NAME (using ANIM_NAME_BUTTON)
        • SEQ1_NODE_ID (using NODE_ID_BUTTON_SEQ1)
        • SEQ2_NODE_ID (using NODE_ID_BUTTON_SEQ2)
        • SET_STATE_EXTERNAL (using ID_BTN, STATE_VAR_NAME, TRANSMIT_ID)
        • GET_STATE_EXTERNAL (using ID_BTN, STATE_VAR_NAME)
        • ON_AFTER_SET_CODE (using ID_BTN, STATE_VAR_NAME, IE_NAME_BUTTON)
        • SEQ1_EMISSIVE_CODE (using IE_NAME_BUTTON)
        • LOCAL_VAR_TO_WATCH_0 (using STATE_VAR_NAME)
        • IE_NAME (using IE_NAME_BUTTON)
        • WWISE_PREFIX

        Condition: Switch(TYPE)

        • Case: AS01B

          Parameters set:

          • POTENTIOMETER

    Condition: Switch(TYPE)

    Condition: Valid(NO_LIGHT)

    • Case: False

      Templates used:

      • ASOBO_GT_Component_Emissive_Gauge

        Parameters set:

        • NODE_ID (using NODE_ID_LIGHT)
        • COMPONENT_ID (using NODE_ID_LIGHT)

        Condition: Switch(TYPE)

        • Case: BOEING

          Parameters set:

          • DONT_OVERRIDE_BASE_EMISSIVE
        • Default case:

          Parameters set:

          • EMISSIVE_CODE (using TRANSMIT_EMISSIVE_CODE)
  • ASOBO_Airliner_Audio_Panel_Knob_Lights_Dummies

    Definition from XML
    <Template Name="ASOBO_Airliner_Audio_Panel_Knob_Lights_Dummies"> <Parameters Type="Override"> <DONT_OVERRIDE_BASE_EMISSIVE>False</DONT_OVERRIDE_BASE_EMISSIVE> </Parameters> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_FLT_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_CAB_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_PA_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_HF_L_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_HF_R_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_SAT_L_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_SAT_R_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_SPKR_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_01_#ID#_SEQ1</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#PREFIX#_AudioReceiver_Knob_02_#ID#_SEQ1</NODE_ID> </UseTemplate> </Template>

    Parameters initialization:

    • Override

      Parameters set:

      • DONT_OVERRIDE_BASE_EMISSIVE

    Templates used:

  • ASOBO_AIRLINER_Audio_Panel_Updater

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Audio_Panel_Updater"> <Parameters Type="Override"> <COM_COUNT>3</COM_COUNT> <Switch Param="TYPE"> <Case Value="AIRBUS"> <RADIO_COUNT>2</RADIO_COUNT> <HANDLE_COM_RECEIVE>True</HANDLE_COM_RECEIVE> <HANDLE_COM_VOLUME>True</HANDLE_COM_VOLUME> </Case> <Default> <RADIO_COUNT>3</RADIO_COUNT> <HANDLE_COM_RECEIVE>False</HANDLE_COM_RECEIVE> <HANDLE_COM_VOLUME>True</HANDLE_COM_VOLUME> </Default> </Switch> <UPDATE_CODE_EXTERNAL/> </Parameters> <Parameters Type="Override"> <Condition Valid="HANDLE_COM_RECEIVE"> <Loop> <Setup> <Param>COM_ID</Param> <From>1</From> <Inc>1</Inc> <To>#COM_COUNT#</To> </Setup> <Do> <Parameters Type="Default" Lifetime="Loop"> <UPDATE_CODE_T/> </Parameters> <Parameters Type="Override" Lifetime="Loop"> <VHF_SP_ID Process="Int">#COM_COUNT# #COM_ID# +</VHF_SP_ID> <Switch Param="COM_ID"> <Case Value="1"> <VHF_NAME>VHF_L</VHF_NAME> </Case> <Case Value="2"> <VHF_NAME>VHF_C</VHF_NAME> </Case> <Case Value="3"> <VHF_NAME>VHF_R</VHF_NAME> </Case> </Switch> </Parameters> <Parameters Type="Override" Lifetime="Loop"> <Switch Param="RADIO_COUNT"> <Case Value="2"> <UPDATE_CODE_T>#UPDATE_CODE_T# (A:COM RECEIVE:#COM_ID#, Bool) sp#COM_ID# (B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Receive, Bool) (B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Receive, Bool) or sp#VHF_SP_ID# (I:XMLVAR_COM_UpdateReceivers) if{ l#VHF_SP_ID# (&gt;K:COM#COM_ID#_RECEIVE_SELECT) } els{ l#COM_ID# l#VHF_SP_ID# != if{ (&gt;B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Receive_Toggle) } } </UPDATE_CODE_T> </Case> <Case Value="3"> <UPDATE_CODE_T>#UPDATE_CODE_T# (A:COM RECEIVE:#COM_ID#, Bool) sp#COM_ID# (B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Receive, Bool) (B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Receive, Bool) or (B:AIRLINER_#VHF_NAME#_3_COM_#COM_ID#_Receive, Bool) or sp#VHF_SP_ID# (I:XMLVAR_COM_UpdateReceivers) if{ l#VHF_SP_ID# (&gt;K:COM#COM_ID#_RECEIVE_SELECT) } els{ l#COM_ID# l#VHF_SP_ID# != if{ (&gt;B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Receive_Toggle) } } </UPDATE_CODE_T> </Case> </Switch> </Parameters> </Do> <Then> <UPDATE_CODE_EXTERNAL>#UPDATE_CODE_EXTERNAL##UPDATE_CODE_T#</UPDATE_CODE_EXTERNAL> </Then> </Loop> </Condition> </Parameters> <Parameters Type="Override"> <Condition Valid="HANDLE_COM_VOLUME"> <Loop> <Setup> <Param>COM_ID</Param> <From>1</From> <Inc>1</Inc> <To>#COM_COUNT#</To> </Setup> <Do> <Parameters Type="Default" Lifetime="Loop"> <UPDATE_CODE_T/> </Parameters> <Parameters Type="Override" Lifetime="Loop"> <COM_SP_ID Process="Int">#COM_COUNT# 2 * #COM_ID# +</COM_SP_ID> </Parameters> <Parameters Type="Override" Lifetime="Loop"> <VHF_SP_ID Process="Int">3 #COM_SP_ID# +</VHF_SP_ID> <Switch Param="COM_ID"> <Case Value="1"> <VHF_NAME>VHF_L</VHF_NAME> </Case> <Case Value="2"> <VHF_NAME>VHF_C</VHF_NAME> </Case> <Case Value="3"> <VHF_NAME>VHF_R</VHF_NAME> </Case> </Switch> </Parameters> <Parameters Type="Override" Lifetime="Loop"> <Switch Param="RADIO_COUNT"> <Case Value="2"> <UPDATE_CODE_T>#UPDATE_CODE_T# (A:COM VOLUME:#COM_ID#, Percent) sp#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume, Percent) (B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Volume, Percent) max sp#VHF_SP_ID# (I:XMLVAR_COM_UpdateVolumes) if{ l#VHF_SP_ID# (&gt;K:COM#COM_ID#_VOLUME_SET) } els{ l#COM_SP_ID# l#VHF_SP_ID# != if{ l#COM_SP_ID# l#VHF_SP_ID# &gt; if{ l#COM_SP_ID# (&gt;B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume_Set) } els{ l#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume) min (&gt;B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume_Set) l#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Volume) min (&gt;B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Volume_Set) } } } </UPDATE_CODE_T> </Case> <Case Value="3"> <UPDATE_CODE_T>#UPDATE_CODE_T# (A:COM VOLUME:#COM_ID#, Percent) sp#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume, Percent) (B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Volume, Percent) max (B:AIRLINER_#VHF_NAME#_3_COM_#COM_ID#_Volume, Percent) max sp#VHF_SP_ID# (I:XMLVAR_COM_UpdateVolumes) if{ l#VHF_SP_ID# (&gt;K:COM#COM_ID#_VOLUME_SET) } els{ l#COM_SP_ID# l#VHF_SP_ID# != if{ l#COM_SP_ID# l#VHF_SP_ID# &gt; if{ l#COM_SP_ID# (&gt;B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume_Set) } els{ l#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume) min (&gt;B:AIRLINER_#VHF_NAME#_1_COM_#COM_ID#_Volume_Set) l#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Volume) min (&gt;B:AIRLINER_#VHF_NAME#_2_COM_#COM_ID#_Volume_Set) l#COM_SP_ID# (B:AIRLINER_#VHF_NAME#_3_COM_#COM_ID#_Volume) min (&gt;B:AIRLINER_#VHF_NAME#_3_COM_#COM_ID#_Volume_Set) } } } </UPDATE_CODE_T> </Case> </Switch> </Parameters> </Do> <Then> <UPDATE_CODE_EXTERNAL>#UPDATE_CODE_EXTERNAL##UPDATE_CODE_T#</UPDATE_CODE_EXTERNAL> </Then> </Loop> </Condition> </Parameters> <UseTemplate Name="ASOBO_GT_Update"> <FREQUENCY>1</FREQUENCY> <UPDATE_CODE>#UPDATE_CODE_EXTERNAL#</UPDATE_CODE> </UseTemplate> </Template>

    Parameters initialization:

    • Override

      Parameters set:

      • COM_COUNT
      • UPDATE_CODE_EXTERNAL

      Condition: Switch(TYPE)

      • Case: AIRBUS

        Parameters set:

        • RADIO_COUNT
        • HANDLE_COM_RECEIVE
        • HANDLE_COM_VOLUME
      • Default case:

        Parameters set:

        • RADIO_COUNT
        • HANDLE_COM_RECEIVE
        • HANDLE_COM_VOLUME
    • Override

      Condition: Valid(HANDLE_COM_RECEIVE)

      • Case: True

        Parameters read:

        • COM_COUNT

        Parameters set:

        • COM_ID
        • UPDATE_CODE_T
        • VHF_SP_ID (using COM_COUNT, COM_ID)
        • UPDATE_CODE_EXTERNAL (using UPDATE_CODE_EXTERNAL, UPDATE_CODE_T)

        Condition: Switch(COM_ID)

        • Case: 1

          Parameters set:

          • VHF_NAME
        • Case: 2

          Parameters set:

          • VHF_NAME
        • Case: 3

          Parameters set:

          • VHF_NAME

        Condition: Switch(RADIO_COUNT)

        • Case: 2

          Parameters set:

          • UPDATE_CODE_T (using UPDATE_CODE_T, COM_ID, VHF_NAME, VHF_SP_ID)
        • Case: 3

          Parameters set:

          • UPDATE_CODE_T (using UPDATE_CODE_T, COM_ID, VHF_NAME, VHF_SP_ID)
    • Override

      Condition: Valid(HANDLE_COM_VOLUME)

      • Case: True

        Parameters read:

        • COM_COUNT

        Parameters set:

        • COM_ID
        • UPDATE_CODE_T
        • COM_SP_ID (using COM_COUNT, COM_ID)
        • VHF_SP_ID (using COM_SP_ID)
        • UPDATE_CODE_EXTERNAL (using UPDATE_CODE_EXTERNAL, UPDATE_CODE_T)

        Condition: Switch(COM_ID)

        • Case: 1

          Parameters set:

          • VHF_NAME
        • Case: 2

          Parameters set:

          • VHF_NAME
        • Case: 3

          Parameters set:

          • VHF_NAME

        Condition: Switch(RADIO_COUNT)

        • Case: 2

          Parameters set:

          • UPDATE_CODE_T (using UPDATE_CODE_T, COM_ID, COM_SP_ID, VHF_NAME, VHF_SP_ID)
        • Case: 3

          Parameters set:

          • UPDATE_CODE_T (using UPDATE_CODE_T, COM_ID, COM_SP_ID, VHF_NAME, VHF_SP_ID)

    Templates used:

    • ASOBO_GT_Update

      Parameters set:

      • FREQUENCY
      • UPDATE_CODE (using UPDATE_CODE_EXTERNAL)
  • ASOBO_AIRLINER_Seatbelts_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Seatbelts_Template"> <Parameters Type="Default"> <TYPE>ON_OFF</TYPE> </Parameters> <Parameters Type="Default"> <Switch Param="INTERACTION_TYPE"> <Case Value="Knob"> <SWITCH_DIRECTION>Horizontal</SWITCH_DIRECTION> <ARROW_TYPE>Curved</ARROW_TYPE> <NUM_STATES>2</NUM_STATES> <KNOB_TYPE>X_STATES</KNOB_TYPE> </Case> </Switch> <NODE_ID>AIRLINER_#INTERACTION_TYPE#_Seatbelts</NODE_ID> <ANIM_NAME>AIRLINER_#INTERACTION_TYPE#_Seatbelts</ANIM_NAME> <WWISE_PREFIX>seatbelts</WWISE_PREFIX> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_OVHD_SWITCH_INTLT_SEATBELT_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.AIRLINER_OVHD_SWITCH_INTLT_SEATBELT_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>Seatbelts</IE_NAME> <SET_STATE_EXTERNAL>(A:CABIN SEATBELTS ALERT SWITCH, Bool) p0 != if{ (&gt;K:CABIN_SEATBELTS_ALERT_SWITCH_TOGGLE) }</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(A:CABIN SEATBELTS ALERT SWITCH, Bool) sp0</GET_STATE_EXTERNAL> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • TYPE
    • Default

      Parameters set:

      • NODE_ID (using INTERACTION_TYPE)
      • ANIM_NAME (using INTERACTION_TYPE)
      • WWISE_PREFIX
      • TT_DESCRIPTION_ID
      • TOOLTIP_TITLE

      Condition: Switch(INTERACTION_TYPE)

      • Case: Knob

        Parameters set:

        • SWITCH_DIRECTION
        • ARROW_TYPE
        • NUM_STATES
        • KNOB_TYPE

    Templates used:

  • ASOBO_AIRLINER_Switch_Seatbelts_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Switch_Seatbelts_Template"> <UseTemplate Name="ASOBO_AIRLINER_Seatbelts_Template"> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> </UseTemplate> </Template>

    Templates used:

  • ASOBO_AIRLINER_Knob_Seatbelts_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Knob_Seatbelts_Template"> <UseTemplate Name="ASOBO_AIRLINER_Seatbelts_Template"> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> </UseTemplate> </Template>

    Templates used:

  • ASOBO_AIRLINER_NoSmoking_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_NoSmoking_Template"> <Parameters Type="Default"> <TYPE>ON_OFF</TYPE> </Parameters> <Parameters Type="Default"> <Switch Param="INTERACTION_TYPE"> <Case Value="Knob"> <SWITCH_DIRECTION>Horizontal</SWITCH_DIRECTION> <ARROW_TYPE>Curved</ARROW_TYPE> <NUM_STATES>2</NUM_STATES> <KNOB_TYPE>X_STATES</KNOB_TYPE> </Case> </Switch> <NODE_ID>AIRLINER_#INTERACTION_TYPE#_NoSmoking</NODE_ID> <ANIM_NAME>AIRLINER_#INTERACTION_TYPE#_NoSmoking</ANIM_NAME> <WWISE_PREFIX>nosmoking</WWISE_PREFIX> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_OVHD_SWITCH_INTLT_NOSMOKING_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.AIRLINER_OVHD_SWITCH_INTLT_NOSMOKING_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>No_Smoking</IE_NAME> <SET_STATE_EXTERNAL>(A:CABIN NO SMOKING ALERT SWITCH, Bool) p0 != if{ (&gt;K:CABIN_NO_SMOKING_ALERT_SWITCH_TOGGLE) }</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(A:CABIN NO SMOKING ALERT SWITCH, Bool) sp0</GET_STATE_EXTERNAL> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • TYPE
    • Default

      Parameters set:

      • NODE_ID (using INTERACTION_TYPE)
      • ANIM_NAME (using INTERACTION_TYPE)
      • WWISE_PREFIX
      • TT_DESCRIPTION_ID
      • TOOLTIP_TITLE

      Condition: Switch(INTERACTION_TYPE)

      • Case: Knob

        Parameters set:

        • SWITCH_DIRECTION
        • ARROW_TYPE
        • NUM_STATES
        • KNOB_TYPE

    Templates used:

  • ASOBO_AIRLINER_Switch_NoSmoking_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Switch_NoSmoking_Template"> <UseTemplate Name="ASOBO_AIRLINER_NoSmoking_Template"> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> </UseTemplate> </Template>

    Templates used:

  • ASOBO_AIRLINER_Push_Clock_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Push_Clock_Template"> <Parameters Type="Default"> <NODE_ID>AIRLINER_Push_Clock</NODE_ID> <ANIM_NAME>AIRLINER_Push_Clock</ANIM_NAME> <PLANE_PREFIX>Generic</PLANE_PREFIX> <BUTTON_ID>Clock</BUTTON_ID> <WWISE_PREFIX>safety_clock</WWISE_PREFIX> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> <TOOLTIP_TITLE>@TT_Package.AIRLINER_PUSH_MAIN_PANEL_CLOCK_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_PUSH_MAIN_PANEL_CLOCK_ACTION</TT_DESCRIPTION_ID> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> <SET_STATE_EXTERNAL>(&gt;H:#PLANE_PREFIX#_BTN_#BUTTON_ID#)</SET_STATE_EXTERNAL> <IE_NAME>Clock</IE_NAME> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • NODE_ID
      • ANIM_NAME
      • PLANE_PREFIX
      • BUTTON_ID
      • WWISE_PREFIX
      • NORMALIZED_TIME_2
      • TOOLTIP_TITLE
      • TT_DESCRIPTION_ID

    Templates used:

  • ASOBO_AIRLINER_HUD_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_HUD_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <Parameters Type="Default"> <STATE_VAR_NAME>XMLVAR_HUD_#ID#_Down</STATE_VAR_NAME> <WWISE_EVENT_1>autopilot_hud_switch_down</WWISE_EVENT_1> <WWISE_EVENT_2>autopilot_hud_switch_up</WWISE_EVENT_2> <NORMALIZED_TIME_1>0.8</NORMALIZED_TIME_1> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> <TT_DESCRIPTION_ID>@TT_Package.AIRLINER_HUD_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.AIRLINER_HUD_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_AIRLINER_Base_Template"> <IE_NAME>HUD_#ID#</IE_NAME> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> <SET_STATE_EXTERNAL>p0 (&gt;L:#STATE_VAR_NAME#)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:#STATE_VAR_NAME#) sp0</GET_STATE_EXTERNAL> <LOCAL_VAR_TO_WATCH_0>#STATE_VAR_NAME#</LOCAL_VAR_TO_WATCH_0> <STR_STATE_ON>Down</STR_STATE_ON> <STR_STATE_OFF>Up</STR_STATE_OFF> <TT_VALUE_ON>(R:1:@TT_Package.GT_STATE_DOWN)</TT_VALUE_ON> <TT_VALUE_OFF>(R:1:@TT_Package.GT_STATE_UP)</TT_VALUE_OFF> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ID
    • Default

      Parameters set:

      • STATE_VAR_NAME (using ID)
      • WWISE_EVENT_1
      • WWISE_EVENT_2
      • NORMALIZED_TIME_1
      • NORMALIZED_TIME_2
      • TT_DESCRIPTION_ID
      • TOOLTIP_TITLE

    Templates used:

    • ASOBO_AIRLINER_Base_Template

      Parameters set:

      • IE_NAME (using ID)
      • INTERACTION_TYPE
      • SET_STATE_EXTERNAL (using STATE_VAR_NAME)
      • GET_STATE_EXTERNAL (using STATE_VAR_NAME)
      • LOCAL_VAR_TO_WATCH_0 (using STATE_VAR_NAME)
      • STR_STATE_ON
      • STR_STATE_OFF
      • TT_VALUE_ON
      • TT_VALUE_OFF
  • ASOBO_AIRLINER_Base_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Base_Template"> <Parameters Type="Default"> <INPUT_EVENT_ID_SOURCE>AIRLINER</INPUT_EVENT_ID_SOURCE> <WWISE_PREFIX>AIRLINER</WWISE_PREFIX> </Parameters> <UseTemplate Name="ASOBO_Interaction_Base_Template"> <USE_INPUT_EVENT_ID>AIRLINER</USE_INPUT_EVENT_ID> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • INPUT_EVENT_ID_SOURCE
      • WWISE_PREFIX

    Templates used:

  • ASOBO_AIRLINER_Push_Event_Base_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Push_Event_Base_Template"> <UseTemplate Name="ASOBO_Interaction_Push_Event_Base_Template"> <USE_INPUT_EVENT_ID>AIRLINER</USE_INPUT_EVENT_ID> </UseTemplate> </Template>

    Templates used:

  • ASOBO_AIRLINER_Pull_Event_Base_Template

    Definition from XML
    <Template Name="ASOBO_AIRLINER_Pull_Event_Base_Template"> <UseTemplate Name="ASOBO_Interaction_Pull_Event_Base_Template"> <USE_INPUT_EVENT_ID>AIRLINER</USE_INPUT_EVENT_ID> </UseTemplate> </Template>

    Templates used: