ACJ working, fix and correct textures on stabs, new electrical, more updates

This commit is contained in:
Joshua Davidson 2016-12-11 11:46:01 -05:00
parent 506239274c
commit 6f76d64557
52 changed files with 82388 additions and 175 deletions

View file

@ -8,7 +8,7 @@
<path>Aircraft/A320Family/Sounds/v2500-sound.xml</path>
</sound>
<description>Airbus A319-133 (IAE V2500)</description>
<description>Airbus A319-100 (IAE V2500)</description>
<status>Flyable</status>
<flight-model>jsb</flight-model>
<aero>A319-100-IAE</aero>

View file

@ -8,7 +8,7 @@
<path>Aircraft/A320Family/Sounds/v2500-sound.xml</path>
</sound>
<description>Airbus A320-232 (IAE V2500)</description>
<description>Airbus A320-200 (IAE V2500)</description>
<status>Flyable</status>
<flight-model>jsb</flight-model>
<aero>A320-200-IAE</aero>
@ -79,11 +79,13 @@
<file>Aircraft/A320Family/Nasal/efis.nas</file>
<file>Aircraft/A320Family/Nasal/PFD_FMA.nas</file>
<file>Aircraft/A320Family/Nasal/fctl.nas</file>
<file>Aircraft/A320Family/Nasal/LGCIU.nas</file>
</A320>
<itaf>
<file>Aircraft/A320Family/Nasal/it-autoflight.nas</file>
</itaf>
<lgciu>
<file>Aircraft/A320Family/Nasal/LGCIU.nas</file>
</lgciu>
<thrust>
<file>Aircraft/A320Family/Nasal/thrust.nas</file>
</thrust>

View file

@ -300,6 +300,7 @@
</engine>
</engines>
<flight>
<speedbrake-arm>0</speedbrake-arm>
<ground-spoilers-armed type="bool">false</ground-spoilers-armed>
<speedbrake-lever type="double">0</speedbrake-lever>
</flight>

View file

@ -8,7 +8,7 @@
<path>Aircraft/A320Family/Sounds/v2500-sound.xml</path>
</sound>
<description>Airbus A321-231 (IAE V2500)</description>
<description>Airbus A321-200 (IAE V2500)</description>
<status>Flyable</status>
<flight-model>jsb</flight-model>
<aero>A321-200-IAE</aero>

View file

@ -13,9 +13,9 @@
<flight-model>jsb</flight-model>
<aero>ACJ-IAE</aero>
<model>
<path>Aircraft/A320Family/Models/A319-100-IAE.xml</path>
<path>Aircraft/A320Family/Models/ACJ-IAE.xml</path>
<livery>
<file>USAirwaysStar</file>
<file>FAV0001</file>
</livery>
</model>

View file

@ -12,7 +12,7 @@
<model>
<name>Fuselage</name>
<path>Aircraft/A320Family/Models/Fuselages/a319.fuselage.xml</path>
<path>Aircraft/A320Family/Models/Fuselages/A319/fuselage.xml</path>
</model>
<!-- Separate Flightdeck to fit the modified nose -->
@ -78,7 +78,7 @@
<model>
<name>Horizontal Stabilizer</name>
<path>Aircraft/A320Family/Models/Fuselages/a320.hstab.xml</path>
<path>Aircraft/A320Family/Models/Fuselages/A319/hstab.xml</path>
<offsets>
<x-m>32.0212207</x-m>
<pitch-deg>0.0</pitch-deg>
@ -87,7 +87,7 @@
<model>
<name>Vertical Stabilizer</name>
<path>Aircraft/A320Family/Models/Fuselages/a320.vstab.xml</path>
<path>Aircraft/A320Family/Models/Fuselages/A319/vstab.xml</path>
<offsets>
<x-m>30.1235728</x-m>
</offsets>

View file

@ -12,7 +12,7 @@
<model>
<name>Fuselage</name>
<path>Aircraft/A320Family/Models/Fuselages/a320.fuselage.xml</path>
<path>Aircraft/A320Family/Models/Fuselages/A320/fuselage.xml</path>
</model>
<!-- Separate Flightdeck to fit the modified nose -->
@ -79,7 +79,7 @@
<model>
<name>Horizontal Stabilizer</name>
<path>Aircraft/A320Family/Models/Fuselages/a320.hstab.xml</path>
<path>Aircraft/A320Family/Models/Fuselages/A320/hstab.xml</path>
<offsets>
<x-m>34.1512207</x-m>
<pitch-deg>0.0</pitch-deg>
@ -88,7 +88,7 @@
<model>
<name>Vertical Stabilizer</name>
<path>Aircraft/A320Family/Models/Fuselages/a320.vstab.xml</path>
<path>Aircraft/A320Family/Models/Fuselages/A320/vstab.xml</path>
<offsets>
<x-m>32.2535728</x-m>
</offsets>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<name>A320-200</name>
<name>A321-200</name>
<path>empty.ac</path> <!-- Livery system on MP multimodel -->
<offsets>
@ -12,7 +12,7 @@
<model>
<name>Fuselage</name>
<path>Aircraft/A320Family/Models/Fuselages/a321.fuselage.xml</path>
<path>Aircraft/A320Family/Models/Fuselages/A321/fuselage.xml</path>
</model>
<!-- Separate Flightdeck to fit the modified nose -->
@ -78,7 +78,7 @@
<model>
<name>Horizontal Stabilizer</name>
<path>Aircraft/A320Family/Models/Fuselages/a320.hstab.xml</path>
<path>Aircraft/A320Family/Models/Fuselages/A321/hstab.xml</path>
<offsets>
<x-m>36.8212207</x-m>
<pitch-deg>0.0</pitch-deg>
@ -87,7 +87,7 @@
<model>
<name>Vertical Stabilizer</name>
<path>Aircraft/A320Family/Models/Fuselages/a320.vstab.xml</path>
<path>Aircraft/A320Family/Models/Fuselages/A321/vstab.xml</path>
<offsets>
<x-m>34.9235728</x-m>
</offsets>

412
Models/ACJ-IAE.xml Normal file
View file

