<?xml version="1.0" encoding="ISO-8859-1"?>

<PropertyList>
	
	<params>
		<flow_rate>fdm/jsbsim/systems/water-ballast/wing-outflow-rate-pps[0]</flow_rate>
	</params>
	
	<particlesystem>
		<name>water_ballast</name>
		<type>normal</type>
		
		<texture>smoke.png</texture>
		
		<emissive>false</emissive>
		<lighting>false</lighting>
		
		<condition>
			<greater-than>
				<property alias="/params/flow_rate"/>
				<value>0</value>
			</greater-than>
		</condition>
		
		<attach>world</attach>
		<align>billboard</align>
		
		<placer>
			
			<type>point</type>
			
		</placer>
		
		<shooter>
			<theta-min-deg> 175 </theta-min-deg>
			<theta-max-deg> 185 </theta-max-deg>
			<phi-min-deg>  -4 </phi-min-deg>
			<phi-max-deg>   4 </phi-max-deg>
			<speed-mps>
				<value>  1 </value>
				<spread> 0.5 </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>
				<property alias="/params/flow_rate"/>
				<factor>  700 </factor>
				<spread> 5 </spread>
			</particles-per-sec>
		</counter>
		
		<particle>
			<start>
				<color>
					<red>
						<property>rendering/scene/diffuse/red</property>
					</red>
					<green>
						<property>rendering/scene/diffuse/red</property>
					</green>
					<blue>
						<property>rendering/scene/diffuse/red</property>
					</blue>
					<alpha>
						<value>0.10</value>
					</alpha>
				</color>
				<size>
					<value> 0.1 </value>
				</size>
			</start>
			
			<end>
				<color>
					<red>
						<property>rendering/scene/diffuse/red</property>
					</red>
					<green>
						<property>rendering/scene/diffuse/red</property>
					</green>
					<blue>
						<property>rendering/scene/diffuse/red</property>
					</blue>
					<alpha>
						<value>0.0</value>
					</alpha>
				</color>
				<size>
					<value>  2 </value>
					<spread> 0.75 </spread>
				</size>
			</end>
			
			<life-sec>
				<value> 7 </value>
				<spread> 2 </spread>
			</life-sec>
			
			<mass-kg>   5.00 </mass-kg>
			<radius-m>  0.01 </radius-m>
		</particle>
		
		<program>
			<fluid>   water </fluid>
			<gravity>  true </gravity>
			<wind>     true </wind>
		</program>
		
	</particlesystem>
	
</PropertyList>

