123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- <?xml version="1.0" encoding="UTF-8"?>
- <PropertyList>
- <particlesystem>
- <name>dirt_medium</name>
- <texture>smoke.png</texture>
- <emissive>false</emissive>
- <lighting>false</lighting>
- <offsets>
- <x-m> 0 </x-m>
- <y-m> 0 </y-m>
- <z-m> 0 </z-m>
- <roll-deg> 90 </roll-deg>
- </offsets>
- <attach>world</attach>
- <align>billboard</align>
- <placer>
- <type>point</type>
- </placer>
- <condition>
- <greater-than>
- <property>/rotors/main/wakevisible</property>
- <value>1</value>
- </greater-than>
- <not>
- <property>/sim/paused</property>
- </not>
- <not>
- <property>/sim/crashed</property>
- </not>
- <greater-than>
- <property>rotors/main/rpm</property>
- <value> 360 </value>
- </greater-than>
- <less-than>
- <property>controls/engines/engine/throttle</property>
- <value> 0.7 </value>
- </less-than>
- <less-than>
- <property>sim/multiplay/generic/float[4]</property>
- <value>12</value>
- </less-than>
- <!-- only if sun is above horizon -->
- <less-than>
- <property>/sim/time/sun-angle-rad</property>
- <value>1.57</value>
- </less-than>
- <!-- only over water -->
- <not>
- <property>sim/multiplay/generic/int[0]</property>
- </not>
- </condition>
- <shooter>
- <theta-min-deg> 0 </theta-min-deg>
- <theta-max-deg> 360 </theta-max-deg>
- <phi-min-deg> -0.1 </phi-min-deg>
- <phi-max-deg> 0.1 </phi-max-deg>
- <speed-mps>
- <property>rotors/main/rpm</property>
- <factor> 0.1 </factor>
- <spread> 2.0 </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>sim/multiplay/generic/float[4]</property>
- <factor> -13 </factor>
- <offset-m> 2000 </offset-m>
- </particles-per-sec>
- </counter>
- <particle>
- <start>
- <color>
- <red><value> 0.6 </value></red>
- <green><value> 0.6 </value></green>
- <blue><value> 0.6 </value></blue>
- <alpha>
- <property>rotors/main/rpm</property>
- <factor> 0.0013 </factor>
- <max> 0.5 </max>
- </alpha>
- </color>
- <size>
- <value> 0.3 </value>
- </size>
- </start>
- <end>
- <color>
- <red><value> 0.9 </value></red>
- <green><value> 0.9 </value></green>
- <blue><value> 0.9 </value></blue>
- <alpha>
- <property>rotors/main/rpm</property>
- <factor> 0.0015 </factor>
- <max> 0.8 </max>
- </alpha>
- </color>
- <size>
- <value> 0.5 </value>
- </size>
- </end>
- <life-sec>
- <value>0.35</value>
- </life-sec>
- <mass-kg>0.01</mass-kg>
- <radius-m>0.01</radius-m>
- </particle>
- <program>
- <fluid>water</fluid>
- <gravity>true</gravity>
- <wind>false</wind>
- </program>
- </particlesystem>
- <animation>
- <type>rotate</type>
- <object-name>dirt_medium</object-name>
- <property>sim/multiplay/generic/float[1]</property>
- <axis>
- <x> 0 </x>
- <y> -1 </y>
- <z> 0 </z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>dirt_medium</object-name>
- <property>sim/multiplay/generic/float[2]</property>
- <axis>
- <x> 1 </x>
- <y> 0 </y>
- <z> 0 </z>
- </axis>
- </animation>
- <animation>
- <type>translate</type>
- <object-name>dirt_medium</object-name>
- <property>sim/multiplay/generic/float[4]</property>
- <axis>
- <x> 0 </x>
- <y> 0 </y>
- <z> -1 </z>
- </axis>
- </animation>
- </PropertyList>
|