@ -0,0 +1,412 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<name>ACJ</name>
<path>empty.ac</path> <!-- Livery system on MP multimodel -->
<offsets>
<x-m>-18.8499</x-m>
<z-m>1.7005004</z-m>
</offsets>
<model>
<name>Fuselage</name>
<path>Aircraft/A320Family/Models/Fuselages/ACJ/fuselage.xml</path>
</model>
<!-- Separate Flightdeck to fit the modified nose -->
<model>
<name>Flightdeck</name>
<path>Aircraft/A320Family/Models/FlightDeck/a320.flightdeck.xml</path>
<offsets>
<x-m>6.4</x-m>
<z-m>0.2399</z-m>
</offsets>
</model>
<model>
<name>Interior</name>
<path>Aircraft/A320Family/Models/Interior/a319.interior.xml</path>
</model>
<model>
<name>Nose Gear</name>
<path>Aircraft/A320Family/Models/LandingGears/a320.nlg.xml</path>
<offsets>
<x-m>9.43</x-m>
<z-m>-1.8306008</z-m>
</offsets>
</model>
<model>
<name>Main Gears.Left</name>
<path>Aircraft/A320Family/Models/LandingGears/a320.mlg.left.xml</path>
<offsets>
<x-m>20.3180764</x-m>
<y-m>-3.795</y-m>
<z-m>-3.9469424</z-m>
</offsets>
</model>
<model>
<name>Main Gears.Right</name>
<path>Aircraft/A320Family/Models/LandingGears/a320.mlg.right.xml</path>
<offsets>
<x-m>20.3180764</x-m>
<y-m>3.795</y-m>
<z-m>-3.9469424</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320Family/Models/Wings/a320.wings.iae.xml</path>
<offsets>
<x-m>15.280</x-m>
<z-m>-1.06019</z-m>
</offsets>
</model>
<model>
<name>A320 Winglets</name>
<path>Aircraft/A320Family/Models/Wings/a320.winglets.xml</path>
<offsets>
<x-m>15.280</x-m>
<z-m>-1.06019</z-m>
</offsets>
</model>
<model>
<name>Horizontal Stabilizer</name>
<path>Aircraft/A320Family/Models/Fuselages/ACJ/hstab.xml</path>
<offsets>
<x-m>32.0212207</x-m>
<pitch-deg>0.0</pitch-deg>
</offsets>
</model>
<model>
<name>Vertical Stabilizer</name>
<path>Aircraft/A320Family/Models/Fuselages/ACJ/vstab.xml</path>
<offsets>
<x-m>30.1235728</x-m>
</offsets>
</model>
<!-- Lights -->
<model>
<name>Left nav light</name>
<path>Aircraft/A320Family/Models/Lights/rednav.xml</path>
<offsets>
<x-m>23.474</x-m>
<y-m>-16.91</y-m>
<z-m>0.299</z-m>
</offsets>
</model>
<model>
<name>Right nav light</name>
<path>Aircraft/A320Family/Models/Lights/greennav.xml</path>
<offsets>
<x-m>23.474</x-m>
<y-m>16.91</y-m>
<z-m>0.299</z-m>
</offsets>
</model>
<model>
<name>Left strobe light</name>
<path>Aircraft/A320Family/Models/Lights/strobe.xml</path>
<offsets>
<x-m>23.474</x-m>
<y-m>-16.91</y-m>
<z-m>0.299</z-m>
</offsets>
</model>
<model>
<name>Right strobe light</name>
<path>Aircraft/A320Family/Models/Lights/strobe.xml</path>
<offsets>
<x-m>23.474</x-m>
<y-m>16.91</y-m>
<z-m>0.299</z-m>
</offsets>
</model>
<model>
<name>Top beacon light</name>
<path>Aircraft/A320Family/Models/Lights/beacon.xml</path>
<offsets>
<x-m>16.7</x-m>
<y-m>0</y-m>
<z-m>1.977</z-m>
</offsets>
</model>
<model>
<name>Bottom beacon light</name>
<path>Aircraft/A320Family/Models/Lights/beacon.xml</path>
<offsets>
<x-m>18.2</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>
</model>
<!--model>
<name>Port landing light</name>
<path>Aircraft/A320Family/Models/Lights/landing-port.xml</path>
<offsets>
<x-m>15.9</x-m>
<y-m>-3.16</y-m>
<z-m>-1.4</z-m>
</offsets>
</model>
<model>
<name>Nosegear landing light</name>
<path>Aircraft/A320Family/Models/Lights/landing-nose.xml</path>
<offsets>
<x-m>3.08</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>
</model>
<model>
<name>Starboard landing light</name>
<path>Aircraft/A320Family/Models/Lights/landing-stbd.xml</path>
<offsets>
<x-m>15.9</x-m>
<y-m>3.16</y-m>
<z-m>-1.4</z-m>
</offsets>
</model-->
<!-- Other non-aircraft models -->
<model>
<name>Pushback</name>
<path>Models/Airport/Pushback/Goldhofert.xml</path>
<offsets>
<x-m>9.15</x-m>
<y-m>0</y-m>
<z-m>-4.14</z-m>
</offsets>
</model>
<model>
<name>Tutorial marker</name>
<path>Models/Aircraft/marker.xml</path>
</model>
<!-- LIVERY SELECT -->
<!-- Animation -->
<animation>
<type>material</type>
<!-- Fuselage -->
<object-name>Fuselage</object-name>
<object-name>Vstab</object-name>
<!-- Wings -->
<object-name>WingletL</object-name>
<object-name>WingletR</object-name>
<!-- Engines -->
<object-name>Intake</object-name>
<object-name>Nacelle</object-name>
<object-name>Reverser</object-name>
<!-- Fuselage -->
<property-base>sim/model/livery</property-base>
<texture-prop>texture</texture-prop>
<texture>ACJ.png</texture>
</animation>
<!-- Nasal code -->
<nasal>
<load>
var livery_update = aircraft.livery_update.new("Aircraft/A320Family/Models/Liveries/ACJ");
</load>
<unload>
livery_update.stop();
</unload>
</nasal>
<!-- Fuel Truck -->
<model>
<name>fuel-truck</name>
<path>Aircraft/A320Family/Models/Services/Fuel-Truck/Fuel_Truck_Short_VolvoFM.ac</path>
<condition>
<equals>
<property>/services/fuel-truck/enable</property>
<value>1</value>
</equals>
</condition>
</model>
<animation>
<type>select</type>
<object-name>fuel_pipe</object-name>
<condition>
<equals>
<property>/services/fuel-truck/connect</property>
<value>1</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>fuel_pipe_disconnected</object-name>
<condition>
<equals>
<property>/services/fuel-truck/connect</property>
<value>0</value>
</equals>
</condition>
</animation>
<!-- De-icing Truck -->
<model>
<name>de-ice-truck</name>
<path>Aircraft/A320Family/Models/Services/De-Icing/volvo_deicing_truck.xml</path>
<condition>
<equals>
<property>/services/deicing_truck/enable</property>
<value>1</value>
</equals>
</condition>
<offsets>
<x-m>-15</x-m>
<y-m>9.5</y-m>
<z-m>-5</z-m>
<heading-deg>160</heading-deg>
</offsets>
</model>
<!-- Catering Truck - 1st door -->
<model>
<name>cater-truck</name>
<path>Aircraft/A320Family/Models/Services/Catering/L_T_VolvoFM-4_5m-set.xml</path>
<condition>
<equals>
<property>/services/catering/enable</property>
<value>1</value>
</equals>
</condition>
<offsets>
<x-m>-17.87</x-m>
<y-m>7.28</y-m>
<z-m>-5.45</z-m>
<heading-deg>100</heading-deg>
</offsets>
</model>
<!-- Baggage Truck -->
<model>
<name>baggage-truck</name>
<path>Aircraft/A320Family/Models/Services/Baggage/cargo_ramp.ac</path>
<condition>
<equals>
<property>/services/baggage/enable</property>
<value>1</value>
</equals>
</condition>
</model>
<!-- External Power -->
<model>
<name>ext-pwr</name>
<path>Aircraft/A320Family/Models/Services/External-Power/ext-pwr-box.ac</path>
<condition>
<equals>
<property>/services/ext-pwr/enable</property>
<value>1</value>
</equals>
</condition>
</model>
<!-- Chokes -->
<model>
<name>choke_nose</name>
<path>Aircraft/A320Family/Models/Services/Chokes/choke_nose.ac</path>
<condition>
<equals>
<property>/services/chokes/nose</property>
<value>1</value>
</equals>
</condition>
<offsets>
<x-m>23.5</x-m>
<z-m>1.25</z-m>
</offsets>
</model>
<model>
<name>choke_left</name>
<path>Aircraft/A320Family/Models/Services/Chokes/choke_left.ac</path>
<condition>
<equals>
<property>/services/chokes/left</property>
<value>1</value>
</equals>
</condition>
<offsets>
<x-m>15.5</x-m>
<y-m>1.18</y-m>
<z-m>1.25</z-m>
</offsets>
</model>
<model>
<name>choke_right</name>
<path>Aircraft/A320Family/Models/Services/Chokes/choke_right.ac</path>
<condition>
<equals>
<property>/services/chokes/right</property>
<value>1</value>
</equals>
</condition>
<offsets>
<x-m>15.5</x-m>
<y-m>-1.18</y-m>
<z-m>1.25</z-m>
</offsets>
</model>
<!-- Stairways -->
<model>
<path>Aircraft/A320Family/Models/Services/Stairs/stairs.xml</path>
<name>l1</name>
<offsets>
<x-m>-17.028</x-m>
<y-m>-2.69</y-m>
<z-m>0.0060</z-m>
<heading-deg>-8</heading-deg>
</offsets>
<condition>
<property>/services/stairs/l1</property>
</condition>
</model>
<model>
<path>Aircraft/A320Family/Models/Services/Stairs/stairs.xml</path>
<name>l4</name>
<offsets>
<x-m>22.42</x-m>
<y-m>-2.56</y-m>
<z-m>0.0060</z-m>
<heading-deg>6</heading-deg>
</offsets>
<condition>
<property>/services/stairs/l4</property>
</condition>
</model>
</PropertyList>

