Rescue-Op.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <PropertyList>
  2. <!--
  3. Usable with FlightGear
  4. Property of Gerard Robin (C) 2008-2010
  5. Copyright
  6. -->
  7. <path>rescue-op.ac</path>
  8. <!-- <texture-path>Aircraft/Alouette-III/Models/Textures</texture-path>-->
  9. <offsets>
  10. <pitch-deg>0</pitch-deg>
  11. <z-m>10</z-m>
  12. <x-m>0.0</x-m>
  13. <heading-deg>180</heading-deg>
  14. </offsets>
  15. <animation>
  16. <type>select</type>
  17. <object-name>Rope</object-name>
  18. <object-name>Rescued-Person</object-name>
  19. <object-name>Crown</object-name>
  20. <condition>
  21. <or>
  22. <equals>
  23. <property>sim/model/rescue</property>
  24. <value>1</value>
  25. </equals>
  26. <equals>
  27. <property>sim/multiplay/generic/float[12]</property>
  28. <value>1</value>
  29. </equals>
  30. </or>
  31. </condition>
  32. </animation>
  33. <animation>
  34. <type>select</type>
  35. <object-name>Rope</object-name>
  36. <object-name>Rescued-Person</object-name>
  37. <object-name>Crown</object-name>
  38. <condition>
  39. <equals>
  40. <property>sim/multiplay/generic/float[2]</property>
  41. <value>1</value>
  42. </equals>
  43. </condition>
  44. </animation>
  45. <!-- swing code -->
  46. <animation>
  47. <type>rotate</type>
  48. <object-name>Rope</object-name>
  49. <object-name>Rescued-Person</object-name>
  50. <object-name>Crown</object-name>
  51. <property>orientation/pitch-deg</property>
  52. <factor>0.7</factor>
  53. <center>
  54. <x-m>0.016548</x-m>
  55. <y-m>0.00567126</y-m>
  56. <z-m>-4.05133</z-m>
  57. </center>
  58. <axis>
  59. <x>0</x>
  60. <y>-1</y>
  61. <z>0</z>
  62. </axis>
  63. </animation>
  64. <animation>
  65. <type>rotate</type>
  66. <object-name>Rope</object-name>
  67. <object-name>Rescued-Person</object-name>
  68. <object-name>Crown</object-name>
  69. <property>orientation/roll-deg</property>
  70. <factor>0.7</factor>
  71. <center>
  72. <x-m>0.016548</x-m>
  73. <y-m>0.00567126</y-m>
  74. <z-m>-4.05133</z-m>
  75. </center>
  76. <axis>
  77. <x>1</x>
  78. <y>0</y>
  79. <z>0</z>
  80. </axis>
  81. </animation>
  82. <animation>
  83. <type>rotate</type>
  84. <object-name>Rope</object-name>
  85. <object-name>Rescued-Person</object-name>
  86. <object-name>Crown</object-name>
  87. <property>orientation/yaw-rate-degps</property>
  88. <factor>-5</factor>
  89. <center>
  90. <x-m>0.016548</x-m>
  91. <y-m>0.00567126</y-m>
  92. <z-m>-0.05133</z-m>
  93. </center>
  94. <axis>
  95. <x> 0 </x>
  96. <y> 0 </y>
  97. <z> 1 </z>
  98. </axis>
  99. </animation>
  100. <!-- end swing code -->
  101. <animation>
  102. <type>translate</type>
  103. <object-name>Rescued-Person</object-name>
  104. <object-name>Crown</object-name>
  105. <property>sim/multiplay/generic/float[13]</property>
  106. <factor>-10</factor>
  107. <axis>
  108. <x>0</x>
  109. <y>0</y>
  110. <z>1</z>
  111. </axis>
  112. </animation>
  113. <animation>
  114. <type>select</type>
  115. <object-name>Rescued-Person</object-name>
  116. <object-name>Crown</object-name>
  117. <condition>
  118. <not-equals>
  119. <property>sim/multiplay/generic/float[13]</property>
  120. <value>0</value>
  121. </not-equals>
  122. </condition>
  123. </animation>
  124. <animation>
  125. <type>translate</type>
  126. <object-name>Rope</object-name>
  127. <property>sim/multiplay/generic/float[13]</property>
  128. <interpolation>
  129. <entry>
  130. <ind>0</ind>
  131. <dep>-4</dep>
  132. </entry>
  133. <entry>
  134. <ind>1</ind>
  135. <dep>-10</dep>
  136. </entry>
  137. </interpolation>
  138. <axis>
  139. <x>0</x>
  140. <y>0</y>
  141. <z>1</z>
  142. </axis>
  143. </animation>
  144. <animation>
  145. <type>scale</type>
  146. <object-name>Rope</object-name>
  147. <property>sim/multiplay/generic/float[13]</property>
  148. <x-max>1</x-max>
  149. <x-min>1</x-min>
  150. <y-max>1</y-max>
  151. <y-min>1</y-min>
  152. <z-max>1</z-max>
  153. <z-min>0.01</z-min>
  154. <x-factor>1</x-factor>
  155. <y-factor>1</y-factor>
  156. <z-factor>1</z-factor>
  157. </animation>
  158. </PropertyList>