<?xml version="1.0"?>



<PropertyList>

	<name>GBU-12</name>
	<path>GBU-12.ac</path>

	<animation>
		<type>select</type>
		<object-name>GBU-12</object-name>
		<object-name>wing1</object-name>
		<object-name>wing2</object-name>
  		<object-name>wing3</object-name>
  		<object-name>wing4</object-name>
		<condition>
			<property>payload/armament/gbu-12/flags/msl-id-600</property>
		</condition>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>wing1</object-name>
		<property>payload/armament/gbu-12/flags/deploy-id-600</property>
	  <factor>-90.0</factor>
	  <axis>
	   <x1-m>0.963062</x1-m>
	   <y1-m>0.168768</y1-m>
	   <z1-m>0.17489</z1-m>
	   <x2-m>0.963062</x2-m>
	   <y2-m>0.174882</y2-m>
	   <z2-m>0.168772</z2-m>
	  </axis>
	 </animation>

	 <animation>
		<type>rotate</type>
		<object-name>wing2</object-name>
		<property>payload/armament/gbu-12/flags/deploy-id-600</property>
	  <factor>-90.0</factor>
	  <axis>
	   <x1-m>0.963062</x1-m>
	   <y1-m>-0.17489</y1-m>
	   <z1-m>0.168768</z1-m>
	   <x2-m>0.963062</x2-m>
	   <y2-m>-0.168772</y2-m>
	   <z2-m>0.174882</z2-m>
	  </axis>
	 </animation>

	 <animation>
		<type>rotate</type>
		<object-name>wing3</object-name>
		<property>payload/armament/gbu-12/flags/deploy-id-600</property>
	  <factor>-90.0</factor>
	  <axis>
	   <x1-m>0.963062</x1-m>
	   <y1-m>-0.168768</y1-m>
	   <z1-m>-0.17489</z1-m>
	   <x2-m>0.963062</x2-m>
	   <y2-m>-0.174882</y2-m>
	   <z2-m>-0.168772</z2-m>
	  </axis>
	 </animation>

	 <animation>
		<type>rotate</type>
		<object-name>wing4</object-name>
		<property>payload/armament/gbu-12/flags/deploy-id-600</property>
	  <factor>90.0</factor>
	  <axis>
	   <x1-m>0.963062</x1-m>
	   <y1-m>0.168772</y1-m>
	   <z1-m>-0.174882</z1-m>
	   <x2-m>0.963062</x2-m>
	   <y2-m>0.17489</y2-m>
	   <z2-m>-0.168768</z2-m>
	  </axis>
	 </animation>


	 <particlesystem>
		   <name>explosion</name>
		   <texture>../smoke.png</texture>

		   <emissive type="bool">true</emissive>
		   <lighting type="bool">false</lighting>

		   <condition>
		         <property>payload/armament/gbu-12/flags/explode-id-600</property>
		   </condition>

		   <attach>world</attach>

		   <placer>
		     <type>point</type> 
		   </placer>

		   <shooter>
		     <theta-min-deg>-180</theta-min-deg>
		     <theta-max-deg>180</theta-max-deg>
		     <phi-min-deg>-180</phi-min-deg>
		     <phi-max-deg>180</phi-max-deg>
		     <speed-mps>
		       <value>500</value>
		       <spread>80</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>30</value>
		       <spread>10</spread>
		     </particles-per-sec>
		   </counter>
		      
		   <align>billboard</align>

		   <particle>
		     <start>
		       <color>
		         <red><value>   1.0 </value></red>
		         <green><value> 1.0 </value></green>
		         <blue><value>  0.4 </value></blue>
		         <alpha><value> 1 </value></alpha>
		       </color>
		       <size>
		         <value>4</value>
		       </size>
		     </start>

		     <end>
		       <color>
		         <red><value>   0.8 </value></red>
		         <green><value> 0.5 </value></green>
		         <blue><value>  0.2 </value></blue>
		         <alpha><value> 0.1 </value></alpha>
		       </color>
		       <size>
		         <value>200</value>
		       </size>
		     </end>

		     <life-sec>
		       <value>0.5</value>
		     </life-sec>
		        
		     <mass-kg>  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>

		<particlesystem>
		   <name>explosion-smoke</name>
		   <texture>../smoke.png</texture>

		   <emissive type="bool">false</emissive>
		   <lighting type="bool">false</lighting>

		   <condition>
		         <property>payload/armament/gbu-12/flags/explode-smoke-id-600</property>
		   </condition>

		   <attach>world</attach>

		   <placer>
		     <type>point</type> 
		   </placer>

		   <shooter>
		     <theta-min-deg>-180</theta-min-deg>
		     <theta-max-deg>180</theta-max-deg>
		     <phi-min-deg>-180</phi-min-deg>
		     <phi-max-deg>180</phi-max-deg>
		     <speed-mps>
		       <value>500</value>
		       <spread>60</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>10</spread>
		     </particles-per-sec>
		   </counter>
		      
		   <align>billboard</align>

		   <particle>
		     <start>
		       <color>
		         <red><value>   0.3 </value></red>
		         <green><value> 0.3 </value></green>
		         <blue><value>  0.25 </value></blue>
		         <alpha><value> 0.5 </value></alpha>
		       </color>
		       <size>
		         <value>20</value>
		       </size>
		     </start>

		     <end>
		       <color>
		         <red><value>   0.4 </value></red>
		         <green><value> 0.4 </value></green>
		         <blue><value>  0.4 </value></blue>
		         <alpha><value> 0.04 </value></alpha>
		       </color>
		       <size>
		         <value>240</value>
		       </size>
		     </end>

		     <life-sec>
		       <value>40</value>
		     </life-sec>
		        
		     <mass-kg>  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>

	<animation>
  		<object-name>GBU-12</object-name>
  		<object-name>wing1</object-name>
  		<object-name>wing2</object-name>
  		<object-name>wing3</object-name>
  		<object-name>wing4</object-name>
  		<enable-hot type="bool">false</enable-hot>
 	</animation>

</PropertyList>