View file

@ -2226,7 +2226,7 @@
<object-name>sidestick_1</object-name>
<object-name>sidestick_3</object-name>
<object-name>sidestick_button1</object-name>
<property>aircraft/sidestick-y</property>
<property>controls/flight/elevator</property>
<factor>10</factor>
<center>
<x-m>-0.18</x-m>
@ -2239,26 +2239,13 @@
<z>0.0</z>
</axis>
</animation>
<!--<animation>
<type>pick</type>
<object-name>sidestick_button1</object-name>
<action>
<button>0</button>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/input/ap1</property>
<property>/it-autoflight/input/ap2</property>
</binding>
</action>
</animation>-->
<animation>
<type>rotate</type>
<object-name>sidestick_1</object-name>
<object-name>sidestick_3</object-name>
<object-name>sidestick_button1</object-name>
<property>aircraft/sidestick-x</property>
<property>controls/flight/aileron</property>
<factor>10</factor>
<center>
<x-m>-0.19</x-m>
@ -2278,7 +2265,7 @@
<object-name>sidestick_3</object-name>
<object-name>sidestick_button1</object-name>
<object-name>level3</object-name>
<property>aircraft/sidestick-y</property>
<property>controls/flight/elevator</property>
<factor>3</factor>
<center>
<x-m>-0.1903</x-m>
@ -2298,7 +2285,7 @@
<object-name>sidestick_3</object-name>
<object-name>sidestick_button1</object-name>
<object-name>level3</object-name>
<property>aircraft/sidestick-x</property>
<property>controls/flight/aileron</property>
<factor>3</factor>
<center>
<x-m>-0.1903</x-m>
@ -2319,7 +2306,7 @@
<object-name>sidestick_button1</object-name>
<object-name>level3</object-name>
<object-name>level2</object-name>
<property>aircraft/sidestick-y</property>
<property>controls/flight/elevator</property>
<factor>3</factor>
<center>
<x-m>-0.1903</x-m>
@ -2340,7 +2327,7 @@
<object-name>sidestick_button1</object-name>
<object-name>level3</object-name>
<object-name>level2</object-name>
<property>aircraft/sidestick-x</property>
<property>controls/flight/elevator</property>
<factor>3</factor>
<center>
<x-m>-0.1903</x-m>
@ -2362,7 +2349,7 @@
<object-name>level3</object-name>
<object-name>level2</object-name>
<object-name>level1</object-name>
<property>aircraft/sidestick-y</property>
<property>controls/flight/elevator</property>
<factor>3</factor>
<center>
<x-m>-0.1903</x-m>
@ -2384,7 +2371,7 @@
<object-name>level3</object-name>
<object-name>level2</object-name>
<object-name>level1</object-name>
<property>aircraft/sidestick-x</property>
<property>controls/flight/aileron</property>
<factor>3</factor>
<center>
<x-m>-0.1903</x-m>
@ -2405,7 +2392,7 @@
<object-name>sidestick_2</object-name>
<object-name>sidestick_4</object-name>
<object-name>sidestick_button2</object-name>
<property>aircraft/sidestick-y</property>
<property>controls/flight/elevator</property>
<factor>10</factor>
<center>
<x-m>-0.18</x-m>
@ -2418,26 +2405,13 @@
<z>0.0</z>
</axis>
</animation>
<!--<animation>
<type>pick</type>
<object-name>sidestick_apdiscor</object-name>
<action>
<button>0</button>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/input/ap1</property>
<property>/it-autoflight/input/ap2</property>
</binding>
</action>
</animation>-->
<animation>
<type>rotate</type>
<object-name>sidestick_2</object-name>
<object-name>sidestick_4</object-name>
<object-name>sidestick_button2</object-name>
<property>aircraft/sidestick-x</property>
<property>controls/flight/aileron</property>
<factor>10</factor>
<center>
<x-m>-0.19</x-m>
@ -2457,7 +2431,7 @@
<object-name>sidestick_4</object-name>
<object-name>sidestick_button2</object-name>
<object-name>level3_2</object-name>
<property>aircraft/sidestick-y</property>
<property>controls/flight/elevator</property>
<factor>3</factor>
<center>
<x-m>-0.1903</x-m>
@ -2477,7 +2451,7 @@
<object-name>sidestick_4</object-name>
<object-name>sidestick_button2</object-name>
<object-name>level3_2</object-name>
<property>aircraft/sidestick-x</property>
<property>controls/flight/aileron</property>
<factor>3</factor>
<center>
<x-m>-0.1903</x-m>
@ -2498,7 +2472,7 @@
<object-name>sidestick_button2</object-name>
<object-name>level3_2</object-name>
<object-name>level2_2</object-name>
<property>aircraft/sidestick-y</property>
<property>controls/flight/elevator</property>
<factor>3</factor>
<center>
<x-m>-0.1903</x-m>
@ -2519,7 +2493,7 @@
<object-name>sidestick_button2</object-name>
<object-name>level3_2</object-name>
<object-name>level2_2</object-name>
<property>aircraft/sidestick-x</property>
<property>controls/flight/aileron</property>
<factor>3</factor>
<center>
<x-m>-0.1903</x-m>
@ -2541,7 +2515,7 @@
<object-name>level3_2</object-name>
<object-name>level2_2</object-name>
<object-name>level1_2</object-name>
<property>aircraft/sidestick-y</property>
<property>controls/flight/elevator</property>
<factor>3</factor>
<center>
<x-m>-0.1903</x-m>
@ -2563,7 +2537,7 @@
<object-name>level3_2</object-name>
<object-name>level2_2</object-name>
<object-name>level1_2</object-name>
<property>aircraft/sidestick-x</property>
<property>controls/flight/aileron</property>
<factor>3</factor>
<center>
<x-m>-0.1903</x-m>

