A32X: Make old Airbus default on A320-100

This commit is contained in:
Joshua Davidson 2017-06-22 10:27:03 -07:00
parent 160b25ab12
commit 3b000d41ab
8 changed files with 109152 additions and 3 deletions

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

View file

@ -0,0 +1,367 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<name>Fuselage</name>
<path>res/fuselage.ac</path>
<!-- Reflection Shader -->
<!--effect>
<inherits-from>Aircraft/A320Family/Models/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>38.9</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>
libraries.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>
libraries.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>DoorL4</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
libraries.triggerDoor(systems.doorl4, "doorl4", "PAX left-back");
</script>
</binding>
</action>
</animation>
<animation>
<name>PAX left-back door x translate</name>
<type>translate</type>
<object-name>DoorL4</object-name>
<property>sim/model/door-positions/doorl4/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-back door y translate</name>
<type>translate</type>
<object-name>DoorL4</object-name>
<property>sim/model/door-positions/doorl4/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>DoorR4</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
libraries.triggerDoor(systems.doorr4, "doorr4", "PAX right-back");
</script>
</binding>
</action>
</animation>
<animation>
<name>PAX right-back door x translate</name>
<type>translate</type>
<object-name>DoorR4</object-name>
<property>sim/model/door-positions/doorr4/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-back door y translate</name>
<type>translate</type>
<object-name>DoorR4</object-name>
<property>sim/model/door-positions/doorr4/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 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>7.599</x1-m>
<y1-m>-0.5</y1-m>
<z1-m>-2.0649564</z1-m>
<x2-m>5.394</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>8.077</x1-m>
<y1-m>-0.5</y1-m>
<z1-m>-2.0790732</z1-m>
<x2-m>7.599</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>5.394</x1-m>
<y1-m>0.5</y1-m>
<z1-m>-1.9179121</z1-m>
<x2-m>7.599</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>7.599</x1-m>
<y1-m>0.5</y1-m>
<z1-m>-2.0649564</z1-m>
<x2-m>8.077</x2-m>
<y2-m>0.5</y2-m>
<z2-m>-2.0790732</z2-m>
</axis>
</animation>
<model>
<name>RAT</name>
<path>Aircraft/A320Family/Models/RAT/RAT.xml</path>
<offsets>
<x-m>18</x-m>
<y-m>-1</y-m>
<z-m>-2.9</z-m>
</offsets>
</model>
</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>/sim/multiplay/generic/float[4]</property>
<interpolation>
<entry><ind>-0.5</ind><dep>-20.0</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>0.5</ind><dep>20.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>/sim/multiplay/generic/float[5]</property>
<interpolation>
<entry><ind>-0.5</ind><dep>-20.0</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>0.5</ind><dep>20.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: 443 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>/sim/multiplay/generic/float[8]</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>