1
0
Fork 0

Engine's spray improvements

This commit is contained in:
vezza 2020-02-23 23:43:39 +01:00
parent 6cea5847aa
commit ac955dacb3
17 changed files with 345 additions and 540 deletions

View file

@ -13,7 +13,7 @@ Original code author Maggse.
<PropertyList>
<particlesystem>
<!-- <type>trail</type>-->
<name>flare</name>
<name>Moisture</name>
<texture>res/smoke.png</texture>
<emissive>false</emissive>
<lighting>false</lighting>
@ -37,7 +37,7 @@ Original code author Maggse.
<phi-max-deg>0</phi-max-deg>
<speed>
<value>0</value>
<spread>1</spread>
<spread>0</spread>
</speed>
<rotation-speed>
<x-min-deg-sec>15</x-min-deg-sec>

View file

@ -1,157 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<particlesystem>
<name>contrail-eng2</name>
<texture>res/smoke.png</texture>
<offsets>
<x-m>30</x-m>
<y-m>0.00</y-m>
<z-m>2</z-m>
<pitch-deg>90</pitch-deg>
</offsets>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<and>
<greater-than>
<property>engines/engine[1]/n2-actual</property>
<value>50</value>
</greater-than>
<greater-than>
<property>position/altitude-ft</property>
<value>19000</value>
</greater-than>
<less-than>
<property>environment/temperature-degc</property>
<value>-30</value>
</less-than>
<equals>
<property>engines/engine[1]/state</property>
<value>3</value>
</equals>
</and>
</condition>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>-1.5</theta-min-deg>
<theta-max-deg>1.5</theta-max-deg>
<phi-min-deg>-1.5</phi-min-deg>
<phi-max-deg>1.5</phi-max-deg>
<speed-mps>
<value>0</value>
<spread>0</spread>
</speed-mps>
<rotation-speed>
<x-min-deg-sec>0</x-min-deg-sec>
<y-min-deg-sec>0</y-min-deg-sec>
<z-min-deg-sec>0</z-min-deg-sec>
<x-max-deg-sec>0</x-max-deg-sec>
<y-max-deg-sec>0</y-max-deg-sec>
<z-max-deg-sec>0</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>50</value>
<spread>0</spread>
</particles-per-sec>
</counter>
<align>billboard</align>
<particle>
<start>
<color>
<red>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</red>
<green>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</green>
<blue>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</blue>
<alpha>
<value>0.3</value>
</alpha>
</color>
<size>
<value>2</value>
</size>
</start>
<end>
<color>
<red>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</red>
<green>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</green>
<blue>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</blue>
<alpha>
<value>0.00000001</value>
</alpha>
</color>
<size>
<value>6</value>
</size>
</end>
<life-sec>
<value>10</value>
</life-sec>
<mass-kg>0.5</mass-kg>
<radius-m>0.5</radius-m>
</particle>
<program>
<fluid>air</fluid>
<gravity type="bool">true</gravity>
<wind typ="bool">true</wind>
</program>
</particlesystem>
</PropertyList>

View file

@ -13,26 +13,6 @@
</offsets>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<and>
<greater-than>
<property>engines/engine[0]/n2-actual</property>
<value>50</value>
</greater-than>
<greater-than>
<property>position/altitude-ft</property>
<value>19000</value>
</greater-than>
<less-than>
<property>environment/temperature-degc</property>
<value>-30</value>
</less-than>
<equals>
<property>engines/engine[0]/state</property>
<value>3</value>
</equals>
</and>
</condition>
<attach>world</attach>
@ -150,7 +130,7 @@
<program>
<fluid>air</fluid>
<gravity type="bool">true</gravity>
<wind typ="bool">true</wind>
<wind type="bool">true</wind>
</program>
</particlesystem>

View file

@ -1,85 +0,0 @@
<?xml version="1.0"?>
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
<PropertyList>
<particlesystem>
<name>engine-spray-l-reverse</name>
<texture>res/smoke.png</texture>
<emissive>false</emissive>
<lighting>false</lighting>
<attach>local</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>45</theta-min-deg>
<theta-max-deg>80</theta-max-deg>
<phi-min-deg>-5</phi-min-deg>
<phi-max-deg>5</phi-max-deg>
<speed-mps>
<value>engines/engine[0]/thrust_lb</value>
<spread>10</spread>
</speed-mps>
<rotation-speed>
<x-max-deg-sec>15</x-max-deg-sec>
<x-min-deg-sec>-15</x-min-deg-sec>
<y-max-deg-sec>15</y-max-deg-sec>
<y-min-deg-sec>-15</y-min-deg-sec>
<z-max-deg-sec>15</z-max-deg-sec>
<z-min-deg-sec>-15</z-min-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<property>engines/engine[0]/n2-actual</property>
<spread>20</spread>
</particles-per-sec>
</counter>
<align>billboard</align>
<particle>
<start>
<color>
<red><value>0.95</value></red>
<green><value>0.95</value></green>
<blue><value>0.95</value></blue>
<alpha><value>0.05</value></alpha>
</color>
<size>
<value>0.5</value>
</size>
</start>
<end>
<color>
<red><value>1</value></red>
<green><value>1</value></green>
<blue><value>1</value></blue>
<alpha><value>0.02</value></alpha>
</color>
<size>
<value>5</value>
</size>
</end>
<life-sec>
<value>1.5</value>
</life-sec>
<mass-kg>0.025</mass-kg>
<radius-m>0.175</radius-m>
</particle>
<program>
<fluid>air</fluid>
<gravity>true</gravity>
<wind>true</wind>
</program>
</particlesystem>
</PropertyList>

View file

@ -1,93 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<particlesystem>
<name>engine-spray-l</name>
<texture>res/smoke.png</texture>
<emissive>false</emissive>
<lighting>false</lighting>
<attach>world</attach>
<placer>
<type>segments</type>
<vertex>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</vertex>
<vertex>
<x-m>20</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</vertex>
</placer>
<shooter>
<theta-min-deg>15</theta-min-deg>
<theta-max-deg>60</theta-max-deg>
<phi-min-deg>-5</phi-min-deg>
<phi-max-deg>5</phi-max-deg>
<speed-mps>
<value>250</value>
<spread>15</spread>
</speed-mps>
<rotation-speed>
<x-max-deg-sec>15</x-max-deg-sec>
<x-min-deg-sec>-15</x-min-deg-sec>
<y-max-deg-sec>15</y-max-deg-sec>
<y-min-deg-sec>-15</y-min-deg-sec>
<z-max-deg-sec>15</z-max-deg-sec>
<z-min-deg-sec>-15</z-min-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>100</value>
<spread>10</spread>
</particles-per-sec>
</counter>
<align>billboard</align>
<particle>
<start>
<color>
<red><value>0.9</value></red>
<green><value>0.9</value></green>
<blue><value>0.9</value></blue>
<alpha><value>0.04</value></alpha>
</color>
<size>
<value>0.5</value>
</size>
</start>
<end>
<color>
<red><value>1</value></red>
<green><value>1</value></green>
<blue><value>1</value></blue>
<alpha><value>0.02</value></alpha>
</color>
<size>
<value>10</value>
</size>
</end>
<life-sec>
<value>1.5</value>
</life-sec>
<mass-kg>0.025</mass-kg>
<radius-m>0.175</radius-m>
</particle>
<program>
<fluid>air</fluid>
<gravity>true</gravity>
<wind>true</wind>
</program>
</particlesystem>
</PropertyList>

View file

@ -5,7 +5,7 @@
<PropertyList>
<particlesystem>
<name>engine-spray-r-reverse</name>
<name>engine-spray-reverse</name>
<texture>res/smoke.png</texture>
<emissive>false</emissive>
<lighting>false</lighting>
@ -17,13 +17,13 @@
</placer>
<shooter>
<theta-min-deg>45</theta-min-deg>
<theta-max-deg>80</theta-max-deg>
<theta-min-deg>0</theta-min-deg>
<theta-max-deg>360</theta-max-deg>
<phi-min-deg>-5</phi-min-deg>
<phi-max-deg>5</phi-max-deg>
<speed-mps>
<value>engines/engine[0]/thrust_lb</value>
<spread>10</spread>
<value>0</value>
<spread>0</spread>
</speed-mps>
<rotation-speed>
<x-max-deg-sec>15</x-max-deg-sec>
@ -37,8 +37,8 @@
<counter>
<particles-per-sec>
<property>engines/engine[0]/n2-actual</property>
<spread>20</spread>
<property>100</property>
<spread>0</spread>
</particles-per-sec>
</counter>
@ -77,7 +77,7 @@
<program>
<fluid>air</fluid>
<gravity>true</gravity>
<wind>true</wind>
<wind>false</wind>
</program>
</particlesystem>