View file

@ -2,7 +2,7 @@
<PropertyList>
<name>Fuselage</name>
<path>res/a319.fuselage.ac</path>
<path>res/fuselage.ac</path>
<!-- Reflection Shader -->
<!--effect>
@ -444,24 +444,4 @@
</axis>
</animation>
<!-- LIVERY SELECT -->
<!-- Animation -->
<animation>
<type>material</type>
<object-name>Fuselage</object-name>
<property-base>sim/model/livery</property-base>
<texture-prop>texture-path[0]</texture-prop>
<texture>A319-NWA.png</texture>
</animation>
<!-- Nasal code -->
<nasal>
<load>
var livery_update = aircraft.livery_update.new("Aircraft/A320Family/Models/Liveries/" ~ getprop("sim/aero"));
</load>
<unload>
livery_update.stop();
</unload>
</nasal>
</PropertyList>

View file

@ -2,7 +2,7 @@
<PropertyList>
<path>res/a320.hstab.ac</path>
<path>res/hstab.ac</path>
<!-- Animation for the elevators -->
<animation>

View file

Before

Width:  |  Height:  |  Size: 459 KiB

After

Width:  |  Height:  |  Size: 459 KiB

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,7 @@
<PropertyList>
<path>res/a320.vstab.ac</path>
<path>res/vstab.ac</path>
<!--effect>
<inherits-from>Aircraft/A320Family/Models/Effects/NEOreflect</inherits-from>

View file

@ -2,7 +2,7 @@
<PropertyList>
<name>Fuselage</name>
<path>res/a320.fuselage.ac</path>
<path>res/fuselage.ac</path>
<!-- Reflection Shader -->
<!--effect>
@ -354,6 +354,4 @@
</axis>
</animation>
</PropertyList>

View file

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<path>res/hstab.ac</path>
<!-- Animation for the elevators -->
<animation>
<name>Left elevator</name>
<type>rotate</type>
<object-name>ElevatorL</object-name>
<property>/controls/flight/elevator</property>
<interpolation>
<entry><ind>-1.0</ind><dep>-15.0</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>1.0</ind><dep>15.0</dep></entry>
</interpolation>
<axis>
<x1-m>4.8217428</x1-m>
<y1-m>-6.225</y1-m>
<z1-m>1.2998017</z1-m>
<x2-m>2.9796817</x2-m>
<y2-m>-0.96224</y2-m>
<z2-m>0.7486916</z2-m>
</axis>
</animation>
<animation>
<name>Right elevator</name>
<type>rotate</type>
<object-name>ElevatorR</object-name>
<property>/controls/flight/elevator</property>
<interpolation>
<entry><ind>-1.0</ind><dep>-15.0</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>1.0</ind><dep>15.0</dep></entry>
</interpolation>
<axis>
<x1-m>2.9796817</x1-m>
<y1-m>0.96224</y1-m>
<z1-m>0.7486916</z1-m>
<x2-m>4.8217428</x2-m>
<y2-m>6.225</y2-m>
<z2-m>1.2998017</z2-m>
</axis>
</animation>
<!-- Animation for the horizontal stabilizer (elevator trim) -->
<animation>
<name>Horizontal Stabilizer</name>
<type>rotate</type>
<property>/controls/flight/elevator-trim</property>
<interpolation>
<entry><ind>-1.0</ind><dep>-10.0</dep></entry>
<entry><ind>1.0</ind><dep>10.0</dep></entry>
</interpolation>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
<center>
<x-m>2.4657749</x-m>
<z-m>0.7464073</z-m>
<z-m>0</z-m>
</center>
</animation>
</PropertyList>

View file

Before

Width:  |  Height:  |  Size: 409 KiB

After

Width:  |  Height:  |  Size: 409 KiB

View file

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<path>res/vstab.ac</path>
<!--effect>
<inherits-from>Aircraft/A320Family/Models/Effects/NEOreflect</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect-->
<!-- Animation for the rudder -->
<animation>
<name>Rudder</name>
<type>rotate</type>
<object-name>Rudder</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>25</factor>
<axis>
<x1-m>4.013</x1-m>
<y1-m>0</y1-m>
<z1-m>1.899</z1-m>
<x2-m>6.546</x2-m>
<y2-m>0</y2-m>
<z2-m>7.895</z2-m>
</axis>
</animation>
<!-- Animation for the logo light -->
<animation>
<name>Logo light illumination</name>
<type>material</type>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
<condition>
<equals>
<property>controls/lighting/nav-lights-switch</property>
<value>2</value>
</equals>
</condition>
<emission>
<red>0.25</red>
<green>0.25</green>
<blue>0.25</blue>
</emission>
</animation>
</PropertyList>

View file

@ -2,7 +2,7 @@
<PropertyList>
<name>Fuselage</name>
<path>res/a321.fuselage.ac</path>
<path>res/fuselage.ac</path>
<!-- Reflection Shader -->
<!--effect>
@ -669,24 +669,4 @@
</axis>
</animation>
<!-- LIVERY SELECT -->
<!-- Animation
<animation>
<type>material</type>
<object-name>Fuselage</object-name>
<property-base>sim/model/livery</property-base>
<texture-prop>texture-path[0]</texture-prop>
<texture>Liveries/A321neo-AWE.png</texture>
</animation> -->
<!-- Nasal code
<nasal>
<load>
var livery_update = aircraft.livery_update.new("Aircraft/A320Family/Models/Liveries/" ~ getprop("sim/aero"));
</load>
<unload>
livery_update.stop();
</unload>
</nasal> -->
</PropertyList>

View file

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<path>res/hstab.ac</path>
<!-- Animation for the elevators -->
<animation>
<name>Left elevator</name>
<type>rotate</type>
<object-name>ElevatorL</object-name>
<property>/controls/flight/elevator</property>
<interpolation>
<entry><ind>-1.0</ind><dep>-15.0</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>1.0</ind><dep>15.0</dep></entry>
</interpolation>
<axis>
<x1-m>4.8217428</x1-m>
<y1-m>-6.225</y1-m>
<z1-m>1.2998017</z1-m>
<x2-m>2.9796817</x2-m>
<y2-m>-0.96224</y2-m>
<z2-m>0.7486916</z2-m>
</axis>
</animation>
<animation>
<name>Right elevator</name>
<type>rotate</type>
<object-name>ElevatorR</object-name>
<property>/controls/flight/elevator</property>
<interpolation>
<entry><ind>-1.0</ind><dep>-15.0</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>1.0</ind><dep>15.0</dep></entry>
</interpolation>
<axis>
<x1-m>2.9796817</x1-m>
<y1-m>0.96224</y1-m>
<z1-m>0.7486916</z1-m>
<x2-m>4.8217428</x2-m>
<y2-m>6.225</y2-m>
<z2-m>1.2998017</z2-m>
</axis>
</animation>
<!-- Animation for the horizontal stabilizer (elevator trim) -->
<animation>
<name>Horizontal Stabilizer</name>
<type>rotate</type>
<property>/controls/flight/elevator-trim</property>
<interpolation>
<entry><ind>-1.0</ind><dep>-10.0</dep></entry>
<entry><ind>1.0</ind><dep>10.0</dep></entry>
</interpolation>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
<center>
<x-m>2.4657749</x-m>
<z-m>0.7464073</z-m>
<z-m>0</z-m>
</center>
</animation>
</PropertyList>

