[Go back to index]

Asobo\Common\Deice.xml

Source XML
<ModelBehaviors> <Include RelativeFile="Subtemplates\\Deice_Subtemplates.xml"/> <Include RelativeFile="Inputs\\Deice_Inputs.xml"/> <!-- ################################### DEICE #################################### --> <!-- ############################################################################## --> <Template Name="ASOBO_DEICE_Engine_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Engine_SubTemplate"/> </Template> <Template Name="ASOBO_DEICE_Switch_Engine_Template"> <UseTemplate Name="ASOBO_DEICE_Engine_Template"> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> </UseTemplate> </Template> <Template Name="ASOBO_DEICE_Knob_Engine_Template"> <UseTemplate Name="ASOBO_DEICE_Engine_Template"> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> </UseTemplate> </Template> <Template Name="ASOBO_DEICE_Push_Engine_Template"> <UseTemplate Name="ASOBO_DEICE_Engine_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> </UseTemplate> </Template> <Template Name="ASOBO_DEICE_Lever_Engine_Template"> <UseTemplate Name="ASOBO_DEICE_Engine_Template"> <INTERACTION_TYPE>Lever</INTERACTION_TYPE> </UseTemplate> </Template> <Template Name="ASOBO_DEICE_Airframe_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Airframe_SubTemplate"/> </Template> <Template Name="ASOBO_DEICE_Switch_Airframe_Template"> <Parameters Type="Default"> <SWITCH_TYPE>ON_OFF</SWITCH_TYPE> </Parameters> <UseTemplate Name="ASOBO_DEICE_Airframe_Template"> <INTERACTION_TYPE>SWITCH</INTERACTION_TYPE> </UseTemplate> </Template> <Template Name="ASOBO_DEICE_Push_Airframe_Template"> <UseTemplate Name="ASOBO_DEICE_Airframe_Template"> <INTERACTION_TYPE>PUSH</INTERACTION_TYPE> </UseTemplate> </Template> <Template Name="ASOBO_DEICE_Push_Propeller_Template"> <Parameters Type="Default"> <INTERACTION_TYPE>PUSH</INTERACTION_TYPE> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Propeller_Template"/> </Template> <Template Name="ASOBO_DEICE_Switch_Propeller_Template"> <Parameters Type="Default"> <INTERACTION_TYPE>SWITCH</INTERACTION_TYPE> <SWITCH_TYPE>ON_OFF</SWITCH_TYPE> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Propeller_Template"/> </Template> <Template Name="ASOBO_DEICE_Windshield_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Windshield_SubTemplate"/> </Template> <Template Name="ASOBO_DEICE_Switch_Windshield_Template"> <UseTemplate Name="ASOBO_DEICE_Windshield_Template"> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> </UseTemplate> </Template> <Template Name="ASOBO_DEICE_Push_Windshield_Template"> <UseTemplate Name="ASOBO_DEICE_Windshield_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> </UseTemplate> </Template> <Template Name="ASOBO_DEICE_Push_Pitot_Template"> <Parameters Type="Default"> <INTERACTION_TYPE>PUSH</INTERACTION_TYPE> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Pitot_Template"/> </Template> <Template Name="ASOBO_DEICE_Switch_Pitot_Template"> <Parameters Type="Default"> <INTERACTION_TYPE>SWITCH</INTERACTION_TYPE> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Pitot_Template"/> </Template> <Template Name="ASOBO_DEICE_Switch_InertSep_Template"> <Parameters Type="Default"> <INTERACTION_TYPE>SWITCH</INTERACTION_TYPE> <TYPE>INERT_SEP</TYPE> <ID>1</ID> <ANIM_NAME>DEICE_Switch_InertSep</ANIM_NAME> <PART_ID>DEICE_Switch_InertSep</PART_ID> <NODE_ID>DEICE_Switch_InertSep</NODE_ID> <WWISE_EVENT_1>deice_inertsep_switch_on</WWISE_EVENT_1> <WWISE_EVENT_2>deice_inertsep_switch_off</WWISE_EVENT_2> <TIME_TO_DEPLOY_SEC>40</TIME_TO_DEPLOY_SEC> </Parameters> <Parameters Type="Override"> <DEPLOYMENT_PER_SECOND Process="Float">1 #TIME_TO_DEPLOY_SEC# /</DEPLOYMENT_PER_SECOND> <INIT>(A:GENERAL ENG ANTI ICE POSITION:#ID#, percent) 0 &gt; if{ (&gt;B:DEICE_Engine_1_On) }</INIT> </Parameters> <UseTemplate Name="ASOBO_DEICE_Engine_Template"/> </Template> <Template Name="ASOBO_DEICE_Switch_Light_Template"> <Parameters Type="Default"> <PART_ID>DEICE_Switch_Light</PART_ID> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Switch_Light_SubTemplate"/> </Template> <!-- MISC --> <Template Name="ASOBO_DEICE_Update_Pitot_On"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_GT_Update"> <FREQUENCY>0.33</FREQUENCY> <Switch Param="TYPE"> <Case Value="ON_WHEN_ENGINE_ON"> <UPDATE_CODE> (A:PITOT HEAT SWITCH:#ID#, Enum) (A:GENERAL ENG COMBUSTION:#ID#, Bool) != if{ #ID# (&gt;K:PITOT_HEAT_TOGGLE) } </UPDATE_CODE> </Case> <Default> <UPDATE_CODE> (A:PITOT HEAT SWITCH:#ID#, Enum) 0 == if{ #ID# (&gt;K:PITOT_HEAT_ON) } </UPDATE_CODE> </Default> </Switch> </UseTemplate> </Template> <Template Name="ASOBO_DEICE_Panel_Template"> <UseTemplate Name="ASOBO_DEICE_Panel_SubTemplate"/> </Template> <!-- ####################################### --> <!-- DEICE Interaction inputs setup template --> <Template Name="ASOBO_DEICE_Base_Template"> <Parameters Type="Default"> <INPUT_EVENT_ID_SOURCE>DEICE</INPUT_EVENT_ID_SOURCE> <WWISE_PREFIX>DEICE</WWISE_PREFIX> </Parameters> <UseTemplate Name="ASOBO_Interaction_Base_Template"> <USE_INPUT_EVENT_ID>DEICE</USE_INPUT_EVENT_ID> </UseTemplate> </Template> <Template Name="ASOBO_DEICE_Push_Event_Base_Template"> <UseTemplate Name="ASOBO_Interaction_Push_Event_Base_Template"> <USE_INPUT_EVENT_ID>DEICE</USE_INPUT_EVENT_ID> </UseTemplate> </Template> <Template Name="ASOBO_DEICE_Pull_Event_Base_Template"> <UseTemplate Name="ASOBO_Interaction_Pull_Event_Base_Template"> <USE_INPUT_EVENT_ID>DEICE</USE_INPUT_EVENT_ID> </UseTemplate> </Template> </ModelBehaviors>

