<?xml version="1.0" encoding="UTF-8" ?>

<PropertyList>

    <particlesystem>
        <name>engine-spray</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>0</theta-min-deg>
            <theta-max-deg>0</theta-max-deg>
            <phi-min-deg>0</phi-min-deg>
            <phi-max-deg>0</phi-max-deg>
            <speed-mps>
                <value>250</value>
                <spread>15</spread>
            </speed-mps>
            <rotation-speed>
                <x-max-deg-sec>180</x-max-deg-sec>
                <x-min-deg-sec>-180</x-min-deg-sec>
                <y-max-deg-sec>180</y-max-deg-sec>
                <y-min-deg-sec>-180</y-min-deg-sec>
                <z-max-deg-sec>180</z-max-deg-sec>
                <z-min-deg-sec>-180</z-min-deg-sec>
            </rotation-speed>
        </shooter>

        <counter>
        	<particles-per-sec>
				<expression>
					<product>
						<property>environment/surface/wetness</property>
						<value>100</value>
					</product>
				</expression>
				<spread>10</spread>
        	</particles-per-sec>
        </counter>

        <align>billboard</align>

        <particle>
            <start>
                <color>
						<red>
							<expression>
								<product>
									<value>0.01</value>
									<property>environment/relative-humidity</property>
								</product>
							</expression>
						</red>
						<green>
							<expression>
								<product>
									<value>0.01</value>
									<property>environment/relative-humidity</property>
								</product>
							</expression>
						</green>
						<blue>
							<expression>
								<product>
									<value>0.01</value>
									<property>environment/relative-humidity</property>
								</product>
							</expression>
						</blue>
						<alpha>
							<expression>
								<product>
									<property>environment/surface/wetness</property>
									<value>0.05</value>
								</product>
							</expression>
						</alpha>
	             </color>
	             <size>
	                 <value>5</value>
	             </size>
	         </start>
	         <end>
	             <color>
						<red>
							<expression>
								<product>
									<value>0.01</value>
									<property>environment/relative-humidity</property>
								</product>
							</expression>
						</red>
						<green>
							<expression>
								<product>
									<value>0.01</value>
									<property>environment/relative-humidity</property>
								</product>
							</expression>
						</green>
						<blue>
							<expression>
								<product>
									<value>0.01</value>
									<property>environment/relative-humidity</property>
								</product>
							</expression>
						</blue>
						<alpha>
							<expression>
								<product>
									<property>environment/surface/wetness</property>
									<value>0.02</value>
								</product>
							</expression>
						</alpha>
	             </color>
	             <size>
	                 <value>10</value>
	             </size>
	         </end>
            <life-sec>
                <value>1.0</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>