View file

Before

Width:  |  Height:  |  Size: 409 KiB

After

Width:  |  Height:  |  Size: 409 KiB

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<path>res/vstab.ac</path>
<!--effect>
<inherits-from>Aircraft/A320Family/Models/Effects/NEOreflect</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect-->
<!-- Animation for the rudder -->
<animation>
<name>Rudder</name>
<type>rotate</type>
<object-name>Rudder</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>25</factor>
<axis>
<x1-m>4.013</x1-m>
<y1-m>0</y1-m>
<z1-m>1.899</z1-m>
<x2-m>6.546</x2-m>
<y2-m>0</y2-m>
<z2-m>7.895</z2-m>
</axis>
</animation>
<!-- Animation for the logo light -->
<animation>
<name>Logo light illumination</name>
<type>material</type>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
<condition>
<equals>
<property>controls/lighting/nav-lights-switch</property>
<value>2</value>
</equals>
</condition>
<emission>
<red>0.25</red>
<green>0.25</green>
<blue>0.25</blue>
</emission>
</animation>
</PropertyList>

View file

@ -0,0 +1,447 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<name>Fuselage</name>
<path>res/fuselage.ac</path>
<!-- Reflection Shader -->
<!--effect>
<inherits-from>Effects/NEOreflect</inherits-from>
<object-name>Fuselage</object-name>
</effect-->
<effect>
<inherits-from>Effects/glass</inherits-from>
<object-name>glass</object-name>
<object-name>glass1</object-name>
<object-name>glass2</object-name>
<object-name>glass3</object-name>
</effect>
<!-- APU fire -->
<model>
<name>APU fire</name>
<path>Aircraft/A320Family/Models/Effects/enginefire.xml</path>
<offsets>
<x-m>36.77</x-m>
<y-m>0</y-m>
<z-m>0.95</z-m>
</offsets>
<condition>
<property>engines/apu/on-fire</property>
</condition>
</model>
<!-- ANIMATIONS -->
<!-- PAX doors -->
<animation>
<name>PAX left-front door pick</name>
<type>pick</type>
<object-name>DoorL1</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
systems.triggerDoor(systems.doorl1, "doorl1", "PAX left-front (main)");
</script>
</binding>
</action>
</animation>
<animation>
<name>PAX left-front door x translate</name>
<type>translate</type>
<object-name>DoorL1</object-name>
<property>sim/model/door-positions/doorl1/position-norm</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>0.25</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>-1</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>PAX left-front door y translate</name>
<type>translate</type>
<object-name>DoorL1</object-name>
<property>sim/model/door-positions/doorl1/position-norm</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>0.25</ind><dep>-0.2</dep></entry>
<entry><ind>1</ind><dep>-0.2</dep></entry>
</interpolation>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>PAX right-front door pick</name>
<type>pick</type>
<object-name>DoorR1</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
systems.triggerDoor(systems.doorr1, "doorr1", "PAX right-front");
</script>
</binding>
</action>
</animation>
<animation>
<name>PAX right-front door x translate</name>
<type>translate</type>
<object-name>DoorR1</object-name>
<property>sim/model/door-positions/doorr1/position-norm</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>0.25</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>-1</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>PAX right-front door y translate</name>
<type>translate</type>
<object-name>DoorR1</object-name>
<property>sim/model/door-positions/doorr1/position-norm</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>0.25</ind><dep>0.2</dep></entry>
<entry><ind>1</ind><dep>0.2</dep></entry>
</interpolation>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>PAX left-back door pick</name>
<type>pick</type>
<object-name>DoorL3</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
systems.triggerDoor(systems.doorl3, "doorl3", "PAX left");
</script>
</binding>
</action>
</animation>
<animation>
<name>PAX left-back door x translate</name>
<type>translate</type>
<object-name>DoorL3</object-name>
<property>sim/model/door-positions/doorl3/position-norm</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>0.25</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>-0.95</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>PAX left-back door y translate</name>
<type>translate</type>
<object-name>DoorL3</object-name>
<property>sim/model/door-positions/doorl3/position-norm</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>0.25</ind><dep>-0.2</dep></entry>
<entry><ind>1</ind><dep>-0.2</dep></entry>
</interpolation>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>PAX right-back door pick</name>
<type>pick</type>
<object-name>DoorR3</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
systems.triggerDoor(systems.doorr3, "doorr3", "PAX right");
</script>
</binding>
</action>
</animation>
<animation>
<name>PAX right-back door x translate</name>
<type>translate</type>
<object-name>DoorR3</object-name>
<property>sim/model/door-positions/doorr3/position-norm</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>0.25</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>-0.95</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>PAX right-back door y translate</name>
<type>translate</type>
<object-name>DoorR3</object-name>
<property>sim/model/door-positions/doorr3/position-norm</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>0.25</ind><dep>0.2</dep></entry>
<entry><ind>1</ind><dep>0.2</dep></entry>
</interpolation>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<!-- Cargo doors -->
<animation>
<name>Cargo forward door pick</name>
<type>pick</type>
<object-name>Cargo1</object-name>
<object-name>Cargo1Int</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
systems.triggerDoor(systems.cargofwd, "cargofwd", "forward cargo");
</script>
</binding>
</action>
</animation>
<animation>
<name>Cargo forward door rotate</name>
<type>rotate</type>
<object-name>Cargo1</object-name>
<object-name>Cargo1Int</object-name>
<property>sim/model/door-positions/cargofwd/position-norm</property>
<factor>150</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>1.92</y-m>
<z-m>-0.507</z-m>
</center>
</animation>
<animation>
<name>Cargo aft door pick</name>
<type>pick</type>
<object-name>Cargo2</object-name>
<object-name>Cargo2Int</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
systems.triggerDoor(systems.cargoaft, "cargoaft", "aft cargo");
</script>
</binding>
</action>
</animation>
<animation>
<name>Cargo aft door rotate</name>
<type>rotate</type>
<object-name>Cargo2</object-name>
<object-name>Cargo2Int</object-name>
<property>sim/model/door-positions/cargoaft/position-norm</property>
<factor>150</factor>
<axis>
<x1-m>24.442</x1-m>
<y1-m>1.912</y1-m>
<z1-m>-0.507</z1-m>
<x2-m>26.022</x2-m>
<y2-m>1.914</y2-m>
<z2-m>-0.509</z2-m>
</axis>
</animation>
<!-- Animation for the doors of the main gears. -->
<animation>
<name>Main_Gear_Doors.Left</name>
<type>rotate</type>
<object-name>GearLDoor</object-name>
<property>gear/gear[1]/position-norm</property>
<interpolation>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>0.2</ind><dep>84.0</dep></entry>
<entry><ind>0.8</ind><dep>84.0</dep></entry>
<entry><ind>1.0</ind><dep>0.0</dep></entry>
</interpolation>
<center>
<y-m>-0.4646725</y-m>
<z-m>-2.3824937</z-m>
</center>
<axis>
<x>1</x>
</axis>
</animation>
<animation>
<name>Main_Gear_Doors.Right</name>
<type>rotate</type>
<object-name>GearRDoor</object-name>
<property>gear/gear[2]/position-norm</property>
<interpolation>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>0.2</ind><dep>84.0</dep></entry>
<entry><ind>0.8</ind><dep>84.0</dep></entry>
<entry><ind>1.0</ind><dep>0.0</dep></entry>
</interpolation>
<center>
<y-m>0.4646725</y-m>
<z-m>-2.3824937</z-m>
</center>
<axis>
<x>-1</x>
</axis>
</animation>
<!-- Animation for the doors of the nose gear. -->
<animation>
<name>Nose_Gear_Doors.Left.01</name>
<type>rotate</type>
<object-name>GearNFwdDoorL</object-name>
<property>gear/gear[0]/position-norm</property>
<interpolation>
<entry><ind>0.0z</ind><dep>0.0</dep></entry>
<entry><ind>0.2</ind><dep>90.0</dep></entry>
<entry><ind>0.8</ind><dep>90.0</dep></entry>
<entry><ind>1.0</ind><dep>0.0</dep></entry>
</interpolation>
<axis>
<x1-m>9.199</x1-m>
<y1-m>-0.5</y1-m>
<z1-m>-2.0649564</z1-m>
<x2-m>7.994</x2-m>
<y2-m>-0.5</y2-m>
<z2-m>-1.9179121</z2-m>
</axis>
</animation>
<animation>
<name>Nose_Gear_Doors.Left.02</name>
<type>rotate</type>
<object-name>GearNAftDoorL</object-name>
<property>gear/gear[0]/position-norm</property>
<interpolation>
<entry><ind>0.2</ind><dep>0.0</dep></entry>
<entry><ind>0.8</ind><dep>45.0</dep></entry>
</interpolation>
<axis>
<x1-m>9.677</x1-m>
<y1-m>-0.5</y1-m>
<z1-m>-2.0790732</z1-m>
<x2-m>9.199</x2-m>
<y2-m>-0.5</y2-m>
<z2-m>-2.0649564</z2-m>
</axis>
</animation>
<animation>
<name>Nose_Gear_Doors.Right.01</name>
<type>rotate</type>
<object-name>GearNFwdDoorR</object-name>
<property>gear/gear[0]/position-norm</property>
<interpolation>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>0.2</ind><dep>90.0</dep></entry>
<entry><ind>0.8</ind><dep>90.0</dep></entry>
<entry><ind>1.0</ind><dep>0.0</dep></entry>
</interpolation>
<axis>
<x1-m>6.994</x1-m>
<y1-m>0.5</y1-m>
<z1-m>-1.9179121</z1-m>
<x2-m>9.199</x2-m>
<y2-m>0.5</y2-m>
<z2-m>-2.0649564</z2-m>
</axis>
</animation>
<animation>
<name>Nose_Gear_Doors.Right.02</name>
<type>rotate</type>
<object-name>GearNAftDoorR</object-name>
<property>gear/gear[0]/position-norm</property>
<interpolation>
<entry><ind>0.2</ind><dep>0.0</dep></entry>
<entry><ind>0.8</ind><dep>45.0</dep></entry>
</interpolation>
<axis>
<x1-m>9.199</x1-m>
<y1-m>0.5</y1-m>
<z1-m>-2.0649564</z1-m>
<x2-m>9.677</x2-m>
<y2-m>0.5</y2-m>
<z2-m>-2.0790732</z2-m>
</axis>
</animation>
<animation>
<name>Nose_Gear_Doors.Center</name>
<type>rotate</type>
<object-name>GearNDoorC</object-name>
<property>gear/gear[0]/position-norm</property>
<interpolation>
<entry><ind>0.2</ind><dep>0.0</dep></entry>
<entry><ind>0.8</ind><dep>-92.0</dep></entry>
</interpolation>
<center>
<x-m>9.43</x-m>
<y-m>0</y-m>
<z-m>-1.8306008</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<path>res/hstab.ac</path>
<!-- Animation for the elevators -->
<animation>
<name>Left elevator</name>
<type>rotate</type>
<object-name>ElevatorL</object-name>
<property>/controls/flight/elevator</property>
<interpolation>
<entry><ind>-1.0</ind><dep>-15.0</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>1.0</ind><dep>15.0</dep></entry>
</interpolation>
<axis>
<x1-m>4.8217428</x1-m>
<y1-m>-6.225</y1-m>
<z1-m>1.2998017</z1-m>
<x2-m>2.9796817</x2-m>
<y2-m>-0.96224</y2-m>
<z2-m>0.7486916</z2-m>
</axis>
</animation>
<animation>
<name>Right elevator</name>
<type>rotate</type>
<object-name>ElevatorR</object-name>
<property>/controls/flight/elevator</property>
<interpolation>
<entry><ind>-1.0</ind><dep>-15.0</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>1.0</ind><dep>15.0</dep></entry>
</interpolation>
<axis>
<x1-m>2.9796817</x1-m>
<y1-m>0.96224</y1-m>
<z1-m>0.7486916</z1-m>
<x2-m>4.8217428</x2-m>
<y2-m>6.225</y2-m>
<z2-m>1.2998017</z2-m>
</axis>
</animation>
<!-- Animation for the horizontal stabilizer (elevator trim) -->
<animation>
<name>Horizontal Stabilizer</name>
<type>rotate</type>
<property>/controls/flight/elevator-trim</property>
<interpolation>
<entry><ind>-1.0</ind><dep>-10.0</dep></entry>
<entry><ind>1.0</ind><dep>10.0</dep></entry>
</interpolation>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
<center>
<x-m>2.4657749</x-m>
<z-m>0.7464073</z-m>
<z-m>0</z-m>
</center>
</animation>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 KiB

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<path>res/vstab.ac</path>
<!--effect>
<inherits-from>Aircraft/A320Family/Models/Effects/NEOreflect</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect-->
<!-- Animation for the rudder -->
<animation>
<name>Rudder</name>
<type>rotate</type>
<object-name>Rudder</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>25</factor>
<axis>
<x1-m>4.013</x1-m>
<y1-m>0</y1-m>
<z1-m>1.899</z1-m>
<x2-m>6.546</x2-m>
<y2-m>0</y2-m>
<z2-m>7.895</z2-m>
</axis>
</animation>
<!-- Animation for the logo light -->
<animation>
<name>Logo light illumination</name>
<type>material</type>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
<condition>
<equals>
<property>controls/lighting/nav-lights-switch</property>
<value>2</value>
</equals>
</condition>
<emission>
<red>0.25</red>
<green>0.25</green>
<blue>0.25</blue>
</emission>
</animation>
</PropertyList>