Includes

Templates

Template list
  • ASOBO_DEICE_Engine_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Engine_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Engine_SubTemplate"/> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ID
  • ASOBO_DEICE_Switch_Engine_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Switch_Engine_Template"> <UseTemplate Name="ASOBO_DEICE_Engine_Template"> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> </UseTemplate> </Template>

    Templates used:

  • ASOBO_DEICE_Knob_Engine_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Knob_Engine_Template"> <UseTemplate Name="ASOBO_DEICE_Engine_Template"> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> </UseTemplate> </Template>

    Templates used:

  • ASOBO_DEICE_Push_Engine_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Push_Engine_Template"> <UseTemplate Name="ASOBO_DEICE_Engine_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> </UseTemplate> </Template>

    Templates used:

  • ASOBO_DEICE_Lever_Engine_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Lever_Engine_Template"> <UseTemplate Name="ASOBO_DEICE_Engine_Template"> <INTERACTION_TYPE>Lever</INTERACTION_TYPE> </UseTemplate> </Template>

    Templates used:

  • ASOBO_DEICE_Airframe_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Airframe_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Airframe_SubTemplate"/> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ID

    Templates used:

  • ASOBO_DEICE_Switch_Airframe_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Switch_Airframe_Template"> <Parameters Type="Default"> <SWITCH_TYPE>ON_OFF</SWITCH_TYPE> </Parameters> <UseTemplate Name="ASOBO_DEICE_Airframe_Template"> <INTERACTION_TYPE>SWITCH</INTERACTION_TYPE> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • SWITCH_TYPE

    Templates used:

  • ASOBO_DEICE_Push_Airframe_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Push_Airframe_Template"> <UseTemplate Name="ASOBO_DEICE_Airframe_Template"> <INTERACTION_TYPE>PUSH</INTERACTION_TYPE> </UseTemplate> </Template>

    Templates used:

  • ASOBO_DEICE_Push_Propeller_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Push_Propeller_Template"> <Parameters Type="Default"> <INTERACTION_TYPE>PUSH</INTERACTION_TYPE> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Propeller_Template"/> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • INTERACTION_TYPE
      • ID
  • ASOBO_DEICE_Switch_Propeller_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Switch_Propeller_Template"> <Parameters Type="Default"> <INTERACTION_TYPE>SWITCH</INTERACTION_TYPE> <SWITCH_TYPE>ON_OFF</SWITCH_TYPE> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Propeller_Template"/> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • INTERACTION_TYPE
      • SWITCH_TYPE
      • ID
  • ASOBO_DEICE_Windshield_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Windshield_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Windshield_SubTemplate"/> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ID
  • ASOBO_DEICE_Switch_Windshield_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Switch_Windshield_Template"> <UseTemplate Name="ASOBO_DEICE_Windshield_Template"> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> </UseTemplate> </Template>

    Templates used:

  • ASOBO_DEICE_Push_Windshield_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Push_Windshield_Template"> <UseTemplate Name="ASOBO_DEICE_Windshield_Template"> <INTERACTION_TYPE>Push</INTERACTION_TYPE> </UseTemplate> </Template>

    Templates used:

  • ASOBO_DEICE_Push_Pitot_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Push_Pitot_Template"> <Parameters Type="Default"> <INTERACTION_TYPE>PUSH</INTERACTION_TYPE> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Pitot_Template"/> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • INTERACTION_TYPE
      • ID

    Templates used:

  • ASOBO_DEICE_Switch_Pitot_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Switch_Pitot_Template"> <Parameters Type="Default"> <INTERACTION_TYPE>SWITCH</INTERACTION_TYPE> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Pitot_Template"/> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • INTERACTION_TYPE
      • ID

    Templates used:

  • ASOBO_DEICE_Switch_InertSep_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Switch_InertSep_Template"> <Parameters Type="Default"> <INTERACTION_TYPE>SWITCH</INTERACTION_TYPE> <TYPE>INERT_SEP</TYPE> <ID>1</ID> <ANIM_NAME>DEICE_Switch_InertSep</ANIM_NAME> <PART_ID>DEICE_Switch_InertSep</PART_ID> <NODE_ID>DEICE_Switch_InertSep</NODE_ID> <WWISE_EVENT_1>deice_inertsep_switch_on</WWISE_EVENT_1> <WWISE_EVENT_2>deice_inertsep_switch_off</WWISE_EVENT_2> <TIME_TO_DEPLOY_SEC>40</TIME_TO_DEPLOY_SEC> </Parameters> <Parameters Type="Override"> <DEPLOYMENT_PER_SECOND Process="Float">1 #TIME_TO_DEPLOY_SEC# /</DEPLOYMENT_PER_SECOND> <INIT>(A:GENERAL ENG ANTI ICE POSITION:#ID#, percent) 0 &gt; if{ (&gt;B:DEICE_Engine_1_On) }</INIT> </Parameters> <UseTemplate Name="ASOBO_DEICE_Engine_Template"/> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • INTERACTION_TYPE
      • TYPE
      • ID
      • ANIM_NAME
      • PART_ID
      • NODE_ID
      • WWISE_EVENT_1
      • WWISE_EVENT_2
      • TIME_TO_DEPLOY_SEC
    • Override

      Parameters set:

      • DEPLOYMENT_PER_SECOND (using TIME_TO_DEPLOY_SEC)
      • INIT (using ID)

    Templates used:

  • ASOBO_DEICE_Switch_Light_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Switch_Light_Template"> <Parameters Type="Default"> <PART_ID>DEICE_Switch_Light</PART_ID> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_DEICE_Switch_Light_SubTemplate"/> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • PART_ID
      • ID
  • ASOBO_DEICE_Update_Pitot_On

    Definition from XML
    <Template Name="ASOBO_DEICE_Update_Pitot_On"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_GT_Update"> <FREQUENCY>0.33</FREQUENCY> <Switch Param="TYPE"> <Case Value="ON_WHEN_ENGINE_ON"> <UPDATE_CODE> (A:PITOT HEAT SWITCH:#ID#, Enum) (A:GENERAL ENG COMBUSTION:#ID#, Bool) != if{ #ID# (&gt;K:PITOT_HEAT_TOGGLE) } </UPDATE_CODE> </Case> <Default> <UPDATE_CODE> (A:PITOT HEAT SWITCH:#ID#, Enum) 0 == if{ #ID# (&gt;K:PITOT_HEAT_ON) } </UPDATE_CODE> </Default> </Switch> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ID

    Templates used:

    • ASOBO_GT_Update

      Parameters set:

      • FREQUENCY

      Condition: Switch(TYPE)

      • Case: ON_WHEN_ENGINE_ON

        Parameters set:

        • UPDATE_CODE (using ID)
      • Default case:

        Parameters set:

        • UPDATE_CODE (using ID)
  • ASOBO_DEICE_Panel_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Panel_Template"> <UseTemplate Name="ASOBO_DEICE_Panel_SubTemplate"/> </Template>
  • ASOBO_DEICE_Base_Template

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

    Parameters initialization:

    • Default

      Parameters set:

      • INPUT_EVENT_ID_SOURCE
      • WWISE_PREFIX

    Templates used:

  • ASOBO_DEICE_Push_Event_Base_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Push_Event_Base_Template"> <UseTemplate Name="ASOBO_Interaction_Push_Event_Base_Template"> <USE_INPUT_EVENT_ID>DEICE</USE_INPUT_EVENT_ID> </UseTemplate> </Template>

    Templates used:

  • ASOBO_DEICE_Pull_Event_Base_Template

    Definition from XML
    <Template Name="ASOBO_DEICE_Pull_Event_Base_Template"> <UseTemplate Name="ASOBO_Interaction_Pull_Event_Base_Template"> <USE_INPUT_EVENT_ID>DEICE</USE_INPUT_EVENT_ID> </UseTemplate> </Template>

    Templates used: