<?xml version="1.0"?>
<!--
Contrail particle system by Lauri Peltonen A.K.A. Zan 
    -->
<PropertyList>

<particlesystem>
	 <!-- <type>trail</type>-->
	 <name>engine contrail</name>
	 <texture>puff.rgb</texture>
	 <emissive>false</emissive>
	 <lighting>true</lighting>
	 
	 <offsets>
		 <x-m>0</x-m>
		 <y-m>0</y-m>
		 <z-m>0</z-m>
		 <pitch-deg>0</pitch-deg>
		 <roll-deg>90</roll-deg>
	 </offsets>

	<condition>
		 <less-than-equals>
			 <property>/environment/temperature-degc</property>
			 <value>-36</value>
		 </less-than-equals>
	</condition>
		 
	 <attach>world</attach>

	 <placer>
		 <type>point</type>
	 </placer>
	 
	 <shooter>
		 <theta-min-deg>-15</theta-min-deg>
		 <theta-max-deg>15</theta-max-deg>
		 <phi-min-deg>-15</phi-min-deg>
		 <phi-max-deg>15</phi-max-deg>
		 <speed>
                	 <property>/sim/model/contrail/spread</property>
			 <spread>5</spread>
		 </speed>
		 <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>5</x-max-deg-sec>
			<y-max-deg-sec>5</y-max-deg-sec>
			<z-max-deg-sec>5</z-max-deg-sec>
		 </rotation-speed>
	 </shooter>
	 
	 <counter>
		 <particles-per-sec>
                         <property>/sim/model/contrail/particles-per-second</property>
			 <spread>15</spread>
		 </particles-per-sec>
	 </counter>
	 
	 <align>billboard</align>
	 
	 <particle>
		 <start>
			 <color>
				 <red>
					 <value>1</value>
				 </red>
				 <green>
					 <value>1</value>
				 </green>
				 <blue>
					 <value>1</value>
				 </blue>
				 <alpha>
					 <property>/sim/model/contrail/density</property>
				 </alpha>
			 </color>
			 <size>
				 <property>/sim/model/contrail/start-size</property>
			 </size>
		 </start>
		 <end>
			 <color>
				 <red>
					 <value>1</value>
				 </red>
				 <green>
					 <value>1</value>
				 </green>
				 <blue>
					 <value>1</value>
				 </blue>
				 <alpha>
					 <value>0</value>
				 </alpha>
			 </color>
			 <size>
                               <property>/sim/model/contrail/maximum-size</property>
			 </size>
		 </end>
		 <life-sec>
			<property>/sim/model/contrail/dissipation-time</property>
<!--			 <value>100.0</value> -->
		 </life-sec>
		 <mass-kg>0.00001</mass-kg>
		 <radius-m>0.03</radius-m>
	 </particle>
	 
	 <program>
		 <fluid>air</fluid>
		 <gravity type="bool">false</gravity>
		 <wind type="bool">true</wind>
	 </program>
	 
</particlesystem>

</PropertyList>


