1
0
Fork 0

Apply effects to engines; prepare .xmls for animations, clean out legacy engine files

This commit is contained in:
legoboyvdlp R 2020-06-02 13:39:03 +01:00
parent ecec6bcada
commit e27bc54775
14 changed files with 656 additions and 968 deletions

View file

@ -69,7 +69,7 @@
</icing>
<reflection>
<ambient-correction type="double">0.5</ambient-correction>
<reflection-correction type="double">-0.05</reflection-correction>
<reflection-correction type="double">0.333</reflection-correction>
<reflection-fresnel type="double">0.0</reflection-fresnel>
<reflection-fresnel-factor type="double">0.5</reflection-fresnel-factor>
<reflection-rainbow type="double">0.0</reflection-rainbow>

View file

@ -3,5 +3,333 @@
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<path>../Models/cfm56.ac</path>
<path>Aircraft/A320-family/Models/Engines/Models/cfm56.ac</path>
<params>
<contrail1>engines/engine[0]/contrail</contrail1>
<contrail2>engines/engine[1]/contrail</contrail2>
</params>
<!-- Particle Effects -->
<!--<model>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrailLeft</name>
<condition>
<property>environment/contrail</property>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail1" />
</params>
</overlay>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrailRight</name>
<condition>
<property>environment/contrail</property>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail2" />
</params>
</overlay>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moistureLeft</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>45</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>75</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>65</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.3</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moistureRight</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>45</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>75</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1</property>
<value>65</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.3</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-left</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>15</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<equals>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</equals>
</and>
</condition>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-5</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-right</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>15</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<equals>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</equals>
</and>
</condition>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-5</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-reverse</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.75</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-reverse</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.75</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<model>
<name>Engine fire left</name>
<path>Aircraft/A320-family/Models/Effects/enginefire.xml</path>
<offsets>
<x-m>2.774</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
<condition>
<property>systems/failures/engine-left-fire</property>
</condition>
</model>
<model>
<name>Engine fire right</name>
<path>Aircraft/A320-family/Models/Effects/enginefire.xml</path>
<offsets>
<x-m>2.774</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
<condition>
<property>systems/failures/engine-right-fire</property>
</condition>
</model>-->
<!-- Animations -->
<!--<animation>
<name>Fan spinning animation (slow)</name>
<type>spin</type>
<object-name>FanLCFM56</object-name>
<factor>-67</factor>
<property>engines/engine[0]/n1</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>-->
<animation>
<type>select</type>
<object-name>FanSpinningCFM56</object-name>
<condition>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>40.0</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>FanLCFM56</object-name>
<condition>
<less-than-equals>
<property>engines/engine[0]/n1</property>
<value>40.0</value>
</less-than-equals>
</condition>
</animation>
<!-- Effect -->
<effect>
<inherits-from>Aircraft/A320-family/Models/Effects/reflection</inherits-from>
<object-name>EngineCFM56</object-name>
<object-name>ReverserLDoor1</object-name>
<object-name>ReverserLDoor2</object-name>
<object-name>ReverserRDoor1</object-name>
<object-name>ReverserRDoor2</object-name>
</effect>
</PropertyList>

View file

@ -1,194 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<offsets>
<pitch-deg>2.2</pitch-deg>
</offsets>
<params>
<n1>engines/engine[3]/n1</n1>
<on-fire>systems/failures/engine-left-fire</on-fire>
<contrail>engines/engine[0]/contrail</contrail>
<reverser-pos-norm>sim/multiplay/generic/float[2]</reverser-pos-norm>
<pylon-model-path>Aircraft/A320-family/Models/Engines/XMLs/a320.pylon.cfm.left.xml</pylon-model-path>
</params>
<model>
<path alias="../../params/pylon-model-path" />
</model>
<model>
<path>Aircraft/A320-family/Models/Engines/XMLs/a320.cfm.xml</path>
<offsets>
<x-m>0.941</x-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Engines/XMLs/a320.nacelle.cfm.xml</path>
<overlay>
<params>
<reverser-pos-norm alias="../../../../params/reverser-pos-norm" />
</params>
</overlay>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrail</name>
<condition>
<property>environment/contrail</property>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail" />
</params>
</overlay>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Moisture -->
<model>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moisture</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>45</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>75</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>65</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.3</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<!-- Takeoff/Landing Engine spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>15</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<equals>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</equals>
</and>
</condition>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-5</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Reverse spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-reverse</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.75</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<model>
<name>Engine fire</name>
<path>Aircraft/A320-family/Models/Effects/enginefire.xml</path>
<offsets>
<x-m>2.774</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
<condition>
<property alias="../../../params/on-fire" />
</condition>
</model>
<animation>
<name>Fan</name>
<type>spin</type>
<object-name>blades</object-name>
<object-name>cone</object-name>
<factor>-67</factor>
<property alias="../../params/n1" />
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -1,194 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<offsets>
<pitch-deg>2.2</pitch-deg>
</offsets>
<params>
<n1>engines/engine[4]/n1</n1>
<on-fire>systems/failures/engine-right-fire</on-fire>
<contrail>engines/engine[1]/contrail</contrail>
<reverser-pos-norm>sim/multiplay/generic/float[3]</reverser-pos-norm>
<pylon-model-path>Aircraft/A320-family/Models/Engines/XMLs/a320.pylon.cfm.right.xml</pylon-model-path>
</params>
<model>
<path alias="../../params/pylon-model-path" />
</model>
<model>
<path>Aircraft/A320-family/Models/Engines/XMLs/a320.cfm.xml</path>
<offsets>
<x-m>0.941</x-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Engines/XMLs/a320.nacelle.cfm.xml</path>
<overlay>
<params>
<reverser-pos-norm alias="../../../../params/reverser-pos-norm" />
</params>
</overlay>
</model>
<model>
<name>contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<condition>
<property>environment/contrail</property>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail" />
</params>
</overlay>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Moisture -->
<model>
<name>moisture</name>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>45</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>75</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1</property>
<value>60</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.3</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<!-- Takeoff/Landing Engine spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>15</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<equals>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</equals>
</and>
</condition>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-5</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Reverse spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-reverse</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.75</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<model>
<name>Engine fire</name>
<path>Aircraft/A320-family/Models/Effects/enginefire.xml</path>
<offsets>
<x-m>2.774</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
<condition>
<property alias="../../../params/on-fire" />
</condition>
</model>
<animation>
<name>Fan</name>
<type>spin</type>
<object-name>blades</object-name>
<object-name>cone</object-name>
<factor>-67</factor>
<property alias="../../params/n1" />
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -1,191 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<offsets>
<pitch-deg>2.2</pitch-deg>
</offsets>
<params>
<n1>engines/engine[3]/n1</n1>
<on-fire>systems/failures/engine-left-fire</on-fire>
<contrail>engines/engine[0]/contrail</contrail>
<reverser-pos-norm>sim/multiplay/generic/float[2]</reverser-pos-norm>
<pylon-model-path>Aircraft/A320-family/Models/Engines/XMLs/a320.pylon.iae.left.xml</pylon-model-path>
</params>
<model>
<path alias="../../params/pylon-model-path" />
</model>
<model>
<path>Aircraft/A320-family/Models/Engines/XMLs/a320.v2500.xml</path>
</model>
<model>
<path>Aircraft/A320-family/Models/Engines/XMLs/a320.nacelle.iae.left.xml</path>
<overlay>
<params>
<reverser-pos-norm alias="../../../../params/reverser-pos-norm" />
</params>
</overlay>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrail</name>
<condition>
<property>environment/contrail</property>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail" />
</params>
</overlay>
<offsets>
<x-m>5.137</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Moisture -->
<model>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moisture</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>45</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>75</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>65</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.5</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<!-- Takeoff/Landing Engine spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>15</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<equals>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</equals>
</and>
</condition>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-5</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Reverse spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-reverse</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.75</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<model>
<name>Engine fire</name>
<path>Aircraft/A320-family/Models/Effects/enginefire.xml</path>
<offsets>
<x-m>3.316</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
<condition>
<property alias="../../../params/on-fire" />
</condition>
</model>
<animation>
<name>Fan</name>
<type>spin</type>
<object-name>cone</object-name>
<object-name>fan</object-name>
<factor>67</factor>
<property alias="../../params/n1" />
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -1,191 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<offsets>
<pitch-deg>2.2</pitch-deg>
</offsets>
<params>
<n1>engines/engine[4]/n1</n1>
<on-fire>systems/failures/engine-right-fire</on-fire>
<contrail>engines/engine[1]/contrail</contrail>
<reverser-pos-norm>sim/multiplay/generic/float[3]</reverser-pos-norm>
<pylon-model-path>Aircraft/A320-family/Models/Engines/XMLs/a320.pylon.iae.right.xml</pylon-model-path>
</params>
<model>
<path alias="../../params/pylon-model-path" />
</model>
<model>
<path>Aircraft/A320-family/Models/Engines/XMLs/a320.v2500.xml</path>
</model>
<model>
<path>Aircraft/A320-family/Models/Engines/XMLs/a320.nacelle.iae.right.xml</path>
<overlay>
<params>
<reverser-pos-norm alias="../../../../params/reverser-pos-norm" />
</params>
</overlay>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrail</name>
<condition>
<property>environment/contrail</property>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail" />
</params>
</overlay>
<offsets>
<x-m>5.137</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Moisture -->
<model>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moisture</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>45</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>75</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1</property>
<value>60</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.5</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<!-- Takeoff/Landing Engine spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>15</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<equals>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</equals>
</and>
</condition>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-5</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Reverse spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-reverse</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.75</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<model>
<name>Engine fire</name>
<path>Aircraft/A320-family/Models/Effects/enginefire.xml</path>
<offsets>
<x-m>3.316</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
<condition>
<property alias="../../../params/on-fire" />
</condition>
</model>
<animation>
<name>Fan</name>
<type>spin</type>
<object-name>cone</object-name>
<object-name>fan</object-name>
<factor>67</factor>
<property alias="../../params/n1" />
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -1,53 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<path>../Models/a320.nacelle.cfm.ac</path>
<!-- Reverse thrust animation -->
<animation>
<type>translate</type>
<object-name>Reverser</object-name>
<property alias="../../params/reverser-pos-norm" />
<factor>0.50</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Chrome shader -->
<animation>
<name>Chrome shader</name>
<type>shader</type>
<shader>chrome</shader>
<texture>../Models/chrome.png</texture>
<object-name>Nozzle</object-name>
</animation>
<!-- LIVERY SELECT -->
<!-- Animation -->
<animation>
<type>material</type>
<object-name>Intake</object-name>
<object-name>Nacelle</object-name>
<object-name>Reverser</object-name>
<property-base>sim/model/livery</property-base>
<texture-prop>texture</texture-prop>
<texture>Liveries/A320/USAirways.png</texture>
</animation>
<!-- Nasal code -->
<nasal>
<load>
var livery_update = aircraft.livery_update.new("Aircraft/A320-family/Models/Liveries/A320");
</load>
<unload>
livery_update.stop();
</unload>
</nasal>
</PropertyList>

