A3XX: Fix PFD Conditions

This commit is contained in:
Joshua Davidson 2017-06-23 12:52:13 -04:00
parent 8c045f4682
commit 2b1b72de82
2 changed files with 88 additions and 30 deletions

View file

@ -35,6 +35,10 @@
<object-name>sidestick-max</object-name> <object-name>sidestick-max</object-name>
<object-name>sidestick-pos</object-name> <object-name>sidestick-pos</object-name>
<condition> <condition>
<and>
<or>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
<and> <and>
<property>/options/pfd/sidestick-pos</property> <property>/options/pfd/sidestick-pos</property>
<equals> <equals>
@ -45,17 +49,41 @@
<property>/it-autoflight/output/ap1</property> <property>/it-autoflight/output/ap1</property>
<value>0</value> <value>0</value>
</equals> </equals>
</and>
</or>
<or> <or>
<and>
<or>
<equals>
<property>/FMGC/status/phase</property>
<value>0</value>
</equals>
<equals>
<property>/FMGC/status/phase</property>
<value>1</value>
</equals>
</or>
<equals> <equals>
<property>/engines/engine[0]/state</property> <property>/engines/engine[0]/state</property>
<value>3</value> <value>3</value>
</equals> </equals>
</and>
<and>
<or>
<equals>
<property>/FMGC/status/phase</property>
<value>0</value>
</equals>
<equals>
<property>/FMGC/status/phase</property>
<value>1</value>
</equals>
</or>
<equals> <equals>
<property>/engines/engine[1]/state</property> <property>/engines/engine[1]/state</property>
<value>3</value> <value>3</value>
</equals> </equals>
<not><property>/gear/gear[1]/wow</property></not> </and>
<not><property>/gear/gear[2]/wow</property></not>
</or> </or>
</and> </and>
</condition> </condition>
@ -667,6 +695,7 @@
<animation> <animation>
<type>textranslate</type> <type>textranslate</type>
<object-name>alt-tape-2</object-name> <object-name>alt-tape-2</object-name>
<property>octal</property>
<property>instrumentation/altimeter/indicated-altitude-ft</property> <property>instrumentation/altimeter/indicated-altitude-ft</property>
<factor>0.009999725</factor> <factor>0.009999725</factor>
<axis> <axis>

View file

@ -35,6 +35,10 @@
<object-name>sidestick-max</object-name> <object-name>sidestick-max</object-name>
<object-name>sidestick-pos</object-name> <object-name>sidestick-pos</object-name>
<condition> <condition>
<and>
<or>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
<and> <and>
<property>/options/pfd/sidestick-pos</property> <property>/options/pfd/sidestick-pos</property>
<equals> <equals>
@ -45,17 +49,41 @@
<property>/it-autoflight/output/ap1</property> <property>/it-autoflight/output/ap1</property>
<value>0</value> <value>0</value>
</equals> </equals>
</and>
</or>
<or> <or>
<and>
<or>
<equals>
<property>/FMGC/status/phase</property>
<value>0</value>
</equals>
<equals>
<property>/FMGC/status/phase</property>
<value>1</value>
</equals>
</or>
<equals> <equals>
<property>/engines/engine[0]/state</property> <property>/engines/engine[0]/state</property>
<value>3</value> <value>3</value>
</equals> </equals>
</and>
<and>
<or>
<equals>
<property>/FMGC/status/phase</property>
<value>0</value>
</equals>
<equals>
<property>/FMGC/status/phase</property>
<value>1</value>
</equals>
</or>
<equals> <equals>
<property>/engines/engine[1]/state</property> <property>/engines/engine[1]/state</property>
<value>3</value> <value>3</value>
</equals> </equals>
<not><property>/gear/gear[1]/wow</property></not> </and>
<not><property>/gear/gear[2]/wow</property></not>
</or> </or>
</and> </and>
</condition> </condition>
@ -667,6 +695,7 @@
<animation> <animation>
<type>textranslate</type> <type>textranslate</type>
<object-name>alt-tape-2</object-name> <object-name>alt-tape-2</object-name>
<property>octal</property>
<property>instrumentation/altimeter/indicated-altitude-ft</property> <property>instrumentation/altimeter/indicated-altitude-ft</property>
<factor>0.009999725</factor> <factor>0.009999725</factor>
<axis> <axis>