View file

@ -3,7 +3,7 @@
<PropertyList>
<particlesystem>
<name>engine-spray-r</name>
<name>engine-spray</name>
<texture>res/smoke.png</texture>
<emissive>false</emissive>
<lighting>false</lighting>
@ -76,7 +76,7 @@
</size>
</end>
<life-sec>
<value>1.5</value>
<value>1.0</value>
</life-sec>
<mass-kg>0.025</mass-kg>
<radius-m>0.175</radius-m>

View file

@ -106,7 +106,7 @@
<program>
<fluid>air</fluid>
<gravity>false</gravity>
<gravity>true</gravity>
<wind>true</wind>
</program>

View file

@ -106,7 +106,7 @@
<program>
<fluid>air</fluid>
<gravity>false</gravity>
<gravity>true</gravity>
<wind>true</wind>
</program>

View file

@ -48,8 +48,28 @@
</model>
<model>
<name>Contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail-eng2.xml</path>
<name>Contrail-eng1</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<condition>
<and>
<greater-than>
<property>engines/engine[0]/n2-actual</property>
<value>50</value>
</greater-than>
<greater-than>
<property>position/altitude-ft</property>
<value>19000</value>
</greater-than>
<less-than>
<property>environment/temperature-degc</property>
<value>-30</value>
</less-than>
<equals>
<property>engines/engine[0]/state</property>
<value>3</value>
</equals>
</and>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail" />
@ -64,7 +84,7 @@
<!-- Takeoff/Landing Engine Moisture -->
<model>
<name>Left</name>
<name>Moisture_Left</name>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<condition>
<and>
@ -103,7 +123,7 @@
<!-- Takeoff/Landing Engine spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-left.xml</path>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-l</name>
<condition>
<and>
@ -112,8 +132,8 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
@ -124,28 +144,28 @@
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>60</value>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/thrust_lb</property>
<equals>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</greater-than>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
<x-m>10.875</x-m>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
<z-m>-5</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Reverse spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-left-reverse.xml</path>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-l-reverse</name>
<condition>
<and>
@ -154,21 +174,21 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<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</property>
<property>engines/engine[0]/n1-actual</property>
<value>60</value>
</greater-than>
<less-than>
<property>engines/engine[0]/thrust_lb</property>
<value>0</value>
</less-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.5</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->

View file

@ -48,8 +48,28 @@
</model>
<model>
<name>Contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail-eng2.xml</path>
<name>Contrail-eng2</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<condition>
<and>
<greater-than>
<property>engines/engine[1]/n2-actual</property>
<value>50</value>
</greater-than>
<greater-than>
<property>position/altitude-ft</property>
<value>19000</value>
</greater-than>
<less-than>
<property>environment/temperature-degc</property>
<value>-30</value>
</less-than>
<equals>
<property>engines/engine[1]/state</property>
<value>3</value>
</equals>
</and>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail" />
@ -65,7 +85,7 @@
<!-- Takeoff/Landing Engine Moisture -->
<model>
<name>Right</name>
<name>Moisture_Right</name>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<condition>
<and>
@ -104,8 +124,8 @@
<!-- Takeoff/Landing Engine spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-left.xml</path>
<name>engine-spray-l</name>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-r</name>
<condition>
<and>
<greater-than>
@ -113,8 +133,8 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
@ -125,29 +145,29 @@
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>60</value>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/thrust_lb</property>
<equals>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</greater-than>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
<x-m>10.875</x-m>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
<z-m>-5</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Reverse spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-left-reverse.xml</path>
<name>engine-spray-l-reverse</name>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-r-reverse</name>
<condition>
<and>
<greater-than>
@ -155,21 +175,21 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<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</property>
<property>engines/engine[1]/n1-actual</property>
<value>60</value>
</greater-than>
<less-than>
<property>engines/engine[0]/thrust_lb</property>
<value>0</value>
</less-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.5</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->

View file

