ka51b(1).xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <?xml version="1.0" ?>
  2. <!--
  3. This file is part of FlightGear, the free flight simulator
  4. http://www.flightgear.org/
  5. Copyright (C) 2009 Torsten Dreyer, Torsten (at) t3r _dot_ de
  6. This program is free software; you can redistribute it and/or
  7. modify it under the terms of the GNU General Public License as
  8. published by the Free Software Foundation; either version 2 of the
  9. License, or (at your option) any later version.
  10. This program is distributed in the hope that it will be useful, but
  11. WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. General Public License for more details.
  14. -->
  15. <!--
  16. This is the ka51b slaving meter 3d instrument.
  17. Maintainer: Torsten Dreyer
  18. -->
  19. <PropertyList>
  20. <path>ka51b.ac</path>
  21. <animation>
  22. <type>range</type>
  23. <min-m>0</min-m>
  24. <max-m>10</max-m>
  25. </animation>
  26. <animation>
  27. <type>material</type>
  28. <property-base>sim/model/material/cockpit</property-base>
  29. <object-name>face</object-name>
  30. <object-name>auto</object-name>
  31. <object-name>direction</object-name>
  32. <emission>
  33. <red-prop>red</red-prop>
  34. <green-prop>green</green-prop>
  35. <blue-prop>blue</blue-prop>
  36. <factor-prop>factor</factor-prop>
  37. </emission>
  38. </animation>
  39. <animation>
  40. <type>rotate</type>
  41. <object-name>auto.lever</object-name>
  42. <property>instrumentation/kcs55/ka51/slaved</property>
  43. <factor>-60</factor>
  44. <offset-deg>60</offset-deg>
  45. <axis>
  46. <x>0</x>
  47. <y>0</y>
  48. <z>1</z>
  49. </axis>
  50. <center>
  51. <x-m>0</x-m>
  52. <y-m>0</y-m>
  53. <z-m>0</z-m>
  54. </center>
  55. </animation>
  56. <animation>
  57. <type>rotate</type>
  58. <object-name>direction.lever</object-name>
  59. <property>instrumentation/kcs55/ka51/manual-slave</property>
  60. <factor>30</factor>
  61. <axis>
  62. <x>0</x>
  63. <y>0</y>
  64. <z>1</z>
  65. </axis>
  66. <center>
  67. <x-m>0</x-m>
  68. <y-m>0</y-m>
  69. <z-m>0</z-m>
  70. </center>
  71. </animation>
  72. <animation>
  73. <type>translate</type>
  74. <object-name>indicator</object-name>
  75. <property>instrumentation/kcs55/kg102/slaving-meter-norm</property>
  76. <factor>0.0021579</factor>
  77. <axis>
  78. <x>0</x>
  79. <y>-1</y>
  80. <z>0</z>
  81. </axis>
  82. </animation>
  83. <animation>
  84. <type>pick</type>
  85. <object-name>auto</object-name>
  86. <visible>true</visible>
  87. <action>
  88. <button>0</button>
  89. <repeatable>false</repeatable>
  90. <binding>
  91. <command>property-toggle</command>
  92. <property>instrumentation/kcs55/ka51/slaved</property>
  93. </binding>
  94. </action>
  95. </animation>
  96. <animation>
  97. <type>pick</type>
  98. <object-name>direction.lever.l</object-name>
  99. <object-name>direction.base.l</object-name>
  100. <object-name>direction.pick.ccw</object-name>
  101. <visible>true</visible>
  102. <action>
  103. <button>0</button>
  104. <repeatable>false</repeatable>
  105. <binding>
  106. <command>property-assign</command>
  107. <property>instrumentation/kcs55/ka51/manual-slave</property>
  108. <value type="int">-1</value>
  109. </binding>
  110. <mod-up>
  111. <binding>
  112. <command>property-assign</command>
  113. <property>instrumentation/kcs55/ka51/manual-slave</property>
  114. <value type="int">0</value>
  115. </binding>
  116. </mod-up>
  117. </action>
  118. </animation>
  119. <animation>
  120. <type>pick</type>
  121. <object-name>direction.lever.r</object-name>
  122. <object-name>direction.base.r</object-name>
  123. <object-name>direction.pick.cw</object-name>
  124. <visible>true</visible>
  125. <action>
  126. <button>0</button>
  127. <repeatable>false</repeatable>
  128. <binding>
  129. <command>property-assign</command>
  130. <property>instrumentation/kcs55/ka51/manual-slave</property>
  131. <value type="int">1</value>
  132. </binding>
  133. <mod-up>
  134. <binding>
  135. <command>property-assign</command>
  136. <property>instrumentation/kcs55/ka51/manual-slave</property>
  137. <value type="int">0</value>
  138. </binding>
  139. </mod-up>
  140. </action>
  141. </animation>
  142. <animation>
  143. <type>pick</type>
  144. <object-name>auto.pick</object-name>
  145. <visible>false</visible>
  146. <action>
  147. <button>0</button>
  148. <repeatable>false</repeatable>
  149. <binding>
  150. <command>property-assign</command>
  151. <property>instrumentation/kcs55/ka51/slaved</property>
  152. <value type="bool">1</value>
  153. </binding>
  154. </action>
  155. </animation>
  156. <animation>
  157. <type>pick</type>
  158. <object-name>man.pick</object-name>
  159. <visible>false</visible>
  160. <action>
  161. <button>0</button>
  162. <repeatable>false</repeatable>
  163. <binding>
  164. <command>property-assign</command>
  165. <property>instrumentation/kcs55/ka51/slaved</property>
  166. <value type="bool">0</value>
  167. </binding>
  168. </action>
  169. </animation>
  170. </PropertyList>