[Go back to index]

Asobo\Common\Subtemplates\Pressurization_Subtemplates.xml

Source XML
<ModelBehaviors> <Template Name="ASOBO_PRESSURIZATION_Needle_Suction_SubTemplate"> <Parameters Type="Default"> <ANIM_NAME>PRESSURIZATION_Needle_Suction#SUFFIX_ID#</ANIM_NAME> <PART_ID>PRESSURIZATION_Needle_Suction</PART_ID> <NODE_ID>PRESSURIZATION_Needle_Suction#SUFFIX_ID#</NODE_ID> <MIN_VALUE>3</MIN_VALUE> <MAX_VALUE>7</MAX_VALUE> <UNITS>inHg</UNITS> </Parameters> <UseTemplate Name="ASOBO_GT_Needle_Code"> <SIMVAR>SUCTION PRESSURE</SIMVAR> </UseTemplate> </Template> <Template Name="ASOBO_PRESSURIZATION_Passenger_Oxygen_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_Deploy</NODE_ID> <PART_ID>PRESSURIZATION_#INTERACTION_TYPE#_Deploy</PART_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_Deploy</ANIM_NAME> <Switch Param="INTERACTION_TYPE"> <Case Value="Switch"> <WWISE_EVENT_1>pressurization_deploy_switch_on</WWISE_EVENT_1> <WWISE_EVENT_2>pressurization_deploy_switch_off</WWISE_EVENT_2> </Case> </Switch> <TT_DESCRIPTION_ID>@TT_Package.CABIN_PASSENGER_SWITCH_OXYGEN_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.CABIN_PASSENGER_SWITCH_OXYGEN_TITLE</TOOLTIP_TITLE> </Parameters> <Parameters Type="Override"> <BTN_ID>Passenger_Oxygen</BTN_ID> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="PRESSURIZATION"> <SET_STATE_ON>1 (&gt;O:XMLVAR_Passenger_Oxygen_Enabled)</SET_STATE_ON> <SET_STATE_OFF>0 (&gt;O:XMLVAR_Passenger_Oxygen_Enabled)</SET_STATE_OFF> <GET_STATE_EXTERNAL>(O:XMLVAR_Passenger_Oxygen_Enabled) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Switch_Code"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <ANIM_CODE>(B:PRESSURIZATION_#BTN_ID#, Bool) 100 *</ANIM_CODE> <LEFT_SINGLE_CODE>(&gt;B:PRESSURIZATION_#BTN_ID#_Toggle)</LEFT_SINGLE_CODE> </UseTemplate> </Component> </Template> <Template Name="ASOBO_PRESSURIZATION_Oxygen_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_Oxygen</NODE_ID> <PART_ID>PRESSURIZATION_#INTERACTION_TYPE#_Oxygen</PART_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_Oxygen</ANIM_NAME> <Switch Param="INTERACTION_TYPE"> <Case Value="Switch"> <WWISE_EVENT_1>pressurization_oxygen_switch_on</WWISE_EVENT_1> <WWISE_EVENT_2>pressurization_oxygen_switch_off</WWISE_EVENT_2> </Case> </Switch> <TOOLTIP_TITLE>@TT_Package.CABIN_PILOT_SWITCH_OXYGEN_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.CABIN_PILOT_SWITCH_OXYGEN_ACTION</TT_DESCRIPTION_ID> </Parameters> <Parameters Type="Override"> <BTN_ID>Oxygen</BTN_ID> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="PRESSURIZATION"> <SET_STATE_ON>1 (&gt;O:XMLVAR_Oxygen_Enabled)</SET_STATE_ON> <SET_STATE_OFF>0 (&gt;O:XMLVAR_Oxygen_Enabled)</SET_STATE_OFF> <GET_STATE_EXTERNAL>(O:XMLVAR_Oxygen_Enabled) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Switch_Code"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <ANIM_CODE>(B:PRESSURIZATION_#BTN_ID#, Bool) 100 *</ANIM_CODE> <LEFT_SINGLE_CODE>(&gt;B:PRESSURIZATION_#BTN_ID#_Toggle)</LEFT_SINGLE_CODE> </UseTemplate> </Component> </Template> <Template Name="ASOBO_PRESSURIZATION_MicroMask_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_MicroMask</NODE_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_MicroMask</ANIM_NAME> <PART_ID>PRESSURIZATION_#INTERACTION_TYPE#_MicroMask</PART_ID> <Switch Param="INTERACTION_TYPE"> <Case Value="Push"> <WWISE_EVENT_1>pressurization_micromask_push_button_on</WWISE_EVENT_1> <NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> <WWISE_EVENT_2>pressurization_micromask_push_button_off</WWISE_EVENT_2> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> </Case> </Switch> <Condition Valid="IS_AIRLINER"> <Condition NotEmpty="MASK_EMISSIVE_NODE_ID"> <SEQ1_NODE_ID>#MASK_EMISSIVE_NODE_ID#</SEQ1_NODE_ID> </Condition> <Condition NotEmpty="MICRO_EMISSIVE_NODE_ID"> <SEQ2_NODE_ID>#MICRO_EMISSIVE_NODE_ID#</SEQ2_NODE_ID> </Condition> <Condition NotEmpty="COVER_NODE_ID"> <COVER_IE_NAME>Micro_Mask_Cover</COVER_IE_NAME> <COVER_IE_ID_SOURCE>PRESSURIZATION</COVER_IE_ID_SOURCE> <WWISE_COVER_EVENT_OPEN>pressurization_micromask_cover_open</WWISE_COVER_EVENT_OPEN> <WWISE_COVER_EVENT_CLOSE>pressurization_micromask_cover_close</WWISE_COVER_EVENT_CLOSE> </Condition> <INPUT_EVENT_ID>PRESSURIZATION</INPUT_EVENT_ID> <SEQ1_EMISSIVE_CODE>(B:PRESSURIZATION_Micro_Mask, Bool) !</SEQ1_EMISSIVE_CODE> <SEQ2_EMISSIVE_CODE>(B:PRESSURIZATION_Micro_Mask, Bool)</SEQ2_EMISSIVE_CODE> </Condition> <TT_DESCRIPTION_ID>@TT_Package.AUDIOPANEL_PUSH_BUTTONMIC_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.AUDIOPANEL_PUSH_BUTTONMIC_TITLE</TOOLTIP_TITLE> </Parameters> <Parameters Type="Override"> <BTN_ID>Micro_Mask</BTN_ID> </Parameters> <Parameters Type="Override"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <Condition Valid="IS_AIRLINER"> <Condition NotEmpty="ADDITIONAL_LIGHT_TEST"> <SEQ1_EMISSIVE_CODE>#SEQ1_EMISSIVE_CODE# #ADDITIONAL_LIGHT_TEST#</SEQ1_EMISSIVE_CODE> <SEQ2_EMISSIVE_CODE>#SEQ2_EMISSIVE_CODE# #ADDITIONAL_LIGHT_TEST#</SEQ2_EMISSIVE_CODE> </Condition> </Condition> <LEFT_SINGLE_CODE>(&gt;B:PRESSURIZATION_#BTN_ID#_Toggle)</LEFT_SINGLE_CODE> <SET_STATE_ON>1 (&gt;O:XMLVAR_MicroInMask)</SET_STATE_ON> <SET_STATE_OFF>0 (&gt;O:XMLVAR_MicroInMask)</SET_STATE_OFF> <GET_STATE_EXTERNAL>(O:XMLVAR_MicroInMask) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> <STR_STATE_OFF>Micro</STR_STATE_OFF> <STR_STATE_ON>Mask</STR_STATE_ON> <TT_VALUE_OFF>(R:1:@TT_Package.GT_STATE_MICRO)</TT_VALUE_OFF> <TT_VALUE_ON>(R:1:@TT_Package.GT_STATE_MASK)</TT_VALUE_ON> </Parameters> <Condition Valid="IS_AIRLINER"> <True> <UseTemplate Name="ASOBO_GT_Push_Button_Airliner"/> </True> <False> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="#INPUT_EVENT_ID#"/> <UseTemplate Name="ASOBO_GT_Push_Button"> <LEFT_SINGLE_CODE>(B:#COVER_IE_ID_SOURCE#_#COVER_IE_NAME#, Bool) if{ #LEFT_SINGLE_CODE# }</LEFT_SINGLE_CODE> </UseTemplate> </Component> </False> </Condition> </Template> <Template Name="ASOBO_PRESSURIZATION_Bleed_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_Bleed</NODE_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_Bleed</ANIM_NAME> <ANIM_NAME_PULL>PRESSURIZATION_#INTERACTION_TYPE#_Bleed_Pull</ANIM_NAME_PULL> <PART_ID>PRESSURIZATION_#INTERACTION_TYPE#_Bleed</PART_ID> <Switch Param="INTERACTION_TYPE"> <Case Value="Switch"> <WWISE_EVENT>pressurization_bleed_switch</WWISE_EVENT> <TYPE>BLEED_AIR_SOURCE_ENGINE</TYPE> </Case> </Switch> </Parameters> <Parameters Type="Default"> <Switch Param="TYPE"> <Case Value="BLEED_AIR_SOURCE_ENGINE"> <POS_AUTO>0</POS_AUTO> <POS_ENGINE>1</POS_ENGINE> <POS_OFF>2</POS_OFF> </Case> <Case Value="AS04F"> <POS_OFF>0</POS_OFF> <POS_ENGINE_2>1</POS_ENGINE_2> <POS_ENGINE_BOTH>2</POS_ENGINE_BOTH> <POS_ENGINE_1>3</POS_ENGINE_1> </Case> <Case Value="BLEED_AIR_SOURCE_APU"> <POS_AUTO>0</POS_AUTO> <POS_ENGINE_2>1</POS_ENGINE_2> <POS_ENGINE_BOTH>2</POS_ENGINE_BOTH> <POS_OFF>3</POS_OFF> <POS_ENGINE_1>4</POS_ENGINE_1> </Case> </Switch> </Parameters> <Parameters Type="Override"> <BTN_ID>Bleed_Air_Source</BTN_ID> <Switch Param="TYPE"> <Case Value="BLEED_AIR_SOURCE_ENGINE"> <NUM_STATES>3</NUM_STATES> <GET_BLEED_AIR>(A:BLEED AIR SOURCE CONTROL, Enum)</GET_BLEED_AIR> <SET_BLEED_AIR>(&gt;K:BLEED_AIR_SOURCE_CONTROL_SET)</SET_BLEED_AIR> <ENUM_STATE_AUTO>0</ENUM_STATE_AUTO> <ENUM_STATE_ENGINE>3</ENUM_STATE_ENGINE> <ENUM_STATE_OFF>1</ENUM_STATE_OFF> </Case> <Case Value="AS04F"> <GET_BLEED_AIR_APU>(A:BLEED AIR APU, Bool)</GET_BLEED_AIR_APU> <GET_BLEED_AIR_ENG_1>(A:BLEED AIR ENGINE:1, Bool)</GET_BLEED_AIR_ENG_1> <GET_BLEED_AIR_ENG_2>(A:BLEED AIR ENGINE:2, Bool)</GET_BLEED_AIR_ENG_2> <SET_BLEED_AIR_APU>(&gt;K:APU_BLEED_AIR_SOURCE_SET)</SET_BLEED_AIR_APU> <SET_BLEED_AIR_ENG_1>1 (&gt;K:2:ENGINE_BLEED_AIR_SOURCE_SET)</SET_BLEED_AIR_ENG_1> <SET_BLEED_AIR_ENG_2>2 (&gt;K:2:ENGINE_BLEED_AIR_SOURCE_SET)</SET_BLEED_AIR_ENG_2> <NUM_STATES>4</NUM_STATES> <BTN_ID_2>Bleed_Air_Source_APU</BTN_ID_2> </Case> <Case Value="BLEED_AIR_SOURCE_APU"> <GET_BLEED_AIR>(A:BLEED AIR APU, Bool)</GET_BLEED_AIR> <GET_BLEED_AIR_ENG_1>(A:BLEED AIR ENGINE:1, Bool)</GET_BLEED_AIR_ENG_1> <GET_BLEED_AIR_ENG_2>(A:BLEED AIR ENGINE:2, Bool)</GET_BLEED_AIR_ENG_2> <SET_BLEED_AIR>(&gt;K:APU_BLEED_AIR_SOURCE_SET)</SET_BLEED_AIR> <SET_BLEED_AIR_ENG_1>1 (&gt;K:2:ENGINE_BLEED_AIR_SOURCE_SET)</SET_BLEED_AIR_ENG_1> <SET_BLEED_AIR_ENG_2>2 (&gt;K:2:ENGINE_BLEED_AIR_SOURCE_SET)</SET_BLEED_AIR_ENG_2> <NUM_STATES>5</NUM_STATES> </Case> </Switch> </Parameters> <Parameters Type="Default"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <Switch Param="TYPE"> <Case Value="BLEED_AIR_SOURCE_ENGINE"> <TT_VALUE_#POS_AUTO#>@TT_Package.GT_STATE_AUTO</TT_VALUE_#POS_AUTO#> <TT_VALUE_#POS_ENGINE#>1 @TT_Eng @sprintf</TT_VALUE_#POS_ENGINE#> <TT_VALUE_#POS_ENGINE#_IS_DYNAMIC>True</TT_VALUE_#POS_ENGINE#_IS_DYNAMIC> <TT_VALUE_#POS_OFF#>@TT_Package.GT_STATE_OFF</TT_VALUE_#POS_OFF#> <TOOLTIP_TITLE>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_ACTION</TT_DESCRIPTION_ID> </Case> <Case Value="AS04F"> <TT_VALUE_#POS_ENGINE_BOTH#>@TT_Package.GT_STATE_BOTH</TT_VALUE_#POS_ENGINE_BOTH#> <TT_VALUE_#POS_ENGINE_1#>1 @TT_Eng @sprintf</TT_VALUE_#POS_ENGINE_1#> <TT_VALUE_#POS_ENGINE_1#_IS_DYNAMIC>True</TT_VALUE_#POS_ENGINE_1#_IS_DYNAMIC> <TT_VALUE_#POS_ENGINE_2#>2 @TT_Eng @sprintf</TT_VALUE_#POS_ENGINE_2#> <TT_VALUE_#POS_ENGINE_2#_IS_DYNAMIC>True</TT_VALUE_#POS_ENGINE_2#_IS_DYNAMIC> <TT_VALUE_#POS_OFF#>@TT_Package.GT_STATE_OFF</TT_VALUE_#POS_OFF#> <TOOLTIP_TITLE>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_APU_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID_KNOB>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_ACTION</TT_DESCRIPTION_ID_KNOB> <TT_DESCRIPTION_ID_PULL>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_APU_ACTION</TT_DESCRIPTION_ID_PULL> <TOOLTIP_ENTRY_1>PRESSURIZATION_#BTN_ID_2#</TOOLTIP_ENTRY_1> </Case> <Case Value="BLEED_AIR_SOURCE_APU"> <TT_VALUE_#POS_AUTO#>@TT_Package.GT_STATE_AUTO</TT_VALUE_#POS_AUTO#> <TT_VALUE_#POS_ENGINE_BOTH#>@TT_Package.GT_STATE_BOTH</TT_VALUE_#POS_ENGINE_BOTH#> <TT_VALUE_#POS_ENGINE_1#>1 @TT_Eng @sprintf</TT_VALUE_#POS_ENGINE_1#> <TT_VALUE_#POS_ENGINE_1#_IS_DYNAMIC>True</TT_VALUE_#POS_ENGINE_1#_IS_DYNAMIC> <TT_VALUE_#POS_ENGINE_2#>2 @TT_Eng @sprintf</TT_VALUE_#POS_ENGINE_2#> <TT_VALUE_#POS_ENGINE_2#_IS_DYNAMIC>True</TT_VALUE_#POS_ENGINE_2#_IS_DYNAMIC> <TT_VALUE_#POS_OFF#>@TT_Package.GT_STATE_OFF</TT_VALUE_#POS_OFF#> <TOOLTIP_TITLE>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_APU_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_APU_ACTION</TT_DESCRIPTION_ID> </Case> </Switch> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <Switch Param="TYPE"> <Case Value="BLEED_AIR_SOURCE_APU"> <UseInputEvent ID="PRESSURIZATION"> <GET_STATE_EXTERNAL>#GET_BLEED_AIR# sp0 #GET_BLEED_AIR_ENG_1# sp1 #GET_BLEED_AIR_ENG_2# sp2</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL>#POS_AUTO# sp3 l0 ! l1 ! l2 ! and and if{ #POS_AUTO# sp3 g2 } l0 ! l1 l2 and and if{ #POS_ENGINE_BOTH# sp3 g2 } l0 ! l1 l2 ! and and if{ #POS_ENGINE_1# sp3 g2 } l0 ! l1 ! l2 and and if{ #POS_ENGINE_2# sp3 g2 } l0 l1 ! l2 ! and and if{ #POS_OFF# sp3 g2 } :2 l3 </ENUM_VAL_TO_POS_EXTERNAL> <SET_STATE_#POS_AUTO#> 0 #SET_BLEED_AIR_ENG_1# 0 #SET_BLEED_AIR_ENG_2# 0 #SET_BLEED_AIR# </SET_STATE_#POS_AUTO#> <SET_STATE_#POS_ENGINE_BOTH#> 1 #SET_BLEED_AIR_ENG_1# 1 #SET_BLEED_AIR_ENG_2# 0 #SET_BLEED_AIR# </SET_STATE_#POS_ENGINE_BOTH#> <SET_STATE_#POS_ENGINE_1#> 1 #SET_BLEED_AIR_ENG_1# 0 #SET_BLEED_AIR_ENG_2# 0 #SET_BLEED_AIR# </SET_STATE_#POS_ENGINE_1#> <SET_STATE_#POS_ENGINE_2#> 0 #SET_BLEED_AIR_ENG_1# 1 #SET_BLEED_AIR_ENG_2# 0 #SET_BLEED_AIR# </SET_STATE_#POS_ENGINE_2#> <SET_STATE_#POS_OFF#> 0 #SET_BLEED_AIR_ENG_1# 0 #SET_BLEED_AIR_ENG_2# 1 #SET_BLEED_AIR# </SET_STATE_#POS_OFF#> <STR_STATE_#POS_AUTO#>Auto</STR_STATE_#POS_AUTO#> <STR_STATE_#POS_ENGINE_BOTH#>Engine_Both</STR_STATE_#POS_ENGINE_BOTH#> <STR_STATE_#POS_ENGINE_1#>Engine_1</STR_STATE_#POS_ENGINE_1#> <STR_STATE_#POS_ENGINE_2#>Engine_2</STR_STATE_#POS_ENGINE_2#> <STR_STATE_#POS_OFF#>Off</STR_STATE_#POS_OFF#> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Switch_5States"> <SWITCH_DIRECTION>Horizontal</SWITCH_DIRECTION> <ARROW_TYPE>Curved</ARROW_TYPE> <IS_LOOPING>True</IS_LOOPING> <SWITCH_POSITION_TYPE>O</SWITCH_POSITION_TYPE> <SWITCH_POSITION_VAR>XMLVAR_BleedState</SWITCH_POSITION_VAR> <STATE#POS_AUTO#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_AUTO# ==</STATE#POS_AUTO#_TEST> <STATE#POS_ENGINE_BOTH#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE_BOTH# ==</STATE#POS_ENGINE_BOTH#_TEST> <STATE#POS_ENGINE_1#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE_1# ==</STATE#POS_ENGINE_1#_TEST> <STATE#POS_ENGINE_2#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE_2# ==</STATE#POS_ENGINE_2#_TEST> <STATE#POS_OFF#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_OFF# ==</STATE#POS_OFF#_TEST> <CODE_POS_#POS_AUTO#>(&gt;B:PRESSURIZATION_#BTN_ID#_Auto)</CODE_POS_#POS_AUTO#> <CODE_POS_#POS_ENGINE_BOTH#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine_Both)</CODE_POS_#POS_ENGINE_BOTH#> <CODE_POS_#POS_ENGINE_1#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine_1)</CODE_POS_#POS_ENGINE_1#> <CODE_POS_#POS_ENGINE_2#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine_2)</CODE_POS_#POS_ENGINE_2#> <CODE_POS_#POS_OFF#>(&gt;B:PRESSURIZATION_#BTN_ID#_Off)</CODE_POS_#POS_OFF#> </UseTemplate> </Case> <Case Value="AS04F"> <UseInputEvent ID="PRESSURIZATION"> <GET_STATE_EXTERNAL>#GET_BLEED_AIR_ENG_1# sp1 #GET_BLEED_AIR_ENG_2# sp2</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL>#POS_ENGINE_BOTH# sp3 l1 l2 and if{ #POS_ENGINE_BOTH# sp3 g2 } l1 l2 ! and if{ #POS_ENGINE_1# sp3 g2 } l1 ! l2 and if{ #POS_ENGINE_2# sp3 g2 } l1 ! l2 ! and if{ #POS_OFF# sp3 g2 } :2 l3 </ENUM_VAL_TO_POS_EXTERNAL> <STR_STATE_#POS_ENGINE_BOTH#>Engine_Both</STR_STATE_#POS_ENGINE_BOTH#> <STR_STATE_#POS_ENGINE_1#>Engine_1</STR_STATE_#POS_ENGINE_1#> <STR_STATE_#POS_ENGINE_2#>Engine_2</STR_STATE_#POS_ENGINE_2#> <STR_STATE_#POS_OFF#>Off</STR_STATE_#POS_OFF#> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_KNOB#</TT_DESCRIPTION_ID> <ON_STATE_CHANGED_EXTERNAL_CODE> (&gt;B:PRESSURIZATION_#BTN_ID_2#_Off) </ON_STATE_CHANGED_EXTERNAL_CODE> </UseInputEvent> <UseInputEvent ID="PRESSURIZATION"> <BTN_ID>#BTN_ID_2#</BTN_ID> <NUM_STATES>2</NUM_STATES> <GET_STATE_EXTERNAL>#GET_BLEED_AIR_APU# sp0</GET_STATE_EXTERNAL> <SET_STATE_ON>1 #SET_BLEED_AIR_APU#</SET_STATE_ON> <SET_STATE_OFF>0 #SET_BLEED_AIR_APU#</SET_STATE_OFF> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_PULL#</TT_DESCRIPTION_ID> <TT_ICON>Pull</TT_ICON> <TT_INTERACTION>SECONDARY_DOWN</TT_INTERACTION> <ON_STATE_CHANGED_EXTERNAL_CODE> 1 (&gt;L:XMLVAR_Update_Bleed) </ON_STATE_CHANGED_EXTERNAL_CODE> </UseInputEvent> <UseInputEvent ID="MODEL_BEHAVIOR"> <INPUT_EVENT_ID_SOURCE>PRESSURIZATION</INPUT_EVENT_ID_SOURCE> <IE_NAME>Bleed_Sync</IE_NAME> <LOCAL_VAR_TO_WATCH_0>XMLVAR_Update_Bleed</LOCAL_VAR_TO_WATCH_0> <INIT_CODE> 0 (&gt;L:XMLVAR_Update_Bleed) (B:PRESSURIZATION_#BTN_ID_2#) if{ 1 #SET_BLEED_AIR_APU# 0 #SET_BLEED_AIR_ENG_1# 0 #SET_BLEED_AIR_ENG_2# g2 } els{ 0 #SET_BLEED_AIR_APU# (B:PRESSURIZATION_#BTN_ID#) sp0 l0 #POS_ENGINE_BOTH# == if{ 1 #SET_BLEED_AIR_ENG_1# 1 #SET_BLEED_AIR_ENG_2# g2 } l0 #POS_ENGINE_1# == if{ 1 #SET_BLEED_AIR_ENG_1# 0 #SET_BLEED_AIR_ENG_2# g2 } l0 #POS_ENGINE_2# == if{ 0 #SET_BLEED_AIR_ENG_1# 1 #SET_BLEED_AIR_ENG_2# g2 } l0 #POS_OFF# == if{ 0 #SET_BLEED_AIR_ENG_1# 0 #SET_BLEED_AIR_ENG_2# g2 } } :2 </INIT_CODE> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Switch_XStates"> <SWITCH_DIRECTION>Horizontal</SWITCH_DIRECTION> <ARROW_TYPE>Curved</ARROW_TYPE> <IS_LOOPING>True</IS_LOOPING> <SWITCH_POSITION_TYPE>O</SWITCH_POSITION_TYPE> <SWITCH_POSITION_VAR>XMLVAR_BleedState</SWITCH_POSITION_VAR> <STATE#POS_ENGINE_BOTH#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE_BOTH# ==</STATE#POS_ENGINE_BOTH#_TEST> <STATE#POS_ENGINE_1#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE_1# ==</STATE#POS_ENGINE_1#_TEST> <STATE#POS_ENGINE_2#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE_2# ==</STATE#POS_ENGINE_2#_TEST> <STATE#POS_OFF#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_OFF# ==</STATE#POS_OFF#_TEST> <CODE_POS_#POS_ENGINE_BOTH#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine_Both)</CODE_POS_#POS_ENGINE_BOTH#> <CODE_POS_#POS_ENGINE_1#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine_1)</CODE_POS_#POS_ENGINE_1#> <CODE_POS_#POS_ENGINE_2#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine_2)</CODE_POS_#POS_ENGINE_2#> <CODE_POS_#POS_OFF#>(&gt;B:PRESSURIZATION_#BTN_ID#_Off)</CODE_POS_#POS_OFF#> <ON_PRIMARY_EVENT>(B:PRESSURIZATION_#BTN_ID_2#) ! (&gt;B:PRESSURIZATION_#BTN_ID_2#_Set)</ON_PRIMARY_EVENT> <ANIM_NAME_PUSH>#ANIM_NAME_PULL#</ANIM_NAME_PUSH> <ANIM_CODE_PUSH>(B:PRESSURIZATION_#BTN_ID_2#) 100 *</ANIM_CODE_PUSH> </UseTemplate> </Case> <Case Value="BLEED_AIR_SOURCE_ENGINE"> <UseInputEvent ID="PRESSURIZATION"> <GET_STATE_EXTERNAL>#GET_BLEED_AIR# sp0</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL>#POS_AUTO# sp1 l0 #ENUM_STATE_AUTO# == if{ #POS_AUTO# sp1 g2 } l0 #ENUM_STATE_ENGINE# == if{ #POS_ENGINE# sp1 g2 } l0 #ENUM_STATE_OFF# == if{ #POS_OFF# sp1 g2 } :2 l1 </ENUM_VAL_TO_POS_EXTERNAL> <SET_STATE_#POS_AUTO#>#GET_BLEED_AIR# #ENUM_STATE_AUTO# != if{ #ENUM_STATE_AUTO# #SET_BLEED_AIR# }</SET_STATE_#POS_AUTO#> <SET_STATE_#POS_ENGINE#>#GET_BLEED_AIR# #ENUM_STATE_ENGINE# != if{ #ENUM_STATE_ENGINE# #SET_BLEED_AIR# }</SET_STATE_#POS_ENGINE#> <SET_STATE_#POS_OFF#>#GET_BLEED_AIR# #ENUM_STATE_OFF# != if{ #ENUM_STATE_OFF# #SET_BLEED_AIR# }</SET_STATE_#POS_OFF#> <STR_STATE_#POS_AUTO#>Auto</STR_STATE_#POS_AUTO#> <STR_STATE_#POS_ENGINE#>Engine</STR_STATE_#POS_ENGINE#> <STR_STATE_#POS_OFF#>Off</STR_STATE_#POS_OFF#> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Switch_3States"> <SWITCH_POSITION_TYPE>O</SWITCH_POSITION_TYPE> <SWITCH_POSITION_VAR>XMLVAR_BleedState</SWITCH_POSITION_VAR> <STATE#POS_AUTO#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_AUTO# ==</STATE#POS_AUTO#_TEST> <STATE#POS_ENGINE#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE# ==</STATE#POS_ENGINE#_TEST> <STATE#POS_OFF#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_OFF# ==</STATE#POS_OFF#_TEST> <CODE_POS_#POS_AUTO#>(&gt;B:PRESSURIZATION_#BTN_ID#_Auto)</CODE_POS_#POS_AUTO#> <CODE_POS_#POS_ENGINE#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine)</CODE_POS_#POS_ENGINE#> <CODE_POS_#POS_OFF#>(&gt;B:PRESSURIZATION_#BTN_ID#_Off)</CODE_POS_#POS_OFF#> </UseTemplate> </Case> </Switch> </Component> </Template> <Template Name="ASOBO_PRESSURIZATION_Dump_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_Dump</NODE_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_Dump</ANIM_NAME> <PART_ID>PRESSURIZATION_#INTERACTION_TYPE#_Dump</PART_ID> <Switch Param="INTERACTION_TYPE"> <Case Value="Push"> <BTN_ID>Dump</BTN_ID> <WWISE_EVENT_1>pressurization_dump_push_button_on</WWISE_EVENT_1> <NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> <WWISE_EVENT_2>pressurization_dump_push_button_off</WWISE_EVENT_2> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> </Case> <Case Value="Switch"> <BTN_ID>Dump</BTN_ID> <WWISE_EVENT_1>pressurization_cabinpressdump_switch_on</WWISE_EVENT_1> <WWISE_EVENT_2>pressurization_cabinpressdump_switch_off</WWISE_EVENT_2> <WWISE_EVENT>pressurization_cabinpressdump_switch</WWISE_EVENT> </Case> <Case Value="Lever"> <IE_NAME>Canopy_Seal</IE_NAME> <WWISE_PREFIX>pressurization</WWISE_PREFIX> </Case> </Switch> <Condition Valid="IS_AIRLINER"> <Condition NotEmpty="NORM_EMISSIVE_NODE_ID"> <SEQ1_NODE_ID>#NORM_EMISSIVE_NODE_ID#</SEQ1_NODE_ID> </Condition> <Condition NotEmpty="DUMP_EMISSIVE_NODE_ID"> <SEQ2_NODE_ID>#DUMP_EMISSIVE_NODE_ID#</SEQ2_NODE_ID> </Condition> <Condition NotEmpty="COVER_NODE_ID"> <COVER_IE_NAME>Dump_Cover</COVER_IE_NAME> <COVER_IE_ID_SOURCE>PRESSURIZATION</COVER_IE_ID_SOURCE> <WWISE_COVER_EVENT_OPEN>pressurization_dump_cover_open</WWISE_COVER_EVENT_OPEN> <WWISE_COVER_EVENT_CLOSE>pressurization_dump_cover_close</WWISE_COVER_EVENT_CLOSE> </Condition> <INPUT_EVENT_ID>PRESSURIZATION</INPUT_EVENT_ID> <SEQ1_EMISSIVE_CODE>(A:PRESSURIZATION DUMP SWITCH, Bool) !</SEQ1_EMISSIVE_CODE> <SEQ2_EMISSIVE_CODE>(A:PRESSURIZATION DUMP SWITCH, Bool)</SEQ2_EMISSIVE_CODE> </Condition> <TT_DESCRIPTION_ID>@TT_Package.CABIN_DUMB_PRESSURIZATION_PUSH_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.CABIN_DUMB_PRESSURIZATION_PUSH_TITLE</TOOLTIP_TITLE> </Parameters> <Parameters Type="Override"> <SET_PRESS_DUMP>(A:PRESSURIZATION DUMP SWITCH, Bool) != if{ (&gt;K:PRESSURIZATION_PRESSURE_DUMP_SWITCH) }</SET_PRESS_DUMP> </Parameters> <Parameters Type="Override"> <Switch Param="TYPE"> <Case Value="AS04F"> <STR_STATE_0>Norm</STR_STATE_0> <STR_STATE_1>Dump</STR_STATE_1> <STR_STATE_2>RAM_Dump</STR_STATE_2> <TT_VALUE_0>@TT_Package.GT_STATE_NORMAL</TT_VALUE_0> <TT_VALUE_1>@TT_Package.GT_STATE_DUMP</TT_VALUE_1> <TT_VALUE_2>@TT_Package.GT_STATE_RAM_DUMP</TT_VALUE_2> <SET_STATE_0>0 (&gt;O:RAM_Dump) 0 #SET_PRESS_DUMP#</SET_STATE_0> <SET_STATE_1>0 (&gt;O:RAM_Dump) 1 #SET_PRESS_DUMP#</SET_STATE_1> <SET_STATE_2>1 (&gt;O:RAM_Dump) 1 #SET_PRESS_DUMP#</SET_STATE_2> <CODE_POS_0>(&gt;B:PRESSURIZATION_#BTN_ID#_Norm)</CODE_POS_0> <CODE_POS_1>(&gt;B:PRESSURIZATION_#BTN_ID#_Dump)</CODE_POS_1> <CODE_POS_2>(&gt;B:PRESSURIZATION_#BTN_ID#_RAM_Dump)</CODE_POS_2> <STATE0_TEST>(B:PRESSURIZATION_#BTN_ID#) 0 ==</STATE0_TEST> <STATE1_TEST>(B:PRESSURIZATION_#BTN_ID#) 1 ==</STATE1_TEST> <STATE2_TEST>(B:PRESSURIZATION_#BTN_ID#) 2 ==</STATE2_TEST> <ENUM_VAL_TO_POS_EXTERNAL>l0 ! if{ 0 sp1 g2 } els{ 2 1 (O:RAM_Dump) ? sp1 g2 } :2 l1</ENUM_VAL_TO_POS_EXTERNAL> <GET_STATE_EXTERNAL>(A:PRESSURIZATION DUMP SWITCH, Bool) sp0</GET_STATE_EXTERNAL> <NUM_STATES>3</NUM_STATES> </Case> <Default> <Condition Valid="IS_AIRLINER"> <Condition NotEmpty="ADDITIONAL_LIGHT_TEST"> <SEQ1_EMISSIVE_CODE>#SEQ1_EMISSIVE_CODE# #ADDITIONAL_LIGHT_TEST#</SEQ1_EMISSIVE_CODE> <SEQ2_EMISSIVE_CODE>#SEQ2_EMISSIVE_CODE# #ADDITIONAL_LIGHT_TEST#</SEQ2_EMISSIVE_CODE> </Condition> </Condition> <SET_STATE_EXTERNAL>p0 #SET_PRESS_DUMP#</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(A:PRESSURIZATION DUMP SWITCH, Bool) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> <Switch> <Case Valid="PRESSURIZE_DEPRESSURIZE"> <STR_STATE_OFF>Depressurize</STR_STATE_OFF> <STR_STATE_ON>Pressurize</STR_STATE_ON> <TT_VALUE_OFF>(R:1:@TT_Package.GT_STATE_DEPRESSURIZE)</TT_VALUE_OFF> <TT_VALUE_ON>(R:1:@TT_Package.GT_STATE_PRESSURIZE)</TT_VALUE_ON> </Case> <Case Valid="NORM_TEST"> <STR_STATE_OFF>Norm</STR_STATE_OFF> <STR_STATE_ON>Test</STR_STATE_ON> <TT_VALUE_OFF>(R:1:@TT_Package.GT_STATE_NORMAL)</TT_VALUE_OFF> <TT_VALUE_ON>(R:1:@TT_Package.GT_STATE_TEST)</TT_VALUE_ON> </Case> <Default> <STR_STATE_OFF>Norm</STR_STATE_OFF> <STR_STATE_ON>Dump</STR_STATE_ON> <TT_VALUE_OFF>(R:1:@TT_Package.GT_STATE_NORMAL)</TT_VALUE_OFF> <TT_VALUE_ON>(R:1:@TT_Package.GT_STATE_DUMP)</TT_VALUE_ON> </Default> </Switch> </Default> </Switch> </Parameters> <Switch Param="INTERACTION_TYPE"> <Case Value="Push"> <Condition Valid="IS_AIRLINER"> <True> <UseTemplate Name="ASOBO_GT_Push_Button_Airliner"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <LEFT_SINGLE_CODE>(&gt;B:PRESSURIZATION_#BTN_ID#_Toggle)</LEFT_SINGLE_CODE> </UseTemplate> </True> <False> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="#INPUT_EVENT_ID#"/> <UseTemplate Name="ASOBO_GT_Push_Button"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <LEFT_SINGLE_CODE>(B:#COVER_IE_ID_SOURCE#_#COVER_IE_NAME#, Bool) if{ #LEFT_SINGLE_CODE# }</LEFT_SINGLE_CODE> </UseTemplate> </Component> </False> </Condition> </Case> <Case Value="Switch"> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="PRESSURIZATION"/> <Switch Param="TYPE"> <Case Value="AS04F"> <UseTemplate Name="ASOBO_GT_Switch_3States"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <SWITCH_POSITION_TYPE>O</SWITCH_POSITION_TYPE> <SWITCH_POSITION_VAR>XMLVAR_CabinPressState</SWITCH_POSITION_VAR> </UseTemplate> </Case> <Default> <UseTemplate Name="ASOBO_GT_Switch_Code"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <ANIM_CODE>(B:PRESSURIZATION_#BTN_ID#, Bool) 100 *</ANIM_CODE> <LEFT_SINGLE_CODE>(&gt;B:PRESSURIZATION_#BTN_ID#_Toggle)</LEFT_SINGLE_CODE> </UseTemplate> </Default> </Switch> </Component> </Case> <Case Value="Lever"> <UseTemplate Name="ASOBO_PRESSURIZATION_Base_Template"> <LEVER_TYPE>2_STATES</LEVER_TYPE> </UseTemplate> </Case> </Switch> </Template> <Template Name="ASOBO_PRESSURIZATION_ClimbRate_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_ClimbRate</NODE_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_ClimbRate</ANIM_NAME> <Switch Param="INTERACTION_TYPE"> <Case Value="Knob"> <WWISE_EVENT>pressurization_climbrate_knob</WWISE_EVENT> <COUNT>36</COUNT> </Case> </Switch> <TOOLTIP_TITLE>@TT_Package.CABIN_PRESSURIZATION_KNOB_CLIMB_RATE_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.CABIN_PRESSURIZATION_KNOB_CLIMB_RATE_ACTION</TT_DESCRIPTION_ID> </Parameters> <Parameters Type="Override"> <Switch Param="INTERACTION_TYPE"> <Case Value="Knob"> <KNOB_ID>Climb_Rate</KNOB_ID> </Case> </Switch> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="PRESSURIZATION"> <SET_STATE_EXTERNAL>(&gt;O:XMLVAR_Cabin_Rate)</SET_STATE_EXTERNAL> <GET_TT_VALUE_STATE>(A:PRESSURIZATION CABIN ALTITUDE RATE, ft/min)</GET_TT_VALUE_STATE> <GET_STATE_EXTERNAL>(O:XMLVAR_Cabin_Rate)</GET_STATE_EXTERNAL> <FORMAT_VALUE>'%d ft/min' @sprintf</FORMAT_VALUE> <NO_ANIM_VAR_UPDATE>True</NO_ANIM_VAR_UPDATE> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Knob_Finite_Code"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#KNOB_ID#</TOOLTIP_ENTRY_0> <ANIM_CODE>(O:XMLVAR_Cabin_Rate)</ANIM_CODE> <CLOCKWISE_CODE>1 (&gt;B:PRESSURIZATION_#KNOB_ID#_Inc)</CLOCKWISE_CODE> <ANTICLOCKWISE_CODE>1 (&gt;B:PRESSURIZATION_#KNOB_ID#_Dec)</ANTICLOCKWISE_CODE> </UseTemplate> </Component> </Template> <Template Name="ASOBO_PRESSURIZATION_CabinAlt_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_CabinAlt</NODE_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_CabinAlt</ANIM_NAME> <Switch Param="INTERACTION_TYPE"> <Case Value="Knob"> <WWISE_EVENT>pressurization_cabinalt_knob</WWISE_EVENT> <COUNT>36</COUNT> </Case> </Switch> <TOOLTIP_TITLE>@TT_Package.CABIN_PRESSURIZATION_KNOB_CABINALT_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.CABIN_PRESSURIZATION_KNOB_CABINALT_ACTION</TT_DESCRIPTION_ID> </Parameters> <Parameters Type="Override"> <Switch Param="INTERACTION_TYPE"> <Case Value="Knob"> <KNOB_ID>Climb_Altitude_Goal</KNOB_ID> </Case> </Switch> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="PRESSURIZATION"> <SET_STATE_EXTERNAL>p0 0 &gt; if{ (&gt;K:PRESSURIZATION_PRESSURE_ALT_INC) } els{ (&gt;K:PRESSURIZATION_PRESSURE_ALT_DEC) }</SET_STATE_EXTERNAL> <GET_TT_VALUE_STATE>(A:PRESSURIZATION CABIN ALTITUDE GOAL, ft)</GET_TT_VALUE_STATE> <FORMAT_VALUE>'%d ft' @sprintf</FORMAT_VALUE> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Knob_Infinite"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#KNOB_ID#</TOOLTIP_ENTRY_0> <CLOCKWISE_CODE>1 (&gt;B:PRESSURIZATION_#KNOB_ID#_Inc)</CLOCKWISE_CODE> <ANTICLOCKWISE_CODE>1 (&gt;B:PRESSURIZATION_#KNOB_ID#_Dec)</ANTICLOCKWISE_CODE> </UseTemplate> </Component> </Template> </ModelBehaviors>

