flammesD.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. </animation>
  18. <animation>
  19. <type>noshadow</type>
  20. <object-name>flamme1</object-name>
  21. <object-name>flamme1</object-name>
  22. <object-name>flamme2</object-name>
  23. </animation>
  24. <!-- Rotation des fleammes des réacteurs -->
  25. <animation>
  26. <type>spin</type>
  27. <object-name>flamme1</object-name>
  28. <object-name>flamme2</object-name>
  29. <object-name>flamme3</object-name>
  30. <property>controls/engines/engine[1]/throttle</property>
  31. <factor> 100 </factor>
  32. <center>
  33. <x-m> 0.000 </x-m>
  34. <y-m> 0.000 </y-m>
  35. <z-m> 0.000 </z-m>
  36. </center>
  37. <axis>
  38. <x> 1.000 </x>
  39. <y> 0.000 </y>
  40. <z> 0.000 </z>
  41. </axis>
  42. </animation>
  43. <animation>
  44. <type>select</type>
  45. <object-name>flamme1</object-name>
  46. <condition>
  47. <greater-than>
  48. <property>controls/engines/engine[1]/throttle</property>
  49. <value>0.8</value>
  50. </greater-than>
  51. <less-than>
  52. <property>controls/engines/engine[1]/throttle</property>
  53. <value>0.9</value>
  54. </less-than>
  55. </condition>
  56. </animation>
  57. <animation>
  58. <type>select</type>
  59. <object-name>flamme2</object-name>
  60. <condition>
  61. <greater-than>
  62. <property>controls/engines/engine[1]/throttle</property>
  63. <value>0.9</value>
  64. </greater-than>
  65. <less-than>
  66. <property>controls/engines/engine[1]/throttle</property>
  67. <value>1</value>
  68. </less-than>
  69. </condition>
  70. </animation>
  71. <animation>
  72. <type>select</type>
  73. <object-name>flamme3</object-name>
  74. <condition>
  75. <equals>
  76. <property>controls/engines/engine[1]/throttle</property>
  77. <value>1</value>
  78. </equals>
  79. </condition>
  80. </animation>
  81. </PropertyList>