[Go back to index]

Asobo\Misc\Accelerometer.xml

Source XML
<ModelBehaviors> <Include ModelBehaviorFile="Asobo\Generic.xml"/> <Include RelativeFile="Inputs\\Misc_Inputs.xml"/> <Template Name="ASOBO_Accelerometer_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_GT_Helper_Suffix_ID_Appender"> <TEMPLATE_TO_CALL>ASOBO_Accelerometer_SubTemplate</TEMPLATE_TO_CALL> </UseTemplate> </Template> <Template Name="ASOBO_Accelerometer_SubTemplate"> <Parameters Type="Default"> <ACCELEROMETER>INSTRUMENT_Accelerometer</ACCELEROMETER> </Parameters> <Component ID="#ACCELEROMETER#_Interactions"> <UseTemplate Name="ASOBO_Accelerometer_Push_Button_Template"> <BTN_ID>CLEAR</BTN_ID> <HTML_ID>clear</HTML_ID> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Push_Button_Template"> <BTN_ID>PLUS</BTN_ID> <HTML_ID>plus</HTML_ID> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Push_Button_Template"> <BTN_ID>MINUS</BTN_ID> <HTML_ID>minus</HTML_ID> <TOOLTIP_TITLE>@TT_Package.INSTRUMENT_PUSH_ACCELEROMETER_LESS_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.INSTRUMENT_PUSH_ACCELEROMETER_LESS_ACTION</TT_DESCRIPTION_ID> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Push_Button_Template"> <BTN_ID>ENTER</BTN_ID> <HTML_ID>enter</HTML_ID> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Push_Button_Template"> <BTN_ID>FLGT</BTN_ID> <HTML_ID>flgt</HTML_ID> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Push_Button_Template"> <BTN_ID>CLUB</BTN_ID> <HTML_ID>club</HTML_ID> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Knob_Template"> <KNB_ID>CONTRAST</KNB_ID> <KNOB_POSITION_VAR_TYPE>I</KNOB_POSITION_VAR_TYPE> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Knob_Template"> <KNB_ID>VOLUME</KNB_ID> </UseTemplate> </Component> </Template> <Template Name="ASOBO_Accelerometer_Push_Button_Template"> <Parameters Type="Default"> <NODE_ID>#ACCELEROMETER#_Push_#BTN_ID##SUFFIX_ID#</NODE_ID> <ANIM_NAME>#ACCELEROMETER#_Push_#BTN_ID##SUFFIX_ID#</ANIM_NAME> <HTML_EVENT>okey_#HTML_ID#</HTML_EVENT> <WWISE_EVENT_1>accelerometer_push_button_on</WWISE_EVENT_1> <NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> <WWISE_EVENT_2>accelerometer_push_button_off</WWISE_EVENT_2> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> <TOOLTIP_TITLE>@TT_Package.INSTRUMENT_PUSH_ACCELEROMETER_#BTN_ID#_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.INSTRUMENT_PUSH_ACCELEROMETER_#BTN_ID#_ACTION</TT_DESCRIPTION_ID> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="ACCELEROMETER"> <SET_STATE_EXTERNAL>p0 if{ (&gt;H:#HTML_EVENT#) }</SET_STATE_EXTERNAL> <BINDING_INC_0>Push</BINDING_INC_0> <BINDING_INC_0_PARAM_0>1</BINDING_INC_0_PARAM_0> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Push_Button"> <LEFT_SINGLE_CODE>(&gt;B:ACCELEROMETER_#BTN_ID#_Push)</LEFT_SINGLE_CODE> <TOOLTIP_ENTRY_0>ACCELEROMETER_#BTN_ID#</TOOLTIP_ENTRY_0> </UseTemplate> </Component> </Template> <Template Name="ASOBO_Accelerometer_Knob_Template"> <Parameters Type="Default"> <KNOB_NAME>#ACCELEROMETER#_Knob_#KNB_ID##SUFFIX_ID#</KNOB_NAME> <KNOB_POSITION_VAR>XMLVAR_#ACCELEROMETER#_#KNB_ID##SUFFIX_ID#</KNOB_POSITION_VAR> <INIT_VALUE>50</INIT_VALUE> <TOOLTIPID>TT:COCKPIT.TOOLTIPS.INOP</TOOLTIPID> </Parameters> <UseTemplate Name="ASOBO_GT_Knob_Finite_Dummy"/> </Template> </ModelBehaviors>

Includes

Templates

Template list
  • ASOBO_Accelerometer_Template

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

    Parameters initialization:

    • Default

      Parameters set:

      • ID

    Templates used:

  • ASOBO_Accelerometer_SubTemplate

    Definition from XML
    <Template Name="ASOBO_Accelerometer_SubTemplate"> <Parameters Type="Default"> <ACCELEROMETER>INSTRUMENT_Accelerometer</ACCELEROMETER> </Parameters> <Component ID="#ACCELEROMETER#_Interactions"> <UseTemplate Name="ASOBO_Accelerometer_Push_Button_Template"> <BTN_ID>CLEAR</BTN_ID> <HTML_ID>clear</HTML_ID> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Push_Button_Template"> <BTN_ID>PLUS</BTN_ID> <HTML_ID>plus</HTML_ID> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Push_Button_Template"> <BTN_ID>MINUS</BTN_ID> <HTML_ID>minus</HTML_ID> <TOOLTIP_TITLE>@TT_Package.INSTRUMENT_PUSH_ACCELEROMETER_LESS_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.INSTRUMENT_PUSH_ACCELEROMETER_LESS_ACTION</TT_DESCRIPTION_ID> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Push_Button_Template"> <BTN_ID>ENTER</BTN_ID> <HTML_ID>enter</HTML_ID> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Push_Button_Template"> <BTN_ID>FLGT</BTN_ID> <HTML_ID>flgt</HTML_ID> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Push_Button_Template"> <BTN_ID>CLUB</BTN_ID> <HTML_ID>club</HTML_ID> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Knob_Template"> <KNB_ID>CONTRAST</KNB_ID> <KNOB_POSITION_VAR_TYPE>I</KNOB_POSITION_VAR_TYPE> </UseTemplate> <UseTemplate Name="ASOBO_Accelerometer_Knob_Template"> <KNB_ID>VOLUME</KNB_ID> </UseTemplate> </Component> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ACCELEROMETER

    Parameters read:

    • ACCELEROMETER

    Components:

  • ASOBO_Accelerometer_Push_Button_Template

    Definition from XML
    <Template Name="ASOBO_Accelerometer_Push_Button_Template"> <Parameters Type="Default"> <NODE_ID>#ACCELEROMETER#_Push_#BTN_ID##SUFFIX_ID#</NODE_ID> <ANIM_NAME>#ACCELEROMETER#_Push_#BTN_ID##SUFFIX_ID#</ANIM_NAME> <HTML_EVENT>okey_#HTML_ID#</HTML_EVENT> <WWISE_EVENT_1>accelerometer_push_button_on</WWISE_EVENT_1> <NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> <WWISE_EVENT_2>accelerometer_push_button_off</WWISE_EVENT_2> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> <TOOLTIP_TITLE>@TT_Package.INSTRUMENT_PUSH_ACCELEROMETER_#BTN_ID#_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.INSTRUMENT_PUSH_ACCELEROMETER_#BTN_ID#_ACTION</TT_DESCRIPTION_ID> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="ACCELEROMETER"> <SET_STATE_EXTERNAL>p0 if{ (&gt;H:#HTML_EVENT#) }</SET_STATE_EXTERNAL> <BINDING_INC_0>Push</BINDING_INC_0> <BINDING_INC_0_PARAM_0>1</BINDING_INC_0_PARAM_0> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Push_Button"> <LEFT_SINGLE_CODE>(&gt;B:ACCELEROMETER_#BTN_ID#_Push)</LEFT_SINGLE_CODE> <TOOLTIP_ENTRY_0>ACCELEROMETER_#BTN_ID#</TOOLTIP_ENTRY_0> </UseTemplate> </Component> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • NODE_ID (using ACCELEROMETER, BTN_ID, SUFFIX_ID)
      • ANIM_NAME (using ACCELEROMETER, BTN_ID, SUFFIX_ID)
      • HTML_EVENT (using HTML_ID)
      • WWISE_EVENT_1
      • NORMALIZED_TIME_1
      • WWISE_EVENT_2
      • NORMALIZED_TIME_2
      • TOOLTIP_TITLE (using BTN_ID)
      • TT_DESCRIPTION_ID (using BTN_ID)

    Parameters read:

    • NODE_ID

    Components:

    • #NODE_ID# (Node: #NODE_ID#)

      Parameters set:

      • SET_STATE_EXTERNAL (using HTML_EVENT)
      • BINDING_INC_0
      • BINDING_INC_0_PARAM_0

      Templates used:

      • ASOBO_GT_Push_Button

        Parameters set:

        • LEFT_SINGLE_CODE (using BTN_ID)
        • TOOLTIP_ENTRY_0 (using BTN_ID)
  • ASOBO_Accelerometer_Knob_Template

    Definition from XML
    <Template Name="ASOBO_Accelerometer_Knob_Template"> <Parameters Type="Default"> <KNOB_NAME>#ACCELEROMETER#_Knob_#KNB_ID##SUFFIX_ID#</KNOB_NAME> <KNOB_POSITION_VAR>XMLVAR_#ACCELEROMETER#_#KNB_ID##SUFFIX_ID#</KNOB_POSITION_VAR> <INIT_VALUE>50</INIT_VALUE> <TOOLTIPID>TT:COCKPIT.TOOLTIPS.INOP</TOOLTIPID> </Parameters> <UseTemplate Name="ASOBO_GT_Knob_Finite_Dummy"/> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • KNOB_NAME (using ACCELEROMETER, KNB_ID, SUFFIX_ID)
      • KNOB_POSITION_VAR (using ACCELEROMETER, KNB_ID, SUFFIX_ID)
      • INIT_VALUE
      • TOOLTIPID

    Templates used: