[Go back to index]
Asobo\GlassCockpit\AS5.xml
Source XML
<ModelBehaviors>
<Include RelativeFile="Inputs\\AS5_Inputs.xml"/>
<Template Name="ASOBO_AS5_Template">
<Parameters Type="Default">
<ID>1</ID>
</Parameters>
<UseTemplate Name="ASOBO_GT_Helper_Suffix_ID_Appender">
<TEMPLATE_TO_CALL>ASOBO_AS5_SubTemplate</TEMPLATE_TO_CALL>
</UseTemplate>
</Template>
<Template Name="ASOBO_AS5_SubTemplate">
<Parameters Type="Default">
<BASE_NAME>MFD_G5</BASE_NAME>
</Parameters>
<Parameters Type="Default">
<AS5>AS5#SUFFIX_ID#</AS5>
<NODE_ID_KNOB>#BASE_NAME#_Knob#SUFFIX_ID#</NODE_ID_KNOB>
<ANIM_NAME_KNOB>#BASE_NAME#_Knob#SUFFIX_ID#</ANIM_NAME_KNOB>
<ANIM_NAME_PUSH>#BASE_NAME#_Knob_Push#SUFFIX_ID#</ANIM_NAME_PUSH>
<NODE_ID_BUTTON>#BASE_NAME#_Switch_On_Off#SUFFIX_ID#</NODE_ID_BUTTON>
<ANIM_NAME_BUTTON>#BASE_NAME#_Switch_On_Off#SUFFIX_ID#</ANIM_NAME_BUTTON>
<NODE_ID_SCREEN>#BASE_NAME#_Screen#SUFFIX_ID#</NODE_ID_SCREEN>
<WWISE_PREFIX>as5</WWISE_PREFIX>
<COUNT>36</COUNT>
<TT_DESCRIPTION_ID_KNOB>@TT_Package.AS5_KNOB_ACTION</TT_DESCRIPTION_ID_KNOB>
<TT_DESCRIPTION_ID_KNOB_PUSH>@TT_Package.AS5_KNOB_ACTION_PUSH</TT_DESCRIPTION_ID_KNOB_PUSH>
<TT_DESCRIPTION_ID_BUTTON>@TT_Package.AS5_BUTTON_ACTION</TT_DESCRIPTION_ID_BUTTON>
<TOOLTIP_TITLE_KNOB>@TT_Package.AS5_KNOB_TITLE</TOOLTIP_TITLE_KNOB>
<TOOLTIP_TITLE_BUTTON>@TT_Package.AS5_BUTTON_TITLE</TOOLTIP_TITLE_BUTTON>
<CIRCUIT_ID>#ID#</CIRCUIT_ID>
</Parameters>
<Component ID="Attitude_Indicator_#AS5#">
<Component ID="Attitude_Indicator_#AS5#_Knob" Node="#NODE_ID_KNOB#">
<Parameters Type="Override">
<TOOLTIP_TITLE>#TOOLTIP_TITLE_KNOB#</TOOLTIP_TITLE>
<INPUT_EVENT_ID_SOURCE>#AS5#</INPUT_EVENT_ID_SOURCE>
</Parameters>
<UseTemplate Name="ASOBO_AS5_Push_Event_Base_Template">
<IE_NAME>Knob_Button</IE_NAME>
<IS_TIMED>True</IS_TIMED>
<ON_PUSH_EVENT>(>H:#AS5#_Knob_Push)</ON_PUSH_EVENT>
<ON_PUSH_EVENT_LONG>(>H:#AS5#_Knob_Long_Push)</ON_PUSH_EVENT_LONG>
<TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_KNOB_PUSH#</TT_DESCRIPTION_ID>
</UseTemplate>
<UseTemplate Name="ASOBO_AS5_Base_Template">
<IE_NAME>Knob</IE_NAME>
<IE_ID_EXTERNAL_0>Knob_Button</IE_ID_EXTERNAL_0>
<INTERACTION_TYPE>Knob</INTERACTION_TYPE>
<IS_TIMED>True</IS_TIMED>
<IS_INFINITE>True</IS_INFINITE>
<SET_STATE_EXTERNAL>p0 0 > if{ (>H:#AS5#_Knob_Inc) } els{ (>H:#AS5#_Knob_Dec) }</SET_STATE_EXTERNAL>
<NODE_ID>#NODE_ID_KNOB#</NODE_ID>
<PART_ID>#NODE_ID_KNOB#</PART_ID>
<CREATE_COMPONENT>False</CREATE_COMPONENT>
<TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_KNOB#</TT_DESCRIPTION_ID>
</UseTemplate>
</Component>
<Condition Valid="NO_BUTTON">
<False>
<UseTemplate Name="ASOBO_ELECTRICAL_Push_Circuit_Template">
<TOOLTIP_TITLE>#TOOLTIP_TITLE_BUTTON#</TOOLTIP_TITLE>
<TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_BUTTON#</TT_DESCRIPTION_ID>
<PART_ID>#NODE_ID_BUTTON#</PART_ID>
<NODE_ID>#NODE_ID_BUTTON#</NODE_ID>
<ANIM_NAME>#ANIM_NAME_BUTTON#</ANIM_NAME>
</UseTemplate>
</False>
</Condition>
<UseTemplate Name="ASOBO_GT_Screen_Template">
<AUTOMATIC_BRIGHTNESS>True</AUTOMATIC_BRIGHTNESS>
<NODE_ID>#NODE_ID_SCREEN#</NODE_ID>
<SCREEN_PREFIX>#AS5#</SCREEN_PREFIX>
</UseTemplate>
</Component>
</Template>
<!-- ########################################## -->
<!-- AS5 Interaction inputs setup template -->
<Template Name="ASOBO_AS5_Base_Template">
<Parameters Type="Default">
<INPUT_EVENT_ID_SOURCE>AS5</INPUT_EVENT_ID_SOURCE>
<WWISE_PREFIX>AS5</WWISE_PREFIX>
</Parameters>
<UseTemplate Name="ASOBO_Interaction_Base_Template">
<USE_INPUT_EVENT_ID>AS5</USE_INPUT_EVENT_ID>
</UseTemplate>
</Template>
<Template Name="ASOBO_AS5_Push_Event_Base_Template">
<UseTemplate Name="ASOBO_Interaction_Push_Event_Base_Template">
<USE_INPUT_EVENT_ID>AS5</USE_INPUT_EVENT_ID>
</UseTemplate>
</Template>
<Template Name="ASOBO_AS5_Pull_Event_Base_Template">
<UseTemplate Name="ASOBO_Interaction_Pull_Event_Base_Template">
<USE_INPUT_EVENT_ID>AS5</USE_INPUT_EVENT_ID>
</UseTemplate>
</Template>
</ModelBehaviors>
Includes
- RelativeFile: Inputs\\AS5_Inputs.xml
Templates
Template list
-
ASOBO_AS5_Template
Definition from XML<Template Name="ASOBO_AS5_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_GT_Helper_Suffix_ID_Appender"> <TEMPLATE_TO_CALL>ASOBO_AS5_SubTemplate</TEMPLATE_TO_CALL> </UseTemplate> </Template>Parameters initialization:
-
Default
Parameters set:
- ID
Templates used:
-
ASOBO_GT_Helper_Suffix_ID_Appender
- May include a subtemplate using the parameter 'TEMPLATE_TO_CALL' and resolve to the following template(s):
Parameters set:
- TEMPLATE_TO_CALL
-
Default
-
ASOBO_AS5_SubTemplate
Definition from XML<Template Name="ASOBO_AS5_SubTemplate"> <Parameters Type="Default"> <BASE_NAME>MFD_G5</BASE_NAME> </Parameters> <Parameters Type="Default"> <AS5>AS5#SUFFIX_ID#</AS5> <NODE_ID_KNOB>#BASE_NAME#_Knob#SUFFIX_ID#</NODE_ID_KNOB> <ANIM_NAME_KNOB>#BASE_NAME#_Knob#SUFFIX_ID#</ANIM_NAME_KNOB> <ANIM_NAME_PUSH>#BASE_NAME#_Knob_Push#SUFFIX_ID#</ANIM_NAME_PUSH> <NODE_ID_BUTTON>#BASE_NAME#_Switch_On_Off#SUFFIX_ID#</NODE_ID_BUTTON> <ANIM_NAME_BUTTON>#BASE_NAME#_Switch_On_Off#SUFFIX_ID#</ANIM_NAME_BUTTON> <NODE_ID_SCREEN>#BASE_NAME#_Screen#SUFFIX_ID#</NODE_ID_SCREEN> <WWISE_PREFIX>as5</WWISE_PREFIX> <COUNT>36</COUNT> <TT_DESCRIPTION_ID_KNOB>@TT_Package.AS5_KNOB_ACTION</TT_DESCRIPTION_ID_KNOB> <TT_DESCRIPTION_ID_KNOB_PUSH>@TT_Package.AS5_KNOB_ACTION_PUSH</TT_DESCRIPTION_ID_KNOB_PUSH> <TT_DESCRIPTION_ID_BUTTON>@TT_Package.AS5_BUTTON_ACTION</TT_DESCRIPTION_ID_BUTTON> <TOOLTIP_TITLE_KNOB>@TT_Package.AS5_KNOB_TITLE</TOOLTIP_TITLE_KNOB> <TOOLTIP_TITLE_BUTTON>@TT_Package.AS5_BUTTON_TITLE</TOOLTIP_TITLE_BUTTON> <CIRCUIT_ID>#ID#</CIRCUIT_ID> </Parameters> <Component ID="Attitude_Indicator_#AS5#"> <Component ID="Attitude_Indicator_#AS5#_Knob" Node="#NODE_ID_KNOB#"> <Parameters Type="Override"> <TOOLTIP_TITLE>#TOOLTIP_TITLE_KNOB#</TOOLTIP_TITLE> <INPUT_EVENT_ID_SOURCE>#AS5#</INPUT_EVENT_ID_SOURCE> </Parameters> <UseTemplate Name="ASOBO_AS5_Push_Event_Base_Template"> <IE_NAME>Knob_Button</IE_NAME> <IS_TIMED>True</IS_TIMED> <ON_PUSH_EVENT>(>H:#AS5#_Knob_Push)</ON_PUSH_EVENT> <ON_PUSH_EVENT_LONG>(>H:#AS5#_Knob_Long_Push)</ON_PUSH_EVENT_LONG> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_KNOB_PUSH#</TT_DESCRIPTION_ID> </UseTemplate> <UseTemplate Name="ASOBO_AS5_Base_Template"> <IE_NAME>Knob</IE_NAME> <IE_ID_EXTERNAL_0>Knob_Button</IE_ID_EXTERNAL_0> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <IS_TIMED>True</IS_TIMED> <IS_INFINITE>True</IS_INFINITE> <SET_STATE_EXTERNAL>p0 0 > if{ (>H:#AS5#_Knob_Inc) } els{ (>H:#AS5#_Knob_Dec) }</SET_STATE_EXTERNAL> <NODE_ID>#NODE_ID_KNOB#</NODE_ID> <PART_ID>#NODE_ID_KNOB#</PART_ID> <CREATE_COMPONENT>False</CREATE_COMPONENT> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_KNOB#</TT_DESCRIPTION_ID> </UseTemplate> </Component> <Condition Valid="NO_BUTTON"> <False> <UseTemplate Name="ASOBO_ELECTRICAL_Push_Circuit_Template"> <TOOLTIP_TITLE>#TOOLTIP_TITLE_BUTTON#</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>#TT_DESCRIPTION_ID_BUTTON#</TT_DESCRIPTION_ID> <PART_ID>#NODE_ID_BUTTON#</PART_ID> <NODE_ID>#NODE_ID_BUTTON#</NODE_ID> <ANIM_NAME>#ANIM_NAME_BUTTON#</ANIM_NAME> </UseTemplate> </False> </Condition> <UseTemplate Name="ASOBO_GT_Screen_Template"> <AUTOMATIC_BRIGHTNESS>True</AUTOMATIC_BRIGHTNESS> <NODE_ID>#NODE_ID_SCREEN#</NODE_ID> <SCREEN_PREFIX>#AS5#</SCREEN_PREFIX> </UseTemplate> </Component> </Template>Parameters initialization:
-
Default
Parameters set:
- BASE_NAME
-
Default
Parameters set:
- AS5 (using SUFFIX_ID)
- NODE_ID_KNOB (using BASE_NAME, SUFFIX_ID)
- ANIM_NAME_KNOB (using BASE_NAME, SUFFIX_ID)
- ANIM_NAME_PUSH (using BASE_NAME, SUFFIX_ID)
- NODE_ID_BUTTON (using BASE_NAME, SUFFIX_ID)
- ANIM_NAME_BUTTON (using BASE_NAME, SUFFIX_ID)
- NODE_ID_SCREEN (using BASE_NAME, SUFFIX_ID)
- WWISE_PREFIX
- COUNT
- TT_DESCRIPTION_ID_KNOB
- TT_DESCRIPTION_ID_KNOB_PUSH
- TT_DESCRIPTION_ID_BUTTON
- TOOLTIP_TITLE_KNOB
- TOOLTIP_TITLE_BUTTON
- CIRCUIT_ID (using ID)
Parameters read:
- AS5
Components:
-
Attitude_Indicator_#AS5#
Parameters read:
- AS5
- NODE_ID_KNOB
Components:
-
Attitude_Indicator_#AS5#_Knob (Node: #NODE_ID_KNOB#)
Parameters set:
- TOOLTIP_TITLE (using TOOLTIP_TITLE_KNOB)
- INPUT_EVENT_ID_SOURCE (using AS5)
Templates used:
-
ASOBO_AS5_Push_Event_Base_Template
Parameters set:
- IE_NAME
- IS_TIMED
- ON_PUSH_EVENT (using AS5)
- ON_PUSH_EVENT_LONG (using AS5)
- TT_DESCRIPTION_ID (using TT_DESCRIPTION_ID_KNOB_PUSH)
-
ASOBO_AS5_Base_Template
Parameters set:
- IE_NAME
- IE_ID_EXTERNAL_0
- INTERACTION_TYPE
- IS_TIMED
- IS_INFINITE
- SET_STATE_EXTERNAL (using AS5)
- NODE_ID (using NODE_ID_KNOB)
- PART_ID (using NODE_ID_KNOB)
- CREATE_COMPONENT
- TT_DESCRIPTION_ID (using TT_DESCRIPTION_ID_KNOB)
Templates used:
-
ASOBO_GT_Screen_Template
Parameters set:
- AUTOMATIC_BRIGHTNESS
- NODE_ID (using NODE_ID_SCREEN)
- SCREEN_PREFIX (using AS5)
Condition: Valid(NO_BUTTON)
-
Case: False
Templates used:
-
ASOBO_ELECTRICAL_Push_Circuit_Template
Parameters set:
- TOOLTIP_TITLE (using TOOLTIP_TITLE_BUTTON)
- TT_DESCRIPTION_ID (using TT_DESCRIPTION_ID_BUTTON)
- PART_ID (using NODE_ID_BUTTON)
- NODE_ID (using NODE_ID_BUTTON)
- ANIM_NAME (using ANIM_NAME_BUTTON)
-
ASOBO_ELECTRICAL_Push_Circuit_Template
-
Default
-
ASOBO_AS5_Base_Template
Definition from XML<Template Name="ASOBO_AS5_Base_Template"> <Parameters Type="Default"> <INPUT_EVENT_ID_SOURCE>AS5</INPUT_EVENT_ID_SOURCE> <WWISE_PREFIX>AS5</WWISE_PREFIX> </Parameters> <UseTemplate Name="ASOBO_Interaction_Base_Template"> <USE_INPUT_EVENT_ID>AS5</USE_INPUT_EVENT_ID> </UseTemplate> </Template>Parameters initialization:
-
Default
Parameters set:
- INPUT_EVENT_ID_SOURCE
- WWISE_PREFIX
Templates used:
-
ASOBO_Interaction_Base_Template
Parameters set:
- USE_INPUT_EVENT_ID
-
Default
-
ASOBO_AS5_Push_Event_Base_Template
Definition from XML<Template Name="ASOBO_AS5_Push_Event_Base_Template"> <UseTemplate Name="ASOBO_Interaction_Push_Event_Base_Template"> <USE_INPUT_EVENT_ID>AS5</USE_INPUT_EVENT_ID> </UseTemplate> </Template>Templates used:
-
ASOBO_Interaction_Push_Event_Base_Template
Parameters set:
- USE_INPUT_EVENT_ID
-
ASOBO_Interaction_Push_Event_Base_Template
-
ASOBO_AS5_Pull_Event_Base_Template
Definition from XML<Template Name="ASOBO_AS5_Pull_Event_Base_Template"> <UseTemplate Name="ASOBO_Interaction_Pull_Event_Base_Template"> <USE_INPUT_EVENT_ID>AS5</USE_INPUT_EVENT_ID> </UseTemplate> </Template>Templates used:
-
ASOBO_Interaction_Pull_Event_Base_Template
Parameters set:
- USE_INPUT_EVENT_ID
-
ASOBO_Interaction_Pull_Event_Base_Template