particles_heavy.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <particlesystem>
  4. <name>dirt_heavy</name>
  5. <texture>smoke.png</texture>
  6. <emissive>false</emissive>
  7. <lighting>false</lighting>
  8. <offsets>
  9. <x-m> 0 </x-m>
  10. <y-m> 0 </y-m>
  11. <z-m> 0 </z-m>
  12. <roll-deg> 90 </roll-deg>
  13. </offsets>
  14. <attach>world</attach>
  15. <align>billboard</align>
  16. <placer>
  17. <type>point</type>
  18. </placer>
  19. <condition>
  20. <!-- <property>/sim/model/aircrane/particles/enabled</property> -->
  21. <greater-than>
  22. <property>/rotors/main/wakevisible</property>
  23. <value>2</value>
  24. </greater-than>
  25. <not>
  26. <property>/sim/paused</property>
  27. </not>
  28. <not>
  29. <property>/sim/crashed</property>
  30. </not>
  31. <not>
  32. <property>/gear/gear/wow</property>
  33. </not>
  34. <greater-than>
  35. <property>rotors/main/rpm</property>
  36. <value> 360 </value>
  37. </greater-than>
  38. <less-than>
  39. <property>controls/engines/engine/throttle</property>
  40. <value> 0.55 </value>
  41. </less-than>
  42. <less-than>
  43. <property>sim/multiplay/generic/float[4]</property>
  44. <value>12</value>
  45. </less-than>
  46. <!-- only if sun is above horizon -->
  47. <less-than>
  48. <property>/sim/time/sun-angle-rad</property>
  49. <value>1.57</value>
  50. </less-than>
  51. <!-- only over water -->
  52. <not>
  53. <property>sim/multiplay/generic/int[0]</property>
  54. </not>
  55. </condition>
  56. <shooter>
  57. <theta-min-deg> 0 </theta-min-deg>
  58. <theta-max-deg> 360 </theta-max-deg>
  59. <phi-min-deg> -0.1 </phi-min-deg>
  60. <phi-max-deg> 0.1 </phi-max-deg>
  61. <speed-mps>
  62. <property>rotors/main/rpm</property>
  63. <factor> 0.1 </factor>
  64. <spread> 2.0 </spread>
  65. </speed-mps>
  66. <rotation-speed>
  67. <x-min-deg-sec> 0 </x-min-deg-sec>
  68. <y-min-deg-sec> 0 </y-min-deg-sec>
  69. <z-min-deg-sec> 0 </z-min-deg-sec>
  70. <x-max-deg-sec> 0 </x-max-deg-sec>
  71. <y-max-deg-sec> 0 </y-max-deg-sec>
  72. <z-max-deg-sec> 0 </z-max-deg-sec>
  73. </rotation-speed>
  74. </shooter>
  75. <counter>
  76. <particles-per-sec>
  77. <property>sim/multiplay/generic/float[4]</property>
  78. <factor> -13 </factor>
  79. <offset-m> 2000 </offset-m>
  80. </particles-per-sec>
  81. </counter>
  82. <particle>
  83. <start>
  84. <color>
  85. <red><value> 0.6 </value></red>
  86. <green><value> 0.6 </value></green>
  87. <blue><value> 0.6 </value></blue>
  88. <alpha>
  89. <property>rotors/main/rpm</property>
  90. <factor> 0.00189 </factor>
  91. <max> 0.6 </max>
  92. </alpha>
  93. </color>
  94. <size>
  95. <value> 0.5 </value>
  96. </size>
  97. </start>
  98. <end>
  99. <color>
  100. <red><value> 0.9 </value></red>
  101. <green><value> 0.9 </value></green>
  102. <blue><value> 0.9 </value></blue>
  103. <alpha>
  104. <property>rotors/main/rpm</property>
  105. <factor> 0.00316 </factor>
  106. <max> 1.0 </max>
  107. </alpha>
  108. </color>
  109. <size>
  110. <value> 0.8 </value>
  111. </size>
  112. </end>
  113. <life-sec>
  114. <value>0.35</value>
  115. </life-sec>
  116. <mass-kg>0.01</mass-kg>
  117. <radius-m>0.01</radius-m>
  118. </particle>
  119. <program>
  120. <fluid>water</fluid>
  121. <gravity>true</gravity>
  122. <wind>false</wind>
  123. </program>
  124. </particlesystem>
  125. <animation>
  126. <type>rotate</type>
  127. <object-name>dirt_heavy</object-name>
  128. <property>sim/multiplay/generic/float[1]</property>
  129. <axis>
  130. <x> 0 </x>
  131. <y> -1 </y>
  132. <z> 0 </z>
  133. </axis>
  134. </animation>
  135. <animation>
  136. <type>rotate</type>
  137. <object-name>dirt_heavy</object-name>
  138. <property>sim/multiplay/generic/float[2]</property>
  139. <axis>
  140. <x> 1 </x>
  141. <y> 0 </y>
  142. <z> 0 </z>
  143. </axis>
  144. </animation>
  145. <animation>
  146. <type>translate</type>
  147. <object-name>dirt_heavy</object-name>
  148. <property>sim/multiplay/generic/float[4]</property>
  149. <axis>
  150. <x> 0 </x>
  151. <y> 0 </y>
  152. <z> -1 </z>
  153. </axis>
  154. </animation>
  155. </PropertyList>