Skip to content

Commit

Permalink
update light animation / splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
flogross89 committed Mar 31, 2024
1 parent 6a55755 commit 40c2d94
Showing 1 changed file with 7 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2938,7 +2938,7 @@
<WWISE_EVENT_2>lswitch</WWISE_EVENT_2>
</UseTemplate>

<!-- LDG LT LEFT -->
<!-- LDG LT -->
<UseTemplate Name="FBW_Airbus_LIGHTING_Switch_Light_Landing_Template">
<NODE_ID>SWITCH_OVHD_EXTLT_LANDL</NODE_ID>
<ANIM_NAME>SWITCH_OVHD_EXTLT_LANDL</ANIM_NAME>
Expand All @@ -2951,41 +2951,6 @@
<TYPE>Retractable</TYPE>
</UseTemplate>

<!-- LDG LT LEFT DELAY -->
<!-- DELAY_TIME is different than RIGHT to add a small "groove"
to
their activiation, if both are triggered at the same time -->
<UseTemplate Name="FBW_LDGLT_Delay">
<DELAY_TIME>7.7</DELAY_TIME>
<DELAY_LT_INDEX>2</DELAY_LT_INDEX>
<DELAY_CIRCUIT>18</DELAY_CIRCUIT>
<DELAY_BUS>2</DELAY_BUS>
</UseTemplate>

<!-- LDG LT RIGHT -->
<UseTemplate Name="FBW_Airbus_LIGHTING_Switch_Light_Landing_Template">
<NODE_ID>SWITCH_OVHD_EXTLT_LANDR</NODE_ID>
<ANIM_NAME>SWITCH_OVHD_EXTLT_LANDR</ANIM_NAME>
<Part_ID>LANDING_Light_R</Part_ID>
<SIMVAR_INDEX>3</SIMVAR_INDEX>
<ID>2</ID>
<ANIMTIP_0>TT:COCKPIT.TOOLTIPS.LANDING_LIGHT_R_OFF</ANIMTIP_0>
<ANIMTIP_1>TT:COCKPIT.TOOLTIPS.LANDING_LIGHT_R_ON</ANIMTIP_1>
<ANIMTIP_2>TT:COCKPIT.TOOLTIPS.LANDING_LIGHT_R_RETRACT</ANIMTIP_2>
<TYPE>Retractable</TYPE>
</UseTemplate>

<!-- LDG LT RIGHT DELAY -->
<!-- DELAY_TIME is different than LEFT to add a small "groove"
to
their activiation, if both are triggered at the same time -->
<UseTemplate Name="FBW_LDGLT_Delay">
<DELAY_TIME>7.3</DELAY_TIME>
<DELAY_LT_INDEX>3</DELAY_LT_INDEX>
<DELAY_CIRCUIT>19</DELAY_CIRCUIT>
<DELAY_BUS>3</DELAY_BUS>
</UseTemplate>

<!-- WING -->
<UseTemplate Name="FBW_Airbus_LIGHTING_Switch_Light_Wing_Template">
<NODE_ID>SWITCH_OVHD_EXTLT_WING</NODE_ID>
Expand Down Expand Up @@ -3025,7 +2990,10 @@
(&gt;K:2:ELECTRICAL_BUS_TO_CIRCUIT_CONNECTION_TOGGLE) }
</Update>

<UseTemplate Name="ASOBO_LIGHTING_Switch_Light_Landing_Template">
<!-- EXT LT NOSE TAXI/TO -->
<UseTemplate Name="FBW_Anim_Interactions">
<ANIM_TYPE>SWITCH</ANIM_TYPE>
<ANIM_TEMPLATE>ASOBO_LIGHTING_Switch_Light_Landing_Template</ANIM_TEMPLATE>
<NODE_ID>SWITCH_OVHD_EXTLT_NOSE</NODE_ID>
<PART_ID>LIGHTING_Switch_Light_Double</PART_ID>
<ANIM_NAME>SWITCH_OVHD_EXTLT_NOSE</ANIM_NAME>
Expand All @@ -3037,7 +3005,8 @@
<ANIMTIP_1>TT:COCKPIT.TOOLTIPS.NOSE_LIGHT_SET_TAXI</ANIMTIP_1>
<ANIMTIP_2>TT:COCKPIT.TOOLTIPS.NOSE_LIGHT_SET_OFF</ANIMTIP_2>
<TYPE>TwoSimvars</TYPE>

<!-- Allow TAXI LT to be used with TO LT -->
<SET_SIMVAR_2>(L:LIGHTING_LANDING_1, Number) 0 == if{ ! } 1 r (&gt;K:2:TAXI_LIGHTS_SET)</SET_SIMVAR_2>
<WWISE_EVENT>lswitch</WWISE_EVENT>
</UseTemplate>

Expand Down

0 comments on commit 40c2d94

Please sign in to comment.