Asobo\Common\Subtemplates\LandingGear_Subtemplates.xml
Templates
- ASOBO_LANDING_GEAR_Gear_SubTemplate
- ASOBO_LANDING_GEAR_Floater_Template
- ASOBO_LANDING_GEAR_Light_SubTemplate
- ASOBO_LANDING_GEAR_ParkingBrake_Template
- ASOBO_LANDING_GEAR_Brake_SubTemplate
- ASOBO_LANDING_GEAR_Indicator_SubTemplate
- ASOBO_LANDING_GEAR_Emergency_Template
- ASOBO_LANDING_GEAR_Light_Test_SubTemplate
- ASOBO_LANDING_GEAR_Check_Down_SubTemplate
-
ASOBO_LANDING_GEAR_Gear_SubTemplate
Definition from XML<Template Name="ASOBO_LANDING_GEAR_Gear_SubTemplate"> <Parameters Type="Default"> <ANIM_NAME>LANDING_GEAR_Lever_Gear</ANIM_NAME> <PART_ID>LANDING_GEAR_Lever_Gear</PART_ID> <NODE_ID>LANDING_GEAR_Lever_Gear</NODE_ID> <LIGHT_NODE_ID>LANDING_GEAR_Lever_GearLight</LIGHT_NODE_ID> <ANIM_LAG>400</ANIM_LAG> <DRAG_SCALAR>10</DRAG_SCALAR> <TOOLTIP_LANDING_GEAR_TITLE>@TT_Package.LANDING_GEAR_LEVER_GEAR_TITLE</TOOLTIP_LANDING_GEAR_TITLE> <WWISE_EVENT>gear_lever</WWISE_EVENT> <WWISE_EVENT_1>gear_lever_on</WWISE_EVENT_1> <WWISE_EVENT_2>gear_lever_off</WWISE_EVENT_2> <ALWAYS_USE_ANIM_LAG>True</ALWAYS_USE_ANIM_LAG> </Parameters> <Parameters Type="Override"> <TOOLTIP_TITLE>#TOOLTIP_LANDING_GEAR_TITLE#</TOOLTIP_TITLE> <TOOLTIP_ENTRY_0>LANDING_GEAR_Gear</TOOLTIP_ENTRY_0> <UP_CODE>(>B:LANDING_GEAR_Gear_Inc)</UP_CODE> <DOWN_CODE>(>B:LANDING_GEAR_Gear_Dec)</DOWN_CODE> </Parameters> <Parameters Type="Override"> <Condition Check="NO_GEARUP_ON_GROUND"> <True> <UP_CODE>(A:SIM ON GROUND, Bool) ! if{ #UP_CODE# }</UP_CODE> </True> </Condition> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="LANDING_GEAR"> <GEAR_ID>1</GEAR_ID> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Lever_DraggingYAxis_Code"> <ANIM_CODE>(B:LANDING_GEAR_Gear) 100 *</ANIM_CODE> </UseTemplate> </Component> <Condition Check="EMISSIVE_CODE"> <Component ID="#LIGHT_NODE_ID#" Node="#LIGHT_NODE_ID#"> <UseTemplate Name="ASOBO_GT_Emissive_Gauge"> <PART_ID>#LIGHT_NODE_ID#</PART_ID> </UseTemplate> </Component> </Condition> </Template>Parameters initialization:
-
Default
Parameters set:
- ANIM_NAME
- PART_ID
- NODE_ID
- LIGHT_NODE_ID
- ANIM_LAG
- DRAG_SCALAR
- TOOLTIP_LANDING_GEAR_TITLE
- WWISE_EVENT
- WWISE_EVENT_1
- WWISE_EVENT_2
- ALWAYS_USE_ANIM_LAG
-
Override
Parameters set:
- TOOLTIP_TITLE (using TOOLTIP_LANDING_GEAR_TITLE)
- TOOLTIP_ENTRY_0
- UP_CODE
- DOWN_CODE
-
Override
Condition: Check(NO_GEARUP_ON_GROUND)
-
Case: True
Parameters set:
- UP_CODE (using UP_CODE)
-
Parameters read:
- NODE_ID
Components:
- #NODE_ID# (Node: #NODE_ID#)
Condition: Check(EMISSIVE_CODE)
-
Case: True
Parameters read:
- LIGHT_NODE_ID
Components:
-
#LIGHT_NODE_ID# (Node: #LIGHT_NODE_ID#)
Templates used:
-
ASOBO_GT_Emissive_Gauge
Parameters set:
- PART_ID (using LIGHT_NODE_ID)
-
ASOBO_GT_Emissive_Gauge
-
Default
-
ASOBO_LANDING_GEAR_Floater_Template
Definition from XML<Template Name="ASOBO_LANDING_GEAR_Floater_Template"> <Parameters Type="Default"> <ANIM_NAME>LANDING_GEAR_Lever_Floater</ANIM_NAME> <PART_ID>LANDING_GEAR_Lever_Floater</PART_ID> <NODE_ID>LANDING_GEAR_Lever_Floater</NODE_ID> <ANIM_LAG>400</ANIM_LAG> <DRAG_SCALAR>10</DRAG_SCALAR> <TOOLTIP_FLOATER_TITLE>@TT_Package.LANDING_GEAR_LEVER_FLOATER_TITLE</TOOLTIP_FLOATER_TITLE> <TOOLTIP_TITLE_IS_DYNAMIC>True</TOOLTIP_TITLE_IS_DYNAMIC> <ALWAYS_USE_ANIM_LAG>True</ALWAYS_USE_ANIM_LAG> </Parameters> <Parameters Type="Override"> <TOOLTIP_TITLE>#TOOLTIP_FLOATER_TITLE#</TOOLTIP_TITLE> <TOOLTIP_ENTRY_0>LANDING_GEAR_Floater</TOOLTIP_ENTRY_0> <UP_CODE>(>B:LANDING_GEAR_Floater_Inc)</UP_CODE> <DOWN_CODE>(>B:LANDING_GEAR_Floater_Dec)</DOWN_CODE> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="LANDING_GEAR"> <FLOATER_ID>1</FLOATER_ID> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Lever_DraggingYAxis_Code"> <ANIM_CODE>(B:LANDING_GEAR_Floater) 100 *</ANIM_CODE> </UseTemplate> </Component> </Template>Parameters initialization:
-
Default
Parameters set:
- ANIM_NAME
- PART_ID
- NODE_ID
- ANIM_LAG
- DRAG_SCALAR
- TOOLTIP_FLOATER_TITLE
- TOOLTIP_TITLE_IS_DYNAMIC
- ALWAYS_USE_ANIM_LAG
-
Override
Parameters set:
- TOOLTIP_TITLE (using TOOLTIP_FLOATER_TITLE)
- TOOLTIP_ENTRY_0
- UP_CODE
- DOWN_CODE
Parameters read:
- NODE_ID
Components:
-
#NODE_ID# (Node: #NODE_ID#)
Parameters set:
- FLOATER_ID
Templates used:
-
ASOBO_GT_Lever_DraggingYAxis_Code
Parameters set:
- ANIM_CODE
-
Default
-
ASOBO_LANDING_GEAR_Light_SubTemplate
Definition from XML<Template Name="ASOBO_LANDING_GEAR_Light_SubTemplate"> <Parameters Type="Default"> <NODE_ID>LANDING_GEAR_Light_#ID#</NODE_ID> <SIMVAR>GEAR POSITION:#GEAR_ID#</SIMVAR> <CHECKED_PERCENT_VALUE>100</CHECKED_PERCENT_VALUE> <PART_ID>LANDING_GEAR_Light</PART_ID> <Condition Valid="INVERT_CONDITION"> <True> <Condition NotEmpty="CUSTOM_RANGE"> <True> <TEST>rng !</TEST> </True> <False> <TEST>!=</TEST> </False> </Condition> </True> <False> <Condition NotEmpty="CUSTOM_RANGE"> <True> <TEST>rng</TEST> </True> <False> <TEST>==</TEST> </False> </Condition> </False> </Condition> <Condition Check="POTENTIOMETER"> <True> <POTENTIOMETER_MOD>(A:LIGHT POTENTIOMETER:#POTENTIOMETER#, Percent over 100) *</POTENTIOMETER_MOD> </True> <False> <POTENTIOMETER_MOD/> </False> </Condition> </Parameters> <Parameters Type="Override"> <Condition NotEmpty="SHOULD_BE_ON_TEST"> <False> <Condition NotEmpty="CUSTOM_RANGE"> <True> <SHOULD_BE_ON_TEST>#CUSTOM_RANGE# (A:#SIMVAR#, Percent) #TEST#</SHOULD_BE_ON_TEST> </True> <False> <SHOULD_BE_ON_TEST>(A:#SIMVAR#, Percent) #CHECKED_PERCENT_VALUE# #TEST#</SHOULD_BE_ON_TEST> </False> </Condition> </False> </Condition> </Parameters> <Parameters Type="Override"> <Condition Valid="CHECK_LEVER"> <True> <SHOULD_BE_ON_TEST>#SHOULD_BE_ON_TEST# (A:GEAR HANDLE POSITION, bool) and</SHOULD_BE_ON_TEST> </True> </Condition> </Parameters> <Condition Check="AIRBUS_TYPE"> <True> <UseTemplate Name="ASOBO_GT_Push_Button_Airliner"> <DUMMY_BUTTON>True</DUMMY_BUTTON> <SEQ1_EMISSIVE_CODE> (A:#SIMVAR#, Percent) (O:LastFramePosition) != (A:#SIMVAR#, Percent) (>O:LastFramePosition) </SEQ1_EMISSIVE_CODE> <SEQ2_EMISSIVE_CODE>#SHOULD_BE_ON_TEST#</SEQ2_EMISSIVE_CODE> </UseTemplate> </True> <False> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseTemplate Name="ASOBO_GT_Emissive_Gauge"> <EMISSIVE_CODE>#SHOULD_BE_ON_TEST# #POTENTIOMETER_MOD#</EMISSIVE_CODE> </UseTemplate> </Component> </False> </Condition> </Template>Parameters initialization:
-
Default
Parameters set:
- NODE_ID (using ID)
- SIMVAR (using GEAR_ID)
- CHECKED_PERCENT_VALUE
- PART_ID
Condition: Valid(INVERT_CONDITION)
-
Case: True
Condition: NotEmpty(CUSTOM_RANGE)
-
Case: True
Parameters set:
- TEST
-
Case: False
Parameters set:
- TEST
-
-
Case: False
Condition: NotEmpty(CUSTOM_RANGE)
-
Case: True
Parameters set:
- TEST
-
Case: False
Parameters set:
- TEST
-
Condition: Check(POTENTIOMETER)
-
Case: True
Parameters set:
- POTENTIOMETER_MOD (using POTENTIOMETER)
-
Case: False
Parameters set:
- POTENTIOMETER_MOD
-
Override
Condition: NotEmpty(SHOULD_BE_ON_TEST)
-
Case: False
Condition: NotEmpty(CUSTOM_RANGE)
-
Case: True
Parameters set:
- SHOULD_BE_ON_TEST (using CUSTOM_RANGE, SIMVAR, TEST)
-
Case: False
Parameters set:
- SHOULD_BE_ON_TEST (using SIMVAR, CHECKED_PERCENT_VALUE, TEST)
-
-
-
Override
Condition: Valid(CHECK_LEVER)
-
Case: True
Parameters set:
- SHOULD_BE_ON_TEST (using SHOULD_BE_ON_TEST)
-
Condition: Check(AIRBUS_TYPE)
-
Case: True
Templates used:
-
ASOBO_GT_Push_Button_Airliner
Parameters set:
- DUMMY_BUTTON
- SEQ1_EMISSIVE_CODE (using SIMVAR)
- SEQ2_EMISSIVE_CODE (using SHOULD_BE_ON_TEST)
-
ASOBO_GT_Push_Button_Airliner
-
Case: False
Parameters read:
- NODE_ID
Components:
-
#NODE_ID# (Node: #NODE_ID#)
Templates used:
-
ASOBO_GT_Emissive_Gauge
Parameters set:
- EMISSIVE_CODE (using SHOULD_BE_ON_TEST, POTENTIOMETER_MOD)
-
ASOBO_GT_Emissive_Gauge
-
Default
-
ASOBO_LANDING_GEAR_ParkingBrake_Template
Definition from XML<Template Name="ASOBO_LANDING_GEAR_ParkingBrake_Template"> <Parameters Type="Default"> <Condition> <Test> <Greater> <Value>ANIM_DELAY</Value> <Number>0</Number> </Greater> </Test> <True> <HAS_ANIM_DELAY>True</HAS_ANIM_DELAY> </True> <False> <HAS_ANIM_DELAY>False</HAS_ANIM_DELAY> <ANIM_DELAY>0</ANIM_DELAY> </False> </Condition> <INPUTEVENT_VAR_TYPE>L</INPUTEVENT_VAR_TYPE> <INPUTEVENT_VAR_NAME>ParkingBrake_Position</INPUTEVENT_VAR_NAME> </Parameters> <Parameters Type="Default"> <ANIM_NAME>LANDING_GEAR_#INTERACTION_TYPE#_ParkingBrake</ANIM_NAME> <NODE_ID>LANDING_GEAR_#INTERACTION_TYPE#_ParkingBrake</NODE_ID> <PART_ID>LANDING_GEAR_#INTERACTION_TYPE#_ParkingBrake</PART_ID> <MOUSEFLAGS>LeftSingle+WheelUp+WheelDown</MOUSEFLAGS> <LEFT_SINGLE_CODE_DEFAULT_IM>(>B:LANDING_GEAR_ParkingBrake_Toggle)</LEFT_SINGLE_CODE_DEFAULT_IM> <ANIM_CODE>(#INPUTEVENT_VAR_TYPE#:#INPUTEVENT_VAR_NAME#)</ANIM_CODE> <WWISE_EVENT_1>parking_brake_switch_on</WWISE_EVENT_1> <WWISE_EVENT_2>parking_brake_switch_off</WWISE_EVENT_2> <Switch Param="TYPE"> <Case Value="AS04F"> <ANIM_NAME_KNOB>LANDING_GEAR_#INTERACTION_TYPE#_ParkingBrake</ANIM_NAME_KNOB> <ANIM_NAME_PULL>LANDING_GEAR_#INTERACTION_TYPE#_ParkingBrake_Pull</ANIM_NAME_PULL> </Case> </Switch> </Parameters> <Parameters Type="Default"> <TOOLTIP_PARKING_BRAKE_TITLE>@TT_Package.LANDING_GEAR_#INTERACTION_TYPE#_PARKING_BRAKE_TITLE</TOOLTIP_PARKING_BRAKE_TITLE> <TOOLTIP_PARKING_BRAKE_DESCRIPTION>@TT_Package.LANDING_GEAR_#INTERACTION_TYPE#_PARKING_BRAKE_ACTION_SET</TOOLTIP_PARKING_BRAKE_DESCRIPTION> <TT_INTERACTION>PRIMARY_DOWN</TT_INTERACTION> <TT_INTERACTION_LOCKABLE>LOCK</TT_INTERACTION_LOCKABLE> <TT_ICON>MOVE_Y</TT_ICON> </Parameters> <Parameters Type="Override"> <TOOLTIP_TITLE>#TOOLTIP_PARKING_BRAKE_TITLE#</TOOLTIP_TITLE> <LEFT_SINGLE_CODE_DRAG_IM>#LEFT_SINGLE_CODE_DEFAULT_IM#</LEFT_SINGLE_CODE_DRAG_IM> <Switch Param="TYPE"> <Case Value="AS04F"> <TT_ICON>Pull</TT_ICON> <TT_INTERACTION>SECONDARY_DOWN</TT_INTERACTION> <TT_DESCRIPTION_ID>#TOOLTIP_PARKING_BRAKE_DESCRIPTION#</TT_DESCRIPTION_ID> </Case> <Default> <TOOLTIP_ENTRY_0>LANDING_GEAR_ParkingBrake</TOOLTIP_ENTRY_0> <TT_DESCRIPTION>#TOOLTIP_PARKING_BRAKE_DESCRIPTION#</TT_DESCRIPTION> </Default> </Switch> </Parameters> <Switch> <Case Check="TYPE" Match="AS04F"> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseTemplate Name="ASOBO_LANDING_GEAR_Push_Event_Base_Template"> <INTERACTION_TYPE>Switch</INTERACTION_TYPE> <IE_NAME>Parking_Brake</IE_NAME> <SET_STATE_EXTERNAL>p0 (>L:XMLVAR_Parking_Brake) (B:LANDING_GEAR_Parking_Brake_Emergency, Bool) ! (L:XMLVAR_Parking_Brake) and (>K:PARKING_BRAKE_SET)</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(A:BRAKE PARKING POSITION, Bool) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> <BINDING_SET_0>Toggle</BINDING_SET_0> <BINDING_SET_0_EVENT_ID>PARKING_BRAKES</BINDING_SET_0_EVENT_ID> <BINDING_SET_0_PARAM_0>(B:LANDING_GEAR_Parking_Brake) !</BINDING_SET_0_PARAM_0> <BINDING_SET_0_PARAM_0_IS_DYNAMIC>True</BINDING_SET_0_PARAM_0_IS_DYNAMIC> <BINDING_SET_1>Set</BINDING_SET_1> <BINDING_SET_1_EVENT_ID>PARKING_BRAKE_SET</BINDING_SET_1_EVENT_ID> <BINDING_SET_1_PARAM_0>p0</BINDING_SET_1_PARAM_0> <BINDING_SET_1_PARAM_0_IS_DYNAMIC>True</BINDING_SET_1_PARAM_0_IS_DYNAMIC> </UseTemplate> <UseTemplate Name="ASOBO_LANDING_GEAR_Base_Template"> <NODE_ID>#NODE_ID#</NODE_ID> <IE_NAME>Parking_Brake_Emergency</IE_NAME> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <WRAP>False</WRAP> <ALWAYS_USE_ANIM_LAG>True</ALWAYS_USE_ANIM_LAG> <ANIM_LAG>400</ANIM_LAG> <NUM_STATES>2</NUM_STATES> <CREATE_COMPONENT>False</CREATE_COMPONENT> <SET_STATE_EXTERNAL>(B:LANDING_GEAR_Parking_Brake) ! (O:TrySetBrakes) or if{ p0 0 > (>L:XMLVAR_Emergency_Brake) 0 (>O:TrySetBrakes) }</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(L:XMLVAR_Emergency_Brake)</GET_STATE_EXTERNAL> <TT_ICON>MOVE_X</TT_ICON> <TT_INTERACTION>PRIMARY_DOWN+X_AXIS</TT_INTERACTION> <TT_INTERACTION_LOCKABLE>X_AXIS</TT_INTERACTION_LOCKABLE> <TEMPLATE_VARIANT>Switch</TEMPLATE_VARIANT> <IE_ID_EXTERNAL_0>Parking_Brake</IE_ID_EXTERNAL_0> <USE_SIMVAR_FOR_BUTTON_ANIM>False</USE_SIMVAR_FOR_BUTTON_ANIM> <USE_SIMVAR_FOR_KNOB_ANIM>False</USE_SIMVAR_FOR_KNOB_ANIM> <ANIM_CODE_SWITCH>(B:LANDING_GEAR_Parking_Brake, Bool) 100 *</ANIM_CODE_SWITCH> <KNOB_ANIM_CODE>(B:LANDING_GEAR_Parking_Brake_Emergency, Bool) 100 *</KNOB_ANIM_CODE> <CENTER_RADIUS>0.002</CENTER_RADIUS> <IE_ID_EXTERNAL_0>Parking_Brake</IE_ID_EXTERNAL_0> <BINDING_SET_0>Toggle</BINDING_SET_0> <BINDING_SET_0_EVENT_ID>PARKING_BRAKES</BINDING_SET_0_EVENT_ID> <BINDING_SET_0_PARAM_0>0 1 (>O:TrySetBrakes)</BINDING_SET_0_PARAM_0> <BINDING_SET_0_PARAM_0_IS_DYNAMIC>True</BINDING_SET_0_PARAM_0_IS_DYNAMIC> <BINDING_SET_1>Set</BINDING_SET_1> <BINDING_SET_1_EVENT_ID>PARKING_BRAKE_SET</BINDING_SET_1_EVENT_ID> <BINDING_SET_1_PARAM_0>0 1 (>O:TrySetBrakes)</BINDING_SET_1_PARAM_0> <BINDING_SET_1_PARAM_0_IS_DYNAMIC>True</BINDING_SET_1_PARAM_0_IS_DYNAMIC> <TT_DESCRIPTION_ID>@TT_Package.LANDING_GEAR_LEVER_PARKING_BRAKE_EMERGENCY_ACTION</TT_DESCRIPTION_ID> <TT_VALUE>(B:LANDING_GEAR_Parking_Brake_Emergency, Bool) if{ (R:1:@TT_Package.GT_STATE_EMER) } els{ (R:1:@TT_Package.GT_STATE_MODENORM) }</TT_VALUE> <VALUE_UNITS>Boolean</VALUE_UNITS> </UseTemplate> </Component> </Case> <Default> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="LANDING_GEAR"> <PARKING_BRAKE_ID>1</PARKING_BRAKE_ID> </UseInputEvent> <Switch> <Case Check="USE_PEDAL_AS_SWITCH"> <UseTemplate Name="ASOBO_GT_Interaction_LeftSingle_Code"/> </Case> <Default> <Condition Valid="HAS_ANIM_DELAY"> <True> <UseTemplate Name="ASOBO_GT_Update"> <FREQUENCY>5</FREQUENCY> <UPDATE_CODE> (O:BrakeStartingTime) 0 > if{ (E:SIMULATION TIME, second) (O:BrakeStartingTime) - 0 > if{ (A:BRAKE PARKING POSITION, bool) 100 * (>#INPUTEVENT_VAR_TYPE#:#INPUTEVENT_VAR_NAME#) 0 (>O:BrakeStartingTime) } } </UPDATE_CODE> </UseTemplate> </True> </Condition> <UseTemplate Name="ASOBO_GT_Switch_Code"/> </Default> </Switch> </Component> </Default> </Switch> <Condition Check="HIGHLIGHT_NODE_ID"> <UseTemplate Name="ASOBO_GT_ComponentWith_PART_ID"> <NODE_ID>#HIGHLIGHT_NODE_ID#</NODE_ID> </UseTemplate> </Condition> </Template>Parameters initialization:
-
Default
Parameters set:
- INPUTEVENT_VAR_TYPE
- INPUTEVENT_VAR_NAME
Condition: Test(ANIM_DELAY)
-
Case: True
Parameters set:
- HAS_ANIM_DELAY
-
Case: False
Parameters set:
- HAS_ANIM_DELAY
- ANIM_DELAY
-
Default
Parameters set:
- ANIM_NAME (using INTERACTION_TYPE)
- NODE_ID (using INTERACTION_TYPE)
- PART_ID (using INTERACTION_TYPE)
- MOUSEFLAGS
- LEFT_SINGLE_CODE_DEFAULT_IM
- ANIM_CODE (using INPUTEVENT_VAR_TYPE, INPUTEVENT_VAR_NAME)
- WWISE_EVENT_1
- WWISE_EVENT_2
Condition: Switch(TYPE)
-
Case: AS04F
Parameters set:
- ANIM_NAME_KNOB (using INTERACTION_TYPE)
- ANIM_NAME_PULL (using INTERACTION_TYPE)
-
Default
Parameters set:
- TOOLTIP_PARKING_BRAKE_TITLE (using INTERACTION_TYPE)
- TOOLTIP_PARKING_BRAKE_DESCRIPTION (using INTERACTION_TYPE)
- TT_INTERACTION
- TT_INTERACTION_LOCKABLE
- TT_ICON
-
Override
Parameters set:
- TOOLTIP_TITLE (using TOOLTIP_PARKING_BRAKE_TITLE)
- LEFT_SINGLE_CODE_DRAG_IM (using LEFT_SINGLE_CODE_DEFAULT_IM)
Condition: Switch(TYPE)
-
Case: AS04F
Parameters set:
- TT_ICON
- TT_INTERACTION
- TT_DESCRIPTION_ID (using TOOLTIP_PARKING_BRAKE_DESCRIPTION)
-
Default case:
Parameters set:
- TOOLTIP_ENTRY_0
- TT_DESCRIPTION (using TOOLTIP_PARKING_BRAKE_DESCRIPTION)
Condition: Switch
-
Case: Check(TYPE) Match(AS04F)
Parameters read:
- TYPE
- NODE_ID
Components:
-
#NODE_ID# (Node: #NODE_ID#)
Templates used:
-
ASOBO_LANDING_GEAR_Push_Event_Base_Template
Parameters set:
- INTERACTION_TYPE
- IE_NAME
- SET_STATE_EXTERNAL
- GET_STATE_EXTERNAL
- SIM_STATE_IS_ON_EXTERNAL
- BINDING_SET_0
- BINDING_SET_0_EVENT_ID
- BINDING_SET_0_PARAM_0
- BINDING_SET_0_PARAM_0_IS_DYNAMIC
- BINDING_SET_1
- BINDING_SET_1_EVENT_ID
- BINDING_SET_1_PARAM_0
- BINDING_SET_1_PARAM_0_IS_DYNAMIC
-
ASOBO_LANDING_GEAR_Base_Template
Parameters set:
- NODE_ID (using NODE_ID)
- IE_NAME
- INTERACTION_TYPE
- WRAP
- ALWAYS_USE_ANIM_LAG
- ANIM_LAG
- NUM_STATES
- CREATE_COMPONENT
- SET_STATE_EXTERNAL
- GET_STATE_EXTERNAL
- TT_ICON
- TT_INTERACTION
- TT_INTERACTION_LOCKABLE
- TEMPLATE_VARIANT
- IE_ID_EXTERNAL_0
- USE_SIMVAR_FOR_BUTTON_ANIM
- USE_SIMVAR_FOR_KNOB_ANIM
- ANIM_CODE_SWITCH
- KNOB_ANIM_CODE
- CENTER_RADIUS
- BINDING_SET_0
- BINDING_SET_0_EVENT_ID
- BINDING_SET_0_PARAM_0
- BINDING_SET_0_PARAM_0_IS_DYNAMIC
- BINDING_SET_1
- BINDING_SET_1_EVENT_ID
- BINDING_SET_1_PARAM_0
- BINDING_SET_1_PARAM_0_IS_DYNAMIC
- TT_DESCRIPTION_ID
- TT_VALUE
- VALUE_UNITS
-
ASOBO_LANDING_GEAR_Push_Event_Base_Template
-
Default case:
Parameters read:
- NODE_ID
Components:
-
#NODE_ID# (Node: #NODE_ID#)
Parameters set:
- PARKING_BRAKE_ID
Condition: Switch
-
Case: Check(USE_PEDAL_AS_SWITCH)
-
Default case:
Templates used:
Condition: Valid(HAS_ANIM_DELAY)
-
Case: True
Templates used:
-
ASOBO_GT_Update
Parameters set:
- FREQUENCY
- UPDATE_CODE (using INPUTEVENT_VAR_TYPE, INPUTEVENT_VAR_NAME)
-
ASOBO_GT_Update
-
Condition: Check(HIGHLIGHT_NODE_ID)
-
Case: True
Templates used:
-
ASOBO_GT_ComponentWith_PART_ID
Parameters set:
- NODE_ID (using HIGHLIGHT_NODE_ID)
-
ASOBO_GT_ComponentWith_PART_ID
-
Default
-
ASOBO_LANDING_GEAR_Brake_SubTemplate
Definition from XML<Template Name="ASOBO_LANDING_GEAR_Brake_SubTemplate"> <Parameters Type="Default"> <ANIM_NAME>LANDING_GEAR_#INTERACTION_TYPE#_Brake</ANIM_NAME> <NODE_ID>LANDING_GEAR_#INTERACTION_TYPE#_Brake</NODE_ID> <PART_ID>LANDING_GEAR_#INTERACTION_TYPE#_Brake</PART_ID> <TT_DESCRIPTION_ID>@TT_Package.LANDING_GEAR_BRAKES_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.LANDING_GEAR_BRAKES_TITLE</TOOLTIP_TITLE> </Parameters> <Parameters Type="Override"> <INCREMENT Process="Int">16384 20 /</INCREMENT> <U32K Process="Int">16384 2 *</U32K> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="LANDING_GEAR"> <LEVER_ID>Brake</LEVER_ID> <GET_STATE_EXTERNAL>(O:LANDING_GEAR_Brake_Position) 100 / 2 * 1 - 16384 *</GET_STATE_EXTERNAL> <SET_PARAM_0>p0 16384 *</SET_PARAM_0> <SET_PARAM_0_IS_DYNAMIC>True</SET_PARAM_0_IS_DYNAMIC> <INC_PARAM_0>p0 #INCREMENT# *</INC_PARAM_0> <INC_PARAM_0_IS_DYNAMIC>True</INC_PARAM_0_IS_DYNAMIC> <INC_CODE_ADJUST_VALUE>16384 /</INC_CODE_ADJUST_VALUE> <DEC_PARAM_0>p0 #INCREMENT# *</DEC_PARAM_0> <DEC_PARAM_0_IS_DYNAMIC>True</DEC_PARAM_0_IS_DYNAMIC> <DEC_CODE_ADJUST_VALUE>16384 /</DEC_CODE_ADJUST_VALUE> <MAX_VALUE>16384</MAX_VALUE> <MIN_VALUE>-16384</MIN_VALUE> <STATE_TO_POS_EXTERNAL>16384 + #U32K# / 100 *</STATE_TO_POS_EXTERNAL> <SET_STATE_EXTERNAL>(A:BRAKE PARKING POSITION, Bool) ! if{ l0 (>K:AXIS_LEFT_BRAKE_SET) l0 (>K:AXIS_RIGHT_BRAKE_SET) }</SET_STATE_EXTERNAL> <GET_TT_VALUE_STATE>(A:BRAKE LEFT POSITION, Percent) (A:BRAKE RIGHT POSITION, Percent) + 2 /</GET_TT_VALUE_STATE> <SIMVAR_TO_WATCH_0>BRAKE LEFT POSITION</SIMVAR_TO_WATCH_0> <SIMVAR_TO_WATCH_1>BRAKE RIGHT POSITION</SIMVAR_TO_WATCH_1> <SIMVAR_TO_WATCH_2>BRAKE PARKING POSITION</SIMVAR_TO_WATCH_2> <INIT_CODE> (A:BRAKE PARKING POSITION, Bool) ! if{ (A:BRAKE LEFT POSITION, Position 16k) (A:BRAKE RIGHT POSITION, Position 16k) != if{ (A:BRAKE LEFT POSITION, Position 16k) (>K:AXIS_RIGHT_BRAKE_SET) } (A:BRAKE LEFT POSITION, Percent) (A:BRAKE RIGHT POSITION, Percent) + 2 / (>O:LANDING_GEAR_Brake_Position) } els{ 100 (>O:LANDING_GEAR_Brake_Position) } </INIT_CODE> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Lever_DraggingWheelLeftDrag_Axis"> <ANIM_LAG>200</ANIM_LAG> <TOOLTIP_ENTRY_0>LANDING_GEAR_Brake</TOOLTIP_ENTRY_0> <USE_TRAJECTORY_DRAG_MODE>True</USE_TRAJECTORY_DRAG_MODE> <ANIM_CODE>(B:LANDING_GEAR_Brake, percent)</ANIM_CODE> <POSITIVE_AXIS_CODE>1 (>B:LANDING_GEAR_Brake_Inc)</POSITIVE_AXIS_CODE> <NEGATIVE_AXIS_CODE>1 (>B:LANDING_GEAR_Brake_Dec)</NEGATIVE_AXIS_CODE> <DRAG_CODE>(M:DragPercent) 2 * 1 - (>B:LANDING_GEAR_Brake_Set)</DRAG_CODE> <AXIS>Y</AXIS> <NO_ARROWS/> <CURSOR>Grab</CURSOR> </UseTemplate> </Component> <Condition Check="HIGHLIGHT_NODE_ID"> <UseTemplate Name="ASOBO_GT_ComponentWith_PART_ID"> <NODE_ID>#HIGHLIGHT_NODE_ID#</NODE_ID> </UseTemplate> </Condition> </Template>Parameters initialization:
-
Default
Parameters set:
- ANIM_NAME (using INTERACTION_TYPE)
- NODE_ID (using INTERACTION_TYPE)
- PART_ID (using INTERACTION_TYPE)
- TT_DESCRIPTION_ID
- TOOLTIP_TITLE
-
Override
Parameters set:
- INCREMENT
- U32K
Parameters read:
- NODE_ID
Components:
-
#NODE_ID# (Node: #NODE_ID#)
Parameters set:
- LEVER_ID
- GET_STATE_EXTERNAL
- SET_PARAM_0
- SET_PARAM_0_IS_DYNAMIC
- INC_PARAM_0 (using INCREMENT)
- INC_PARAM_0_IS_DYNAMIC
- INC_CODE_ADJUST_VALUE
- DEC_PARAM_0 (using INCREMENT)
- DEC_PARAM_0_IS_DYNAMIC
- DEC_CODE_ADJUST_VALUE
- MAX_VALUE
- MIN_VALUE
- STATE_TO_POS_EXTERNAL (using U32K)
- SET_STATE_EXTERNAL
- GET_TT_VALUE_STATE
- SIMVAR_TO_WATCH_0
- SIMVAR_TO_WATCH_1
- SIMVAR_TO_WATCH_2
- INIT_CODE
Templates used:
-
ASOBO_GT_Lever_DraggingWheelLeftDrag_Axis
Parameters set:
- ANIM_LAG
- TOOLTIP_ENTRY_0
- USE_TRAJECTORY_DRAG_MODE
- ANIM_CODE
- POSITIVE_AXIS_CODE
- NEGATIVE_AXIS_CODE
- DRAG_CODE
- AXIS
- NO_ARROWS
- CURSOR
Condition: Check(HIGHLIGHT_NODE_ID)
-
Case: True
Templates used:
-
ASOBO_GT_ComponentWith_PART_ID
Parameters set:
- NODE_ID (using HIGHLIGHT_NODE_ID)
-
ASOBO_GT_ComponentWith_PART_ID
-
Default
-
ASOBO_LANDING_GEAR_Indicator_SubTemplate
Definition from XML<Template Name="ASOBO_LANDING_GEAR_Indicator_SubTemplate"> <DefaultTemplateParameters> <NODE_ID>LANDING_GEAR_Indicator_#SIDE#</NODE_ID> <ANIM_NAME>LANDING_GEAR_Indicator_#SIDE#</ANIM_NAME> </DefaultTemplateParameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseTemplate Name="ASOBO_GT_Anim_Sim"> <ANIM_LENGTH>100</ANIM_LENGTH> <ANIM_SIMVAR>GEAR #SIDE# POSITION</ANIM_SIMVAR> <ANIM_SIMVAR_UNITS>percent</ANIM_SIMVAR_UNITS> </UseTemplate> </Component> </Template>Parameters initialization:
-
Default
Parameters set:
- NODE_ID (using SIDE)
- ANIM_NAME (using SIDE)
Parameters read:
- NODE_ID
Components:
-
#NODE_ID# (Node: #NODE_ID#)
Templates used:
-
ASOBO_GT_Anim_Sim
Parameters set:
- ANIM_LENGTH
- ANIM_SIMVAR (using SIDE)
- ANIM_SIMVAR_UNITS
-
ASOBO_GT_Anim_Sim
-
Default
-
ASOBO_LANDING_GEAR_Emergency_Template
Definition from XML<Template Name="ASOBO_LANDING_GEAR_Emergency_Template"> <Parameters Type="Default"> <ANIM_NAME>LANDING_GEAR_#INTERACTION_TYPE#_Gear_Emergency</ANIM_NAME> <PART_ID>LANDING_GEAR_#INTERACTION_TYPE#_Gear_Emergency</PART_ID> <NODE_ID>LANDING_GEAR_#INTERACTION_TYPE#_Gear_Emergency</NODE_ID> <WWISE_PREFIX>landing_gear_emergency</WWISE_PREFIX> <ANIM_LAG>400</ANIM_LAG> <DRAG_SCALAR>10</DRAG_SCALAR> <TT_DESCRIPTION_ID>@TT_Package.EMERGENCY_LEVER_GEAR_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.EMERGENCY_LEVER_GEAR_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_LANDING_GEAR_Base_Template"> <Switch Param="INTERACTION_TYPE"> <Case Value="Lever"> <IE_NAME>GEARS_Deploy_Lever</IE_NAME> <LEVER_TYPE>2_STATES</LEVER_TYPE> </Case> </Switch> <SET_STATE_EXTERNAL>p0 (A:GEAR EMERGENCY HANDLE POSITION, Bool) != if{ (>K:GEAR_EMERGENCY_HANDLE_TOGGLE) }</SET_STATE_EXTERNAL> <GET_STATE_EXTERNAL>(A:GEAR EMERGENCY HANDLE POSITION, Bool) sp0</GET_STATE_EXTERNAL> </UseTemplate> </Template>Parameters initialization:
-
Default
Parameters set:
- ANIM_NAME (using INTERACTION_TYPE)
- PART_ID (using INTERACTION_TYPE)
- NODE_ID (using INTERACTION_TYPE)
- WWISE_PREFIX
- ANIM_LAG
- DRAG_SCALAR
- TT_DESCRIPTION_ID
- TOOLTIP_TITLE
Templates used:
-
ASOBO_LANDING_GEAR_Base_Template
Parameters set:
- SET_STATE_EXTERNAL
- GET_STATE_EXTERNAL
Condition: Switch(INTERACTION_TYPE)
-
Case: Lever
Parameters set:
- IE_NAME
- LEVER_TYPE
-
Default
-
ASOBO_LANDING_GEAR_Light_Test_SubTemplate
Definition from XML<Template Name="ASOBO_LANDING_GEAR_Light_Test_SubTemplate"> <Parameters Type="Default"> <NODE_ID>LANDING_GEAR_#INTERACTION_TYPE#_Light_Test</NODE_ID> <ANIM_NAME>LANDING_GEAR_#INTERACTION_TYPE#_Light_Test</ANIM_NAME> <PART_ID>LANDING_GEAR_#INTERACTION_TYPE#_Light_Test</PART_ID> <WWISE_EVENT_1>landing_gear_light_test_push_button_on</WWISE_EVENT_1> <WWISE_EVENT_2>landing_gear_light_test_push_button_off</WWISE_EVENT_2> <TOOLTIP_TITLE>@TT_Package.LANDING_GEAR_SWITCH_CHECK_LIGHT_TEST_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.LANDING_GEAR_SWITCH_CHECK_LIGHT_TEST_ACTION</TT_DESCRIPTION_ID> </Parameters> <Parameters Type="Override"> <BTN_ID>Light_Test</BTN_ID> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="LANDING_GEAR"> <SET_STATE_EXTERNAL>p0 if{ 1 (>O:XMLVAR_Light_Test) } els{ 0 (>O:XMLVAR_Light_Test) }</SET_STATE_EXTERNAL> <TT_VALUE>(O:XMLVAR_Light_Test) if{ @TT_Test } els{ @TT_Standby }</TT_VALUE> <TT_VALUE_IS_DYNAMIC>True</TT_VALUE_IS_DYNAMIC> <VALUE_CODE>(O:XMLVAR_Light_Test)</VALUE_CODE> <BINDING_DEC_0>Release</BINDING_DEC_0> <BINDING_DEC_0_PARAM_0>0</BINDING_DEC_0_PARAM_0> <BINDING_INC_0>Push</BINDING_INC_0> <BINDING_INC_0_PARAM_0>1</BINDING_INC_0_PARAM_0> <ANIM>EXTERNAL</ANIM> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Push_Button_Held"> <TOOLTIP_ENTRY_0>LANDING_GEAR_#BTN_ID#</TOOLTIP_ENTRY_0> <LEFT_SINGLE_CODE>(>B:LANDING_GEAR_#BTN_ID#_Push)</LEFT_SINGLE_CODE> <LEFT_LEAVE_CODE>(>B:LANDING_GEAR_#BTN_ID#_Release)</LEFT_LEAVE_CODE> <OVERRIDE_ANIM_CODE>(B:LANDING_GEAR_#BTN_ID#, Bool) 100 *</OVERRIDE_ANIM_CODE> </UseTemplate> </Component> </Template>Parameters initialization:
-
Default
Parameters set:
- NODE_ID (using INTERACTION_TYPE)
- ANIM_NAME (using INTERACTION_TYPE)
- PART_ID (using INTERACTION_TYPE)
- WWISE_EVENT_1
- WWISE_EVENT_2
- TOOLTIP_TITLE
- TT_DESCRIPTION_ID
-
Override
Parameters set:
- BTN_ID
Parameters read:
- NODE_ID
Components:
-
#NODE_ID# (Node: #NODE_ID#)
Parameters set:
- SET_STATE_EXTERNAL
- TT_VALUE
- TT_VALUE_IS_DYNAMIC
- VALUE_CODE
- BINDING_DEC_0
- BINDING_DEC_0_PARAM_0
- BINDING_INC_0
- BINDING_INC_0_PARAM_0
- ANIM
Templates used:
-
ASOBO_GT_Push_Button_Held
Parameters set:
- TOOLTIP_ENTRY_0 (using BTN_ID)
- LEFT_SINGLE_CODE (using BTN_ID)
- LEFT_LEAVE_CODE (using BTN_ID)
- OVERRIDE_ANIM_CODE (using BTN_ID)
-
Default
-
ASOBO_LANDING_GEAR_Check_Down_SubTemplate
Definition from XML<Template Name="ASOBO_LANDING_GEAR_Check_Down_SubTemplate"> <Parameters Type="Default"> <NODE_ID>LANDING_GEAR_#INTERACTION_TYPE#_Check_Down</NODE_ID> <ANIM_NAME>LANDING_GEAR_#INTERACTION_TYPE#_Check_Down</ANIM_NAME> <PART_ID>LANDING_GEAR_#INTERACTION_TYPE#_Check_Down</PART_ID> <WWISE_EVENT_1>landing_gear_checkdown_push_button_on</WWISE_EVENT_1> <WWISE_EVENT_2>landing_gear_checkdown_push_button_off</WWISE_EVENT_2> <TOOLTIP_TITLE>@TT_Package.LANDING_GEAR_SWITCH_CHECK_DOWN_TITLE</TOOLTIP_TITLE> <TT_DESCRIPTION_ID>@TT_Package.LANDING_GEAR_SWITCH_CHECK_DOWN_ACTION</TT_DESCRIPTION_ID> </Parameters> <Parameters Type="Override"> <BTN_ID>Check_Down</BTN_ID> </Parameters> <Component ID="#NODE_ID#" Node="#NODE_ID#"> <UseInputEvent ID="LANDING_GEAR"> <SET_STATE_EXTERNAL>p0 if{ 1 (>O:XMLVAR_Check_Down) } els{ 0 (>O:XMLVAR_Check_Down) }</SET_STATE_EXTERNAL> <TT_VALUE>(O:XMLVAR_Check_Down) if{ @TT_Test } els{ @TT_Standby }</TT_VALUE> <TT_VALUE_IS_DYNAMIC>True</TT_VALUE_IS_DYNAMIC> <VALUE_CODE>(O:XMLVAR_Check_Down)</VALUE_CODE> <BINDING_DEC_0>Release</BINDING_DEC_0> <BINDING_DEC_0_PARAM_0>0</BINDING_DEC_0_PARAM_0> <BINDING_INC_0>Push</BINDING_INC_0> <BINDING_INC_0_PARAM_0>1</BINDING_INC_0_PARAM_0> <ANIM>EXTERNAL</ANIM> </UseInputEvent> <UseTemplate Name="ASOBO_GT_Push_Button_Held"> <TOOLTIP_ENTRY_0>LANDING_GEAR_#BTN_ID#</TOOLTIP_ENTRY_0> <LEFT_SINGLE_CODE>(>B:LANDING_GEAR_#BTN_ID#_Push)</LEFT_SINGLE_CODE> <LEFT_LEAVE_CODE>(>B:LANDING_GEAR_#BTN_ID#_Release)</LEFT_LEAVE_CODE> <OVERRIDE_ANIM_CODE>(B:LANDING_GEAR_#BTN_ID#, Bool) 100 *</OVERRIDE_ANIM_CODE> </UseTemplate> </Component> </Template>Parameters initialization:
-
Default
Parameters set:
- NODE_ID (using INTERACTION_TYPE)
- ANIM_NAME (using INTERACTION_TYPE)
- PART_ID (using INTERACTION_TYPE)
- WWISE_EVENT_1
- WWISE_EVENT_2
- TOOLTIP_TITLE
- TT_DESCRIPTION_ID
-
Override
Parameters set:
- BTN_ID
Parameters read:
- NODE_ID
Components:
-
#NODE_ID# (Node: #NODE_ID#)
Parameters set:
- SET_STATE_EXTERNAL
- TT_VALUE
- TT_VALUE_IS_DYNAMIC
- VALUE_CODE
- BINDING_DEC_0
- BINDING_DEC_0_PARAM_0
- BINDING_INC_0
- BINDING_INC_0_PARAM_0
- ANIM
Templates used:
-
ASOBO_GT_Push_Button_Held
Parameters set:
- TOOLTIP_ENTRY_0 (using BTN_ID)
- LEFT_SINGLE_CODE (using BTN_ID)
- LEFT_LEAVE_CODE (using BTN_ID)
- OVERRIDE_ANIM_CODE (using BTN_ID)
-
Default