Templates

Template list
  • ASOBO_PRESSURIZATION_Needle_Suction_SubTemplate

    Definition from XML
    <Template Name="ASOBO_PRESSURIZATION_Needle_Suction_SubTemplate"> <Parameters Type="Default"> <ANIM_NAME>PRESSURIZATION_Needle_Suction#SUFFIX_ID#</ANIM_NAME> <PART_ID>PRESSURIZATION_Needle_Suction</PART_ID> <NODE_ID>PRESSURIZATION_Needle_Suction#SUFFIX_ID#</NODE_ID> <MIN_VALUE>3</MIN_VALUE> <MAX_VALUE>7</MAX_VALUE> <UNITS>inHg</UNITS> </Parameters> <UseTemplate Name="ASOBO_GT_Needle_Code"> <SIMVAR>SUCTION PRESSURE</SIMVAR> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ANIM_NAME (using SUFFIX_ID)
      • PART_ID
      • NODE_ID (using SUFFIX_ID)
      • MIN_VALUE
      • MAX_VALUE
      • UNITS

    Templates used:

  • ASOBO_PRESSURIZATION_Passenger_Oxygen_SubTemplate

    Definition from XML
    <Template Name="ASOBO_PRESSURIZATION_Passenger_Oxygen_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_Deploy</NODE_ID> <PART_ID>PRESSURIZATION_#INTERACTION_TYPE#_Deploy</PART_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_Deploy</ANIM_NAME> <Switch Param="INTERACTION_TYPE"> <Case Value="Switch"> <WWISE_EVENT_1>pressurization_deploy_switch_on</WWISE_EVENT_1> <WWISE_EVENT_2>pressurization_deploy_switch_off</WWISE_EVENT_2> </Case> </Switch> <TT_DESCRIPTION_ID>@TT_Package.CABIN_PASSENGER_SWITCH_OXYGEN_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.CABIN_PASSENGER_SWITCH_OXYGEN_TITLE</TOOLTIP_TITLE> </Parameters> <Parameters Type="Override"> <BTN_ID>Passenger_Oxygen</BTN_ID> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="PRESSURIZATION"> <SET_STATE_ON>1 (&gt;O:XMLVAR_Passenger_Oxygen_Enabled)</SET_STATE_ON> <SET_STATE_OFF>0 (&gt;O:XMLVAR_Passenger_Oxygen_Enabled)</SET_STATE_OFF> <GET_STATE_EXTERNAL>(O:XMLVAR_Passenger_Oxygen_Enabled) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Switch_Code"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <ANIM_CODE>(B:PRESSURIZATION_#BTN_ID#, Bool) 100 *</ANIM_CODE> <LEFT_SINGLE_CODE>(&gt;B:PRESSURIZATION_#BTN_ID#_Toggle)</LEFT_SINGLE_CODE> </UseTemplate> </Component> </Template>

    Parameters initialization:

    • Default

      Parameters set:

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

      Condition: Switch(INTERACTION_TYPE)

      • Case: Switch

        Parameters set:

        • WWISE_EVENT_1
        • WWISE_EVENT_2
    • Override

      Parameters set:

      • BTN_ID

    Parameters read:

    • NODE_ID

    Components:

    • #NODE_ID# (Node: #NODE_ID#)

      Parameters set:

      • SET_STATE_ON
      • SET_STATE_OFF
      • GET_STATE_EXTERNAL
      • SIM_STATE_IS_ON_EXTERNAL

      Templates used:

      • ASOBO_GT_Switch_Code

        Parameters set:

        • TOOLTIP_ENTRY_0 (using BTN_ID)
        • ANIM_CODE (using BTN_ID)
        • LEFT_SINGLE_CODE (using BTN_ID)
  • ASOBO_PRESSURIZATION_Oxygen_SubTemplate

    Definition from XML
    <Template Name="ASOBO_PRESSURIZATION_Oxygen_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_Oxygen</NODE_ID> <PART_ID>PRESSURIZATION_#INTERACTION_TYPE#_Oxygen</PART_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_Oxygen</ANIM_NAME> <Switch Param="INTERACTION_TYPE"> <Case Value="Switch"> <WWISE_EVENT_1>pressurization_oxygen_switch_on</WWISE_EVENT_1> <WWISE_EVENT_2>pressurization_oxygen_switch_off</WWISE_EVENT_2> </Case> </Switch> <TOOLTIP_TITLE>@TT_Package.CABIN_PILOT_SWITCH_OXYGEN_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.CABIN_PILOT_SWITCH_OXYGEN_ACTION</TT_DESCRIPTION_ID> </Parameters> <Parameters Type="Override"> <BTN_ID>Oxygen</BTN_ID> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="PRESSURIZATION"> <SET_STATE_ON>1 (&gt;O:XMLVAR_Oxygen_Enabled)</SET_STATE_ON> <SET_STATE_OFF>0 (&gt;O:XMLVAR_Oxygen_Enabled)</SET_STATE_OFF> <GET_STATE_EXTERNAL>(O:XMLVAR_Oxygen_Enabled) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Switch_Code"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <ANIM_CODE>(B:PRESSURIZATION_#BTN_ID#, Bool) 100 *</ANIM_CODE> <LEFT_SINGLE_CODE>(&gt;B:PRESSURIZATION_#BTN_ID#_Toggle)</LEFT_SINGLE_CODE> </UseTemplate> </Component> </Template>

    Parameters initialization:

    • Default

      Parameters set:

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

      Condition: Switch(INTERACTION_TYPE)

      • Case: Switch

        Parameters set:

        • WWISE_EVENT_1
        • WWISE_EVENT_2
    • Override

      Parameters set:

      • BTN_ID

    Parameters read:

    • NODE_ID

    Components:

    • #NODE_ID# (Node: #NODE_ID#)

      Parameters set:

      • SET_STATE_ON
      • SET_STATE_OFF
      • GET_STATE_EXTERNAL
      • SIM_STATE_IS_ON_EXTERNAL

      Templates used:

      • ASOBO_GT_Switch_Code

        Parameters set:

        • TOOLTIP_ENTRY_0 (using BTN_ID)
        • ANIM_CODE (using BTN_ID)
        • LEFT_SINGLE_CODE (using BTN_ID)
  • ASOBO_PRESSURIZATION_MicroMask_SubTemplate

    Definition from XML
    <Template Name="ASOBO_PRESSURIZATION_MicroMask_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_MicroMask</NODE_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_MicroMask</ANIM_NAME> <PART_ID>PRESSURIZATION_#INTERACTION_TYPE#_MicroMask</PART_ID> <Switch Param="INTERACTION_TYPE"> <Case Value="Push"> <WWISE_EVENT_1>pressurization_micromask_push_button_on</WWISE_EVENT_1> <NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> <WWISE_EVENT_2>pressurization_micromask_push_button_off</WWISE_EVENT_2> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> </Case> </Switch> <Condition Valid="IS_AIRLINER"> <Condition NotEmpty="MASK_EMISSIVE_NODE_ID"> <SEQ1_NODE_ID>#MASK_EMISSIVE_NODE_ID#</SEQ1_NODE_ID> </Condition> <Condition NotEmpty="MICRO_EMISSIVE_NODE_ID"> <SEQ2_NODE_ID>#MICRO_EMISSIVE_NODE_ID#</SEQ2_NODE_ID> </Condition> <Condition NotEmpty="COVER_NODE_ID"> <COVER_IE_NAME>Micro_Mask_Cover</COVER_IE_NAME> <COVER_IE_ID_SOURCE>PRESSURIZATION</COVER_IE_ID_SOURCE> <WWISE_COVER_EVENT_OPEN>pressurization_micromask_cover_open</WWISE_COVER_EVENT_OPEN> <WWISE_COVER_EVENT_CLOSE>pressurization_micromask_cover_close</WWISE_COVER_EVENT_CLOSE> </Condition> <INPUT_EVENT_ID>PRESSURIZATION</INPUT_EVENT_ID> <SEQ1_EMISSIVE_CODE>(B:PRESSURIZATION_Micro_Mask, Bool) !</SEQ1_EMISSIVE_CODE> <SEQ2_EMISSIVE_CODE>(B:PRESSURIZATION_Micro_Mask, Bool)</SEQ2_EMISSIVE_CODE> </Condition> <TT_DESCRIPTION_ID>@TT_Package.AUDIOPANEL_PUSH_BUTTONMIC_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.AUDIOPANEL_PUSH_BUTTONMIC_TITLE</TOOLTIP_TITLE> </Parameters> <Parameters Type="Override"> <BTN_ID>Micro_Mask</BTN_ID> </Parameters> <Parameters Type="Override"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <Condition Valid="IS_AIRLINER"> <Condition NotEmpty="ADDITIONAL_LIGHT_TEST"> <SEQ1_EMISSIVE_CODE>#SEQ1_EMISSIVE_CODE# #ADDITIONAL_LIGHT_TEST#</SEQ1_EMISSIVE_CODE> <SEQ2_EMISSIVE_CODE>#SEQ2_EMISSIVE_CODE# #ADDITIONAL_LIGHT_TEST#</SEQ2_EMISSIVE_CODE> </Condition> </Condition> <LEFT_SINGLE_CODE>(&gt;B:PRESSURIZATION_#BTN_ID#_Toggle)</LEFT_SINGLE_CODE> <SET_STATE_ON>1 (&gt;O:XMLVAR_MicroInMask)</SET_STATE_ON> <SET_STATE_OFF>0 (&gt;O:XMLVAR_MicroInMask)</SET_STATE_OFF> <GET_STATE_EXTERNAL>(O:XMLVAR_MicroInMask) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> <STR_STATE_OFF>Micro</STR_STATE_OFF> <STR_STATE_ON>Mask</STR_STATE_ON> <TT_VALUE_OFF>(R:1:@TT_Package.GT_STATE_MICRO)</TT_VALUE_OFF> <TT_VALUE_ON>(R:1:@TT_Package.GT_STATE_MASK)</TT_VALUE_ON> </Parameters> <Condition Valid="IS_AIRLINER"> <True> <UseTemplate Name="ASOBO_GT_Push_Button_Airliner"/> </True> <False> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="#INPUT_EVENT_ID#"/> <UseTemplate Name="ASOBO_GT_Push_Button"> <LEFT_SINGLE_CODE>(B:#COVER_IE_ID_SOURCE#_#COVER_IE_NAME#, Bool) if{ #LEFT_SINGLE_CODE# }</LEFT_SINGLE_CODE> </UseTemplate> </Component> </False> </Condition> </Template>

    Parameters initialization:

    • Default

      Parameters set:

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

      Condition: Switch(INTERACTION_TYPE)

      • Case: Push

        Parameters set:

        • WWISE_EVENT_1
        • NORMALIZED_TIME_1
        • WWISE_EVENT_2
        • NORMALIZED_TIME_2

      Condition: Valid(IS_AIRLINER)

      • Case: True

        Parameters set:

        • INPUT_EVENT_ID
        • SEQ1_EMISSIVE_CODE
        • SEQ2_EMISSIVE_CODE

        Condition: NotEmpty(MASK_EMISSIVE_NODE_ID)

        • Case: True

          Parameters set:

          • SEQ1_NODE_ID (using MASK_EMISSIVE_NODE_ID)

        Condition: NotEmpty(MICRO_EMISSIVE_NODE_ID)

        • Case: True

          Parameters set:

          • SEQ2_NODE_ID (using MICRO_EMISSIVE_NODE_ID)

        Condition: NotEmpty(COVER_NODE_ID)

        • Case: True

          Parameters set:

          • COVER_IE_NAME
          • COVER_IE_ID_SOURCE
          • WWISE_COVER_EVENT_OPEN
          • WWISE_COVER_EVENT_CLOSE
    • Override

      Parameters set:

      • BTN_ID
    • Override

      Parameters set:

      • TOOLTIP_ENTRY_0 (using BTN_ID)
      • LEFT_SINGLE_CODE (using BTN_ID)
      • SET_STATE_ON
      • SET_STATE_OFF
      • GET_STATE_EXTERNAL
      • SIM_STATE_IS_ON_EXTERNAL
      • STR_STATE_OFF
      • STR_STATE_ON
      • TT_VALUE_OFF
      • TT_VALUE_ON

      Condition: Valid(IS_AIRLINER)

      • Case: True

        Condition: NotEmpty(ADDITIONAL_LIGHT_TEST)

        • Case: True

          Parameters set:

          • SEQ1_EMISSIVE_CODE (using SEQ1_EMISSIVE_CODE, ADDITIONAL_LIGHT_TEST)
          • SEQ2_EMISSIVE_CODE (using SEQ2_EMISSIVE_CODE, ADDITIONAL_LIGHT_TEST)

    Condition: Valid(IS_AIRLINER)

    • Case: True
    • Case: False

      Parameters read:

      • NODE_ID

      Components:

      • #NODE_ID# (Node: #NODE_ID#)

        Parameters read:

        • INPUT_EVENT_ID

        Templates used:

        • ASOBO_GT_Push_Button

          Parameters set:

          • LEFT_SINGLE_CODE (using COVER_IE_ID_SOURCE, COVER_IE_NAME, LEFT_SINGLE_CODE)
  • ASOBO_PRESSURIZATION_Bleed_SubTemplate

    Definition from XML
    <Template Name="ASOBO_PRESSURIZATION_Bleed_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_Bleed</NODE_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_Bleed</ANIM_NAME> <ANIM_NAME_PULL>PRESSURIZATION_#INTERACTION_TYPE#_Bleed_Pull</ANIM_NAME_PULL> <PART_ID>PRESSURIZATION_#INTERACTION_TYPE#_Bleed</PART_ID> <Switch Param="INTERACTION_TYPE"> <Case Value="Switch"> <WWISE_EVENT>pressurization_bleed_switch</WWISE_EVENT> <TYPE>BLEED_AIR_SOURCE_ENGINE</TYPE> </Case> </Switch> </Parameters> <Parameters Type="Default"> <Switch Param="TYPE"> <Case Value="BLEED_AIR_SOURCE_ENGINE"> <POS_AUTO>0</POS_AUTO> <POS_ENGINE>1</POS_ENGINE> <POS_OFF>2</POS_OFF> </Case> <Case Value="AS04F"> <POS_OFF>0</POS_OFF> <POS_ENGINE_2>1</POS_ENGINE_2> <POS_ENGINE_BOTH>2</POS_ENGINE_BOTH> <POS_ENGINE_1>3</POS_ENGINE_1> </Case> <Case Value="BLEED_AIR_SOURCE_APU"> <POS_AUTO>0</POS_AUTO> <POS_ENGINE_2>1</POS_ENGINE_2> <POS_ENGINE_BOTH>2</POS_ENGINE_BOTH> <POS_OFF>3</POS_OFF> <POS_ENGINE_1>4</POS_ENGINE_1> </Case> </Switch> </Parameters> <Parameters Type="Override"> <BTN_ID>Bleed_Air_Source</BTN_ID> <Switch Param="TYPE"> <Case Value="BLEED_AIR_SOURCE_ENGINE"> <NUM_STATES>3</NUM_STATES> <GET_BLEED_AIR>(A:BLEED AIR SOURCE CONTROL, Enum)</GET_BLEED_AIR> <SET_BLEED_AIR>(&gt;K:BLEED_AIR_SOURCE_CONTROL_SET)</SET_BLEED_AIR> <ENUM_STATE_AUTO>0</ENUM_STATE_AUTO> <ENUM_STATE_ENGINE>3</ENUM_STATE_ENGINE> <ENUM_STATE_OFF>1</ENUM_STATE_OFF> </Case> <Case Value="AS04F"> <GET_BLEED_AIR_APU>(A:BLEED AIR APU, Bool)</GET_BLEED_AIR_APU> <GET_BLEED_AIR_ENG_1>(A:BLEED AIR ENGINE:1, Bool)</GET_BLEED_AIR_ENG_1> <GET_BLEED_AIR_ENG_2>(A:BLEED AIR ENGINE:2, Bool)</GET_BLEED_AIR_ENG_2> <SET_BLEED_AIR_APU>(&gt;K:APU_BLEED_AIR_SOURCE_SET)</SET_BLEED_AIR_APU> <SET_BLEED_AIR_ENG_1>1 (&gt;K:2:ENGINE_BLEED_AIR_SOURCE_SET)</SET_BLEED_AIR_ENG_1> <SET_BLEED_AIR_ENG_2>2 (&gt;K:2:ENGINE_BLEED_AIR_SOURCE_SET)</SET_BLEED_AIR_ENG_2> <NUM_STATES>4</NUM_STATES> <BTN_ID_2>Bleed_Air_Source_APU</BTN_ID_2> </Case> <Case Value="BLEED_AIR_SOURCE_APU"> <GET_BLEED_AIR>(A:BLEED AIR APU, Bool)</GET_BLEED_AIR> <GET_BLEED_AIR_ENG_1>(A:BLEED AIR ENGINE:1, Bool)</GET_BLEED_AIR_ENG_1> <GET_BLEED_AIR_ENG_2>(A:BLEED AIR ENGINE:2, Bool)</GET_BLEED_AIR_ENG_2> <SET_BLEED_AIR>(&gt;K:APU_BLEED_AIR_SOURCE_SET)</SET_BLEED_AIR> <SET_BLEED_AIR_ENG_1>1 (&gt;K:2:ENGINE_BLEED_AIR_SOURCE_SET)</SET_BLEED_AIR_ENG_1> <SET_BLEED_AIR_ENG_2>2 (&gt;K:2:ENGINE_BLEED_AIR_SOURCE_SET)</SET_BLEED_AIR_ENG_2> <NUM_STATES>5</NUM_STATES> </Case> </Switch> </Parameters> <Parameters Type="Default"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <Switch Param="TYPE"> <Case Value="BLEED_AIR_SOURCE_ENGINE"> <TT_VALUE_#POS_AUTO#>@TT_Package.GT_STATE_AUTO</TT_VALUE_#POS_AUTO#> <TT_VALUE_#POS_ENGINE#>1 @TT_Eng @sprintf</TT_VALUE_#POS_ENGINE#> <TT_VALUE_#POS_ENGINE#_IS_DYNAMIC>True</TT_VALUE_#POS_ENGINE#_IS_DYNAMIC> <TT_VALUE_#POS_OFF#>@TT_Package.GT_STATE_OFF</TT_VALUE_#POS_OFF#> <TOOLTIP_TITLE>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_ACTION</TT_DESCRIPTION_ID> </Case> <Case Value="AS04F"> <TT_VALUE_#POS_ENGINE_BOTH#>@TT_Package.GT_STATE_BOTH</TT_VALUE_#POS_ENGINE_BOTH#> <TT_VALUE_#POS_ENGINE_1#>1 @TT_Eng @sprintf</TT_VALUE_#POS_ENGINE_1#> <TT_VALUE_#POS_ENGINE_1#_IS_DYNAMIC>True</TT_VALUE_#POS_ENGINE_1#_IS_DYNAMIC> <TT_VALUE_#POS_ENGINE_2#>2 @TT_Eng @sprintf</TT_VALUE_#POS_ENGINE_2#> <TT_VALUE_#POS_ENGINE_2#_IS_DYNAMIC>True</TT_VALUE_#POS_ENGINE_2#_IS_DYNAMIC> <TT_VALUE_#POS_OFF#>@TT_Package.GT_STATE_OFF</TT_VALUE_#POS_OFF#> <TOOLTIP_TITLE>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_APU_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID_KNOB>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_ACTION</TT_DESCRIPTION_ID_KNOB> <TT_DESCRIPTION_ID_PULL>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_APU_ACTION</TT_DESCRIPTION_ID_PULL> <TOOLTIP_ENTRY_1>PRESSURIZATION_#BTN_ID_2#</TOOLTIP_ENTRY_1> </Case> <Case Value="BLEED_AIR_SOURCE_APU"> <TT_VALUE_#POS_AUTO#>@TT_Package.GT_STATE_AUTO</TT_VALUE_#POS_AUTO#> <TT_VALUE_#POS_ENGINE_BOTH#>@TT_Package.GT_STATE_BOTH</TT_VALUE_#POS_ENGINE_BOTH#> <TT_VALUE_#POS_ENGINE_1#>1 @TT_Eng @sprintf</TT_VALUE_#POS_ENGINE_1#> <TT_VALUE_#POS_ENGINE_1#_IS_DYNAMIC>True</TT_VALUE_#POS_ENGINE_1#_IS_DYNAMIC> <TT_VALUE_#POS_ENGINE_2#>2 @TT_Eng @sprintf</TT_VALUE_#POS_ENGINE_2#> <TT_VALUE_#POS_ENGINE_2#_IS_DYNAMIC>True</TT_VALUE_#POS_ENGINE_2#_IS_DYNAMIC> <TT_VALUE_#POS_OFF#>@TT_Package.GT_STATE_OFF</TT_VALUE_#POS_OFF#> <TOOLTIP_TITLE>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_APU_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.CABIN_PRESSURIZATION_SWITCH_BLEED_APU_ACTION</TT_DESCRIPTION_ID> </Case> </Switch> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <Switch Param="TYPE"> <Case Value="BLEED_AIR_SOURCE_APU"> <UseInputEvent ID="PRESSURIZATION"> <GET_STATE_EXTERNAL>#GET_BLEED_AIR# sp0 #GET_BLEED_AIR_ENG_1# sp1 #GET_BLEED_AIR_ENG_2# sp2</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL>#POS_AUTO# sp3 l0 ! l1 ! l2 ! and and if{ #POS_AUTO# sp3 g2 } l0 ! l1 l2 and and if{ #POS_ENGINE_BOTH# sp3 g2 } l0 ! l1 l2 ! and and if{ #POS_ENGINE_1# sp3 g2 } l0 ! l1 ! l2 and and if{ #POS_ENGINE_2# sp3 g2 } l0 l1 ! l2 ! and and if{ #POS_OFF# sp3 g2 } :2 l3 </ENUM_VAL_TO_POS_EXTERNAL> <SET_STATE_#POS_AUTO#> 0 #SET_BLEED_AIR_ENG_1# 0 #SET_BLEED_AIR_ENG_2# 0 #SET_BLEED_AIR# </SET_STATE_#POS_AUTO#> <SET_STATE_#POS_ENGINE_BOTH#> 1 #SET_BLEED_AIR_ENG_1# 1 #SET_BLEED_AIR_ENG_2# 0 #SET_BLEED_AIR# </SET_STATE_#POS_ENGINE_BOTH#> <SET_STATE_#POS_ENGINE_1#> 1 #SET_BLEED_AIR_ENG_1# 0 #SET_BLEED_AIR_ENG_2# 0 #SET_BLEED_AIR# </SET_STATE_#POS_ENGINE_1#> <SET_STATE_#POS_ENGINE_2#> 0 #SET_BLEED_AIR_ENG_1# 1 #SET_BLEED_AIR_ENG_2# 0 #SET_BLEED_AIR# </SET_STATE_#POS_ENGINE_2#> <SET_STATE_#POS_OFF#> 0 #SET_BLEED_AIR_ENG_1# 0 #SET_BLEED_AIR_ENG_2# 1 #SET_BLEED_AIR# </SET_STATE_#POS_OFF#> <STR_STATE_#POS_AUTO#>Auto</STR_STATE_#POS_AUTO#> <STR_STATE_#POS_ENGINE_BOTH#>Engine_Both</STR_STATE_#POS_ENGINE_BOTH#> <STR_STATE_#POS_ENGINE_1#>Engine_1</STR_STATE_#POS_ENGINE_1#> <STR_STATE_#POS_ENGINE_2#>Engine_2</STR_STATE_#POS_ENGINE_2#> <STR_STATE_#POS_OFF#>Off</STR_STATE_#POS_OFF#> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Switch_5States"> <SWITCH_DIRECTION>Horizontal</SWITCH_DIRECTION> <ARROW_TYPE>Curved</ARROW_TYPE> <IS_LOOPING>True</IS_LOOPING> <SWITCH_POSITION_TYPE>O</SWITCH_POSITION_TYPE> <SWITCH_POSITION_VAR>XMLVAR_BleedState</SWITCH_POSITION_VAR> <STATE#POS_AUTO#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_AUTO# ==</STATE#POS_AUTO#_TEST> <STATE#POS_ENGINE_BOTH#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE_BOTH# ==</STATE#POS_ENGINE_BOTH#_TEST> <STATE#POS_ENGINE_1#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE_1# ==</STATE#POS_ENGINE_1#_TEST> <STATE#POS_ENGINE_2#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE_2# ==</STATE#POS_ENGINE_2#_TEST> <STATE#POS_OFF#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_OFF# ==</STATE#POS_OFF#_TEST> <CODE_POS_#POS_AUTO#>(&gt;B:PRESSURIZATION_#BTN_ID#_Auto)</CODE_POS_#POS_AUTO#> <CODE_POS_#POS_ENGINE_BOTH#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine_Both)</CODE_POS_#POS_ENGINE_BOTH#> <CODE_POS_#POS_ENGINE_1#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine_1)</CODE_POS_#POS_ENGINE_1#> <CODE_POS_#POS_ENGINE_2#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine_2)</CODE_POS_#POS_ENGINE_2#> <CODE_POS_#POS_OFF#>(&gt;B:PRESSURIZATION_#BTN_ID#_Off)</CODE_POS_#POS_OFF#> </UseTemplate> </Case> <Case Value="AS04F"> <UseInputEvent ID="PRESSURIZATION"> <GET_STATE_EXTERNAL>#GET_BLEED_AIR_ENG_1# sp1 #GET_BLEED_AIR_ENG_2# sp2</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL>#POS_ENGINE_BOTH# sp3 l1 l2 and if{ #POS_ENGINE_BOTH# sp3 g2 } l1 l2 ! and if{ #POS_ENGINE_1# sp3 g2 } l1 ! l2 and if{ #POS_ENGINE_2# sp3 g2 } l1 ! l2 ! and if{ #POS_OFF# sp3 g2 } :2 l3 </ENUM_VAL_TO_POS_EXTERNAL> <STR_STATE_#POS_ENGINE_BOTH#>Engine_Both</STR_STATE_#POS_ENGINE_BOTH#> <STR_STATE_#POS_ENGINE_1#>Engine_1</STR_STATE_#POS_ENGINE_1#> <STR_STATE_#POS_ENGINE_2#>Engine_2</STR_STATE_#POS_ENGINE_2#> <STR_STATE_#POS_OFF#>Off</STR_STATE_#POS_OFF#> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_KNOB#</TT_DESCRIPTION_ID> <ON_STATE_CHANGED_EXTERNAL_CODE> (&gt;B:PRESSURIZATION_#BTN_ID_2#_Off) </ON_STATE_CHANGED_EXTERNAL_CODE> </UseInputEvent> <UseInputEvent ID="PRESSURIZATION"> <BTN_ID>#BTN_ID_2#</BTN_ID> <NUM_STATES>2</NUM_STATES> <GET_STATE_EXTERNAL>#GET_BLEED_AIR_APU# sp0</GET_STATE_EXTERNAL> <SET_STATE_ON>1 #SET_BLEED_AIR_APU#</SET_STATE_ON> <SET_STATE_OFF>0 #SET_BLEED_AIR_APU#</SET_STATE_OFF> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_PULL#</TT_DESCRIPTION_ID> <TT_ICON>Pull</TT_ICON> <TT_INTERACTION>SECONDARY_DOWN</TT_INTERACTION> <ON_STATE_CHANGED_EXTERNAL_CODE> 1 (&gt;L:XMLVAR_Update_Bleed) </ON_STATE_CHANGED_EXTERNAL_CODE> </UseInputEvent> <UseInputEvent ID="MODEL_BEHAVIOR"> <INPUT_EVENT_ID_SOURCE>PRESSURIZATION</INPUT_EVENT_ID_SOURCE> <IE_NAME>Bleed_Sync</IE_NAME> <LOCAL_VAR_TO_WATCH_0>XMLVAR_Update_Bleed</LOCAL_VAR_TO_WATCH_0> <INIT_CODE> 0 (&gt;L:XMLVAR_Update_Bleed) (B:PRESSURIZATION_#BTN_ID_2#) if{ 1 #SET_BLEED_AIR_APU# 0 #SET_BLEED_AIR_ENG_1# 0 #SET_BLEED_AIR_ENG_2# g2 } els{ 0 #SET_BLEED_AIR_APU# (B:PRESSURIZATION_#BTN_ID#) sp0 l0 #POS_ENGINE_BOTH# == if{ 1 #SET_BLEED_AIR_ENG_1# 1 #SET_BLEED_AIR_ENG_2# g2 } l0 #POS_ENGINE_1# == if{ 1 #SET_BLEED_AIR_ENG_1# 0 #SET_BLEED_AIR_ENG_2# g2 } l0 #POS_ENGINE_2# == if{ 0 #SET_BLEED_AIR_ENG_1# 1 #SET_BLEED_AIR_ENG_2# g2 } l0 #POS_OFF# == if{ 0 #SET_BLEED_AIR_ENG_1# 0 #SET_BLEED_AIR_ENG_2# g2 } } :2 </INIT_CODE> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Switch_XStates"> <SWITCH_DIRECTION>Horizontal</SWITCH_DIRECTION> <ARROW_TYPE>Curved</ARROW_TYPE> <IS_LOOPING>True</IS_LOOPING> <SWITCH_POSITION_TYPE>O</SWITCH_POSITION_TYPE> <SWITCH_POSITION_VAR>XMLVAR_BleedState</SWITCH_POSITION_VAR> <STATE#POS_ENGINE_BOTH#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE_BOTH# ==</STATE#POS_ENGINE_BOTH#_TEST> <STATE#POS_ENGINE_1#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE_1# ==</STATE#POS_ENGINE_1#_TEST> <STATE#POS_ENGINE_2#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE_2# ==</STATE#POS_ENGINE_2#_TEST> <STATE#POS_OFF#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_OFF# ==</STATE#POS_OFF#_TEST> <CODE_POS_#POS_ENGINE_BOTH#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine_Both)</CODE_POS_#POS_ENGINE_BOTH#> <CODE_POS_#POS_ENGINE_1#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine_1)</CODE_POS_#POS_ENGINE_1#> <CODE_POS_#POS_ENGINE_2#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine_2)</CODE_POS_#POS_ENGINE_2#> <CODE_POS_#POS_OFF#>(&gt;B:PRESSURIZATION_#BTN_ID#_Off)</CODE_POS_#POS_OFF#> <ON_PRIMARY_EVENT>(B:PRESSURIZATION_#BTN_ID_2#) ! (&gt;B:PRESSURIZATION_#BTN_ID_2#_Set)</ON_PRIMARY_EVENT> <ANIM_NAME_PUSH>#ANIM_NAME_PULL#</ANIM_NAME_PUSH> <ANIM_CODE_PUSH>(B:PRESSURIZATION_#BTN_ID_2#) 100 *</ANIM_CODE_PUSH> </UseTemplate> </Case> <Case Value="BLEED_AIR_SOURCE_ENGINE"> <UseInputEvent ID="PRESSURIZATION"> <GET_STATE_EXTERNAL>#GET_BLEED_AIR# sp0</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL>#POS_AUTO# sp1 l0 #ENUM_STATE_AUTO# == if{ #POS_AUTO# sp1 g2 } l0 #ENUM_STATE_ENGINE# == if{ #POS_ENGINE# sp1 g2 } l0 #ENUM_STATE_OFF# == if{ #POS_OFF# sp1 g2 } :2 l1 </ENUM_VAL_TO_POS_EXTERNAL> <SET_STATE_#POS_AUTO#>#GET_BLEED_AIR# #ENUM_STATE_AUTO# != if{ #ENUM_STATE_AUTO# #SET_BLEED_AIR# }</SET_STATE_#POS_AUTO#> <SET_STATE_#POS_ENGINE#>#GET_BLEED_AIR# #ENUM_STATE_ENGINE# != if{ #ENUM_STATE_ENGINE# #SET_BLEED_AIR# }</SET_STATE_#POS_ENGINE#> <SET_STATE_#POS_OFF#>#GET_BLEED_AIR# #ENUM_STATE_OFF# != if{ #ENUM_STATE_OFF# #SET_BLEED_AIR# }</SET_STATE_#POS_OFF#> <STR_STATE_#POS_AUTO#>Auto</STR_STATE_#POS_AUTO#> <STR_STATE_#POS_ENGINE#>Engine</STR_STATE_#POS_ENGINE#> <STR_STATE_#POS_OFF#>Off</STR_STATE_#POS_OFF#> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Switch_3States"> <SWITCH_POSITION_TYPE>O</SWITCH_POSITION_TYPE> <SWITCH_POSITION_VAR>XMLVAR_BleedState</SWITCH_POSITION_VAR> <STATE#POS_AUTO#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_AUTO# ==</STATE#POS_AUTO#_TEST> <STATE#POS_ENGINE#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_ENGINE# ==</STATE#POS_ENGINE#_TEST> <STATE#POS_OFF#_TEST>(B:PRESSURIZATION_#BTN_ID#) #POS_OFF# ==</STATE#POS_OFF#_TEST> <CODE_POS_#POS_AUTO#>(&gt;B:PRESSURIZATION_#BTN_ID#_Auto)</CODE_POS_#POS_AUTO#> <CODE_POS_#POS_ENGINE#>(&gt;B:PRESSURIZATION_#BTN_ID#_Engine)</CODE_POS_#POS_ENGINE#> <CODE_POS_#POS_OFF#>(&gt;B:PRESSURIZATION_#BTN_ID#_Off)</CODE_POS_#POS_OFF#> </UseTemplate> </Case> </Switch> </Component> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • NODE_ID (using INTERACTION_TYPE)
      • ANIM_NAME (using INTERACTION_TYPE)
      • ANIM_NAME_PULL (using INTERACTION_TYPE)
      • PART_ID (using INTERACTION_TYPE)

      Condition: Switch(INTERACTION_TYPE)

      • Case: Switch

        Parameters set:

        • WWISE_EVENT
        • TYPE
    • Default

      Condition: Switch(TYPE)

      • Case: BLEED_AIR_SOURCE_ENGINE

        Parameters set:

        • POS_AUTO
        • POS_ENGINE
        • POS_OFF
      • Case: AS04F

        Parameters set:

        • POS_OFF
        • POS_ENGINE_2
        • POS_ENGINE_BOTH
        • POS_ENGINE_1
      • Case: BLEED_AIR_SOURCE_APU

        Parameters set:

        • POS_AUTO
        • POS_ENGINE_2
        • POS_ENGINE_BOTH
        • POS_OFF
        • POS_ENGINE_1
    • Override

      Parameters set:

      • BTN_ID

      Condition: Switch(TYPE)

      • Case: BLEED_AIR_SOURCE_ENGINE

        Parameters set:

        • NUM_STATES
        • GET_BLEED_AIR
        • SET_BLEED_AIR
        • ENUM_STATE_AUTO
        • ENUM_STATE_ENGINE
        • ENUM_STATE_OFF
      • Case: AS04F

        Parameters set:

        • GET_BLEED_AIR_APU
        • GET_BLEED_AIR_ENG_1
        • GET_BLEED_AIR_ENG_2
        • SET_BLEED_AIR_APU
        • SET_BLEED_AIR_ENG_1
        • SET_BLEED_AIR_ENG_2
        • NUM_STATES
        • BTN_ID_2
      • Case: BLEED_AIR_SOURCE_APU

        Parameters set:

        • GET_BLEED_AIR
        • GET_BLEED_AIR_ENG_1
        • GET_BLEED_AIR_ENG_2
        • SET_BLEED_AIR
        • SET_BLEED_AIR_ENG_1
        • SET_BLEED_AIR_ENG_2
        • NUM_STATES
    • Default

      Parameters set:

      • TOOLTIP_ENTRY_0 (using BTN_ID)

      Condition: Switch(TYPE)

      • Case: BLEED_AIR_SOURCE_ENGINE

        Parameters set:

        • TT_VALUE_#POS_AUTO#
        • TT_VALUE_#POS_ENGINE#
        • TT_VALUE_#POS_ENGINE#_IS_DYNAMIC
        • TT_VALUE_#POS_OFF#
        • TOOLTIP_TITLE
        • TT_DESCRIPTION_ID
      • Case: AS04F

        Parameters set:

        • TT_VALUE_#POS_ENGINE_BOTH#
        • TT_VALUE_#POS_ENGINE_1#
        • TT_VALUE_#POS_ENGINE_1#_IS_DYNAMIC
        • TT_VALUE_#POS_ENGINE_2#
        • TT_VALUE_#POS_ENGINE_2#_IS_DYNAMIC
        • TT_VALUE_#POS_OFF#
        • TOOLTIP_TITLE
        • TT_DESCRIPTION_ID_KNOB
        • TT_DESCRIPTION_ID_PULL
        • TOOLTIP_ENTRY_1 (using BTN_ID_2)
      • Case: BLEED_AIR_SOURCE_APU

        Parameters set:

        • TT_VALUE_#POS_AUTO#
        • TT_VALUE_#POS_ENGINE_BOTH#
        • TT_VALUE_#POS_ENGINE_1#
        • TT_VALUE_#POS_ENGINE_1#_IS_DYNAMIC
        • TT_VALUE_#POS_ENGINE_2#
        • TT_VALUE_#POS_ENGINE_2#_IS_DYNAMIC
        • TT_VALUE_#POS_OFF#
        • TOOLTIP_TITLE
        • TT_DESCRIPTION_ID

    Parameters read:

    • NODE_ID

    Components:

    • #NODE_ID# (Node: #NODE_ID#)

      Condition: Switch(TYPE)

      • Case: BLEED_AIR_SOURCE_APU

        Parameters set:

        • GET_STATE_EXTERNAL (using GET_BLEED_AIR, GET_BLEED_AIR_ENG_1, GET_BLEED_AIR_ENG_2)
        • ENUM_VAL_TO_POS_EXTERNAL (using POS_AUTO, POS_ENGINE_BOTH, POS_ENGINE_1, POS_ENGINE_2, POS_OFF)
        • SET_STATE_#POS_AUTO# (using SET_BLEED_AIR_ENG_1, SET_BLEED_AIR_ENG_2, SET_BLEED_AIR)
        • SET_STATE_#POS_ENGINE_BOTH# (using SET_BLEED_AIR_ENG_1, SET_BLEED_AIR_ENG_2, SET_BLEED_AIR)
        • SET_STATE_#POS_ENGINE_1# (using SET_BLEED_AIR_ENG_1, SET_BLEED_AIR_ENG_2, SET_BLEED_AIR)
        • SET_STATE_#POS_ENGINE_2# (using SET_BLEED_AIR_ENG_1, SET_BLEED_AIR_ENG_2, SET_BLEED_AIR)
        • SET_STATE_#POS_OFF# (using SET_BLEED_AIR_ENG_1, SET_BLEED_AIR_ENG_2, SET_BLEED_AIR)
        • STR_STATE_#POS_AUTO#
        • STR_STATE_#POS_ENGINE_BOTH#
        • STR_STATE_#POS_ENGINE_1#
        • STR_STATE_#POS_ENGINE_2#
        • STR_STATE_#POS_OFF#

        Templates used:

        • ASOBO_GT_Switch_5States

          Parameters set:

          • SWITCH_DIRECTION
          • ARROW_TYPE
          • IS_LOOPING
          • SWITCH_POSITION_TYPE
          • SWITCH_POSITION_VAR
          • STATE#POS_AUTO#_TEST (using BTN_ID, POS_AUTO)
          • STATE#POS_ENGINE_BOTH#_TEST (using BTN_ID, POS_ENGINE_BOTH)
          • STATE#POS_ENGINE_1#_TEST (using BTN_ID, POS_ENGINE_1)
          • STATE#POS_ENGINE_2#_TEST (using BTN_ID, POS_ENGINE_2)
          • STATE#POS_OFF#_TEST (using BTN_ID, POS_OFF)
          • CODE_POS_#POS_AUTO# (using BTN_ID)
          • CODE_POS_#POS_ENGINE_BOTH# (using BTN_ID)
          • CODE_POS_#POS_ENGINE_1# (using BTN_ID)
          • CODE_POS_#POS_ENGINE_2# (using BTN_ID)
          • CODE_POS_#POS_OFF# (using BTN_ID)
      • Case: AS04F

        Parameters set:

        • GET_STATE_EXTERNAL (using GET_BLEED_AIR_ENG_1, GET_BLEED_AIR_ENG_2)
        • ENUM_VAL_TO_POS_EXTERNAL (using POS_ENGINE_BOTH, POS_ENGINE_1, POS_ENGINE_2, POS_OFF)
        • STR_STATE_#POS_ENGINE_BOTH#
        • STR_STATE_#POS_ENGINE_1#
        • STR_STATE_#POS_ENGINE_2#
        • STR_STATE_#POS_OFF#
        • TT_DESCRIPTION_ID (using TT_DESCRIPTION_ID_KNOB)
        • ON_STATE_CHANGED_EXTERNAL_CODE (using BTN_ID_2)
        • BTN_ID (using BTN_ID_2)
        • NUM_STATES
        • GET_STATE_EXTERNAL (using GET_BLEED_AIR_APU)
        • SET_STATE_ON (using SET_BLEED_AIR_APU)
        • SET_STATE_OFF (using SET_BLEED_AIR_APU)
        • SIM_STATE_IS_ON_EXTERNAL
        • TT_DESCRIPTION_ID (using TT_DESCRIPTION_ID_PULL)
        • TT_ICON
        • TT_INTERACTION
        • ON_STATE_CHANGED_EXTERNAL_CODE
        • INPUT_EVENT_ID_SOURCE
        • IE_NAME
        • LOCAL_VAR_TO_WATCH_0
        • INIT_CODE (using BTN_ID_2, SET_BLEED_AIR_APU, SET_BLEED_AIR_ENG_1, SET_BLEED_AIR_ENG_2, BTN_ID, POS_ENGINE_BOTH, POS_ENGINE_1, POS_ENGINE_2, POS_OFF)

        Templates used:

        • ASOBO_GT_Switch_XStates

          Parameters set:

          • SWITCH_DIRECTION
          • ARROW_TYPE
          • IS_LOOPING
          • SWITCH_POSITION_TYPE
          • SWITCH_POSITION_VAR
          • STATE#POS_ENGINE_BOTH#_TEST (using BTN_ID, POS_ENGINE_BOTH)
          • STATE#POS_ENGINE_1#_TEST (using BTN_ID, POS_ENGINE_1)
          • STATE#POS_ENGINE_2#_TEST (using BTN_ID, POS_ENGINE_2)
          • STATE#POS_OFF#_TEST (using BTN_ID, POS_OFF)
          • CODE_POS_#POS_ENGINE_BOTH# (using BTN_ID)
          • CODE_POS_#POS_ENGINE_1# (using BTN_ID)
          • CODE_POS_#POS_ENGINE_2# (using BTN_ID)
          • CODE_POS_#POS_OFF# (using BTN_ID)
          • ON_PRIMARY_EVENT (using BTN_ID_2)
          • ANIM_NAME_PUSH (using ANIM_NAME_PULL)
          • ANIM_CODE_PUSH (using BTN_ID_2)
      • Case: BLEED_AIR_SOURCE_ENGINE

        Parameters set:

        • GET_STATE_EXTERNAL (using GET_BLEED_AIR)
        • ENUM_VAL_TO_POS_EXTERNAL (using POS_AUTO, ENUM_STATE_AUTO, ENUM_STATE_ENGINE, POS_ENGINE, ENUM_STATE_OFF, POS_OFF)
        • SET_STATE_#POS_AUTO# (using GET_BLEED_AIR, ENUM_STATE_AUTO, SET_BLEED_AIR)
        • SET_STATE_#POS_ENGINE# (using GET_BLEED_AIR, ENUM_STATE_ENGINE, SET_BLEED_AIR)
        • SET_STATE_#POS_OFF# (using GET_BLEED_AIR, ENUM_STATE_OFF, SET_BLEED_AIR)
        • STR_STATE_#POS_AUTO#
        • STR_STATE_#POS_ENGINE#
        • STR_STATE_#POS_OFF#

        Templates used:

        • ASOBO_GT_Switch_3States

          Parameters set:

          • SWITCH_POSITION_TYPE
          • SWITCH_POSITION_VAR
          • STATE#POS_AUTO#_TEST (using BTN_ID, POS_AUTO)
          • STATE#POS_ENGINE#_TEST (using BTN_ID, POS_ENGINE)
          • STATE#POS_OFF#_TEST (using BTN_ID, POS_OFF)
          • CODE_POS_#POS_AUTO# (using BTN_ID)
          • CODE_POS_#POS_ENGINE# (using BTN_ID)
          • CODE_POS_#POS_OFF# (using BTN_ID)
  • ASOBO_PRESSURIZATION_Dump_SubTemplate

    Definition from XML
    <Template Name="ASOBO_PRESSURIZATION_Dump_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_Dump</NODE_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_Dump</ANIM_NAME> <PART_ID>PRESSURIZATION_#INTERACTION_TYPE#_Dump</PART_ID> <Switch Param="INTERACTION_TYPE"> <Case Value="Push"> <BTN_ID>Dump</BTN_ID> <WWISE_EVENT_1>pressurization_dump_push_button_on</WWISE_EVENT_1> <NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> <WWISE_EVENT_2>pressurization_dump_push_button_off</WWISE_EVENT_2> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> </Case> <Case Value="Switch"> <BTN_ID>Dump</BTN_ID> <WWISE_EVENT_1>pressurization_cabinpressdump_switch_on</WWISE_EVENT_1> <WWISE_EVENT_2>pressurization_cabinpressdump_switch_off</WWISE_EVENT_2> <WWISE_EVENT>pressurization_cabinpressdump_switch</WWISE_EVENT> </Case> <Case Value="Lever"> <IE_NAME>Canopy_Seal</IE_NAME> <WWISE_PREFIX>pressurization</WWISE_PREFIX> </Case> </Switch> <Condition Valid="IS_AIRLINER"> <Condition NotEmpty="NORM_EMISSIVE_NODE_ID"> <SEQ1_NODE_ID>#NORM_EMISSIVE_NODE_ID#</SEQ1_NODE_ID> </Condition> <Condition NotEmpty="DUMP_EMISSIVE_NODE_ID"> <SEQ2_NODE_ID>#DUMP_EMISSIVE_NODE_ID#</SEQ2_NODE_ID> </Condition> <Condition NotEmpty="COVER_NODE_ID"> <COVER_IE_NAME>Dump_Cover</COVER_IE_NAME> <COVER_IE_ID_SOURCE>PRESSURIZATION</COVER_IE_ID_SOURCE> <WWISE_COVER_EVENT_OPEN>pressurization_dump_cover_open</WWISE_COVER_EVENT_OPEN> <WWISE_COVER_EVENT_CLOSE>pressurization_dump_cover_close</WWISE_COVER_EVENT_CLOSE> </Condition> <INPUT_EVENT_ID>PRESSURIZATION</INPUT_EVENT_ID> <SEQ1_EMISSIVE_CODE>(A:PRESSURIZATION DUMP SWITCH, Bool) !</SEQ1_EMISSIVE_CODE> <SEQ2_EMISSIVE_CODE>(A:PRESSURIZATION DUMP SWITCH, Bool)</SEQ2_EMISSIVE_CODE> </Condition> <TT_DESCRIPTION_ID>@TT_Package.CABIN_DUMB_PRESSURIZATION_PUSH_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.CABIN_DUMB_PRESSURIZATION_PUSH_TITLE</TOOLTIP_TITLE> </Parameters> <Parameters Type="Override"> <SET_PRESS_DUMP>(A:PRESSURIZATION DUMP SWITCH, Bool) != if{ (&gt;K:PRESSURIZATION_PRESSURE_DUMP_SWITCH) }</SET_PRESS_DUMP> </Parameters> <Parameters Type="Override"> <Switch Param="TYPE"> <Case Value="AS04F"> <STR_STATE_0>Norm</STR_STATE_0> <STR_STATE_1>Dump</STR_STATE_1> <STR_STATE_2>RAM_Dump</STR_STATE_2> <TT_VALUE_0>@TT_Package.GT_STATE_NORMAL</TT_VALUE_0> <TT_VALUE_1>@TT_Package.GT_STATE_DUMP</TT_VALUE_1> <TT_VALUE_2>@TT_Package.GT_STATE_RAM_DUMP</TT_VALUE_2> <SET_STATE_0>0 (&gt;O:RAM_Dump) 0 #SET_PRESS_DUMP#</SET_STATE_0> <SET_STATE_1>0 (&gt;O:RAM_Dump) 1 #SET_PRESS_DUMP#</SET_STATE_1> <SET_STATE_2>1 (&gt;O:RAM_Dump) 1 #SET_PRESS_DUMP#</SET_STATE_2> <CODE_POS_0>(&gt;B:PRESSURIZATION_#BTN_ID#_Norm)</CODE_POS_0> <CODE_POS_1>(&gt;B:PRESSURIZATION_#BTN_ID#_Dump)</CODE_POS_1> <CODE_POS_2>(&gt;B:PRESSURIZATION_#BTN_ID#_RAM_Dump)</CODE_POS_2> <STATE0_TEST>(B:PRESSURIZATION_#BTN_ID#) 0 ==</STATE0_TEST> <STATE1_TEST>(B:PRESSURIZATION_#BTN_ID#) 1 ==</STATE1_TEST> <STATE2_TEST>(B:PRESSURIZATION_#BTN_ID#) 2 ==</STATE2_TEST> <ENUM_VAL_TO_POS_EXTERNAL>l0 ! if{ 0 sp1 g2 } els{ 2 1 (O:RAM_Dump) ? sp1 g2 } :2 l1</ENUM_VAL_TO_POS_EXTERNAL> <GET_STATE_EXTERNAL>(A:PRESSURIZATION DUMP SWITCH, Bool) sp0</GET_STATE_EXTERNAL> <NUM_STATES>3</NUM_STATES> </Case> <Default> <Condition Valid="IS_AIRLINER"> <Condition NotEmpty="ADDITIONAL_LIGHT_TEST"> <SEQ1_EMISSIVE_CODE>#SEQ1_EMISSIVE_CODE# #ADDITIONAL_LIGHT_TEST#</SEQ1_EMISSIVE_CODE> <SEQ2_EMISSIVE_CODE>#SEQ2_EMISSIVE_CODE# #ADDITIONAL_LIGHT_TEST#</SEQ2_EMISSIVE_CODE> </Condition> </Condition> <SET_STATE_EXTERNAL>p0 #SET_PRESS_DUMP#</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(A:PRESSURIZATION DUMP SWITCH, Bool) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> <Switch> <Case Valid="PRESSURIZE_DEPRESSURIZE"> <STR_STATE_OFF>Depressurize</STR_STATE_OFF> <STR_STATE_ON>Pressurize</STR_STATE_ON> <TT_VALUE_OFF>(R:1:@TT_Package.GT_STATE_DEPRESSURIZE)</TT_VALUE_OFF> <TT_VALUE_ON>(R:1:@TT_Package.GT_STATE_PRESSURIZE)</TT_VALUE_ON> </Case> <Case Valid="NORM_TEST"> <STR_STATE_OFF>Norm</STR_STATE_OFF> <STR_STATE_ON>Test</STR_STATE_ON> <TT_VALUE_OFF>(R:1:@TT_Package.GT_STATE_NORMAL)</TT_VALUE_OFF> <TT_VALUE_ON>(R:1:@TT_Package.GT_STATE_TEST)</TT_VALUE_ON> </Case> <Default> <STR_STATE_OFF>Norm</STR_STATE_OFF> <STR_STATE_ON>Dump</STR_STATE_ON> <TT_VALUE_OFF>(R:1:@TT_Package.GT_STATE_NORMAL)</TT_VALUE_OFF> <TT_VALUE_ON>(R:1:@TT_Package.GT_STATE_DUMP)</TT_VALUE_ON> </Default> </Switch> </Default> </Switch> </Parameters> <Switch Param="INTERACTION_TYPE"> <Case Value="Push"> <Condition Valid="IS_AIRLINER"> <True> <UseTemplate Name="ASOBO_GT_Push_Button_Airliner"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <LEFT_SINGLE_CODE>(&gt;B:PRESSURIZATION_#BTN_ID#_Toggle)</LEFT_SINGLE_CODE> </UseTemplate> </True> <False> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="#INPUT_EVENT_ID#"/> <UseTemplate Name="ASOBO_GT_Push_Button"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <LEFT_SINGLE_CODE>(B:#COVER_IE_ID_SOURCE#_#COVER_IE_NAME#, Bool) if{ #LEFT_SINGLE_CODE# }</LEFT_SINGLE_CODE> </UseTemplate> </Component> </False> </Condition> </Case> <Case Value="Switch"> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="PRESSURIZATION"/> <Switch Param="TYPE"> <Case Value="AS04F"> <UseTemplate Name="ASOBO_GT_Switch_3States"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <SWITCH_POSITION_TYPE>O</SWITCH_POSITION_TYPE> <SWITCH_POSITION_VAR>XMLVAR_CabinPressState</SWITCH_POSITION_VAR> </UseTemplate> </Case> <Default> <UseTemplate Name="ASOBO_GT_Switch_Code"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#BTN_ID#</TOOLTIP_ENTRY_0> <ANIM_CODE>(B:PRESSURIZATION_#BTN_ID#, Bool) 100 *</ANIM_CODE> <LEFT_SINGLE_CODE>(&gt;B:PRESSURIZATION_#BTN_ID#_Toggle)</LEFT_SINGLE_CODE> </UseTemplate> </Default> </Switch> </Component> </Case> <Case Value="Lever"> <UseTemplate Name="ASOBO_PRESSURIZATION_Base_Template"> <LEVER_TYPE>2_STATES</LEVER_TYPE> </UseTemplate> </Case> </Switch> </Template>

    Parameters initialization:

    • Default

      Parameters set:

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

      Condition: Switch(INTERACTION_TYPE)

      • Case: Push

        Parameters set:

        • BTN_ID
        • WWISE_EVENT_1
        • NORMALIZED_TIME_1
        • WWISE_EVENT_2
        • NORMALIZED_TIME_2
      • Case: Switch

        Parameters set:

        • BTN_ID
        • WWISE_EVENT_1
        • WWISE_EVENT_2
        • WWISE_EVENT
      • Case: Lever

        Parameters set:

        • IE_NAME
        • WWISE_PREFIX

      Condition: Valid(IS_AIRLINER)

      • Case: True

        Parameters set:

        • INPUT_EVENT_ID
        • SEQ1_EMISSIVE_CODE
        • SEQ2_EMISSIVE_CODE

        Condition: NotEmpty(NORM_EMISSIVE_NODE_ID)

        • Case: True

          Parameters set:

          • SEQ1_NODE_ID (using NORM_EMISSIVE_NODE_ID)

        Condition: NotEmpty(DUMP_EMISSIVE_NODE_ID)

        • Case: True

          Parameters set:

          • SEQ2_NODE_ID (using DUMP_EMISSIVE_NODE_ID)

        Condition: NotEmpty(COVER_NODE_ID)

        • Case: True

          Parameters set:

          • COVER_IE_NAME
          • COVER_IE_ID_SOURCE
          • WWISE_COVER_EVENT_OPEN
          • WWISE_COVER_EVENT_CLOSE
    • Override

      Parameters set:

      • SET_PRESS_DUMP
    • Override

      Condition: Switch(TYPE)

      • Case: AS04F

        Parameters set:

        • STR_STATE_0
        • STR_STATE_1
        • STR_STATE_2
        • TT_VALUE_0
        • TT_VALUE_1
        • TT_VALUE_2
        • SET_STATE_0 (using SET_PRESS_DUMP)
        • SET_STATE_1 (using SET_PRESS_DUMP)
        • SET_STATE_2 (using SET_PRESS_DUMP)
        • CODE_POS_0 (using BTN_ID)
        • CODE_POS_1 (using BTN_ID)
        • CODE_POS_2 (using BTN_ID)
        • STATE0_TEST (using BTN_ID)
        • STATE1_TEST (using BTN_ID)
        • STATE2_TEST (using BTN_ID)
        • ENUM_VAL_TO_POS_EXTERNAL
        • GET_STATE_EXTERNAL
        • NUM_STATES
      • Default case:

        Parameters set:

        • SET_STATE_EXTERNAL (using SET_PRESS_DUMP)
        • GET_STATE_EXTERNAL
        • SIM_STATE_IS_ON_EXTERNAL

        Condition: Valid(IS_AIRLINER)

        • Case: True

          Condition: NotEmpty(ADDITIONAL_LIGHT_TEST)

          • Case: True

            Parameters set:

            • SEQ1_EMISSIVE_CODE (using SEQ1_EMISSIVE_CODE, ADDITIONAL_LIGHT_TEST)
            • SEQ2_EMISSIVE_CODE (using SEQ2_EMISSIVE_CODE, ADDITIONAL_LIGHT_TEST)

        Condition: Switch

        • Case: Valid(PRESSURIZE_DEPRESSURIZE)

          Parameters set:

          • STR_STATE_OFF
          • STR_STATE_ON
          • TT_VALUE_OFF
          • TT_VALUE_ON
        • Case: Valid(NORM_TEST)

          Parameters set:

          • STR_STATE_OFF
          • STR_STATE_ON
          • TT_VALUE_OFF
          • TT_VALUE_ON
        • Default case:

          Parameters set:

          • STR_STATE_OFF
          • STR_STATE_ON
          • TT_VALUE_OFF
          • TT_VALUE_ON

    Condition: Switch(INTERACTION_TYPE)

    • Case: Push

      Condition: Valid(IS_AIRLINER)

      • Case: True

        Templates used:

      • Case: False

        Parameters read:

        • NODE_ID

        Components:

        • #NODE_ID# (Node: #NODE_ID#)

          Parameters read:

          • INPUT_EVENT_ID

          Templates used:

          • ASOBO_GT_Push_Button

            Parameters set:

            • TOOLTIP_ENTRY_0 (using BTN_ID)
            • LEFT_SINGLE_CODE (using COVER_IE_ID_SOURCE, COVER_IE_NAME, LEFT_SINGLE_CODE)
    • Case: Switch

      Parameters read:

      • NODE_ID

      Components:

      • #NODE_ID# (Node: #NODE_ID#)

        Condition: Switch(TYPE)

        • Case: AS04F

          Templates used:

        • Default case:

          Templates used:

          • ASOBO_GT_Switch_Code

            Parameters set:

            • TOOLTIP_ENTRY_0 (using BTN_ID)
            • ANIM_CODE (using BTN_ID)
            • LEFT_SINGLE_CODE (using BTN_ID)
    • Case: Lever

      Templates used:

  • ASOBO_PRESSURIZATION_ClimbRate_SubTemplate

    Definition from XML
    <Template Name="ASOBO_PRESSURIZATION_ClimbRate_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_ClimbRate</NODE_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_ClimbRate</ANIM_NAME> <Switch Param="INTERACTION_TYPE"> <Case Value="Knob"> <WWISE_EVENT>pressurization_climbrate_knob</WWISE_EVENT> <COUNT>36</COUNT> </Case> </Switch> <TOOLTIP_TITLE>@TT_Package.CABIN_PRESSURIZATION_KNOB_CLIMB_RATE_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.CABIN_PRESSURIZATION_KNOB_CLIMB_RATE_ACTION</TT_DESCRIPTION_ID> </Parameters> <Parameters Type="Override"> <Switch Param="INTERACTION_TYPE"> <Case Value="Knob"> <KNOB_ID>Climb_Rate</KNOB_ID> </Case> </Switch> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="PRESSURIZATION"> <SET_STATE_EXTERNAL>(&gt;O:XMLVAR_Cabin_Rate)</SET_STATE_EXTERNAL> <GET_TT_VALUE_STATE>(A:PRESSURIZATION CABIN ALTITUDE RATE, ft/min)</GET_TT_VALUE_STATE> <GET_STATE_EXTERNAL>(O:XMLVAR_Cabin_Rate)</GET_STATE_EXTERNAL> <FORMAT_VALUE>&apos;%d ft/min&apos; @sprintf</FORMAT_VALUE> <NO_ANIM_VAR_UPDATE>True</NO_ANIM_VAR_UPDATE> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Knob_Finite_Code"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#KNOB_ID#</TOOLTIP_ENTRY_0> <ANIM_CODE>(O:XMLVAR_Cabin_Rate)</ANIM_CODE> <CLOCKWISE_CODE>1 (&gt;B:PRESSURIZATION_#KNOB_ID#_Inc)</CLOCKWISE_CODE> <ANTICLOCKWISE_CODE>1 (&gt;B:PRESSURIZATION_#KNOB_ID#_Dec)</ANTICLOCKWISE_CODE> </UseTemplate> </Component> </Template>

    Parameters initialization:

    • Default

      Parameters set:

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

      Condition: Switch(INTERACTION_TYPE)

      • Case: Knob

        Parameters set:

        • WWISE_EVENT
        • COUNT
    • Override

      Condition: Switch(INTERACTION_TYPE)

      • Case: Knob

        Parameters set:

        • KNOB_ID

    Parameters read:

    • NODE_ID

    Components:

  • ASOBO_PRESSURIZATION_CabinAlt_SubTemplate

    Definition from XML
    <Template Name="ASOBO_PRESSURIZATION_CabinAlt_SubTemplate"> <Parameters Type="Default"> <NODE_ID>PRESSURIZATION_#INTERACTION_TYPE#_CabinAlt</NODE_ID> <ANIM_NAME>PRESSURIZATION_#INTERACTION_TYPE#_CabinAlt</ANIM_NAME> <Switch Param="INTERACTION_TYPE"> <Case Value="Knob"> <WWISE_EVENT>pressurization_cabinalt_knob</WWISE_EVENT> <COUNT>36</COUNT> </Case> </Switch> <TOOLTIP_TITLE>@TT_Package.CABIN_PRESSURIZATION_KNOB_CABINALT_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.CABIN_PRESSURIZATION_KNOB_CABINALT_ACTION</TT_DESCRIPTION_ID> </Parameters> <Parameters Type="Override"> <Switch Param="INTERACTION_TYPE"> <Case Value="Knob"> <KNOB_ID>Climb_Altitude_Goal</KNOB_ID> </Case> </Switch> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="PRESSURIZATION"> <SET_STATE_EXTERNAL>p0 0 &gt; if{ (&gt;K:PRESSURIZATION_PRESSURE_ALT_INC) } els{ (&gt;K:PRESSURIZATION_PRESSURE_ALT_DEC) }</SET_STATE_EXTERNAL> <GET_TT_VALUE_STATE>(A:PRESSURIZATION CABIN ALTITUDE GOAL, ft)</GET_TT_VALUE_STATE> <FORMAT_VALUE>&apos;%d ft&apos; @sprintf</FORMAT_VALUE> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Knob_Infinite"> <TOOLTIP_ENTRY_0>PRESSURIZATION_#KNOB_ID#</TOOLTIP_ENTRY_0> <CLOCKWISE_CODE>1 (&gt;B:PRESSURIZATION_#KNOB_ID#_Inc)</CLOCKWISE_CODE> <ANTICLOCKWISE_CODE>1 (&gt;B:PRESSURIZATION_#KNOB_ID#_Dec)</ANTICLOCKWISE_CODE> </UseTemplate> </Component> </Template>

    Parameters initialization:

    • Default

      Parameters set:

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

      Condition: Switch(INTERACTION_TYPE)

      • Case: Knob

        Parameters set:

        • WWISE_EVENT
        • COUNT
    • Override

      Condition: Switch(INTERACTION_TYPE)

      • Case: Knob

        Parameters set:

        • KNOB_ID

    Parameters read:

    • NODE_ID

    Components:

    • #NODE_ID# (Node: #NODE_ID#)

      Parameters set:

      • SET_STATE_EXTERNAL
      • GET_TT_VALUE_STATE
      • FORMAT_VALUE

      Templates used: