oprf_assets/ZSU-23/Models/ZSU-23-4M.xml

545 lines
11 KiB
XML
Raw Normal View History

2021-04-15 03:28:19 +08:00
<?xml version="1.0"?>
<PropertyList>
<path>Aircraft/ZSU-23/Models/zsu-23.ac</path>
<sound>
<path>Aircraft/ZSU-23/Sounds/sound.xml</path>
</sound>
2021-04-15 03:28:19 +08:00
<!-- muzzle fire -->
<model>
<path>Aircraft/ZSU-23/Models/Effects/muzzle.xml</path>
<name>muzzle_LL</name>
<offsets>
<x-m>-2.65783</x-m>
<y-m>-0.21016</y-m>
<z-m> 1.54514</z-m>
<pitch-deg>180</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/ZSU-23/Models/Effects/muzzle.xml</path>
<name>muzzle_LR</name>
<offsets>
<x-m>-2.65783</x-m>
<y-m> 0.21016</y-m>
<z-m> 1.54514</z-m>
<pitch-deg>180</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/ZSU-23/Models/Effects/muzzle.xml</path>
<name>muzzle_UL</name>
<offsets>
<x-m>-2.38544</x-m>
<y-m>-0.11</y-m>
<z-m> 1.88539</z-m>
<pitch-deg>180</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/ZSU-23/Models/Effects/muzzle.xml</path>
<name>muzzle_UR</name>
<offsets>
<x-m>-2.38544</x-m>
<y-m> 0.11</y-m>
<z-m> 1.88539</z-m>
<pitch-deg>180</pitch-deg>
</offsets>
</model>
<animation>
<type>select</type>
<object-name>muzzle_LL</object-name>
<object-name>muzzle_LR</object-name>
<object-name>muzzle_UL</object-name>
<object-name>muzzle_UR</object-name>
<condition>
<property>/sim/rendering/shaders/skydome</property><!-- als -->
<property>sim/multiplay/generic/int[1]</property><!-- gun firing -->
2021-04-15 03:28:19 +08:00
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>turret</object-name>
<object-name>muzzle_LL</object-name>
<object-name>muzzle_LR</object-name>
<object-name>muzzle_UL</object-name>
<object-name>muzzle_UR</object-name>
<axis>
<object-name>turret_axis</object-name>
</axis>
<property>sim/multiplay/generic/float[0]</property>
</animation>
<animation>
<type>rotate</type>
<object-name>gun_lower</object-name>
<object-name>muzzle_LL</object-name>
<object-name>muzzle_LR</object-name>
<axis>
<object-name>gun_lower_axis</object-name>
</axis>
<property>sim/multiplay/generic/float[1]</property>
<factor>-1</factor>
</animation>
<animation>
<type>rotate</type>
<object-name>gun_upper</object-name>
<object-name>muzzle_UL</object-name>
<object-name>muzzle_UR</object-name>
<axis>
<object-name>gun_upper_axis</object-name>
</axis>
<property>sim/multiplay/generic/float[1]</property>
<factor>-1</factor>
</animation>
<animation>
<type>rotate</type>
<object-name>gun_link</object-name>
<axis>
<object-name>gun_link_axis</object-name>
</axis>
<property>sim/multiplay/generic/float[1]</property>
</animation>
<animation>
<type>rotate</type>
<object-name>gun_hatch</object-name>
<axis>
<object-name>gun_hatch_axis</object-name>
</axis>
<property>sim/multiplay/generic/float[1]</property>
<factor>-1</factor>
</animation>
<animation>
<type>rotate</type>
<object-name>radar_base</object-name>
<axis>
<object-name>radar_az_axis</object-name>
</axis>
<property>sim/multiplay/generic/float[2]</property>
<offset-deg>180</offset-deg>
<factor>-1</factor>
</animation>
<animation>
<type>rotate</type>
<object-name>radar</object-name>
<axis>
<object-name>radar_elevation_axis</object-name>
</axis>
<property>sim/multiplay/generic/float[3]</property>
<factor>-1</factor>
</animation>
<animation>
<type>select</type>
<object-name>muzzle_LL</object-name>
<condition>
<greater-than>
<expression>
<sin>
<product>
<property>/sim/time/elapsed-sec</property>
<value>60</value>
</product>
</sin>
</expression>
<value>0</value>
</greater-than>
<greater-than>
<expression>
<cos>
<product>
<property>/sim/time/elapsed-sec</property>
<value>60</value>
</product>
</cos>
</expression>
<value>0</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>muzzle_UL</object-name>
<condition>
<greater-than>
<expression>
<sin>
<product>
<property>/sim/time/elapsed-sec</property>
<value>60</value>
</product>
</sin>
</expression>
<value>0</value>
</greater-than>
<less-than>
<expression>
<cos>
<product>
<property>/sim/time/elapsed-sec</property>
<value>60</value>
</product>
</cos>
</expression>
<value>0</value>
</less-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>muzzle_UR</object-name>
<condition>
<less-than>
<expression>
<sin>
<product>
<property>/sim/time/elapsed-sec</property>
<value>60</value>
</product>
</sin>
</expression>
<value>0</value>
</less-than>
<less-than>
<expression>
<cos>
<product>
<property>/sim/time/elapsed-sec</property>
<value>60</value>
</product>
</cos>
</expression>
<value>0</value>
</less-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>muzzle_LR</object-name>
<condition>
<less-than>
<expression>
<sin>
<product>
<property>/sim/time/elapsed-sec</property>
<value>60</value>
</product>
</sin>
</expression>
<value>0</value>
</less-than>
<greater-than>
<expression>
<cos>
<product>
<property>/sim/time/elapsed-sec</property>
<value>60</value>
</product>
</cos>
</expression>
<value>0</value>
</greater-than>
</condition>
</animation>
<model>
<path>Aircraft/S-300/Models/smoke.xml</path>
<offsets>
<x-m> 3.26307</x-m>
<y-m>-0.84611</y-m>
<z-m> 2.85616</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/fire.xml</path>
<offsets>
<x-m> 3.26307</x-m>
<y-m>-0.84611</y-m>
<z-m> 2.85616</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/smoke.xml</path>
<offsets>
<x-m> 3.26307</x-m>
<y-m> 0.84611</y-m>
<z-m> 2.85616</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/fire.xml</path>
<offsets>
<x-m> 3.26307</x-m>
<y-m> 0.84611</y-m>
<z-m> 2.85616</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/smoke.xml</path>
<offsets>
<x-m> -0.80986</x-m>
<y-m> 0.00064</y-m>
<z-m> 3.24007</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/fire.xml</path>
<offsets>
<x-m> -0.80986</x-m>
<y-m> 0.00064</y-m>
<z-m> 3.24007</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/smoke.xml</path>
<offsets>
<x-m> -3.97300</x-m>
<y-m> 0.00023</y-m>
<z-m> 1.83017</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/fire.xml</path>
<offsets>
<x-m> -3.97300</x-m>
<y-m> 0.00023</y-m>
<z-m> 1.83017</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/smoke.xml</path>
<offsets>
<x-m> -4.26653</x-m>
<y-m> -1.82402</y-m>
<z-m> 1.44961</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/fire.xml</path>
<offsets>
<x-m> -4.26653</x-m>
<y-m> -1.82402</y-m>
<z-m> 1.44961</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/smoke.xml</path>
<offsets>
<x-m> -4.26653</x-m>
<y-m> 1.82402</y-m>
<z-m> 1.44961</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/fire.xml</path>
<offsets>
<x-m> -4.26653</x-m>
<y-m> 1.82402</y-m>
<z-m> 1.44961</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/smoke.xml</path>
<offsets>
<x-m> -0.63979</x-m>
<y-m> -2.14385</y-m>
<z-m> 0.05906</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/fire.xml</path>
<offsets>
<x-m> -0.63979</x-m>
<y-m> -2.14385</y-m>
<z-m> 0.05906</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/smoke.xml</path>
<offsets>
<x-m> -0.63979</x-m>
<y-m> 2.14385</y-m>
<z-m> 0.05906</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/S-300/Models/fire.xml</path>
<offsets>
<x-m> -0.63979</x-m>
<y-m> 2.14385</y-m>
<z-m> 0.05906</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
2021-04-28 00:01:59 +08:00
<particlesystem>
<name>trail</name>
<texture>Effects/smoke.png</texture>
<emissive>false</emissive>
<lighting>false</lighting>
2021-04-28 00:01:59 +08:00
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</offsets>
<condition>
<greater-than>
<property>velocities/groundspeed-kt</property>
<value>10</value>
</greater-than>
</condition>
<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>1.5</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</vertex>
<vertex>
<x-m>3</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</vertex>
</placer>
<shooter>
<theta-min-deg>45</theta-min-deg>
<theta-max-deg>80</theta-max-deg>
<phi-min-deg>-5</phi-min-deg>
<phi-max-deg>5</phi-max-deg>
<speed-mps>
<property>velocities/groundspeed-kt</property>
<spread>100</spread>
<!--<factor>6</factor>-->
</speed-mps>
<rotation-speed>
<x-max-deg-sec>15</x-max-deg-sec>
<x-min-deg-sec>-15</x-min-deg-sec>
<y-max-deg-sec>15</y-max-deg-sec>
<y-min-deg-sec>-15</y-min-deg-sec>
<z-max-deg-sec>15</z-max-deg-sec>
<z-min-deg-sec>-15</z-min-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<property>velocities/groundspeed-kt</property>
<factor>2.5</factor>
<!--<value>250</value>-->
<spread>100</spread>
</particles-per-sec> </counter>
<align>billboard</align>
<particle>
<start>
<color>
<red>
<value>0.95</value>
</red>
<green>
<value>0.85</value>
</green>
<blue>
<value>0.65</value>
</blue>
<alpha>
<value>0.05</value>
</alpha>
</color>
<size>
<value>0.5</value>
</size>
</start>
<end>
<color>
<red>
<value>1</value>
</red>
<green>
<value>0.8</value>
</green>
<blue>
<value>0.7</value>
</blue>
<alpha>
<value>0.020</value>
</alpha>
</color>
<size>
<value>10</value>
</size>
</end>
<life-sec>
<value>1.5</value>
</life-sec>
<mass-kg>0.025</mass-kg>
<radius-m>0.125</radius-m>
</particle>
<program>
<fluid>air</fluid>
<gravity>true</gravity>
<wind>true</wind>
</program>
</particlesystem>
2021-04-15 03:28:19 +08:00
</PropertyList>