View file

@ -30,6 +30,18 @@
</axis>
</animation>
<animation>
<type>select</type>
<object-name>sidestick-max</object-name>
<object-name>sidestick-pos</object-name>
<condition>
<or>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
</or>
</condition>
</animation>
<animation>
<object-name>spdtrnd-up</object-name>
<property>instrumentation/pfd/speed-trend-up</property>

View file

@ -30,6 +30,18 @@
</axis>
</animation>
<animation>
<type>select</type>
<object-name>sidestick-max</object-name>
<object-name>sidestick-pos</object-name>
<condition>
<or>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
</or>
</condition>
</animation>
<animation>
<object-name>spdtrnd-up</object-name>
<property>instrumentation/pfd/speed-trend-up</property>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 446 KiB

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<sim>
<model>
<livery>
<name>American Airlines (N840AW)</name>
<texture>Liveries/A319/AAL.png</texture>
</livery>
</model>
</sim>
</PropertyList>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 440 KiB

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<sim>
<model>
<livery>
<name>US Airways (Star Alliance)</name>
<texture>Liveries/A319/USAirwaysStar.png</texture>
</livery>
</model>
</sim>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 KiB

View file

@ -4,8 +4,8 @@
<sim>
<model>
<livery>
<name>Air Macau (B-MAO)</name>
<texture>Liveries/A319/AMU.png</texture>
<name>FAV0001 (Venuzuela)</name>
<texture>Liveries/ACJ/FAV0001.png</texture>
</livery>
</model>
</sim>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 459 KiB

