gear.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <path>gear.ac</path>
  4. <animation>
  5. <object-name>fond</object-name>
  6. <object-name>back</object-name>
  7. <object-name>face</object-name>
  8. <object-name>disk-S-UL</object-name>
  9. <object-name>disk-F-UL</object-name>
  10. <object-name>disk-P-UL</object-name>
  11. <object-name>disk-P-R</object-name>
  12. <object-name>disk-S-G</object-name>
  13. <object-name>disk-F-R</object-name>
  14. <object-name>disk-F-G</object-name>
  15. <object-name>disk-P-G</object-name>
  16. <object-name>disk-S-R</object-name>
  17. <object-name>disk-B-O</object-name>
  18. <object-name>disk-B-O</object-name>
  19. <object-name>vitre</object-name>
  20. </animation>
  21. <animation>
  22. <type>noshadow</type>
  23. <object-name>vitre</object-name>
  24. </animation>
  25. <animation>
  26. <type>shader</type>
  27. <shader>chrome</shader>
  28. <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
  29. <object-name>vitre</object-name>
  30. </animation>
  31. <animation>
  32. <type>material</type>
  33. <object-name>face</object-name>
  34. <object-name>disk-S-UL</object-name>
  35. <object-name>disk-F-UL</object-name>
  36. <object-name>disk-P-UL</object-name>
  37. <object-name>disk-B-O</object-name>
  38. <object-name>disk-B-O</object-name>
  39. <emission>
  40. <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
  41. <red> 0.50 </red>
  42. <green> 0.25 </green>
  43. <blue> 0.25 </blue>
  44. </emission>
  45. </animation>
  46. <animation>
  47. <type>material</type>
  48. <object-name>disk-S-G</object-name>
  49. <object-name>disk-F-G</object-name>
  50. <object-name>disk-P-G</object-name>
  51. <emission>
  52. <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
  53. <red> 0.35 </red>
  54. <green> 0.95 </green>
  55. <blue> 0.35 </blue>
  56. </emission>
  57. </animation>
  58. <animation>
  59. <type>material</type>
  60. <object-name>disk-P-R</object-name>
  61. <object-name>disk-F-R</object-name>
  62. <object-name>disk-S-R</object-name>
  63. <emission>
  64. <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
  65. <red> 0.95 </red>
  66. <green> 0.35 </green>
  67. <blue> 0.35 </blue>
  68. </emission>
  69. </animation>
  70. <!-- **************** lamps **************** -->
  71. <!-- Port locked down -->
  72. <animation>
  73. <type>select</type>
  74. <object-name>disk-P-R</object-name>
  75. <condition>
  76. <equals>
  77. <property>gear/gear[1]/position-norm</property>
  78. <value>0</value>
  79. </equals>
  80. </condition>
  81. </animation>
  82. <!-- Stbd locked down -->
  83. <animation>
  84. <type>select</type>
  85. <object-name>disk-S-R</object-name>
  86. <condition>
  87. <equals>
  88. <property>gear/gear[2]/position-norm</property>
  89. <value>0</value>
  90. </equals>
  91. </condition>
  92. </animation>
  93. <!-- Nose locked down -->
  94. <animation>
  95. <type>select</type>
  96. <object-name>disk-F-R</object-name>
  97. <condition>
  98. <equals>
  99. <property>gear/gear[0]/position-norm</property>
  100. <value>0</value>
  101. </equals>
  102. </condition>
  103. </animation>
  104. <!-- Port locked up -->
  105. <animation>
  106. <type>select</type>
  107. <object-name>disk-P-G</object-name>
  108. <condition>
  109. <equals>
  110. <property>gear/gear[1]/position-norm</property>
  111. <value>1</value>
  112. </equals>
  113. </condition>
  114. </animation>
  115. <!-- Stbd locked up -->
  116. <animation>
  117. <type>select</type>
  118. <object-name>disk-S-G</object-name>
  119. <condition>
  120. <equals>
  121. <property>gear/gear[2]/position-norm</property>
  122. <value>1</value>
  123. </equals>
  124. </condition>
  125. </animation>
  126. <!-- Nose locked up -->
  127. <animation>
  128. <type>select</type>
  129. <object-name>disk-F-G</object-name>
  130. <condition>
  131. <equals>
  132. <property>gear/gear[0]/position-norm</property>
  133. <value>1</value>
  134. </equals>
  135. </condition>
  136. </animation>
  137. <!-- Port unlocked -->
  138. <animation>
  139. <type>select</type>
  140. <object-name>disk-P-UL</object-name>
  141. <condition>
  142. <and>
  143. <less-than>
  144. <property>gear/gear[1]/position-norm</property>
  145. <value>1</value>
  146. </less-than>
  147. <greater-than>
  148. <property>gear/gear[1]/position-norm</property>
  149. <value>0</value>
  150. </greater-than>
  151. </and>
  152. </condition>
  153. </animation>
  154. <!-- Stbd unlocked -->
  155. <animation>
  156. <type>select</type>
  157. <object-name>disk-S-UL</object-name>
  158. <condition>
  159. <and>
  160. <less-than>
  161. <property>gear/gear[2]/position-norm</property>
  162. <value>1</value>
  163. </less-than>
  164. <greater-than>
  165. <property>gear/gear[2]/position-norm</property>
  166. <value>0</value>
  167. </greater-than>
  168. </and>
  169. </condition>
  170. </animation>
  171. <!-- Nose unlocked -->
  172. <animation>
  173. <type>select</type>
  174. <object-name>disk-F-UL</object-name>
  175. <condition>
  176. <and>
  177. <less-than>
  178. <property>gear/gear[0]/position-norm</property>
  179. <value>1</value>
  180. </less-than>
  181. <greater-than>
  182. <property>gear/gear[0]/position-norm</property>
  183. <value>0</value>
  184. </greater-than>
  185. </and>
  186. </condition>
  187. </animation>
  188. <!-- Brakes On -->
  189. <animation>
  190. <type>select</type>
  191. <object-name>disk-B-O</object-name>
  192. <condition>
  193. <or>
  194. <equals>
  195. <property>controls/gear/brake-parking</property>
  196. <value>1</value>
  197. </equals>
  198. <equals>
  199. <property>controls/gear/brake-left</property>
  200. <value>1</value>
  201. </equals>
  202. <equals>
  203. <property>controls/gear/brake-right</property>
  204. <value>1</value>
  205. </equals>
  206. </or>
  207. </condition>
  208. </animation>
  209. <!-- *** LoD *** -->
  210. <animation>
  211. <type>range</type>
  212. <min-m>0</min-m>
  213. <max-m>5</max-m>
  214. </animation>
  215. </PropertyList>