smoke.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <particlesystem>
  4. <name>smoke</name>
  5. <texture>smoke.png</texture>
  6. <emissive type="bool">false</emissive>
  7. <lighting type="bool">false</lighting>
  8. <condition>
  9. <and>
  10. <greater-than>
  11. <property>sim/multiplay/generic/float[5]</property>
  12. <value>65</value>
  13. </greater-than>
  14. <less-than>
  15. <property>sim/multiplay/generic/float[3]</property>
  16. <value>6000</value>
  17. </less-than>
  18. </and>
  19. </condition>
  20. <attach>world</attach>
  21. <placer>
  22. <type>point</type>
  23. </placer>
  24. <shooter>
  25. <theta-min-deg>-1.5</theta-min-deg>
  26. <theta-max-deg>1.5</theta-max-deg>
  27. <phi-min-deg>-1.5</phi-min-deg>
  28. <phi-max-deg>1.5</phi-max-deg>
  29. <speed-mps>
  30. <value>1</value>
  31. <spread>1</spread>
  32. </speed-mps>
  33. <rotation-speed>
  34. <x-min-deg-sec>0</x-min-deg-sec>
  35. <y-min-deg-sec>0</y-min-deg-sec>
  36. <z-min-deg-sec>0</z-min-deg-sec>
  37. <x-max-deg-sec>0</x-max-deg-sec>
  38. <y-max-deg-sec>0</y-max-deg-sec>
  39. <z-max-deg-sec>0</z-max-deg-sec>
  40. </rotation-speed>
  41. </shooter>
  42. <counter>
  43. <particles-per-sec>
  44. <value>150</value>
  45. <spread>0</spread>
  46. </particles-per-sec>
  47. </counter>
  48. <align>billboard</align>
  49. <particle>
  50. <start>
  51. <color>
  52. <red><value> 0.4 </value></red>
  53. <green><value> 0.4 </value></green>
  54. <blue><value> 0.4 </value></blue>
  55. <alpha><value> 0.06 </value></alpha>
  56. <!-- <alpha><value> 0.025 </value></alpha>-->
  57. </color>
  58. <size>
  59. <value>0.45</value>
  60. </size>
  61. </start>
  62. <end>
  63. <color>
  64. <red><value> 0.5 </value></red>
  65. <green><value> 0.5 </value></green>
  66. <blue><value> 0.5 </value></blue>
  67. <alpha><value> 0.05 </value></alpha>
  68. <!-- <alpha><value> 0.0125 </value></alpha>-->
  69. </color>
  70. <size>
  71. <value>6.5</value>
  72. </size>
  73. </end>
  74. <life-sec>
  75. <value>3.3</value>
  76. </life-sec>
  77. <mass-kg>0.6</mass-kg>
  78. <radius-m>0.5</radius-m>
  79. </particle>
  80. <program>
  81. <fluid> air </fluid>
  82. <gravity type="bool">true</gravity>
  83. <wind type="bool">true</wind>
  84. </program>
  85. </particlesystem>
  86. </PropertyList>