View file

@ -1,53 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<path>../Models/a320.nacelle.iae.left.ac</path>
<!-- Reverse thrust animation -->
<animation>
<type>translate</type>
<object-name>Reverser</object-name>
<property alias="../../params/reverser-pos-norm" />
<factor>0.50</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Chrome shader -->
<animation>
<name>Chrome shader</name>
<type>shader</type>
<shader>chrome</shader>
<texture>../Models/chrome.png</texture>
<object-name>Nozzle</object-name>
</animation>
<!-- LIVERY SELECT -->
<!-- Animation -->
<animation>
<type>material</type>
<object-name>Intake</object-name>
<object-name>Nacelle</object-name>
<object-name>Reverser</object-name>
<property-base>sim/model/livery</property-base>
<texture-prop>texture</texture-prop>
<texture>Liveries/A320/USAirways.png</texture>
</animation>
<!-- Nasal code -->
<nasal>
<load>
var livery_update = aircraft.livery_update.new("Aircraft/A320-family/Models/Liveries/A320");
</load>
<unload>
livery_update.stop();
</unload>
</nasal>
</PropertyList>

View file

@ -1,53 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<path>../Models/a320.nacelle.iae.right.ac</path>
<!-- Reverse thrust animation -->
<animation>
<type>translate</type>
<object-name>Reverser</object-name>
<property alias="../../params/reverser-pos-norm" />
<factor>0.50</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Chrome shader -->
<animation>
<name>Chrome shader</name>
<type>shader</type>
<shader>chrome</shader>
<texture>../Models/chrome.png</texture>
<object-name>Nozzle</object-name>
</animation>
<!-- LIVERY SELECT -->
<!-- Animation -->
<animation>
<type>material</type>
<object-name>Intake</object-name>
<object-name>Nacelle</object-name>
<object-name>Reverser</object-name>
<property-base>sim/model/livery</property-base>
<texture-prop>texture</texture-prop>
<texture>Liveries/A320/USAirways.png</texture>
</animation>
<!-- Nasal code -->
<nasal>
<load>
var livery_update = aircraft.livery_update.new("Aircraft/A320-family/Models/Liveries/A320");
</load>
<unload>
livery_update.stop();
</unload>
</nasal>
</PropertyList>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<path>Aircraft/A320-family/Models/Engines/Models/a320.pylon.cfm.left.ac</path>
</PropertyList>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<path>Aircraft/A320-family/Models/Engines/Models/a320.pylon.cfm.right.ac</path>
</PropertyList>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<path>Aircraft/A320-family/Models/Engines/Models/a320.pylon.iae.left.ac</path>
</PropertyList>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<path>Aircraft/A320-family/Models/Engines/Models/a320.pylon.iae.right.ac</path>
</PropertyList>

