A3XX: New non-working fire buttons with animations

This commit is contained in:
Joshua Davidson 2017-07-23 00:46:19 -04:00
parent 99f0a36ac5
commit 181973df42
10 changed files with 19976 additions and 6690 deletions

View file

@ -426,7 +426,9 @@
<skip userarchive="y" type="bool">0</skip>
</adirs>
<APU>
<fire-switch type="bool">0</fire-switch>
<fire-btn type="bool">0</fire-btn>
<fire-btn-cover type="bool">0</fire-btn-cover>
<fire-light type="bool">0</fire-light>
<master type="bool">0</master>
<start type="bool">0</start>
<bleed type="bool">0</bleed>
@ -439,6 +441,9 @@
<engine n="0">
<cutoff type="bool">true</cutoff>
<cutoff-switch type="bool">true</cutoff-switch>
<fire-btn type="bool">0</fire-btn>
<fire-btn-cover type="bool">0</fire-btn-cover>
<fire-light type="bool">0</fire-light>
<man-start type="bool">0</man-start>
<starter type="bool">0</starter>
<starter-switch type="bool">0</starter-switch>
@ -448,6 +453,9 @@
<engine n="1">
<cutoff type="bool">true</cutoff>
<cutoff-switch type="bool">true</cutoff-switch>
<fire-btn type="bool">0</fire-btn>
<fire-btn-cover type="bool">0</fire-btn-cover>
<fire-light type="bool">0</fire-light>
<man-start type="bool">0</man-start>
<starter type="bool">0</starter>
<starter-switch type="bool">0</starter-switch>

View file

@ -5746,6 +5746,298 @@
</condition>
</animation>
<!-- Fire Buttons -->
<!-- Engine 1 -->
<animation>
<type>pick</type>
<object-name>Eng1FireBtn</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<equals>
<property>controls/engines/engine[0]/fire-btn-cover</property>
<value>1</value>
</equals>
</condition>
<command>property-toggle</command>
<property>controls/engines/engine[0]/fire-btn</property>
</binding>
<binding>
<condition>
<equals>
<property>controls/engines/engine[0]/fire-btn</property>
<value>0</value>
</equals>
</condition>
<command>property-assign</command>
<property>controls/engines/engine[0]/fire-btn-cover</property>
<value>0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Eng1FireCover</object-name>
<object-name>Eng1FireBtn</object-name>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>controls/engines/engine[0]/fire-btn-cover</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<condition>
<equals>
<property>controls/engines/engine[0]/fire-btn</property>
<value>0</value>
</equals>
</condition>
<command>property-assign</command>
<property>controls/engines/engine[0]/fire-btn-cover</property>
<value>0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>Eng1FireCover</object-name>
<property>controls/engines/engine[0]/fire-btn-cover</property>
<factor>-110</factor>
<axis>
<x1-m>-0.00583</x1-m>
<y1-m>-0.12877</y1-m>
<z1-m>0.23523</z1-m>
<x2-m>-0.00583</x2-m>
<y2-m>-0.06618</y2-m>
<z2-m>0.23523</z2-m>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>Eng1FireBtn</object-name>
<property>controls/engines/engine[0]/fire-btn</property>
<factor>0.0225</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>material</type>
<object-name>firebtn1</object-name>
<emission>
<red>1</red>
<green>1</green>
<blue>1</blue>
<factor-prop>controls/engines/engine[0]/fire-light</factor-prop>
</emission>
</animation>
<!-- APU -->
<animation>
<type>pick</type>
<object-name>APUFireBtn</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<equals>
<property>controls/APU/fire-btn-cover</property>
<value>1</value>
</equals>
</condition>
<command>property-toggle</command>
<property>controls/APU/fire-btn</property>
</binding>
<binding>
<condition>
<equals>
<property>controls/APU/fire-btn</property>
<value>0</value>
</equals>
</condition>
<command>property-assign</command>
<property>controls/APU/fire-btn-cover</property>
<value>0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>APUFireCover</object-name>
<object-name>APUFireBtn</object-name>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>controls/APU/fire-btn-cover</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<condition>
<equals>
<property>controls/APU/fire-btn</property>
<value>0</value>
</equals>
</condition>
<command>property-assign</command>
<property>controls/APU/fire-btn-cover</property>
<value>0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>APUFireCover</object-name>
<property>controls/APU/fire-btn-cover</property>
<factor>-110</factor>
<axis>
<x1-m>-0.00583</x1-m>
<y1-m>-0.03036</y1-m>
<z1-m>0.25182</z1-m>
<x2-m>-0.00583</x2-m>
<y2-m>0.03222</y2-m>
<z2-m>0.25182</z2-m>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>APUFireBtn</object-name>
<property>controls/APU/fire-btn</property>
<factor>0.0225</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>material</type>
<object-name>firebtn1</object-name>
<emission>
<red>1</red>
<green>1</green>
<blue>1</blue>
<factor-prop>controls/APU/fire-light</factor-prop>
</emission>
</animation>
<!-- Engine 2 -->
<animation>
<type>pick</type>
<object-name>Eng2FireBtn</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<equals>
<property>controls/engines/engine[1]/fire-btn-cover</property>
<value>1</value>
</equals>
</condition>
<command>property-toggle</command>
<property>controls/engines/engine[1]/fire-btn</property>
</binding>
<binding>
<condition>
<equals>
<property>controls/engines/engine[1]/fire-btn</property>
<value>0</value>
</equals>
</condition>
<command>property-assign</command>
<property>controls/engines/engine[1]/fire-btn-cover</property>
<value>0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Eng2FireCover</object-name>
<object-name>Eng2FireBtn</object-name>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>controls/engines/engine[1]/fire-btn-cover</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<condition>
<equals>
<property>controls/engines/engine[1]/fire-btn</property>
<value>0</value>
</equals>
</condition>
<command>property-assign</command>
<property>controls/engines/engine[1]/fire-btn-cover</property>
<value>0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>Eng2FireCover</object-name>
<property>controls/engines/engine[1]/fire-btn-cover</property>
<factor>-110</factor>
<axis>
<x1-m>-0.00583</x1-m>
<y1-m>0.06704</y1-m>
<z1-m>0.23523</z1-m>
<x2-m>-0.00583</x2-m>
<y2-m>0.12963</y2-m>
<z2-m>0.23523</z2-m>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>Eng2FireBtn</object-name>
<property>controls/engines/engine[1]/fire-btn</property>
<factor>0.0225</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>material</type>
<object-name>firebtn2</object-name>
<emission>
<red>1</red>
<green>1</green>
<blue>1</blue>
<factor-prop>controls/engines/engine[1]/fire-light</factor-prop>
</emission>
</animation>
<!-- Sounds -->
<animation>
<type>pick</type>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.2 MiB

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 452 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 164 KiB

File diff suppressed because it is too large Load diff