LT.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>LT.ac</path>
  4. <animation>
  5. <type>range</type>
  6. <min-m>0</min-m>
  7. <max-m>5</max-m>
  8. </animation>
  9. <animation>
  10. <object-name>base</object-name>
  11. <object-name>INSTR</object-name>
  12. <object-name>CONSOLE</object-name>
  13. <object-name>INDEXER</object-name>
  14. <object-name>SW1.001</object-name>
  15. <object-name>SW1.002</object-name>
  16. <object-name>SW1.003</object-name>
  17. <object-name>SW1.004</object-name>
  18. <type>material</type>
  19. <emission>
  20. <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
  21. <red>0.5</red>
  22. <green>0.2</green>
  23. <blue>0.2</blue>
  24. </emission>
  25. </animation>
  26. <animation>
  27. <type>pick</type>
  28. <object-name>INSTR</object-name>
  29. <object-name>CONSOLE</object-name>
  30. <action>
  31. <button>4</button>
  32. <repeatable>true</repeatable>
  33. <binding>
  34. <command>property-adjust</command>
  35. <property>controls/lighting/instrument-lights-norm</property>
  36. <step>0.1</step>
  37. <min>0</min>
  38. <max>1</max>
  39. </binding>
  40. </action>
  41. </animation>
  42. <animation>
  43. <type>pick</type>
  44. <object-name>INSTR</object-name>
  45. <object-name>CONSOLE</object-name>
  46. <action>
  47. <button>3</button>
  48. <repeatable>true</repeatable>
  49. <binding>
  50. <command>property-adjust</command>
  51. <property>controls/lighting/instrument-lights-norm</property>
  52. <step>-0.1</step>
  53. <min>0</min>
  54. <max>1</max>
  55. </binding>
  56. </action>
  57. </animation>
  58. <animation>
  59. <type>rotate</type>
  60. <object-name>INSTR</object-name>
  61. <property>controls/lighting/instrument-lights-norm</property>
  62. <factor>270</factor>
  63. <axis>
  64. <x> -1 </x>
  65. <y> 0 </y>
  66. <z> 0 </z>
  67. </axis>
  68. <center>
  69. <x-m> 0.002 </x-m>
  70. <y-m> -0.028 </y-m>
  71. <z-m> -0.001 </z-m>
  72. </center>
  73. </animation>
  74. <animation>
  75. <type>rotate</type>
  76. <object-name>CONSOLE</object-name>
  77. <property>controls/lighting/instrument-lights-norm</property>
  78. <factor>270</factor>
  79. <axis>
  80. <x> -1 </x>
  81. <y> 0 </y>
  82. <z> 0 </z>
  83. </axis>
  84. <center>
  85. <x-m> 0.001 </x-m>
  86. <y-m> -0.032 </y-m>
  87. <z-m> -0.079 </z-m>
  88. </center>
  89. </animation>
  90. <!-- Switch -->
  91. <animation>
  92. <type>material</type>
  93. <object-name>SW1</object-name>
  94. <emission>
  95. <red> 0.5 </red>
  96. <green> 0.2 </green>
  97. <blue> 0.2 </blue>
  98. <factor-prop>controls/electric/battery-switch</factor-prop>
  99. </emission>
  100. </animation>
  101. <animation>
  102. <type>pick</type>
  103. <visible>true</visible>
  104. <object-name>SW1</object-name>
  105. <action>
  106. <button>0</button>
  107. <repeatable>false</repeatable>
  108. <binding>
  109. <command>property-toggle</command>
  110. <property>controls/lighting/panel-norm</property>
  111. </binding>
  112. <binding>
  113. <command>property-toggle</command>
  114. <property>controls/lighting/instruments-norm</property>
  115. </binding>
  116. <binding>
  117. <command>property-toggle</command>
  118. <property>controls/lighting/instrument-lights</property>
  119. </binding>
  120. <binding>
  121. <command>property-toggle</command>
  122. <property>sim/sound/click</property>
  123. </binding>
  124. </action>
  125. </animation>
  126. <animation>
  127. <type>rotate</type>
  128. <object-name>SW1</object-name>
  129. <property>controls/lighting/instruments-norm</property>
  130. <property>controls/lighting/panel-norm</property>
  131. <factor>35</factor>
  132. <axis>
  133. <x> 0 </x>
  134. <y> 0 </y>
  135. <z> 1 </z>
  136. </axis>
  137. <center>
  138. <x-m> 0.004 </x-m>
  139. <y-m> -0.006 </y-m>
  140. <z-m> -0.049 </z-m>
  141. </center>
  142. </animation>
  143. </PropertyList>