oat_m303.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <?xml version="1.0"?>
  2. <!--
  3. Outside Air Temperature indicator, loosely based on the Davtron 303
  4. Gary "Buckaroo" Neely
  5. -->
  6. <PropertyList>
  7. <path>oat_m303.ac</path>
  8. <animation>
  9. <type>material</type>
  10. <object-name>Bezel</object-name>
  11. <emission>
  12. <red>0.2</red>
  13. <green>0.1</green>
  14. <blue>0.05</blue>
  15. <factor-prop>/systems/electrical/outputs/panel-norm</factor-prop>
  16. </emission>
  17. </animation>
  18. <animation>
  19. <type>material</type>
  20. <object-name>LabelF</object-name>
  21. <object-name>LabelC</object-name>
  22. <object-name>LabelE</object-name>
  23. <object-name>VoltsDigit1</object-name>
  24. <object-name>VoltsDigit2</object-name>
  25. <object-name>VoltsDigit3</object-name>
  26. <object-name>CenDigit1</object-name>
  27. <object-name>CenDigit2</object-name>
  28. <object-name>FarDigit1</object-name>
  29. <object-name>FarDigit2</object-name>
  30. <object-name>Decimal</object-name>
  31. <object-name>DegreeC</object-name>
  32. <object-name>DegreeF</object-name>
  33. <emission>
  34. <red>0.8</red>
  35. <green>0.4</green>
  36. <blue>0.2</blue>
  37. <factor-prop>/systems/electrical/outputs/panel-norm</factor-prop>
  38. </emission>
  39. </animation>
  40. <animation>
  41. <type>select</type>
  42. <object-name>CenDigit1</object-name>
  43. <object-name>CenDigit2</object-name>
  44. <object-name>DegreeC</object-name>
  45. <object-name>LabelC</object-name>
  46. <condition>
  47. <and>
  48. <property>/systems/electrical/outputs/oat</property>
  49. <equals>
  50. <property>/instrumentation/oat/mode</property>
  51. <value>0</value>
  52. </equals>
  53. </and>
  54. </condition>
  55. </animation>
  56. <animation>
  57. <type>select</type>
  58. <object-name>FarDigit1</object-name>
  59. <object-name>FarDigit2</object-name>
  60. <object-name>DegreeF</object-name>
  61. <object-name>LabelF</object-name>
  62. <condition>
  63. <and>
  64. <property>/systems/electrical/outputs/oat</property>
  65. <equals>
  66. <property>/instrumentation/oat/mode</property>
  67. <value>1</value>
  68. </equals>
  69. </and>
  70. </condition>
  71. </animation>
  72. <animation>
  73. <type>select</type>
  74. <object-name>VoltsDigit1</object-name>
  75. <object-name>VoltsDigit2</object-name>
  76. <object-name>Decimal</object-name>
  77. <object-name>VoltsDigit3</object-name>
  78. <object-name>LabelE</object-name>
  79. <condition>
  80. <and>
  81. <property>/systems/electrical/outputs/oat</property>
  82. <equals>
  83. <property>/instrumentation/oat/mode</property>
  84. <value>2</value>
  85. </equals>
  86. </and>
  87. </condition>
  88. </animation>
  89. <animation>
  90. <type>textranslate</type>
  91. <object-name>CenDigit1</object-name>
  92. <property>/environment/temperature-degc</property>
  93. <factor>0.01</factor>
  94. <step>10</step>
  95. <axis>
  96. <x>0</x>
  97. <y>1</y>
  98. <z>0</z>
  99. </axis>
  100. </animation>
  101. <animation>
  102. <type>textranslate</type>
  103. <object-name>CenDigit2</object-name>
  104. <property>/environment/temperature-degc</property>
  105. <factor>0.1</factor>
  106. <step>1</step>
  107. <axis>
  108. <x>0</x>
  109. <y>1</y>
  110. <z>0</z>
  111. </axis>
  112. </animation>
  113. <animation>
  114. <type>textranslate</type>
  115. <object-name>FarDigit1</object-name>
  116. <property>/environment/temperature-degf</property>
  117. <factor>0.01</factor>
  118. <step>10</step>
  119. <axis>
  120. <x>0</x>
  121. <y>1</y>
  122. <z>0</z>
  123. </axis>
  124. </animation>
  125. <animation>
  126. <type>textranslate</type>
  127. <object-name>FarDigit2</object-name>
  128. <property>/environment/temperature-degf</property>
  129. <factor>0.1</factor>
  130. <step>1</step>
  131. <axis>
  132. <x>0</x>
  133. <y>1</y>
  134. <z>0</z>
  135. </axis>
  136. </animation>
  137. <animation>
  138. <type>textranslate</type>
  139. <object-name>VoltsDigit1</object-name>
  140. <property>/systems/electrical/outputs/oat</property>
  141. <factor>0.01</factor>
  142. <step>10</step>
  143. <axis>
  144. <x>0</x>
  145. <y>1</y>
  146. <z>0</z>
  147. </axis>
  148. </animation>
  149. <animation>
  150. <type>textranslate</type>
  151. <object-name>VoltsDigit2</object-name>
  152. <property>/systems/electrical/outputs/oat</property>
  153. <factor>0.1</factor>
  154. <step>1</step>
  155. <axis>
  156. <x>0</x>
  157. <y>1</y>
  158. <z>0</z>
  159. </axis>
  160. </animation>
  161. <animation>
  162. <type>textranslate</type>
  163. <object-name>VoltsDigit3</object-name>
  164. <property>/systems/electrical/outputs/oat</property>
  165. <factor>1.0</factor>
  166. <step>0.1</step>
  167. <axis>
  168. <x>0</x>
  169. <y>1</y>
  170. <z>0</z>
  171. </axis>
  172. </animation>
  173. </PropertyList>