@ -35,8 +35,28 @@
</model>
<model>
<name>Contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail-eng1.xml</path>
<name>Contrail-eng1</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<condition>
<and>
<greater-than>
<property>engines/engine[0]/n2-actual</property>
<value>50</value>
</greater-than>
<greater-than>
<property>position/altitude-ft</property>
<value>19000</value>
</greater-than>
<less-than>
<property>environment/temperature-degc</property>
<value>-30</value>
</less-than>
<equals>
<property>engines/engine[0]/state</property>
<value>3</value>
</equals>
</and>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail" />
@ -51,7 +71,7 @@
<!-- Takeoff/Landing Engine Moisture -->
<model>
<name>Left</name>
<name>Moisture_Left</name>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<condition>
<and>
@ -73,7 +93,7 @@
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>60</value>
<value>65</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
@ -90,7 +110,7 @@
<!-- Takeoff/Landing Engine spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-left.xml</path>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-l</name>
<condition>
<and>
@ -99,8 +119,8 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
@ -111,28 +131,28 @@
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>60</value>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/thrust_lb</property>
<equals>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</greater-than>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
<x-m>10.875</x-m>
<x-m>5.137</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
<z-m>-5</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Reverse spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-left-reverse.xml</path>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-l-reverse</name>
<condition>
<and>
@ -141,21 +161,21 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<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</property>
<value>60</value>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<less-than>
<property>engines/engine[0]/thrust_lb</property>
<value>0</value>
</less-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.5</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->

View file

@ -35,8 +35,28 @@
</model>
<model>
<name>Contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail-eng2.xml</path>
<name>Contrail-eng2</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<condition>
<and>
<greater-than>
<property>engines/engine[1]/n2-actual</property>
<value>50</value>
</greater-than>
<greater-than>
<property>position/altitude-ft</property>
<value>19000</value>
</greater-than>
<less-than>
<property>environment/temperature-degc</property>
<value>-30</value>
</less-than>
<equals>
<property>engines/engine[1]/state</property>
<value>3</value>
</equals>
</and>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail" />
@ -51,7 +71,7 @@
<!-- Takeoff/Landing Engine Moisture -->
<model>
<name>Left</name>
<name>Moisture_Right</name>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<condition>
<and>
@ -73,7 +93,7 @@
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1</property>
<value>60</value>
<value>65</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
@ -90,8 +110,8 @@
<!-- Takeoff/Landing Engine spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-left.xml</path>
<name>engine-spray-l</name>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-r</name>
<condition>
<and>
<greater-than>
@ -99,8 +119,8 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
@ -111,29 +131,29 @@
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>60</value>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/thrust_lb</property>
<equals>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</greater-than>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
<x-m>10.875</x-m>
<x-m>5.137</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
<z-m>-5</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Reverse spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-left-reverse.xml</path>
<name>engine-spray-l-reverse</name>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-r-reverse</name>
<condition>
<and>
<greater-than>
@ -141,21 +161,21 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<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</property>
<property>engines/engine[1]/n1-actual</property>
<value>60</value>
</greater-than>
<less-than>
<property>engines/engine[0]/thrust_lb</property>
<value>0</value>
</less-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.5</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->

View file

@ -37,8 +37,28 @@
</model>
<model>
<name>Contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail-eng1.xml</path>
<name>Contrail-eng1</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<condition>
<and>
<greater-than>
<property>engines/engine[0]/n2-actual</property>
<value>50</value>
</greater-than>
<greater-than>
<property>position/altitude-ft</property>
<value>19000</value>
</greater-than>
<less-than>
<property>environment/temperature-degc</property>
<value>-30</value>
</less-than>
<equals>
<property>engines/engine[0]/state</property>
<value>3</value>
</equals>
</and>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail" />
@ -75,7 +95,7 @@
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>60</value>
<value>65</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
@ -92,7 +112,7 @@
<!-- Takeoff/Landing Engine spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-left.xml</path>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-l</name>
<condition>
<and>
@ -101,8 +121,8 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
@ -113,28 +133,28 @@
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>60</value>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/thrust_lb</property>
<equals>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</greater-than>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
<x-m>10.875</x-m>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
<z-m>-5</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Reverse spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-left-reverse.xml</path>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-l-reverse</name>
<condition>
<and>
@ -143,21 +163,21 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<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</property>
<property>engines/engine[0]/n1-actual</property>
<value>60</value>
</greater-than>
<less-than>
<property>engines/engine[0]/thrust_lb</property>
<value>0</value>
</less-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.5</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->

