A32X: More animations in new VC
This commit is contained in:
parent
2dae312a97
commit
c9f051c1fe
4 changed files with 6814 additions and 6260 deletions
|
@ -444,6 +444,10 @@
|
|||
</FMGC>
|
||||
|
||||
<controls>
|
||||
<footrest-cpt n="0" type="double">0</footrest-cpt>
|
||||
<footrest-cpt n="1" type="double">0</footrest-cpt>
|
||||
<footrest-fo n="0" type="double">0</footrest-fo>
|
||||
<footrest-fo n="1" type="double">0</footrest-fo>
|
||||
<adirs n="0">
|
||||
<adr n="0">
|
||||
<fault type="bool">false</fault>
|
||||
|
|
|
@ -26,6 +26,10 @@
|
|||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>hud</object-name>
|
||||
<object-name>hud_brt</object-name>
|
||||
<object-name>hud_norm_sw</object-name>
|
||||
<object-name>hud_declutter_btn</object-name>
|
||||
<object-name>fcu_labels_hud</object-name>
|
||||
<condition>
|
||||
<property>options/enable-hud</property>
|
||||
</condition>
|
||||
|
@ -518,6 +522,18 @@
|
|||
<button>0</button>
|
||||
<repeatable type="bool">true</repeatable>
|
||||
<binding>
|
||||
<condition>
|
||||
<or>
|
||||
<greater-than-equals>
|
||||
<property>systems/electrical/bus/dc1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
<greater-than-equals>
|
||||
<property>systems/electrical/bus/dc2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</or>
|
||||
</condition>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
var TrimVal = getprop("/controls/flight/rudder-trim");
|
||||
|
@ -538,6 +554,18 @@
|
|||
<button>1</button>
|
||||
<repeatable type="bool">true</repeatable>
|
||||
<binding>
|
||||
<condition>
|
||||
<or>
|
||||
<greater-than-equals>
|
||||
<property>systems/electrical/bus/dc1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
<greater-than-equals>
|
||||
<property>systems/electrical/bus/dc2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</or>
|
||||
</condition>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
var TrimVal = getprop("/controls/flight/rudder-trim");
|
||||
|
@ -571,6 +599,18 @@
|
|||
<button>0</button>
|
||||
<repeatable type="bool">false</repeatable>
|
||||
<binding>
|
||||
<condition>
|
||||
<or>
|
||||
<greater-than-equals>
|
||||
<property>systems/electrical/bus/dc1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
<greater-than-equals>
|
||||
<property>systems/electrical/bus/dc2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</or>
|
||||
</condition>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
setprop("/controls/flight/rudder-trim", 0);
|
||||
|
@ -4313,6 +4353,119 @@
|
|||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Foot Rest -->
|
||||
<animation>
|
||||
<name>Footrest captain pick</name>
|
||||
<type>pick</type>
|
||||
<object-name>footrest_cpt</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable type="bool">false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>libraries.l1Pedal();</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>Footrest captain rotate</name>
|
||||
<type>rotate</type>
|
||||
<object-name>footrest_cpt</object-name>
|
||||
<property>controls/footrest-cpt[0]</property>
|
||||
<factor>1</factor>
|
||||
<interpolation>
|
||||
<entry><ind>0</ind><dep>0</dep></entry>
|
||||
<entry><ind>1</ind><dep>50</dep></entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<object-name>footrest_cpt.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>Footrest captain pick 2</name>
|
||||
<type>pick</type>
|
||||
<object-name>footrest_cpt2</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable type="bool">false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>libraries.l2Pedal();</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>Footrest captain rotate 2</name>
|
||||
<type>rotate</type>
|
||||
<object-name>footrest_cpt2</object-name>
|
||||
<property>controls/footrest-cpt[1]</property>
|
||||
<factor>1</factor>
|
||||
<interpolation>
|
||||
<entry><ind>0</ind><dep>0</dep></entry>
|
||||
<entry><ind>1</ind><dep>50</dep></entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<object-name>footrest_cpt.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>Footrest first officer pick</name>
|
||||
<type>pick</type>
|
||||
<object-name>footrest_fo</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable type="bool">false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>libraries.r1Pedal();</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>Footrest captain rotate</name>
|
||||
<type>rotate</type>
|
||||
<object-name>footrest_fo</object-name>
|
||||
<property>controls/footrest-fo[0]</property>
|
||||
<factor>1</factor>
|
||||
<interpolation>
|
||||
<entry><ind>0</ind><dep>0</dep></entry>
|
||||
<entry><ind>1</ind><dep>-50</dep></entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<object-name>footrest_fo.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>Footrest first officer pick 2</name>
|
||||
<type>pick</type>
|
||||
<object-name>footrest_fo2</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable type="bool">false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>libraries.r2Pedal();</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>Footrest captain rotate 2</name>
|
||||
<type>rotate</type>
|
||||
<object-name>footrest_fo2</object-name>
|
||||
<property>controls/footrest-fo[1]</property>
|
||||
<factor>1</factor>
|
||||
<interpolation>
|
||||
<entry><ind>0</ind><dep>0</dep></entry>
|
||||
<entry><ind>1</ind><dep>-50</dep></entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<object-name>footrest_fo.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Landing Gear Lever -->
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
|
@ -4617,11 +4770,13 @@
|
|||
<name>FCU Panel lighting</name>
|
||||
<type>material</type>
|
||||
<object-name>fcu_labels</object-name>
|
||||
<object-name>fcu_labels_hud</object-name>
|
||||
<object-name>fcu_panel_emit</object-name>
|
||||
<object-name>nd_mode_mark</object-name>
|
||||
<object-name>nd_range_mark</object-name>
|
||||
<object-name>nd_mode_fo_mark</object-name>
|
||||
<object-name>nd_range_fo_mark</object-name>
|
||||
<object-name>hud_brt_mark</object-name>
|
||||
<emission>
|
||||
<red>1</red>
|
||||
<green>0.725</green>
|
||||
|
@ -4694,6 +4849,69 @@
|
|||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Rudder Pedals -->
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>RRudderPedalL</object-name>
|
||||
<object-name>RRudderPedalR</object-name>
|
||||
<property>controls/flight/rudder</property>
|
||||
<factor>0.07</factor>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>LRudderPedalL</object-name>
|
||||
<object-name>LRudderPedalR</object-name>
|
||||
<property>controls/flight/rudder</property>
|
||||
<factor>-0.07</factor>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>LRudderPedalL</object-name>
|
||||
<object-name>LRudderPedalR</object-name>
|
||||
<property>controls/gear/brake-left</property>
|
||||
<factor>15</factor>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>-1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
<center>
|
||||
<x-m>-0.62027</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>-0.42417</z-m>
|
||||
</center>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>RRudderPedalL</object-name>
|
||||
<object-name>RRudderPedalR</object-name>
|
||||
<property>controls/gear/brake-right</property>
|
||||
<factor>15</factor>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>-1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
<center>
|
||||
<x-m>-0.62027</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>-0.42417</z-m>
|
||||
</center>
|
||||
</animation>
|
||||
|
||||
<!-- Spoiler Lever -->
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -4831,6 +5049,193 @@
|
|||
</transform>
|
||||
</animation>
|
||||
|
||||
<!-- Sidestick Left -->
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_1</object-name>
|
||||
<property>controls/flight/elevator</property>
|
||||
<factor>-5</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_1.y.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_1</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<factor>5</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_1.x.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_1</object-name>
|
||||
<object-name>level3</object-name>
|
||||
<property>controls/flight/elevator</property>
|
||||
<factor>-4</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_1.y.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_1</object-name>
|
||||
<object-name>level3</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<factor>4</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_1.x.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_1</object-name>
|
||||
<object-name>level3</object-name>
|
||||
<object-name>level2</object-name>
|
||||
<property>controls/flight/elevator</property>
|
||||
<factor>-3</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_1.y.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_1</object-name>
|
||||
<object-name>level3</object-name>
|
||||
<object-name>level2</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<factor>3</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_1.x.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_1</object-name>
|
||||
<object-name>level3</object-name>
|
||||
<object-name>level2</object-name>
|
||||
<object-name>level1</object-name>
|
||||
<property>controls/flight/elevator</property>
|
||||
<factor>-2</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_1.y.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_1</object-name>
|
||||
<object-name>level3</object-name>
|
||||
<object-name>level2</object-name>
|
||||
<object-name>level1</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<factor>2</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_1.x.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Sidestick Right -->
|
||||
|
||||
<!--animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_2</object-name>
|
||||
<property>controls/flight/elevator</property>
|
||||
<factor>5</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_2.y.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_2</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<factor>5</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_2.x.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_2</object-name>
|
||||
<object-name>level3_2</object-name>
|
||||
<property>controls/flight/elevator</property>
|
||||
<factor>4</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_2.y.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_2</object-name>
|
||||
<object-name>level3_2</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<factor>4</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_2.x.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_2</object-name>
|
||||
<object-name>level3_2</object-name>
|
||||
<object-name>level2_2</object-name>
|
||||
<property>controls/flight/elevator</property>
|
||||
<factor>3</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_2.y.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_2</object-name>
|
||||
<object-name>level3_2</object-name>
|
||||
<object-name>level2_2</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<factor>3</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_2.x.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_2</object-name>
|
||||
<object-name>level3_2</object-name>
|
||||
<object-name>level2_2</object-name>
|
||||
<object-name>level1_2</object-name>
|
||||
<property>controls/flight/elevator</property>
|
||||
<factor>2</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_2.y.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sidestick_2</object-name>
|
||||
<object-name>level3_2</object-name>
|
||||
<object-name>level2_2</object-name>
|
||||
<object-name>level1_2</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<factor>2</factor>
|
||||
<axis>
|
||||
<object-name>sidestick_2.x.axis</object-name>
|
||||
</axis>
|
||||
</animation-->
|
||||
|
||||
<!-- Throttles -->
|
||||
<animation>
|
||||
<name>Engine 1 throttle lever pick</name>
|
||||
|
@ -5061,6 +5466,67 @@
|
|||
</center>
|
||||
</animation>
|
||||
|
||||
<!-- Tiller -->
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>tiller</object-name>
|
||||
<object-name>tillerFo</object-name>
|
||||
<action>
|
||||
<button>3</button>
|
||||
<repeatable type="bool">true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
var a = getprop("/controls/flight/rudder");
|
||||
a += 0.1;
|
||||
if (a > 1) a = 1;
|
||||
setprop("/controls/flight/rudder", a);
|
||||
</script>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>4</button>
|
||||
<repeatable type="bool">true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
var a = getprop("/controls/flight/rudder");
|
||||
a -= 0.1;
|
||||
if (abs(a) > 1) a = -1;
|
||||
setprop("/controls/flight/rudder", a);
|
||||
</script>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable type="bool">true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
setprop("/controls/flight/rudder", 0);
|
||||
</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>tiller</object-name>
|
||||
<property>controls/flight/rudder</property>
|
||||
<factor>-70</factor>
|
||||
<axis>
|
||||
<object-name>tiller.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>tillerFo</object-name>
|
||||
<property>controls/flight/rudder</property>
|
||||
<factor>-70</factor>
|
||||
<axis>
|
||||
<object-name>tillerFo.axis</object-name>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Z Colors -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -454,5 +454,40 @@ var rTray = func {
|
|||
}
|
||||
}
|
||||
|
||||
var l1Pedal = func {
|
||||
var lPedalCMD = getprop("/controls/footrest-cpt[0]");
|
||||
if (lPedalCMD < 1.0) {
|
||||
interpolate("/controls/footrest-cpt[0]", 1.0, 0.5);
|
||||
} else {
|
||||
interpolate("/controls/footrest-cpt[0]", 0.0, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
var l2Pedal = func {
|
||||
var l2PedalCMD = getprop("/controls/footrest-cpt[1]");
|
||||
if (l2PedalCMD < 1.0) {
|
||||
interpolate("/controls/footrest-cpt[1]", 1.0, 0.5);
|
||||
} else {
|
||||
interpolate("/controls/footrest-cpt[1]", 0.0, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
var r1Pedal = func {
|
||||
var rPedalCMD = getprop("/controls/footrest-fo[0]");
|
||||
if (rPedalCMD < 1.0) {
|
||||
interpolate("/controls/footrest-fo[0]", 1.0, 0.5);
|
||||
} else {
|
||||
interpolate("/controls/footrest-fo[0]", 0.0, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
var r2Pedal = func {
|
||||
var r2PedalCMD = getprop("/controls/footrest-fo[1]");
|
||||
if (r2PedalCMD < 1.0) {
|
||||
interpolate("/controls/footrest-fo[1]", 1.0, 0.5);
|
||||
} else {
|
||||
interpolate("/controls/footrest-fo[1]", 0.0, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
setprop("/systems/acconfig/libraries-loaded", 1);
|
||||
|
|
Reference in a new issue