particles_medium.xml 3.9 KB

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