3D: Add animations for master warning and caution lights

This commit is contained in:
Joshua Davidson 2018-08-02 15:58:30 -04:00
parent 681b5b7b31
commit 6783b52a22

View file

@ -391,8 +391,6 @@
<object-name>ecam_wheel_led</object-name> <object-name>ecam_wheel_led</object-name>
<object-name>exped_led</object-name> <object-name>exped_led</object-name>
<object-name>hdg-text-test</object-name> <object-name>hdg-text-test</object-name>
<object-name>master_caution_on</object-name>
<object-name>master_warning_on</object-name>
<object-name>qnh-test</object-name> <object-name>qnh-test</object-name>
<object-name>rudder-trim-test</object-name> <object-name>rudder-trim-test</object-name>
<object-name>spd-text-test</object-name> <object-name>spd-text-test</object-name>
@ -4724,6 +4722,81 @@
<factor-prop>controls/lighting/fcu-panel-norm</factor-prop> <factor-prop>controls/lighting/fcu-panel-norm</factor-prop>
</emission> </emission>
</animation> </animation>
<!-- Master Warning and Caution -->
<animation>
<type>select</type>
<object-name>master_warning_on</object-name>
<condition>
<or>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
<equals>
<property>ECAM/warnings/master-warning-light</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>master_caution_on</object-name>
<condition>
<or>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
<equals>
<property>ECAM/warnings/master-caution-light</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>pick</type>
<object-name>master_warning</object-name>
<object-name>master_warning_on</object-name>
<action>
<button>0</button>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-assign</command>
<property>ECAM/warnings/master-warning-light</property>
<value>0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>master_caution</object-name>
<object-name>master_caution_on</object-name>
<action>
<button>0</button>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-assign</command>
<property>ECAM/warnings/master-caution-light</property>
<value>0</value>
</binding>
</action>
</animation>
<!-- Overhead Panel-2 lighting --> <!-- Overhead Panel-2 lighting -->
<animation> <animation>