flammesD.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>flammes.ac</path>
  4. <offsets>
  5. <x-m> 0.0 </x-m>
  6. <y-m> 0.0 </y-m>
  7. <z-m> 0.0 </z-m>
  8. <roll-deg> 0.000 </roll-deg>
  9. <pitch-deg> 0.000 </pitch-deg>
  10. <heading-deg> 0.000 </heading-deg>
  11. </offsets>
  12. <animation>
  13. <!-- Objets transparents -->
  14. <object-name>flamme1</object-name>
  15. <object-name>flamme2</object-name>
  16. <object-name>flamme3</object-name>
  17. <object-name>brule</object-name>
  18. </animation>
  19. <animation>
  20. <type>noshadow</type>
  21. <object-name>flamme1</object-name>
  22. <object-name>flamme1</object-name>
  23. <object-name>flamme2</object-name>
  24. <object-name>brule</object-name>
  25. </animation>
  26. <!-- Rotation des fleammes des réacteurs -->
  27. <animation>
  28. <type>spin</type>
  29. <object-name>flamme1</object-name>
  30. <object-name>flamme2</object-name>
  31. <object-name>flamme3</object-name>
  32. <property>controls/engines/engine[1]/throttle</property>
  33. <factor> 100 </factor>
  34. <center>
  35. <x-m> 0.000 </x-m>
  36. <y-m> 0.000 </y-m>
  37. <z-m> 0.000 </z-m>
  38. </center>
  39. <axis>
  40. <x> 1.000 </x>
  41. <y> 0.000 </y>
  42. <z> 0.000 </z>
  43. </axis>
  44. </animation>
  45. <animation>
  46. <type>select</type>
  47. <object-name>flamme1</object-name>
  48. <condition>
  49. <greater-than>
  50. <property>controls/engines/engine[1]/throttle</property>
  51. <value>0.8</value>
  52. </greater-than>
  53. <less-than>
  54. <property>controls/engines/engine[1]/throttle</property>
  55. <value>0.9</value>
  56. </less-than>
  57. </condition>
  58. </animation>
  59. <animation>
  60. <type>select</type>
  61. <object-name>flamme2</object-name>
  62. <condition>
  63. <greater-than>
  64. <property>controls/engines/engine[1]/throttle</property>
  65. <value>0.9</value>
  66. </greater-than>
  67. <less-than>
  68. <property>controls/engines/engine[1]/throttle</property>
  69. <value>1</value>
  70. </less-than>
  71. </condition>
  72. </animation>
  73. <animation>
  74. <type>select</type>
  75. <object-name>flamme3</object-name>
  76. <condition>
  77. <equals>
  78. <property>controls/engines/engine[1]/throttle</property>
  79. <value>1</value>
  80. </equals>
  81. </condition>
  82. </animation>
  83. <animation>
  84. <type>select</type>
  85. <object-name>brule</object-name>
  86. <condition>
  87. <greater-than>
  88. <property>controls/engines/engine[1]/throttle</property>
  89. <value>0.7</value>
  90. </greater-than>
  91. </condition>
  92. </animation>
  93. </PropertyList>