View file

@ -3,7 +3,6 @@
#### v.0.2 ####
var lgciu_one_init = func {
print("LGCIU No 1: Initializing");
setprop("controls/lgciu[0]/mlgleftpos",1); #0 = retracted, 1 = extended
setprop("controls/lgciu[0]/mlgrightpos",1); #0 = retracted, 1 = extended
setprop("controls/lgciu[0]/nlgpos",1); #0 = retracted, 1 = extended
@ -11,28 +10,22 @@ var lgciu_one_init = func {
setprop("controls/lgciu[0]/doors/mlgright",0); #0 = closed, 1 = open
setprop("controls/lgciu[0]/doors/nlg",0); #0 = closed, 1 = open
setprop("/controls/lgciu[0]/gearlever",1); #0 = retracted, 1 = extended
print("L/G SYS: Gears and Doors Set");
setprop("/controls/lgciu[0]/mlgleft/isdownlock",1); #0 = no, 1 = yes
setprop("/controls/lgciu[0]/mlgright/isdownlock",1); #0 = no, 1 = yes
setprop("/controls/lgciu[0]/nlg/isdownlock",1); #0 = no, 1 = yes
setprop("/controls/lgciu[0]/mlgleft/isuplock",0); #0 = no, 1 = yes
setprop("/controls/lgciu[0]/mlgright/isuplock",0); #0 = no, 1 = yes
setprop("/controls/lgciu[0]/nlg/isuplock",0); #0 = no, 1 = yes
print("L/G SYS: Uplock / Downlock System Enabled");
setprop("/controls/lgciu[0]/hyd/greensupply",0); #0 = no, 1 = yes presently no supply as green pump is off
print("L/G SYS: Hydraulics Initialized");
setprop("/controls/lgciu[0]/wow/isongroundl",1); #0 = no, 1 = yes
setprop("/controls/lgciu[0]/wow/isongroundn",1); #0 = no, 1 = yes
setprop("/controls/lgciu[0]/wow/isongroundr",1); #0 = no, 1 = yes
setprop("/controls/lgciu[0]/nws/nwsenabled",0); #0 = disabled 1 = enabled, must be disabled for push
setprop("/controls/lgciu[0]/inuse",1); #the LGCIUs switch between eachother on each gear cycle. eg if one LGCIU fails put the gear down and bring them up again to reset
setprop("/controls/lgciu[0]/hasbeenret",0); #has the gear been retracted with LGCIU1?
print("L/G SYS: System Settings Initialized");
print("LGCIU No 1 Loaded!");
}
var lgciu_two_init = func {
print("LGCIU No 1: Initializing");
setprop("controls/lgciu[1]/mlgleftpos",1); #0 = retracted, 1 = extended
setprop("controls/lgciu[1]/mlgrightpos",1); #0 = retracted, 1 = extended
setprop("controls/lgciu[1]/nlgpos",1); #0 = retracted, 1 = extended
@ -40,32 +33,27 @@ var lgciu_two_init = func {
setprop("controls/lgciu[1]/doors/mlgright",0); #0 = closed, 1 = open
setprop("controls/lgciu[1]/doors/nlg",0); #0 = closed, 1 = open
setprop("/controls/lgciu[1]/gearlever",1); #0 = retracted, 1 = extended
print("L/G SYS: Gears and Doors Set");
setprop("/controls/lgciu[1]/mlgleft/isdownlock",1); #0 = no, 1 = yes
setprop("/controls/lgciu[1]/mlgright/isdownlock",1); #0 = no, 1 = yes
setprop("/controls/lgciu[1]/nlg/isdownlock",1); #0 = no, 1 = yes
setprop("/controls/lgciu[1]/mlgleft/isuplock",0); #0 = no, 1 = yes
setprop("/controls/lgciu[1]/mlgright/isuplock",0); #0 = no, 1 = yes
setprop("/controls/lgciu[1]/nlg/isuplock",0); #0 = no, 1 = yes
print("L/G SYS: Uplock / Downlock System Enabled");
setprop("/controls/lgciu[1]/hyd/greensupply",0); #0 = no, 1 = yes presently no supply as green pump is off
print("L/G SYS: Hydraulics Initialized");
setprop("/controls/lgciu[1]/wow/isongroundl",1); #0 = no, 1 = yes
setprop("/controls/lgciu[1]/wow/isongroundn",1); #0 = no, 1 = yes
setprop("/controls/lgciu[1]/wow/isongroundr",1); #0 = no, 1 = yes
setprop("/controls/lgciu[1]/nws/nwsenabled",0); #0 = disabled 1 = enabled, must be disabled for push
setprop("/controls/lgciu[1]/inuse",0); #the LGCIUs switch between eachother on each gear cycle. eg if one LGCIU fails put the gear down and bring them up again to reset
setprop("/controls/lgciu[1]/hasbeenret",0); #has the gear been retracted with LGCIU2?
print("L/G SYS: System Settings Initialized");
print("LGCIU No 2: Loaded!");
}
# Initialize Landing Gear Control and Indication Unit
setlistener("/sim/signals/fdm-initialized", func {
print("Landing Gear System: Initializing");
lgciu_one_init();
lgciu_two_init();
print("LGCIU System ... OK!");
});
### Left MLG compressor sensor to check if we are on the ground ###

114
Nasal/electrical.new.nas Normal file
View file

@ -0,0 +1,114 @@
# Electrical system for A320 by Joshua Davidson (it0uchpods/411).
var ELEC_UPDATE_PERIOD = 1; # A periodic update in secs
var STD_VOLTS_AC = 115; # Typical volts for a power source
var MIN_VOLTS_AC = 110; # Typical minimum voltage level for generic equipment
var STD_VOLTS_DC = 28; # Typical volts for a power source
var MIN_VOLTS_DC = 25; # Typical minimum voltage level for generic equipment
var STD_AMPS = 0; # Not used yet
var NUM_ENGINES = 2;
# Set all the stuff I need
setlistener("/sim/signals/fdm-initialized", func {
# Electrical Buses
setprop("/electrical/bus/dc-bat", 0);
setprop("/electrical/bus/dc-bus1", 0);
setprop("/electrical/bus/dc-bus2", 0);
setprop("/electrical/bus/dc-ess", 0);
setprop("/electrical/bus/ac-bus1", 0);
setprop("/electrical/bus/ac-bus2", 0);
setprop("/electrical/bus/ac-ess", 0);
setprop("/electrical/bus/hot-bus1", 0);
setprop("/electrical/bus/hot-bus2", 0);
# Electrical Inputs
setprop("/electrical/input/gen1", 0);
setprop("/electrical/input/gen2", 0);
setprop("/electrical/input/apu-gen", 0);
setprop("/electrical/input/ext-pwr", 0);
setprop("/electrical/input/bat1", 0);
setprop("/electrical/input/bat2", 0);
setprop("/electrical/input/emer-gen", 0);
# Switches
setprop("/electrical/switches/gen1", 0);
setprop("/electrical/switches/gen2", 0);
setprop("/electrical/switches/apu-gen", 0);
setprop("/electrical/switches/ext-pwr", 0);
setprop("/electrical/switches/emer", 0);
setprop("/electrical/switches/galley", 0);
setprop("/electrical/switches/ties/apu-ext-ac1", 0);
setprop("/electrical/switches/ties/apu-ext-ac2", 0);
setprop("/electrical/switches/ties/ac-ess-ac1", 0);
setprop("/electrical/switches/ties/ac-ess-ac2", 0);
setprop("/electrical/switches/ties/ac-ess-dc-ess", 0);
setprop("/electrical/switches/ties/dc1-dc-bat", 0);
setprop("/electrical/switches/ties/dc2-dc-bat", 0);
setprop("/electrical/switches/ties/bat1-dc-bat", 0);
setprop("/electrical/switches/ties/bat2-dc-bat", 0);
setprop("/electrical/switches/ties/dc-bat-dc-ess", 0);
setprop("/electrical/switches/ties/ac-bat-ac-ess", 0);
setprop("/electrical/switches/ties/emer-dc-ess", 0);
setprop("/electrical/switches/ties/emer-ac-ess", 0);
});
# Define all the stuff I need for the main elec loop
var master_elec = func {
}
var update_electrical = func {
master_elec();
settimer(update_electrical, ELEC_UPDATE_PERIOD);
}
settimer(update_electrical, 2);
setlistener("/sim/signals/fdm-initialized", func {
# Below are standard FG Electrical stuff to keep things working when the plane is powered
setprop("/systems/electrical/outputs/adf", 0);
setprop("/systems/electrical/outputs/audio-panel", 0);
setprop("/systems/electrical/outputs/audio-panel[1]", 0);
setprop("/systems/electrical/outputs/autopilot", 0);
setprop("/systems/electrical/outputs/avionics-fan", 0);
setprop("/systems/electrical/outputs/beacon", 0);
setprop("/systems/electrical/outputs/bus", 0);
setprop("/systems/electrical/outputs/cabin-lights", 0);
setprop("/systems/electrical/outputs/dme", 0);
setprop("/systems/electrical/outputs/efis", 0);
setprop("/systems/electrical/outputs/flaps", 0);
setprop("/systems/electrical/outputs/fuel-pump", 0);
setprop("/systems/electrical/outputs/fuel-pump[1]", 0);
setprop("/systems/electrical/outputs/gps", 0);
setprop("/systems/electrical/outputs/gps-mfd", 0);
setprop("/systems/electrical/outputs/hsi", 0);
setprop("/systems/electrical/outputs/instr-ignition-switch", 0);
setprop("/systems/electrical/outputs/instrument-lights", 0);
setprop("/systems/electrical/outputs/landing-lights", 0);
setprop("/systems/electrical/outputs/map-lights", 0);
setprop("/systems/electrical/outputs/mk-viii", 0);
setprop("/systems/electrical/outputs/nav", 0);
setprop("/systems/electrical/outputs/nav[1]", 0);
setprop("/systems/electrical/outputs/pitot-head", 0);
setprop("/systems/electrical/outputs/stobe-lights", 0);
setprop("/systems/electrical/outputs/tacan", 0);
setprop("/systems/electrical/outputs/taxi-lights", 0);
setprop("/systems/electrical/outputs/transponder", 0);
setprop("/systems/electrical/outputs/turn-coordinator", 0);
});

View file

@ -209,3 +209,10 @@ setlistener("/instrumentation/vertical-speed-indicator/indicated-speed-fpm", fun
setprop("/instrumentation/vertical-speed-indicator/indicated-speed-fpm-pfd", getprop("/instrumentation/vertical-speed-indicator/indicated-speed-fpm") / 100);
});
setlistener("/controls/parking-brake", func {
if (getprop("/controls/parking-brake") == 1) {
setprop("/electrical/switches/ext-pwr", 1);
} else {
setprop("/electrical/switches/ext-pwr", 0);
}
});

View file

@ -57,10 +57,6 @@
<property>/it-autoflight/internal/vert-speed-fpm</property>
<value>0</value>
</less-than>
<greater-than>
<property>/controls/flight/flaps</property>
<value>0.640</value>
</greater-than>
</and>
</condition>
<volume>
@ -92,10 +88,6 @@
<property>/it-autoflight/internal/vert-speed-fpm</property>
<value>0</value>
</less-than>
<greater-than>
<property>/controls/flight/flaps</property>
<value>0.640</value>
</greater-than>
</and>
</condition>
<volume>
@ -128,10 +120,6 @@
<property>/it-autoflight/internal/vert-speed-fpm</property>
<value>0</value>
</less-than>
<greater-than>
<property>/controls/flight/flaps</property>
<value>0.640</value>
</greater-than>
</and>
</condition>
<volume>
@ -149,7 +137,7 @@
<!-- Retard Warning -->
<retard>
<retard>
<name>retard</name>
<path>Aircraft/A320Family/Sounds/GPWS/retard.wav</path>
<mode>looped</mode>
@ -172,14 +160,6 @@
<property>controls/engines/engine[1]/throttle</property>
<value>0.0</value>
</greater-than>
<greater-than>
<property>controls/engines/engine[2]/throttle</property>
<value>0.0</value>
</greater-than>
<greater-than>
<property>controls/engines/engine[3]/throttle</property>
<value>0.0</value>
</greater-than>
<less-than>
<property>controls/engines/engine[0]/throttle</property>
<value>0.80</value>
@ -188,16 +168,7 @@
<property>controls/engines/engine[1]/throttle</property>
<value>0.80</value>
</less-than>
<less-than>
<property>controls/engines/engine[2]/throttle</property>
<value>0.80</value>
</less-than>
<less-than>
<property>controls/engines/engine[3]/throttle</property>
<value>0.80</value>
</less-than>
<not>
<property>/gear/gear[0]/wow</property>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
</not>