[Go back to index]

Asobo\GPS\Aera.xml

Source XML
<ModelBehaviors> <Include RelativeFile="Inputs/Aera_Inputs.xml"/> <Template Name="ASOBO_AS510_Screen_Only_Template"> <Parameters Type="Default"> <NODE_ID_TOUCHPAD>GPS_AERA_SCREEN_1</NODE_ID_TOUCHPAD> </Parameters> <UseTemplate Name="ASOBO_AS510_Template"> <NO_BUTTONS>True</NO_BUTTONS> <NO_ONOFF_BUTTON>True</NO_ONOFF_BUTTON> </UseTemplate> </Template> <Template Name="ASOBO_AS510_Template"> <Parameters Type="Default"> <FAILURE>(A:CIRCUIT ON:#CIRCUIT_ID#, Bool)</FAILURE> <ON_OFF_SWITCH_NODE_ID>A510_Switch_Power</ON_OFF_SWITCH_NODE_ID> <ON_OFF_SWITCH_ANIM_NAME>A510_Switch_Power</ON_OFF_SWITCH_ANIM_NAME> <WWISE_EVENT_1>a510_push_button_on</WWISE_EVENT_1> <NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> <WWISE_EVENT_2>a510_push_button_off</WWISE_EVENT_2> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> <ANIM_NEVER_FAILS/> <NODE_ID_TOUCHPAD>GPS_AERA_SCREEN_1</NODE_ID_TOUCHPAD> <INSTRUMENT_PUSH_NRST>GPS_AERA_PUSH_NEAREST_1</INSTRUMENT_PUSH_NRST> <INSTRUMENT_PUSH_DIRECTION>GPS_AERA_PUSH_DIRECTTO_1</INSTRUMENT_PUSH_DIRECTION> <INSTRUMENT_PUSH_MENU>GPS_AERA_PUSH_MENU_1</INSTRUMENT_PUSH_MENU> <INSTRUMENT_PUSH_RETURN>GPS_AERA_PUSH_BACK_1</INSTRUMENT_PUSH_RETURN> <SCREEN_LIGHT_DIMMING_SCALE>0.8</SCREEN_LIGHT_DIMMING_SCALE> <SCREEN_MIN_EMISSIVE_PERCENT>0.05</SCREEN_MIN_EMISSIVE_PERCENT> <MIN_AMBIENT_EMISSIVE_PERCENT>0.1</MIN_AMBIENT_EMISSIVE_PERCENT> <MAX_EMISSIVE_PERCENT>1</MAX_EMISSIVE_PERCENT> </Parameters> <Condition Valid="NO_BUTTONS"> <False> <Component ID="Aera_Nrst" Node="#INSTRUMENT_PUSH_NRST#"> <UseTemplate Name="ASOBO_GT_Interaction_LeftSingle_Code"> <LEFT_SINGLE_CODE>(&gt;H:INSTRUMENT_PUSH_NRST)</LEFT_SINGLE_CODE> </UseTemplate> </Component> <Component ID="Aera_Drct" Node="#INSTRUMENT_PUSH_DIRECTION#"> <UseTemplate Name="ASOBO_GT_Interaction_LeftSingle_Code"> <LEFT_SINGLE_CODE>(&gt;H:INSTRUMENT_PUSH_DIRECTION)</LEFT_SINGLE_CODE> </UseTemplate> </Component> <Component ID="Aera_Menu" Node="#INSTRUMENT_PUSH_MENU#"> <UseTemplate Name="ASOBO_GT_Interaction_LeftSingle_Code"> <LEFT_SINGLE_CODE>(&gt;H:INSTRUMENT_PUSH_MENU)</LEFT_SINGLE_CODE> </UseTemplate> </Component> <Component ID="Aera_Back" Node="#INSTRUMENT_PUSH_RETURN#"> <UseTemplate Name="ASOBO_GT_Interaction_Left_Timed_Code"> <LONG_CLICK_TIME>1</LONG_CLICK_TIME> <SHORT_CLICK_CODE>(&gt;H:INSTRUMENT_PUSH_RETURN)</SHORT_CLICK_CODE> <LONG_CLICK_CODE>(&gt;H:INSTRUMENT_PUSH_RETURN_LONG)</LONG_CLICK_CODE> <DISABLE_INTERACTION_LOCK>True</DISABLE_INTERACTION_LOCK> </UseTemplate> </Component> </False> </Condition> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_TOUCHPAD#</NODE_ID> <EMISSIVE_CODE>#MAX_EMISSIVE_PERCENT# #SCREEN_MIN_EMISSIVE_PERCENT# - (L:Aera_Brightness, number) * #SCREEN_MIN_EMISSIVE_PERCENT# + (A:GLASSCOCKPIT AUTOMATIC BRIGHTNESS, Percent over 100) * #SCREEN_LIGHT_DIMMING_SCALE# *</EMISSIVE_CODE> </UseTemplate> <Condition Valid="NO_ONOFF_BUTTON"> <False> <Component ID="#ON_OFF_SWITCH_NODE_ID#" Node="#ON_OFF_SWITCH_NODE_ID#"> <Parameters Type="Override"> <TOOLTIP_TITLE>@TT_Package.AS510_SWITCH_POWER_TITLE</TOOLTIP_TITLE> <TOOLTIP_ENTRY_0>AS510_Power</TOOLTIP_ENTRY_0> </Parameters> <UseInputEvent ID="AS510"> <BTN_ID>Power</BTN_ID> <GET_STATE_EXTERNAL>(A:CIRCUIT SWITCH ON:#CIRCUIT_ID#, Bool)</GET_STATE_EXTERNAL> <SET_STATE_EXTERNAL>(A:CIRCUIT SWITCH ON:#CIRCUIT_ID#, Bool) p0 != if{ #CIRCUIT_ID# (&gt;K:ELECTRICAL_CIRCUIT_TOGGLE) }</SET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>(A:CIRCUIT SWITCH ON:#CIRCUIT_ID#, Bool)</SIM_STATE_IS_ON_EXTERNAL> <TT_DESCRIPTION_ID>@TT_Package.AS510_SWITCH_POWER_ACTION</TT_DESCRIPTION_ID> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Switch_Code"> <ANIM_NAME>#ON_OFF_SWITCH_ANIM_NAME#</ANIM_NAME> <LEFT_SINGLE_CODE>(&gt;B:AS510_Power_Toggle)</LEFT_SINGLE_CODE> <ANIM_CODE>(B:AS510_Power, Percent)</ANIM_CODE> </UseTemplate> </Component> </False> </Condition> </Template> </ModelBehaviors>

Includes

Templates

Template list
  • ASOBO_AS510_Screen_Only_Template

    Definition from XML
    <Template Name="ASOBO_AS510_Screen_Only_Template"> <Parameters Type="Default"> <NODE_ID_TOUCHPAD>GPS_AERA_SCREEN_1</NODE_ID_TOUCHPAD> </Parameters> <UseTemplate Name="ASOBO_AS510_Template"> <NO_BUTTONS>True</NO_BUTTONS> <NO_ONOFF_BUTTON>True</NO_ONOFF_BUTTON> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • NODE_ID_TOUCHPAD

    Templates used:

  • ASOBO_AS510_Template

    Definition from XML
    <Template Name="ASOBO_AS510_Template"> <Parameters Type="Default"> <FAILURE>(A:CIRCUIT ON:#CIRCUIT_ID#, Bool)</FAILURE> <ON_OFF_SWITCH_NODE_ID>A510_Switch_Power</ON_OFF_SWITCH_NODE_ID> <ON_OFF_SWITCH_ANIM_NAME>A510_Switch_Power</ON_OFF_SWITCH_ANIM_NAME> <WWISE_EVENT_1>a510_push_button_on</WWISE_EVENT_1> <NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> <WWISE_EVENT_2>a510_push_button_off</WWISE_EVENT_2> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> <ANIM_NEVER_FAILS/> <NODE_ID_TOUCHPAD>GPS_AERA_SCREEN_1</NODE_ID_TOUCHPAD> <INSTRUMENT_PUSH_NRST>GPS_AERA_PUSH_NEAREST_1</INSTRUMENT_PUSH_NRST> <INSTRUMENT_PUSH_DIRECTION>GPS_AERA_PUSH_DIRECTTO_1</INSTRUMENT_PUSH_DIRECTION> <INSTRUMENT_PUSH_MENU>GPS_AERA_PUSH_MENU_1</INSTRUMENT_PUSH_MENU> <INSTRUMENT_PUSH_RETURN>GPS_AERA_PUSH_BACK_1</INSTRUMENT_PUSH_RETURN> <SCREEN_LIGHT_DIMMING_SCALE>0.8</SCREEN_LIGHT_DIMMING_SCALE> <SCREEN_MIN_EMISSIVE_PERCENT>0.05</SCREEN_MIN_EMISSIVE_PERCENT> <MIN_AMBIENT_EMISSIVE_PERCENT>0.1</MIN_AMBIENT_EMISSIVE_PERCENT> <MAX_EMISSIVE_PERCENT>1</MAX_EMISSIVE_PERCENT> </Parameters> <Condition Valid="NO_BUTTONS"> <False> <Component ID="Aera_Nrst" Node="#INSTRUMENT_PUSH_NRST#"> <UseTemplate Name="ASOBO_GT_Interaction_LeftSingle_Code"> <LEFT_SINGLE_CODE>(&gt;H:INSTRUMENT_PUSH_NRST)</LEFT_SINGLE_CODE> </UseTemplate> </Component> <Component ID="Aera_Drct" Node="#INSTRUMENT_PUSH_DIRECTION#"> <UseTemplate Name="ASOBO_GT_Interaction_LeftSingle_Code"> <LEFT_SINGLE_CODE>(&gt;H:INSTRUMENT_PUSH_DIRECTION)</LEFT_SINGLE_CODE> </UseTemplate> </Component> <Component ID="Aera_Menu" Node="#INSTRUMENT_PUSH_MENU#"> <UseTemplate Name="ASOBO_GT_Interaction_LeftSingle_Code"> <LEFT_SINGLE_CODE>(&gt;H:INSTRUMENT_PUSH_MENU)</LEFT_SINGLE_CODE> </UseTemplate> </Component> <Component ID="Aera_Back" Node="#INSTRUMENT_PUSH_RETURN#"> <UseTemplate Name="ASOBO_GT_Interaction_Left_Timed_Code"> <LONG_CLICK_TIME>1</LONG_CLICK_TIME> <SHORT_CLICK_CODE>(&gt;H:INSTRUMENT_PUSH_RETURN)</SHORT_CLICK_CODE> <LONG_CLICK_CODE>(&gt;H:INSTRUMENT_PUSH_RETURN_LONG)</LONG_CLICK_CODE> <DISABLE_INTERACTION_LOCK>True</DISABLE_INTERACTION_LOCK> </UseTemplate> </Component> </False> </Condition> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_TOUCHPAD#</NODE_ID> <EMISSIVE_CODE>#MAX_EMISSIVE_PERCENT# #SCREEN_MIN_EMISSIVE_PERCENT# - (L:Aera_Brightness, number) * #SCREEN_MIN_EMISSIVE_PERCENT# + (A:GLASSCOCKPIT AUTOMATIC BRIGHTNESS, Percent over 100) * #SCREEN_LIGHT_DIMMING_SCALE# *</EMISSIVE_CODE> </UseTemplate> <Condition Valid="NO_ONOFF_BUTTON"> <False> <Component ID="#ON_OFF_SWITCH_NODE_ID#" Node="#ON_OFF_SWITCH_NODE_ID#"> <Parameters Type="Override"> <TOOLTIP_TITLE>@TT_Package.AS510_SWITCH_POWER_TITLE</TOOLTIP_TITLE> <TOOLTIP_ENTRY_0>AS510_Power</TOOLTIP_ENTRY_0> </Parameters> <UseInputEvent ID="AS510"> <BTN_ID>Power</BTN_ID> <GET_STATE_EXTERNAL>(A:CIRCUIT SWITCH ON:#CIRCUIT_ID#, Bool)</GET_STATE_EXTERNAL> <SET_STATE_EXTERNAL>(A:CIRCUIT SWITCH ON:#CIRCUIT_ID#, Bool) p0 != if{ #CIRCUIT_ID# (&gt;K:ELECTRICAL_CIRCUIT_TOGGLE) }</SET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>(A:CIRCUIT SWITCH ON:#CIRCUIT_ID#, Bool)</SIM_STATE_IS_ON_EXTERNAL> <TT_DESCRIPTION_ID>@TT_Package.AS510_SWITCH_POWER_ACTION</TT_DESCRIPTION_ID> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Switch_Code"> <ANIM_NAME>#ON_OFF_SWITCH_ANIM_NAME#</ANIM_NAME> <LEFT_SINGLE_CODE>(&gt;B:AS510_Power_Toggle)</LEFT_SINGLE_CODE> <ANIM_CODE>(B:AS510_Power, Percent)</ANIM_CODE> </UseTemplate> </Component> </False> </Condition> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • FAILURE (using CIRCUIT_ID)
      • ON_OFF_SWITCH_NODE_ID
      • ON_OFF_SWITCH_ANIM_NAME
      • WWISE_EVENT_1
      • NORMALIZED_TIME_1
      • WWISE_EVENT_2
      • NORMALIZED_TIME_2
      • ANIM_NEVER_FAILS
      • NODE_ID_TOUCHPAD
      • INSTRUMENT_PUSH_NRST
      • INSTRUMENT_PUSH_DIRECTION
      • INSTRUMENT_PUSH_MENU
      • INSTRUMENT_PUSH_RETURN
      • SCREEN_LIGHT_DIMMING_SCALE
      • SCREEN_MIN_EMISSIVE_PERCENT
      • MIN_AMBIENT_EMISSIVE_PERCENT
      • MAX_EMISSIVE_PERCENT

    Templates used:

    • ASOBO_GT_Component_Emissive_Gauge

      Parameters set:

      • NODE_ID (using NODE_ID_TOUCHPAD)
      • EMISSIVE_CODE (using MAX_EMISSIVE_PERCENT, SCREEN_MIN_EMISSIVE_PERCENT, SCREEN_LIGHT_DIMMING_SCALE)

    Condition: Valid(NO_BUTTONS)

    Condition: Valid(NO_ONOFF_BUTTON)

    • Case: False

      Parameters read:

      • ON_OFF_SWITCH_NODE_ID

      Components:

      • #ON_OFF_SWITCH_NODE_ID# (Node: #ON_OFF_SWITCH_NODE_ID#)

        Parameters set:

        • TOOLTIP_TITLE
        • TOOLTIP_ENTRY_0
        • BTN_ID
        • GET_STATE_EXTERNAL (using CIRCUIT_ID)
        • SET_STATE_EXTERNAL (using CIRCUIT_ID)
        • SIM_STATE_IS_ON_EXTERNAL (using CIRCUIT_ID)
        • TT_DESCRIPTION_ID

        Templates used:

        • ASOBO_GT_Switch_Code

          Parameters set:

          • ANIM_NAME (using ON_OFF_SWITCH_ANIM_NAME)
          • LEFT_SINGLE_CODE
          • ANIM_CODE