[Go back to index]
Asobo\NAVCOM\AS92.xml
Source XML
<ModelBehaviors>
<Include RelativeFile="NavComSystem.xml"/>
<Template Name="ASOBO_AS92_Template">
<Parameters Type="Default">
<ID>1</ID>
</Parameters>
<UseTemplate Name="ASOBO_GT_Helper_Suffix_ID_Appender">
<TEMPLATE_TO_CALL>ASOBO_AS92_SubTemplate</TEMPLATE_TO_CALL>
</UseTemplate>
</Template>
<Template Name="ASOBO_AS92_SubTemplate">
<Parameters Type="Default">
<AS92>COM_AS92</AS92>
<BASE_EMISSIVE>1</BASE_EMISSIVE>
<ANIM_NEVER_FAILS/>
<Condition NotEmpty="CIRCUIT_ID">
<True>
<FAILURE>(A:CIRCUIT ON:#CIRCUIT_ID#, Bool)</FAILURE>
</True>
<False>
<FAILURE>(A:CIRCUIT AVIONICS ON, Bool) (A:COM VOLUME:#ID#, Percent) 0 > and</FAILURE>
</False>
</Condition>
</Parameters>
<Parameters Type="Default">
<EMISSIVE_CODE>#BASE_EMISSIVE#</EMISSIVE_CODE>
<NODE_ID_SCREEN>COM_Screen#SUFFIX_ID#</NODE_ID_SCREEN>
<NODE_ID_FRAME>#AS92#_Frame#SUFFIX_ID#</NODE_ID_FRAME>
<NODE_ID_MEMORY>#AS92#_Push_Memory#SUFFIX_ID#</NODE_ID_MEMORY>
<NODE_ID_MONITOR>#AS92#_Push_Monitor#SUFFIX_ID#</NODE_ID_MONITOR>
<NODE_ID_COM_SWAP>#AS92#_Push_Swap#SUFFIX_ID#</NODE_ID_COM_SWAP>
<ANIM_NAME_COM_SWAP>#AS92#_Push_Swap#SUFFIX_ID#</ANIM_NAME_COM_SWAP>
<NODE_ID_COM_VOLUME>#AS92#_Knob_Volume#SUFFIX_ID#</NODE_ID_COM_VOLUME>
<ANIM_NAME_COM_VOLUME>#AS92#_Knob_Volume#SUFFIX_ID#</ANIM_NAME_COM_VOLUME>
<ANIM_NAME_COM_VOLUME_SQUELCH>#AS92#_Push_Squelsh#SUFFIX_ID#</ANIM_NAME_COM_VOLUME_SQUELCH>
<NODE_ID_COM_FREQ_MHZ>#AS92#_Knob_MHZ#SUFFIX_ID#</NODE_ID_COM_FREQ_MHZ>
<ANIM_NAME_COM_FREQ_MHZ>#AS92#_Knob_MHZ#SUFFIX_ID#</ANIM_NAME_COM_FREQ_MHZ>
<NODE_ID_COM_FREQ_KHZ>#AS92#_Knob_KHZ#SUFFIX_ID#</NODE_ID_COM_FREQ_KHZ>
<ANIM_NAME_COM_FREQ_KHZ>#AS92#_Knob_KHZ#SUFFIX_ID#</ANIM_NAME_COM_FREQ_KHZ>
<ANIM_NAME_COM_FREQ_KHZ_PUSH>#AS92#_Knob_KHZ_Push#SUFFIX_ID#</ANIM_NAME_COM_FREQ_KHZ_PUSH>
</Parameters>
<UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge">
<NODE_ID>#NODE_ID_SCREEN#</NODE_ID>
<EMISSIVE_CODE>0.5</EMISSIVE_CODE>
</UseTemplate>
<UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge">
<NODE_ID>#NODE_ID_FRAME#</NODE_ID>
</UseTemplate>
<UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge">
<NODE_ID>#NODE_ID_MEMORY#</NODE_ID>
</UseTemplate>
<UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge">
<NODE_ID>#NODE_ID_MONITOR#</NODE_ID>
</UseTemplate>
<UseTemplate Name="ASOBO_NAVCOM_Knob_COM_Frequency_Template">
<NODE_ID_LARGE_KNOB>#NODE_ID_COM_FREQ_MHZ#</NODE_ID_LARGE_KNOB>
<NODE_ID_SMALL_KNOB>#NODE_ID_COM_FREQ_KHZ#</NODE_ID_SMALL_KNOB>
<ANIM_NAME_LARGE_KNOB>#ANIM_NAME_COM_FREQ_MHZ#</ANIM_NAME_LARGE_KNOB>
<ANIM_NAME_SMALL_KNOB>#ANIM_NAME_COM_FREQ_KHZ#</ANIM_NAME_SMALL_KNOB>
<ANIM_NAME_SMALL_KNOB_PUSH>#ANIM_NAME_COM_FREQ_KHZ_PUSH#</ANIM_NAME_SMALL_KNOB_PUSH>
</UseTemplate>
<UseTemplate Name="ASOBO_NAVCOM_Push_COM_Swap_Template">
<NODE_ID>#NODE_ID_COM_SWAP#</NODE_ID>
<ANIM_NAME>#ANIM_NAME_COM_SWAP#</ANIM_NAME>
</UseTemplate>
<UseTemplate Name="ASOBO_NAVCOM_Knob_COM_Volume_Template">
<NODE_ID>#NODE_ID_COM_VOLUME#</NODE_ID>
<ANIM_NAME_SWITCH>#ANIM_NAME_COM_VOLUME_SQUELCH#</ANIM_NAME_SWITCH>
<ANIM_NAME_KNOB>#ANIM_NAME_COM_VOLUME#</ANIM_NAME_KNOB>
<ANIM_LAG_SWITCH>500</ANIM_LAG_SWITCH>
<ANIM_LAG_KNOB>300</ANIM_LAG_KNOB>
<THRESHOLD_X_INPUT>0.05</THRESHOLD_X_INPUT>
<THRESHOLD_X_MOUSE>0.005</THRESHOLD_X_MOUSE>
</UseTemplate>
</Template>
</ModelBehaviors>
Includes
- RelativeFile: NavComSystem.xml
Templates
Template list
-
ASOBO_AS92_Template
Definition from XML<Template Name="ASOBO_AS92_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_GT_Helper_Suffix_ID_Appender"> <TEMPLATE_TO_CALL>ASOBO_AS92_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_AS92_SubTemplate
Definition from XML<Template Name="ASOBO_AS92_SubTemplate"> <Parameters Type="Default"> <AS92>COM_AS92</AS92> <BASE_EMISSIVE>1</BASE_EMISSIVE> <ANIM_NEVER_FAILS/> <Condition NotEmpty="CIRCUIT_ID"> <True> <FAILURE>(A:CIRCUIT ON:#CIRCUIT_ID#, Bool)</FAILURE> </True> <False> <FAILURE>(A:CIRCUIT AVIONICS ON, Bool) (A:COM VOLUME:#ID#, Percent) 0 > and</FAILURE> </False> </Condition> </Parameters> <Parameters Type="Default"> <EMISSIVE_CODE>#BASE_EMISSIVE#</EMISSIVE_CODE> <NODE_ID_SCREEN>COM_Screen#SUFFIX_ID#</NODE_ID_SCREEN> <NODE_ID_FRAME>#AS92#_Frame#SUFFIX_ID#</NODE_ID_FRAME> <NODE_ID_MEMORY>#AS92#_Push_Memory#SUFFIX_ID#</NODE_ID_MEMORY> <NODE_ID_MONITOR>#AS92#_Push_Monitor#SUFFIX_ID#</NODE_ID_MONITOR> <NODE_ID_COM_SWAP>#AS92#_Push_Swap#SUFFIX_ID#</NODE_ID_COM_SWAP> <ANIM_NAME_COM_SWAP>#AS92#_Push_Swap#SUFFIX_ID#</ANIM_NAME_COM_SWAP> <NODE_ID_COM_VOLUME>#AS92#_Knob_Volume#SUFFIX_ID#</NODE_ID_COM_VOLUME> <ANIM_NAME_COM_VOLUME>#AS92#_Knob_Volume#SUFFIX_ID#</ANIM_NAME_COM_VOLUME> <ANIM_NAME_COM_VOLUME_SQUELCH>#AS92#_Push_Squelsh#SUFFIX_ID#</ANIM_NAME_COM_VOLUME_SQUELCH> <NODE_ID_COM_FREQ_MHZ>#AS92#_Knob_MHZ#SUFFIX_ID#</NODE_ID_COM_FREQ_MHZ> <ANIM_NAME_COM_FREQ_MHZ>#AS92#_Knob_MHZ#SUFFIX_ID#</ANIM_NAME_COM_FREQ_MHZ> <NODE_ID_COM_FREQ_KHZ>#AS92#_Knob_KHZ#SUFFIX_ID#</NODE_ID_COM_FREQ_KHZ> <ANIM_NAME_COM_FREQ_KHZ>#AS92#_Knob_KHZ#SUFFIX_ID#</ANIM_NAME_COM_FREQ_KHZ> <ANIM_NAME_COM_FREQ_KHZ_PUSH>#AS92#_Knob_KHZ_Push#SUFFIX_ID#</ANIM_NAME_COM_FREQ_KHZ_PUSH> </Parameters> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_SCREEN#</NODE_ID> <EMISSIVE_CODE>0.5</EMISSIVE_CODE> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_FRAME#</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_MEMORY#</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_MONITOR#</NODE_ID> </UseTemplate> <UseTemplate Name="ASOBO_NAVCOM_Knob_COM_Frequency_Template"> <NODE_ID_LARGE_KNOB>#NODE_ID_COM_FREQ_MHZ#</NODE_ID_LARGE_KNOB> <NODE_ID_SMALL_KNOB>#NODE_ID_COM_FREQ_KHZ#</NODE_ID_SMALL_KNOB> <ANIM_NAME_LARGE_KNOB>#ANIM_NAME_COM_FREQ_MHZ#</ANIM_NAME_LARGE_KNOB> <ANIM_NAME_SMALL_KNOB>#ANIM_NAME_COM_FREQ_KHZ#</ANIM_NAME_SMALL_KNOB> <ANIM_NAME_SMALL_KNOB_PUSH>#ANIM_NAME_COM_FREQ_KHZ_PUSH#</ANIM_NAME_SMALL_KNOB_PUSH> </UseTemplate> <UseTemplate Name="ASOBO_NAVCOM_Push_COM_Swap_Template"> <NODE_ID>#NODE_ID_COM_SWAP#</NODE_ID> <ANIM_NAME>#ANIM_NAME_COM_SWAP#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_NAVCOM_Knob_COM_Volume_Template"> <NODE_ID>#NODE_ID_COM_VOLUME#</NODE_ID> <ANIM_NAME_SWITCH>#ANIM_NAME_COM_VOLUME_SQUELCH#</ANIM_NAME_SWITCH> <ANIM_NAME_KNOB>#ANIM_NAME_COM_VOLUME#</ANIM_NAME_KNOB> <ANIM_LAG_SWITCH>500</ANIM_LAG_SWITCH> <ANIM_LAG_KNOB>300</ANIM_LAG_KNOB> <THRESHOLD_X_INPUT>0.05</THRESHOLD_X_INPUT> <THRESHOLD_X_MOUSE>0.005</THRESHOLD_X_MOUSE> </UseTemplate> </Template>Parameters initialization:
-
Default
Parameters set:
- AS92
- BASE_EMISSIVE
- ANIM_NEVER_FAILS
Condition: NotEmpty(CIRCUIT_ID)
-
Case: True
Parameters set:
- FAILURE (using CIRCUIT_ID)
-
Case: False
Parameters set:
- FAILURE (using ID)
-
Default
Parameters set:
- EMISSIVE_CODE (using BASE_EMISSIVE)
- NODE_ID_SCREEN (using SUFFIX_ID)
- NODE_ID_FRAME (using AS92, SUFFIX_ID)
- NODE_ID_MEMORY (using AS92, SUFFIX_ID)
- NODE_ID_MONITOR (using AS92, SUFFIX_ID)
- NODE_ID_COM_SWAP (using AS92, SUFFIX_ID)
- ANIM_NAME_COM_SWAP (using AS92, SUFFIX_ID)
- NODE_ID_COM_VOLUME (using AS92, SUFFIX_ID)
- ANIM_NAME_COM_VOLUME (using AS92, SUFFIX_ID)
- ANIM_NAME_COM_VOLUME_SQUELCH (using AS92, SUFFIX_ID)
- NODE_ID_COM_FREQ_MHZ (using AS92, SUFFIX_ID)
- ANIM_NAME_COM_FREQ_MHZ (using AS92, SUFFIX_ID)
- NODE_ID_COM_FREQ_KHZ (using AS92, SUFFIX_ID)
- ANIM_NAME_COM_FREQ_KHZ (using AS92, SUFFIX_ID)
- ANIM_NAME_COM_FREQ_KHZ_PUSH (using AS92, SUFFIX_ID)
Templates used:
-
ASOBO_GT_Component_Emissive_Gauge
Parameters set:
- NODE_ID (using NODE_ID_SCREEN)
- EMISSIVE_CODE
-
ASOBO_GT_Component_Emissive_Gauge
Parameters set:
- NODE_ID (using NODE_ID_FRAME)
-
ASOBO_GT_Component_Emissive_Gauge
Parameters set:
- NODE_ID (using NODE_ID_MEMORY)
-
ASOBO_GT_Component_Emissive_Gauge
Parameters set:
- NODE_ID (using NODE_ID_MONITOR)
-
ASOBO_NAVCOM_Knob_COM_Frequency_Template
Parameters set:
- NODE_ID_LARGE_KNOB (using NODE_ID_COM_FREQ_MHZ)
- NODE_ID_SMALL_KNOB (using NODE_ID_COM_FREQ_KHZ)
- ANIM_NAME_LARGE_KNOB (using ANIM_NAME_COM_FREQ_MHZ)
- ANIM_NAME_SMALL_KNOB (using ANIM_NAME_COM_FREQ_KHZ)
- ANIM_NAME_SMALL_KNOB_PUSH (using ANIM_NAME_COM_FREQ_KHZ_PUSH)
-
ASOBO_NAVCOM_Push_COM_Swap_Template
Parameters set:
- NODE_ID (using NODE_ID_COM_SWAP)
- ANIM_NAME (using ANIM_NAME_COM_SWAP)
-
ASOBO_NAVCOM_Knob_COM_Volume_Template
Parameters set:
- NODE_ID (using NODE_ID_COM_VOLUME)
- ANIM_NAME_SWITCH (using ANIM_NAME_COM_VOLUME_SQUELCH)
- ANIM_NAME_KNOB (using ANIM_NAME_COM_VOLUME)
- ANIM_LAG_SWITCH
- ANIM_LAG_KNOB
- THRESHOLD_X_INPUT
- THRESHOLD_X_MOUSE
-
Default