oprf_assets/missile-frigate/Models/Armament/Weapons/RB-71/explosion-1.xml
2016-12-22 00:31:49 -08:00

196 lines
4.7 KiB
XML

<PropertyList>
<particlesystem>
<name>explosion</name>
<texture>smoke.png</texture>
<emissive type="bool">true</emissive>
<lighting type="bool">false</lighting>
<condition>
<property>payload/armament/rb-71/flags/explode-id-1</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>2</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>65</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>
<submodel>
<name>RB-24J missile 1 explosion</name>
<model>explosion-bounds.xml</model>
<trigger>payload/armament/rb-71/flags/explode-id-1</trigger>
<speed>0.0</speed>
<repeat>false</repeat>
<delay>0.00</delay>
<count>-1</count>
<cd>0.00003</cd><!-- drag -->
<eda>0.00136354</eda><!-- drag area -->
<weight>0</weight>
<collision>true</collision>
<collision-report>sim/ai/aircraft/collision/bullet</collision-report>
<impact>true</impact>
<impact-report>sim/ai/aircraft/impact/bomb</impact-report>
<wind>false</wind>
<buoyancy>0</buoyancy>
<life>0.5</life>
</submodel>
<particlesystem>
<name>explosion-smoke</name>
<texture>smoke.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<property>payload/armament/rb-71/flags/explode-smoke-id-1</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>10</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>60</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>
</PropertyList>