J Maverick 16 wrote in Tue Oct 15, 2019 1:06 pm:Regards, Mav
Czech decal has wrong rotation - it should look like this :
J Maverick 16 wrote in Tue Oct 15, 2019 1:06 pm:Regards, Mav
OE-LML wrote in Wed Oct 23, 2019 1:01 pm:Short question: Where do I get the latest version from?
Thorsten wrote in Wed Oct 23, 2019 4:20 pm:I've made some progress with the Mk 84 explosion today, as well as different patterns for a hit into the water - I'll develop and test this a bit more and then let you guys have the result - then you can decide how you'll merge it.
Thorsten wrote in Wed Oct 23, 2019 4:20 pm:Oh, and it seems buildings of all sorts yield a NIL in geodinfo - that we're able to detect - so we can actually place fire rather than a crater when a building has been bombed.
J Maverick 16 wrote in Wed Oct 23, 2019 9:31 am:Hi, what you're looking at is a Dutch RNLAF 313sqn livery which has that roundel similar to the Czech, but Czech AF has no F-16s, only Gripens and L-159s.
Regards, Mav
V12 wrote in Wed Oct 23, 2019 7:25 pm:I know that Czech has not have F16.
<?xml version="1.0"?>
<PropertyList>
<name>MK-82</name>
<path>MK-82.ac</path>
<effect>
<inherits-from>Aircraft/f16/Models/Effects/fuselage/model-combined-fuselage</inherits-from>
<parameters>
<metallic type="float">0.80</metallic>
<ambient-factor type="float">0.0</ambient-factor>
<rain-enabled type="int">0</rain-enabled>
<ambient-correction type="float">0.00</ambient-correction>
<reflection-enabled type="int">0</reflection-enabled>
</parameters>
<object-name>MK-82_Shell</object-name>
<object-name>MK-82_TailFins</object-name>
<object-name>MK-82_Detonator</object-name>
<object-name>MK-82_Wiring</object-name>
<object-name>MK-82_Mounts</object-name>
</effect>
<animation>
<type>select</type>
<object-name>MK-82_Shell</object-name>
<object-name>MK-82_TailFins</object-name>
<object-name>MK-82_Detonator</object-name>>
<object-name>MK-82_Mounts</object-name>
<condition>
<property>payload/armament/mk-82/flags/msl-id-200</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>MK-82_Wiring</object-name>
<condition>
<not>
<property>payload/armament/mk-82/flags/msl-id-200</property>
</not>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>MK-82_Detonator</object-name>
<factor>900</factor>
<property>sim/time/elapsed-sec</property>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<particlesystem>
<name>explosion-inner</name>
<texture>../smoke.png</texture>
<emissive type="bool">true</emissive>
<lighting type="bool">false</lighting>
<condition>
<property>payload/armament/mk-82/flags/explode-id-200</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>200</value>
<spread>40</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>20</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>8</value>
</size>
</start>
<end>
<color>
<red><value> 1.0 </value></red>
<green><value> 0.5 </value></green>
<blue><value> 0.2 </value></blue>
<alpha><value> 0.7 </value></alpha>
</color>
<size>
<value>10</value>
</size>
</end>
<life-sec>
<value>0.4</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-outer</name>
<texture>../smoke.png</texture>
<emissive type="bool">true</emissive>
<lighting type="bool">false</lighting>
<condition>
<property>payload/armament/mk-82/flags/explode-id-200</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>60</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>6</value>
</size>
</start>
<end>
<color>
<red><value> 1.0 </value></red>
<green><value> 0.5 </value></green>
<blue><value> 0.2 </value></blue>
<alpha><value> 0.7 </value></alpha>
</color>
<size>
<value>20</value>
</size>
</end>
<life-sec>
<value>1.0</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-inner</name>
<texture>../smoke.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<and>
<property>payload/armament/mk-82/flags/explode-smoke-id-200</property>
<not>
<property>payload/armament/mk-82/flags/explode-water-id-200</property>
</not>
</and>
</condition>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>35</theta-min-deg>
<theta-max-deg>65</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg>180</phi-max-deg>
<speed-mps>
<value>350</value>
<spread>100</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>30</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>300</value>
<spread>5</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> 1.0 </value></alpha>
</color>
<size>
<value>4</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.1 </value></alpha>
</color>
<size>
<value>10</value>
</size>
</end>
<life-sec>
<value>20</value>
</life-sec>
<mass-kg> 8.0 </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-outer</name>
<texture>../smoke.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<and>
<property>payload/armament/mk-82/flags/explode-smoke-id-200</property>
<not>
<property>payload/armament/mk-82/flags/explode-water-id-200</property>
</not>
</and>
</condition>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>0</theta-min-deg>
<theta-max-deg>50</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg>180</phi-max-deg>
<speed-mps>
<value>250</value>
<spread>200</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>10</value>
<spread>5</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> 1.0 </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.5 </value></alpha>
</color>
<size>
<value>40</value>
</size>
</end>
<life-sec>
<value>30</value>
</life-sec>
<mass-kg> 5.0 </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-debris</name>
<texture>../lava.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<and>
<property>payload/armament/mk-82/flags/explode-id-200</property>
<not>
<property>payload/armament/mk-82/flags/explode-water-id-200</property>
</not>
</and>
</condition>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>35</theta-min-deg>
<theta-max-deg>55</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg>180</phi-max-deg>
<speed-mps>
<value>320</value>
<spread>250</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>100</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>300</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>300</value>
<spread>5</spread>
</particles-per-sec>
</counter>
<align>billboard</align>
<particle>
<start>
<color>
<red><value> 0.2 </value></red>
<green><value> 0.2 </value></green>
<blue><value> 0.2 </value></blue>
<alpha><value> 1.0 </value></alpha>
</color>
<size>
<value>0.5</value>
</size>
</start>
<end>
<color>
<red><value> 0.2 </value></red>
<green><value> 0.2 </value></green>
<blue><value> 0.2 </value></blue>
<alpha><value> 0.1 </value></alpha>
</color>
<size>
<value>0.5</value>
</size>
</end>
<life-sec>
<value>10</value>
</life-sec>
<mass-kg> 15.0 </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-water-inner</name>
<texture>../smoke.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<and>
<property>payload/armament/mk-82/flags/explode-id-200</property>
<property>payload/armament/mk-82/flags/explode-water-id-200</property>
</and>
</condition>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>0</theta-min-deg>
<theta-max-deg>5</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg>180</phi-max-deg>
<speed-mps>
<value>450</value>
<spread>450</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>-30</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>30</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>800</value>
<spread>5</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> 1.0 </value></blue>
<alpha><value> 0.5 </value></alpha>
</color>
<size>
<value>5.0</value>
</size>
</start>
<end>
<color>
<red><value> 1.0 </value></red>
<green><value> 1.0 </value></green>
<blue><value> 1.0 </value></blue>
<alpha><value> 0.2 </value></alpha>
</color>
<size>
<value>2.5</value>
</size>
</end>
<life-sec>
<value>20</value>
</life-sec>
<mass-kg> 15.0 </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-water-outer</name>
<texture>../smoke.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<and>
<property>payload/armament/mk-82/flags/explode-smoke-id-200</property>
<property>payload/armament/mk-82/flags/explode-water-id-200</property>
</and>
</condition>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>0</theta-min-deg>
<theta-max-deg>70</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg>180</phi-max-deg>
<speed-mps>
<value>120</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>-50</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>50</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>80</value>
<spread>5</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> 1.0 </value></blue>
<alpha><value> 0.5 </value></alpha>
</color>
<size>
<value>10.0</value>
</size>
</start>
<end>
<color>
<red><value> 1.0 </value></red>
<green><value> 1.0 </value></green>
<blue><value> 1.0 </value></blue>
<alpha><value> 0.2 </value></alpha>
</color>
<size>
<value>18.0</value>
</size>
</end>
<life-sec>
<value>18</value>
</life-sec>
<mass-kg> 8.0 </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>
<type>rotate</type>
<object-name>explosion-smoke-inner</object-name>
<object-name>explosion-smoke-outer</object-name>
<offset-deg>0</offset-deg>
<factor>1</factor>
<property>payload/armament/mk-82/flags/explode-angle</property>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<object-name>MK-82_Shell</object-name>
<object-name>MK-82_TailFins</object-name>
<object-name>MK-82_Detonator</object-name>
<object-name>MK-82_Wiring</object-name>
<object-name>MK-82_Mounts</object-name>
<enable-hot type="bool">false</enable-hot>
</animation>
</PropertyList>
<?xml version="1.0"?>
<PropertyList>
<name>MK-84</name>
<path>MK-84.ac</path>
<effect>
<inherits-from>Aircraft/f16/Models/Effects/fuselage/model-combined-fuselage</inherits-from>
<parameters>
<metallic type="float">0.80</metallic>
<ambient-factor type="float">0.0</ambient-factor>
<rain-enabled type="int">0</rain-enabled>
<ambient-correction type="float">0.00</ambient-correction>
<reflection-enabled type="int">0</reflection-enabled>
</parameters>
<object-name>MK-84_Shell</object-name>
<object-name>MK-84_TailFins</object-name>
<object-name>MK-84_Detonator</object-name>
<object-name>MK-84_Wiring</object-name>
<object-name>MK-84_Mounts</object-name>
</effect>
<animation>
<type>select</type>
<object-name>MK-84_Shell</object-name>
<object-name>MK-84_TailFins</object-name>
<object-name>MK-84_Detonator</object-name>>
<object-name>MK-84_Mounts</object-name>
<condition>
<property>payload/armament/mk-84/flags/msl-id-200</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>MK-84_Wiring</object-name>
<condition>
<not>
<property>payload/armament/mk-84/flags/msl-id-200</property>
</not>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>MK-84_Detonator</object-name>
<factor>900</factor>
<property>sim/time/elapsed-sec</property>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<particlesystem>
<name>explosion-inner</name>
<texture>../smoke.png</texture>
<emissive type="bool">true</emissive>
<lighting type="bool">false</lighting>
<condition>
<property>payload/armament/mk-84/flags/explode-id-200</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>400</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>20</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>12</value>
</size>
</start>
<end>
<color>
<red><value> 1.0 </value></red>
<green><value> 0.5 </value></green>
<blue><value> 0.2 </value></blue>
<alpha><value> 0.7 </value></alpha>
</color>
<size>
<value>16</value>
</size>
</end>
<life-sec>
<value>0.8</value>
</life-sec>
<mass-kg> 6 </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-outer</name>
<texture>../smoke.png</texture>
<emissive type="bool">true</emissive>
<lighting type="bool">false</lighting>
<condition>
<property>payload/armament/mk-84/flags/explode-id-200</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>700</value>
<spread>120</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>60</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>10</value>
</size>
</start>
<end>
<color>
<red><value> 1.0 </value></red>
<green><value> 0.5 </value></green>
<blue><value> 0.2 </value></blue>
<alpha><value> 0.7 </value></alpha>
</color>
<size>
<value>28</value>
</size>
</end>
<life-sec>
<value>2.0</value>
</life-sec>
<mass-kg> 6 </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-inner</name>
<texture>../smoke.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<and>
<property>payload/armament/mk-84/flags/explode-id-200</property>
<not>
<property>payload/armament/mk-84/flags/explode-water-id-200</property>
</not>
</and>
</condition>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>40</theta-min-deg>
<theta-max-deg>60</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg>180</phi-max-deg>
<speed-mps>
<value>550</value>
<spread>50</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>30</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>300</value>
<spread>5</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> 1.0 </value></alpha>
</color>
<size>
<value>8</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.1 </value></alpha>
</color>
<size>
<value>16</value>
</size>
</end>
<life-sec>
<value>25</value>
</life-sec>
<mass-kg> 12.0 </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-outer</name>
<texture>../smoke.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<and>
<property>payload/armament/mk-84/flags/explode-smoke-id-200</property>
<not>
<property>payload/armament/mk-84/flags/explode-water-id-200</property>
</not>
</and>
</condition>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>0</theta-min-deg>
<theta-max-deg>50</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg>180</phi-max-deg>
<speed-mps>
<value>400</value>
<spread>200</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>10</value>
<spread>5</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> 1.0 </value></alpha>
</color>
<size>
<value>30</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.5 </value></alpha>
</color>
<size>
<value>60</value>
</size>
</end>
<life-sec>
<value>35</value>
</life-sec>
<mass-kg> 7.0 </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-debris</name>
<texture>../lava.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<and>
<property>payload/armament/mk-84/flags/explode-id-200</property>
<not>
<property>payload/armament/mk-84/flags/explode-water-id-200</property>
</not>
</and>
</condition>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>35</theta-min-deg>
<theta-max-deg>55</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg>180</phi-max-deg>
<speed-mps>
<value>350</value>
<spread>250</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>100</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>300</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>500</value>
<spread>5</spread>
</particles-per-sec>
</counter>
<align>billboard</align>
<particle>
<start>
<color>
<red><value> 0.2 </value></red>
<green><value> 0.2 </value></green>
<blue><value> 0.2 </value></blue>
<alpha><value> 1.0 </value></alpha>
</color>
<size>
<value>0.5</value>
</size>
</start>
<end>
<color>
<red><value> 0.2 </value></red>
<green><value> 0.2 </value></green>
<blue><value> 0.2 </value></blue>
<alpha><value> 0.1 </value></alpha>
</color>
<size>
<value>0.5</value>
</size>
</end>
<life-sec>
<value>10</value>
</life-sec>
<mass-kg> 15.0 </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-water-inner</name>
<texture>../smoke.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<and>
<property>payload/armament/mk-84/flags/explode-id-200</property>
<property>payload/armament/mk-84/flags/explode-water-id-200</property>
</and>
</condition>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>0</theta-min-deg>
<theta-max-deg>3</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg>180</phi-max-deg>
<speed-mps>
<value>650</value>
<spread>650</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>-30</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>30</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>1200</value>
<spread>5</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> 1.0 </value></blue>
<alpha><value> 0.5 </value></alpha>
</color>
<size>
<value>10.0</value>
</size>
</start>
<end>
<color>
<red><value> 1.0 </value></red>
<green><value> 1.0 </value></green>
<blue><value> 1.0 </value></blue>
<alpha><value> 0.2 </value></alpha>
</color>
<size>
<value>10.0</value>
</size>
</end>
<life-sec>
<value>25</value>
</life-sec>
<mass-kg> 20.0 </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-water-outer</name>
<texture>../smoke.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<condition>
<and>
<property>payload/armament/mk-84/flags/explode-smoke-id-200</property>
<property>payload/armament/mk-84/flags/explode-water-id-200</property>
</and>
</condition>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>15</theta-min-deg>
<theta-max-deg>70</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg>180</phi-max-deg>
<speed-mps>
<value>180</value>
<spread>100</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>-50</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>50</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>80</value>
<spread>5</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> 1.0 </value></blue>
<alpha><value> 0.5 </value></alpha>
</color>
<size>
<value>15.0</value>
</size>
</start>
<end>
<color>
<red><value> 1.0 </value></red>
<green><value> 1.0 </value></green>
<blue><value> 1.0 </value></blue>
<alpha><value> 0.2 </value></alpha>
</color>
<size>
<value>35.0</value>
</size>
</end>
<life-sec>
<value>23</value>
</life-sec>
<mass-kg> 12.0 </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>
<type>rotate</type>
<object-name>explosion-smoke-inner</object-name>
<object-name>explosion-smoke-outer</object-name>
<offset-deg>0</offset-deg>
<factor>1</factor>
<property>payload/armament/mk-84/flags/explode-angle</property>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<object-name>MK-84_Shell</object-name>
<object-name>MK-84_TailFins</object-name>
<object-name>MK-84_Detonator</object-name>
<object-name>MK-84_Wiring</object-name>
<object-name>MK-84_Mounts</object-name>
<enable-hot type="bool">false</enable-hot>
</animation>
</PropertyList>
animation_flags_props: func {
# Create animation flags properties.
var path_base = "payload/armament/"~me.type_lc~"/flags/";
var msl_path = path_base~"msl-id-" ~ me.ID;
me.msl_prop = props.globals.initNode( msl_path, TRUE, "BOOL", TRUE);
me.msl_prop.setBoolValue(TRUE);# this is cause it might already exist, and so need to force value
var smoke_path = path_base~"smoke-id-" ~ me.ID;
me.smoke_prop = props.globals.initNode( smoke_path, FALSE, "BOOL", TRUE);
var explode_path = path_base~"explode-id-" ~ me.ID;
me.explode_prop = props.globals.initNode( explode_path, FALSE, "BOOL", TRUE);
var explode_smoke_path = path_base~"explode-smoke-id-" ~ me.ID;
me.explode_smoke_prop = props.globals.initNode( explode_smoke_path, FALSE, "BOOL", TRUE);
var explode_water_path = path_base~"explode-water-id-" ~ me.ID;
me.explode_water_prop = props.globals.initNode( explode_water_path, FALSE, "BOOL", TRUE);
var explode_angle_path = path_base~"explode-angle";
me.explode_angle_prop = props.globals.initNode( explode_angle_path, 0.0, "DOUBLE", TRUE);
var explode_sound_path = "payload/armament/flags/explode-sound-on-" ~ me.ID;;
me.explode_sound_prop = props.globals.initNode( explode_sound_path, FALSE, "BOOL", TRUE);
var explode_sound_vol_path = "payload/armament/flags/explode-sound-vol-" ~ me.ID;;
me.explode_sound_vol_prop = props.globals.initNode( explode_sound_vol_path, 0, "DOUBLE", TRUE);
var deploy_path = path_base~"deploy-id-" ~ me.ID;
me.deploy_prop = props.globals.initNode(deploy_path, 0, "DOUBLE", TRUE);
},
animate_explosion: func {
#
# a last position update to where the explosion happened:
#
me.latN.setDoubleValue(me.coord.lat());
me.lonN.setDoubleValue(me.coord.lon());
me.altN.setDoubleValue(me.coord.alt()*M2FT);
me.pitchN.setDoubleValue(0);# this will make explosions from cluster bombs (like M90) align to ground 'sorta'.
me.rollN.setDoubleValue(0);
me.msl_prop.setBoolValue(FALSE);
me.smoke_prop.setBoolValue(FALSE);
var info = geodinfo(me.coord.lat(), me.coord.lon());
if (info[1] == nil)
{print ("Building hit!");}
if ((info[1] != nil) and(info[1].solid == 0))
{
me.explode_water_prop.setValue(TRUE);
}
else
{
me.explode_water_prop.setValue(FALSE);
}
#print (me.typeShort);
me.explode_prop.setBoolValue(TRUE);
me.explode_angle_prop.setDoubleValue((rand() - 0.5) * 50);
settimer( func me.explode_prop.setBoolValue(FALSE), 0.5 );
settimer( func me.explode_smoke_prop.setBoolValue(TRUE), 0.5 );
settimer( func me.explode_smoke_prop.setBoolValue(FALSE), 3 );
settimer ( func {
if (info[1] == nil)
{
geo.put_model(
"Aircraft/f16/Models/Armament/Weapons/bomb_hit_smoke.xml",
me.coord.lat(),
me.coord.lon()
);
}
else if ((info[1] != nil) and (info[1].solid == 1))
{
var crater_model = "";
if ((me.typeShort == "B82") or (me.typeShort == "B83"))
{
crater_model = "Aircraft/f16/Models/Armament/Weapons/crater_small.xml";
}
else if (me.typeShort == "B84")
{
crater_model = "Aircraft/f16/Models/Armament/Weapons/crater_big.xml";
}
if (crater_model != "")
{
geo.put_model(
crater_model,
me.coord.lat(),
me.coord.lon()
);
}
}
}, 0.5);
},
V12 wrote in Wed Oct 23, 2019 8:47 pm:I have one stupid ask - how to use VOR / TACAN navigation ?
I found the Vulcans crater, but how does your crater_small.xml, crater_big.xml and bomb_hit_smoke.xml look like?
<?xml version="1.0"?>
<PropertyList>
<particlesystem>
<name>bombhit-smoke</name>
<texture>../smoke.png</texture>
<emissive>false</emissive>
<lighting>false</lighting>
<align>billboard</align>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>30</theta-min-deg>
<theta-max-deg>60</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg> 180</phi-max-deg>
<speed-mps>
<value>5</value>
<spread>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>-60</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>60</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>3</value>
<spread>5</spread>
</particles-per-sec>
</counter>
<particle>
<start>
<color>
<red><value>0.0</value></red>
<green><value>0.0</value></green>
<blue><value>0.0</value></blue>
<alpha><value>0.2</value></alpha>
</color>
<size>
<value>12.0</value>
</size>
</start>
<end>
<color>
<red><value>0.0</value></red>
<green><value>0.0</value></green>
<blue><value>0.0</value></blue>
<alpha><value>0.05</value></alpha>
</color>
<size>
<value>80.0</value>
</size>
</end>
<life-sec>
<value>120</value>
</life-sec>
<mass-kg>0.025</mass-kg>
<radius-m>0.40</radius-m>
</particle>
<program>
<fluid>air</fluid>
<gravity>true</gravity>
<wind>true</wind>
</program>
</particlesystem>
</PropertyList>
<?xml version="1.0"?>
<PropertyList>
<path>crater.ac</path>
<particlesystem>
<name>explosion-smoke-longterm</name>
<texture>smoke.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>0</theta-min-deg>
<theta-max-deg>20</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg>180</phi-max-deg>
<speed-mps>
<value>30</value>
<spread>10</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>5</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>2</value>
<spread>0</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.3 </value></alpha>
</color>
<size>
<value>6</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.05 </value></alpha>
</color>
<size>
<value>10</value>
</size>
</end>
<life-sec>
<value>60</value>
</life-sec>
<mass-kg> 5.0 </mass-kg>
<radius-m> 0.4 </radius-m>
</particle>
<program>
<fluid> air </fluid>
<gravity type="bool"> true </gravity>
<wind typ="bool"> true </wind>
</program>
</particlesystem>
</PropertyList>
<?xml version="1.0"?>
<PropertyList>
<path>crater.ac</path>
<animation>
<type>scale</type>
<object-name>Sphere</object-name>
<x-offset>1.8</x-offset>
<y-offset>1.8</y-offset>
<z-offset>1.3</z-offset>
</animation>
<particlesystem>
<name>explosion-smoke-longterm</name>
<texture>smoke.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>0</theta-min-deg>
<theta-max-deg>20</theta-max-deg>
<phi-min-deg>-180</phi-min-deg>
<phi-max-deg>180</phi-max-deg>
<speed-mps>
<value>30</value>
<spread>10</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>5</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>2</value>
<spread>0</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.3 </value></alpha>
</color>
<size>
<value>6</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.05 </value></alpha>
</color>
<size>
<value>12</value>
</size>
</end>
<life-sec>
<value>100</value>
</life-sec>
<mass-kg> 4.0 </mass-kg>
<radius-m> 0.4 </radius-m>
</particle>
<program>
<fluid> air </fluid>
<gravity type="bool"> true </gravity>
<wind typ="bool"> true </wind>
</program>
</particlesystem>
</PropertyList>
As for the cluster bomb, Jmav16 took the Viggen M90 (it uses a sector type placer) and tweaked it for CBU-87. It will give alot of small explosions in an area. But this has not been ported over to FGAddon yet.
It can probably be improved though, I reckon around monday will update the FGAddon F16, hopefully including your mk82/84 code.
Users browsing this forum: No registered users and 19 guests