hud-panel.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <path>hud-panel.ac</path>
  4. <animation>
  5. <type>material</type>
  6. <object-name>mode-knob</object-name>
  7. <object-name>trim-knob</object-name>
  8. <object-name>brt-knob</object-name>
  9. <object-name>timer-switch</object-name>
  10. <object-name>switch1</object-name>
  11. <object-name>switch2</object-name>
  12. <object-name>switch3</object-name>
  13. <object-name>switch4</object-name>
  14. <object-name>hud-switch</object-name>
  15. <emission>
  16. <red> 0.5 </red>
  17. <green> 0.2 </green>
  18. <blue> 0.2 </blue>
  19. <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
  20. </emission>
  21. </animation>
  22. <animation>
  23. <type>material</type>
  24. <object-name>base</object-name>
  25. <emission>
  26. <red> 0.5 </red>
  27. <green> 0.2 </green>
  28. <blue> 0.2 </blue>
  29. <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
  30. </emission>
  31. </animation>
  32. <!-- hud on/off -->
  33. <animation>
  34. <type>pick</type>
  35. <visible>true</visible>
  36. <object-name>switch4</object-name>
  37. <action>
  38. <button>0</button>
  39. <repeatable>false</repeatable>
  40. <binding>
  41. <command>property-toggle</command>
  42. <property>sim/hud/visibility[1]</property>
  43. </binding>
  44. <binding>
  45. <command>property-toggle</command>
  46. <property>sim/sound/click</property>
  47. </binding>
  48. </action>
  49. </animation>
  50. <animation>
  51. <type>rotate</type>
  52. <object-name>hud-switch</object-name>
  53. <property>sim/hud/visibility[1]</property>
  54. <factor>40</factor>
  55. <axis>
  56. <x> 0 </x>
  57. <y> -1 </y>
  58. <z> 0 </z>
  59. </axis>
  60. <center>
  61. <x-m> -0.025 </x-m>
  62. <y-m> 0.047 </y-m>
  63. <z-m> -0.033 </z-m>
  64. </center>
  65. </animation>
  66. <!-- hud brightness -->
  67. <animation>
  68. <type>pick</type>
  69. <visible>true</visible>
  70. <object-name>brt-knob</object-name>
  71. <action>
  72. <button>3</button>
  73. <repeatable>false</repeatable>
  74. <binding>
  75. <command>property-adjust</command>
  76. <property>sim/hud/color/brightness</property>
  77. <step>-0.1</step>
  78. <min>0</min>
  79. <max>1.5</max>
  80. <wrap>false</wrap>
  81. </binding>
  82. </action>
  83. </animation>
  84. <animation>
  85. <type>pick</type>
  86. <visible>true</visible>
  87. <object-name>brt-knob</object-name>
  88. <action>
  89. <button>4</button>
  90. <repeatable>false</repeatable>
  91. <binding>
  92. <command>property-adjust</command>
  93. <property>sim/hud/color/brightness</property>
  94. <step>0.1</step>
  95. <min>0</min>
  96. <max>1.5</max>
  97. <wrap>false</wrap>
  98. </binding>
  99. </action>
  100. </animation>
  101. </PropertyList>