View file

@ -37,8 +37,28 @@
</model>
<model>
<name>Contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail-eng2.xml</path>
<name>Contrail-eng2</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<condition>
<and>
<greater-than>
<property>engines/engine[1]/n2-actual</property>
<value>50</value>
</greater-than>
<greater-than>
<property>position/altitude-ft</property>
<value>19000</value>
</greater-than>
<less-than>
<property>environment/temperature-degc</property>
<value>-30</value>
</less-than>
<equals>
<property>engines/engine[1]/state</property>
<value>3</value>
</equals>
</and>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail" />
@ -92,7 +112,7 @@
<!-- Takeoff/Landing Engine spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-right.xml</path>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-r</name>
<condition>
<and>
@ -101,8 +121,8 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
@ -113,28 +133,28 @@
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1</property>
<value>60</value>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[1]/thrust_lb</property>
<equals>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</greater-than>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
<x-m>10.875</x-m>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
<z-m>-5</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Reverse spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-right-reverse.xml</path>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-r-reverse</name>
<condition>
<and>
@ -143,21 +163,21 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<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</property>
<property>engines/engine[1]/n1-actual</property>
<value>60</value>
</greater-than>
<less-than>
<property>engines/engine[1]/thrust_lb</property>
<value>0</value>
</less-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.5</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->

View file

@ -34,8 +34,28 @@
</model>
<model>
<name>Contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail-eng1.xml</path>
<name>Contrail-eng1</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<condition>
<and>
<greater-than>
<property>engines/engine[0]/n2-actual</property>
<value>50</value>
</greater-than>
<greater-than>
<property>position/altitude-ft</property>
<value>19000</value>
</greater-than>
<less-than>
<property>environment/temperature-degc</property>
<value>-30</value>
</less-than>
<equals>
<property>engines/engine[0]/state</property>
<value>3</value>
</equals>
</and>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail" />
@ -89,7 +109,7 @@
<!-- Takeoff/Landing Engine spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-left.xml</path>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-l</name>
<condition>
<and>
@ -98,8 +118,8 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
@ -110,28 +130,28 @@
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<value>60</value>
<property>engines/engine[0]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/thrust_lb</property>
<equals>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</greater-than>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
<x-m>10.875</x-m>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
<z-m>-5</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Reverse spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-left-reverse.xml</path>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-l-reverse</name>
<condition>
<and>
@ -148,13 +168,13 @@
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1</property>
<property>engines/engine[0]/n1-actual</property>
<value>60</value>
</greater-than>
<less-than>
<property>engines/engine[0]/thrust_lb</property>
<value>0</value>
</less-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.5</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->

View file

@ -34,8 +34,28 @@
</model>
<model>
<name>Contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail-eng2.xml</path>
<name>Contrail-eng2</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<condition>
<and>
<greater-than>
<property>engines/engine[1]/n2-actual</property>
<value>50</value>
</greater-than>
<greater-than>
<property>position/altitude-ft</property>
<value>19000</value>
</greater-than>
<less-than>
<property>environment/temperature-degc</property>
<value>-30</value>
</less-than>
<equals>
<property>engines/engine[1]/state</property>
<value>3</value>
</equals>
</and>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail" />
@ -89,7 +109,7 @@
<!-- Takeoff/Landing Engine spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-right.xml</path>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-r</name>
<condition>
<and>
@ -98,8 +118,8 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
@ -110,28 +130,28 @@
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1</property>
<value>60</value>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[1]/thrust_lb</property>
<equals>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</greater-than>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
<x-m>10.875</x-m>
<x-m>4.875</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
<z-m>-5</z-m>
</offsets>
</model>
<!-- Takeoff/Landing Engine Reverse spray -->
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-right-reverse.xml</path>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-r-reverse</name>
<condition>
<and>
@ -140,21 +160,21 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<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</property>
<property>engines/engine[1]/n1-actual</property>
<value>60</value>
</greater-than>
<less-than>
<property>engines/engine[1]/thrust_lb</property>
<value>0</value>
</less-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.5</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->