audiopanel.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. <PropertyList>
  2. <!--
  3. Audio panel for ec145, h145m
  4. non-functional model,
  5. except volume knob2 controls simulated
  6. avionics audio volume.
  7. -->
  8. <path>audiopanel.ac</path>
  9. <effect>
  10. <inherits-from>Aircraft/ec145/Models/Effects/implicit-lightmap</inherits-from>
  11. <object-name>audiopanel</object-name>
  12. <object-name>knob1</object-name>
  13. <object-name>knob2</object-name>
  14. </effect>
  15. <!-- effect of overhead floodlight as material emission,
  16. 'cheap trick' to simulate ambient cabin lighting
  17. -->
  18. <animation>
  19. <type>material</type>
  20. <object-name>audiopanel</object-name>
  21. <object-name>knob1</object-name>
  22. <object-name>knob2</object-name>
  23. <emission>
  24. <red>0.02</red>
  25. <green>0.02</green>
  26. <blue>0.02</blue>
  27. <factor-prop>/systems/electrical/outputs/floodlight</factor-prop>
  28. </emission>
  29. </animation>
  30. <animation>
  31. <type>knob</type>
  32. <object-name>knob1</object-name>
  33. <action>
  34. <binding>
  35. <command>property-adjust</command>
  36. <property>instrumentation/audiopanel/knob1</property>
  37. <factor>33</factor>
  38. <min>0</min>
  39. <max>275</max>
  40. <wrap>false</wrap>
  41. </binding>
  42. </action>
  43. </animation>
  44. <animation>
  45. <type>rotate</type>
  46. <object-name>knob1</object-name>
  47. <property>instrumentation/audiopanel/knob1</property>
  48. <axis>
  49. <x>1</x>
  50. <y>0</y>
  51. <z>0</z>
  52. </axis>
  53. <center>
  54. <x-m>0.0</x-m>
  55. <y-m>-0.00027</y-m>
  56. <z-m>0.01243</z-m>
  57. </center>
  58. </animation>
  59. <animation>
  60. <type>knob</type>
  61. <object-name>knob2</object-name>
  62. <action>
  63. <binding>
  64. <command>property-adjust</command>
  65. <property>instrumentation/audiopanel/knob2</property>
  66. <factor>-10</factor>
  67. <min>-230</min>
  68. <max>80</max>
  69. <wrap>false</wrap>
  70. </binding>
  71. <binding>
  72. <command>property-adjust</command>
  73. <property>sim/sound/avionics/volume</property>
  74. <factor>0.05</factor>
  75. <min>0.0</min>
  76. <max>1.0</max>
  77. <wrap>false</wrap>
  78. </binding>
  79. </action>
  80. <hovered>
  81. <binding>
  82. <command>set-tooltip</command>
  83. <tooltip-id>vol</tooltip-id>
  84. <label>Avio. Master Audio Volume</label>
  85. </binding>
  86. </hovered>
  87. </animation>
  88. <animation>
  89. <type>rotate</type>
  90. <object-name>knob2</object-name>
  91. <property>instrumentation/audiopanel/knob2</property>
  92. <axis>
  93. <x>1</x>
  94. <y>0</y>
  95. <z>0</z>
  96. </axis>
  97. <center>
  98. <x-m>0.0</x-m>
  99. <y-m>0.05256</y-m>
  100. <z-m>0.01256</z-m>
  101. </center>
  102. </animation>
  103. <animation>
  104. <type>knob</type>
  105. <object-name>vhf1.knob</object-name>
  106. <action>
  107. <binding>
  108. <command>property-adjust</command>
  109. <property>instrumentation/comm[0]/volume</property>
  110. <factor>0.05</factor>
  111. <min>0.1</min>
  112. <max>1.0</max>
  113. <wrap>false</wrap>
  114. </binding>
  115. </action>
  116. <hovered>
  117. <binding>
  118. <command>set-tooltip</command>
  119. <tooltip-id>vol</tooltip-id>
  120. <label>Comm 1 Audio Volume</label>
  121. </binding>
  122. </hovered>
  123. </animation>
  124. <animation>
  125. <type>rotate</type>
  126. <object-name>vhf1.knob</object-name>
  127. <property>instrumentation/comm[0]/volume</property>
  128. <factor>-300</factor>
  129. <axis>
  130. <x>1</x>
  131. <y>0</y>
  132. <z>0</z>
  133. </axis>
  134. <center>
  135. <x-m>0.0</x-m>
  136. <y-m>-0.06183</y-m>
  137. <z-m>0.04174</z-m>
  138. </center>
  139. </animation>
  140. <animation>
  141. <type>knob</type>
  142. <object-name>vhf2.knob</object-name>
  143. <action>
  144. <binding>
  145. <command>property-adjust</command>
  146. <property>instrumentation/comm[1]/volume</property>
  147. <factor>0.05</factor>
  148. <min>0.1</min>
  149. <max>1.0</max>
  150. <wrap>false</wrap>
  151. </binding>
  152. </action>
  153. <hovered>
  154. <binding>
  155. <command>set-tooltip</command>
  156. <tooltip-id>vol</tooltip-id>
  157. <label>Comm 2 Audio Volume</label>
  158. </binding>
  159. </hovered>
  160. </animation>
  161. <animation>
  162. <type>rotate</type>
  163. <object-name>vhf2.knob</object-name>
  164. <property>instrumentation/comm[1]/volume</property>
  165. <factor>-300</factor>
  166. <axis>
  167. <x>1</x>
  168. <y>0</y>
  169. <z>0</z>
  170. </axis>
  171. <center>
  172. <x-m>0.0</x-m>
  173. <y-m>-0.04408</y-m>
  174. <z-m>0.04175</z-m>
  175. </center>
  176. </animation>
  177. <animation>
  178. <type>knob</type>
  179. <object-name>nav1.knob</object-name>
  180. <action>
  181. <binding>
  182. <command>property-adjust</command>
  183. <property>instrumentation/nav[0]/volume</property>
  184. <factor>0.05</factor>
  185. <min>0.1</min>
  186. <max>1.0</max>
  187. <wrap>false</wrap>
  188. </binding>
  189. </action>
  190. <hovered>
  191. <binding>
  192. <command>set-tooltip</command>
  193. <tooltip-id>vol</tooltip-id>
  194. <label>Nav 1 Audio Volume</label>
  195. </binding>
  196. </hovered>
  197. </animation>
  198. <animation>
  199. <type>rotate</type>
  200. <object-name>nav1.knob</object-name>
  201. <property>instrumentation/nav[0]/volume</property>
  202. <factor>-300</factor>
  203. <axis>
  204. <x>1</x>
  205. <y>0</y>
  206. <z>0</z>
  207. </axis>
  208. <center>
  209. <x-m>0.0</x-m>
  210. <y-m>-0.06182</y-m>
  211. <z-m>-0.01514</z-m>
  212. </center>
  213. </animation>
  214. <animation>
  215. <type>knob</type>
  216. <object-name>nav2.knob</object-name>
  217. <action>
  218. <binding>
  219. <command>property-adjust</command>
  220. <property>instrumentation/nav[1]/volume</property>
  221. <factor>0.05</factor>
  222. <min>0.1</min>
  223. <max>1.0</max>
  224. <wrap>false</wrap>
  225. </binding>
  226. </action>
  227. <hovered>
  228. <binding>
  229. <command>set-tooltip</command>
  230. <tooltip-id>vol</tooltip-id>
  231. <label>Nav 2 Audio Volume</label>
  232. </binding>
  233. </hovered>
  234. </animation>
  235. <animation>
  236. <type>rotate</type>
  237. <object-name>nav2.knob</object-name>
  238. <property>instrumentation/nav[1]/volume</property>
  239. <factor>-300</factor>
  240. <axis>
  241. <x>1</x>
  242. <y>0</y>
  243. <z>0</z>
  244. </axis>
  245. <center>
  246. <x-m>0.0</x-m>
  247. <y-m>-0.04408</y-m>
  248. <z-m>-0.01513</z-m>
  249. </center>
  250. </animation>
  251. <animation>
  252. <type>knob</type>
  253. <object-name>adf.knob</object-name>
  254. <action>
  255. <binding>
  256. <command>property-adjust</command>
  257. <property>instrumentation/adf/volume-norm</property>
  258. <factor>0.05</factor>
  259. <min>0.1</min>
  260. <max>1.0</max>
  261. <wrap>false</wrap>
  262. </binding>
  263. </action>
  264. <hovered>
  265. <binding>
  266. <command>set-tooltip</command>
  267. <tooltip-id>vol</tooltip-id>
  268. <label>ADF 1 Audio Volume</label>
  269. </binding>
  270. </hovered>
  271. </animation>
  272. <animation>
  273. <type>rotate</type>
  274. <object-name>adf.knob</object-name>
  275. <property>instrumentation/adf/volume-norm</property>
  276. <factor>-300</factor>
  277. <axis>
  278. <x>1</x>
  279. <y>0</y>
  280. <z>0</z>
  281. </axis>
  282. <center>
  283. <x-m>0.0</x-m>
  284. <y-m>0.0264</y-m>
  285. <z-m>-0.01514</z-m>
  286. </center>
  287. </animation>
  288. </PropertyList>