[Go back to index]
Asobo\Common\Subtemplates\Aircraft_Subtemplates.xml
Source XML
<ModelBehaviors>
<Template Name="ASOBO_AIRCRAFT_Lever_Exit_SubTemplate">
<Parameters Type="Default">
<DOOR_OPENING_CONDITION>(A:SIM ON GROUND, Bool) (A:AIRSPEED TRUE, Knots) 30 < and</DOOR_OPENING_CONDITION>
<WWISE_EVENT_1>doorknob_lock</WWISE_EVENT_1>
<WWISE_EVENT_2>doorknob_unlock</WWISE_EVENT_2>
</Parameters>
<Parameters Type="Override">
<Condition Valid="ALWAYS_ALLOW_DOOR_OPENING">
<False>
<LEFT_SINGLE_CODE>
#ANIM_CODE# 0 > #DOOR_OPENING_CONDITION# or if{
#LEFT_SINGLE_CODE#
}
</LEFT_SINGLE_CODE>
</False>
</Condition>
</Parameters>
<Component ID="#NODE_ID#" Node="#NODE_ID#">
<UseTemplate Name="ASOBO_GT_Switch_Code">
</UseTemplate>
</Component>
</Template>
</ModelBehaviors>
Templates
Template list
-
ASOBO_AIRCRAFT_Lever_Exit_SubTemplate
Definition from XML<Template Name="ASOBO_AIRCRAFT_Lever_Exit_SubTemplate"> <Parameters Type="Default"> <DOOR_OPENING_CONDITION>(A:SIM ON GROUND, Bool) (A:AIRSPEED TRUE, Knots) 30 < and</DOOR_OPENING_CONDITION> <WWISE_EVENT_1>doorknob_lock</WWISE_EVENT_1> <WWISE_EVENT_2>doorknob_unlock</WWISE_EVENT_2> </Parameters> <Parameters Type="Override"> <Condition Valid="ALWAYS_ALLOW_DOOR_OPENING"> <False> <LEFT_SINGLE_CODE> #ANIM_CODE# 0 > #DOOR_OPENING_CONDITION# or if{ #LEFT_SINGLE_CODE# } </LEFT_SINGLE_CODE> </False> </Condition> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseTemplate Name="ASOBO_GT_Switch_Code"/> </Component> </Template>Parameters initialization:
-
Default
Parameters set:
- DOOR_OPENING_CONDITION
- WWISE_EVENT_1
- WWISE_EVENT_2
-
Override
Condition: Valid(ALWAYS_ALLOW_DOOR_OPENING)
-
Case: False
Parameters set:
- LEFT_SINGLE_CODE (using ANIM_CODE, DOOR_OPENING_CONDITION, LEFT_SINGLE_CODE)
-
Parameters read:
- NODE_ID
Components:
-
#NODE_ID# (Node: #NODE_ID#)
Templates used:
-
Default