VC: Fix broken engine masters animations
This commit is contained in:
parent
cfa87ca231
commit
127cabdd91
3 changed files with 105 additions and 17 deletions
|
@ -907,6 +907,8 @@
|
|||
<blue-ovrd-guard type="bool">0</blue-ovrd-guard>
|
||||
<captain-visor type="bool">0</captain-visor>
|
||||
<emer-canc-cover type="bool">0</emer-canc-cover>
|
||||
<engine-cutoff-translate-cmd n="0" type="double">0</engine-cutoff-translate-cmd>
|
||||
<engine-cutoff-translate-cmd n="1" type="double">0</engine-cutoff-translate-cmd>
|
||||
<evac-capt-purs type="int">1</evac-capt-purs>
|
||||
<flaps-lever-translate type="double">0</flaps-lever-translate>
|
||||
<fadec-gnd-pwr-1-guard type="bool">false</fadec-gnd-pwr-1-guard>
|
||||
|
|
|
@ -11995,13 +11995,8 @@
|
|||
<animation>
|
||||
<type>knob</type>
|
||||
<object-name>Lcutoff</object-name>
|
||||
<property>fdm/jsbsim/fcs/engine-cutoff[0]</property>
|
||||
<drag-direction>vertical</drag-direction>
|
||||
<drag-scale-px>20</drag-scale-px>
|
||||
<factor>-55</factor>
|
||||
<axis>
|
||||
<object-name>Lcutoff.axis</object-name>
|
||||
</axis>
|
||||
<increase>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
|
@ -12010,6 +12005,11 @@
|
|||
<property>controls/engines/engine[0]/cutoff-switch</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>controls/cockpit/engine-cutoff-translate-cmd[0]</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</increase>
|
||||
<decrease>
|
||||
<button>0</button>
|
||||
|
@ -12019,7 +12019,19 @@
|
|||
<property>controls/engines/engine[0]/cutoff-switch</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>controls/cockpit/engine-cutoff-translate-cmd[0]</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</decrease>
|
||||
<release>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>controls/cockpit/engine-cutoff-translate-cmd[0]</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</release>
|
||||
<hovered>
|
||||
<binding>
|
||||
<condition>
|
||||
|
@ -12033,15 +12045,36 @@
|
|||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>knob</type>
|
||||
<object-name>Rcutoff</object-name>
|
||||
<property>fdm/jsbsim/fcs/engine-cutoff[1]</property>
|
||||
<drag-direction>vertical</drag-direction>
|
||||
<drag-scale-px>20</drag-scale-px>
|
||||
<type>rotate</type>
|
||||
<object-name>Lcutoff</object-name>
|
||||
<property>controls/cockpit/engine-cutoff-rotate[0]</property>
|
||||
<factor>-55</factor>
|
||||
<axis>
|
||||
<object-name>Rcutoff.axis</object-name>
|
||||
<object-name>Lcutoff.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Lcutoff</object-name>
|
||||
<property>controls/cockpit/engine-cutoff-translate[0]</property>
|
||||
<factor>0.003</factor>
|
||||
<axis>
|
||||
<x1-m>-0.02072</x1-m>
|
||||
<y1-m>0</y1-m>
|
||||
<z1-m>-0.12097</z1-m>
|
||||
<x2-m>-0.0237</x2-m>
|
||||
<y2-m>0</y2-m>
|
||||
<z2-m>-0.1127</z2-m>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>knob</type>
|
||||
<object-name>Rcutoff</object-name>
|
||||
<property>controls/cockpit/engine-cutoff-rotate[1]</property>
|
||||
<drag-direction>vertical</drag-direction>
|
||||
<drag-scale-px>20</drag-scale-px>
|
||||
<increase>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
|
@ -12050,6 +12083,11 @@
|
|||
<property>controls/engines/engine[1]/cutoff-switch</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>controls/cockpit/engine-cutoff-translate-cmd[1]</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</increase>
|
||||
<decrease>
|
||||
<button>0</button>
|
||||
|
@ -12059,7 +12097,19 @@
|
|||
<property>controls/engines/engine[1]/cutoff-switch</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>controls/cockpit/engine-cutoff-translate-cmd[1]</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</decrease>
|
||||
<release>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>controls/cockpit/engine-cutoff-translate-cmd[1]</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</release>
|
||||
<hovered>
|
||||
<binding>
|
||||
<condition>
|
||||
|
@ -12072,6 +12122,31 @@
|
|||
</hovered>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Rcutoff</object-name>
|
||||
<property>controls/cockpit/engine-cutoff-rotate[1]</property>
|
||||
<factor>-55</factor>
|
||||
<axis>
|
||||
<object-name>Rcutoff.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Rcutoff</object-name>
|
||||
<property>controls/cockpit/engine-cutoff-translate[1]</property>
|
||||
<factor>0.003</factor>
|
||||
<axis>
|
||||
<x1-m>-0.02072</x1-m>
|
||||
<y1-m>0</y1-m>
|
||||
<z1-m>-0.12097</z1-m>
|
||||
<x2-m>-0.0237</x2-m>
|
||||
<y2-m>0</y2-m>
|
||||
<z2-m>-0.1127</z2-m>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Engine Mode Selector -->
|
||||
<animation>
|
||||
<type>knob</type>
|
||||
|
@ -22883,7 +22958,7 @@
|
|||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>controls/cockpit/flaps-lever-translate</property>
|
||||
<value>0.003</value>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</increase>
|
||||
<decrease>
|
||||
|
@ -22895,7 +22970,7 @@
|
|||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>controls/cockpit/flaps-lever-translate</property>
|
||||
<value>0.003</value>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</decrease>
|
||||
<release>
|
||||
|
@ -22938,6 +23013,7 @@
|
|||
<type>translate</type>
|
||||
<object-name>FlapsLever_low</object-name>
|
||||
<property>controls/cockpit/flaps-lever-translate-pos</property>
|
||||
<factor>0.003</factor>
|
||||
<axis>
|
||||
<x1-m>0.064759</x1-m>
|
||||
<y1-m>0.080047</y1-m>
|
||||
|
|
|
@ -100,14 +100,24 @@
|
|||
<c1>20</c1>
|
||||
</lag_filter>
|
||||
|
||||
<lag_filter name="/controls/cockpit/engine-cutoff[0]">
|
||||
<lag_filter name="/controls/cockpit/engine-cutoff-rotate[0]">
|
||||
<input>/controls/engines/engine[0]/cutoff-switch</input>
|
||||
<c1>10</c1>
|
||||
<c1>20</c1>
|
||||
</lag_filter>
|
||||
|
||||
<lag_filter name="/controls/cockpit/engine-cutoff[1]">
|
||||
<lag_filter name="/controls/cockpit/engine-cutoff-rotate[1]">
|
||||
<input>/controls/engines/engine[1]/cutoff-switch</input>
|
||||
<c1>10</c1>
|
||||
<c1>20</c1>
|
||||
</lag_filter>
|
||||
|
||||
<lag_filter name="/controls/cockpit/engine-cutoff-translate[0]">
|
||||
<input>/controls/cockpit/engine-cutoff-translate-cmd[0]</input>
|
||||
<c1>30</c1>
|
||||
</lag_filter>
|
||||
|
||||
<lag_filter name="/controls/cockpit/engine-cutoff-translate[1]">
|
||||
<input>/controls/cockpit/engine-cutoff-translate-cmd[1]</input>
|
||||
<c1>30</c1>
|
||||
</lag_filter>
|
||||
|
||||
<lag_filter name="/controls/cockpit/flaps-lever-rotate">
|
||||
|
|
Loading…
Reference in a new issue