View file

@ -3,5 +3,330 @@
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<path>../Models/IAEV2500.ac</path>
<path>Aircraft/A320-family/Models/Engines/Models/IAEV2500.ac</path>
<params>
<contrail1>engines/engine[0]/contrail</contrail1>
<contrail2>engines/engine[1]/contrail</contrail2>
</params>
<!-- Particle Effects -->
<!--<model>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrailLeft</name>
<condition>
<property>environment/contrail</property>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail1" />
</params>
</overlay>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrailRight</name>
<condition>
<property>environment/contrail</property>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail2" />
</params>
</overlay>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moistureLeft</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>45</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>75</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>65</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.3</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moistureRight</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>45</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>75</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1</property>
<value>65</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.3</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-left</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>15</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<equals>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</equals>
</and>
</condition>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-5</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-right</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>15</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<equals>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</equals>
</and>
</condition>
<offsets>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-5</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-reverse</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.75</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-reverse</name>
<condition>
<and>
<greater-than>
<property>position/altitude-agl-ft</property>
<value>1</value>
</greater-than>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.75</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
</model>
<model>
<name>Engine fire left</name>
<path>Aircraft/A320-family/Models/Effects/enginefire.xml</path>
<offsets>
<x-m>2.774</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
<condition>
<property>systems/failures/engine-left-fire</property>
</condition>
</model>
<model>
<name>Engine fire right</name>
<path>Aircraft/A320-family/Models/Effects/enginefire.xml</path>
<offsets>
<x-m>2.774</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
<condition>
<property>systems/failures/engine-right-fire</property>
</condition>
</model>-->
<!-- Animations -->
<!--<animation>
<name>Fan spinning animation (slow)</name>
<type>spin</type>
<object-name>FanLIAE</object-name>
<factor>-67</factor>
<property>engines/engine[0]/n1</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>-->
<animation>
<type>select</type>
<object-name>FanSpinningIAE</object-name>
<condition>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>40.0</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>FanLIAE</object-name>
<condition>
<less-than-equals>
<property>engines/engine[0]/n1</property>
<value>40.0</value>
</less-than-equals>
</condition>
</animation>
<!-- Effect -->
<effect>
<inherits-from>Aircraft/A320-family/Models/Effects/reflection</inherits-from>
<object-name>EngineIAEV2500</object-name>
<object-name>ReverserLDoor</object-name>
</effect>
</PropertyList>