tacan.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>tacan.ac</path>
  4. <animation>
  5. <name>tacan</name>
  6. <object-name>chan-knob</object-name>
  7. <object-name>Y-sign</object-name>
  8. <object-name>X-sign</object-name>
  9. <object-name>drum-1</object-name>
  10. <object-name>drum-2</object-name>
  11. <object-name>drum-3</object-name>
  12. <object-name>go-lamp</object-name>
  13. <object-name>nogo-lamp</object-name>
  14. <object-name>go-lamp-off</object-name>
  15. <object-name>nogo-lamp-off</object-name>
  16. <object-name>xy-switch</object-name>
  17. <object-name>mode-switch</object-name>
  18. <object-name>mode-knob</object-name>
  19. </animation>
  20. <animation>
  21. <type>select</type>
  22. <object-name>tacan</object-name>
  23. <condition>
  24. <equals>
  25. <property>sim/current-view/name</property>
  26. <value>Cockpit View</value>
  27. </equals>
  28. </condition>
  29. </animation>
  30. <animation>
  31. <type>textranslate</type>
  32. <object-name>drum-1</object-name>
  33. <property>instrumentation/tacan/frequencies/selected-channel[1]</property>
  34. <factor>0.1</factor>
  35. <offset>-1</offset>
  36. <axis><y>-1</y></axis>
  37. </animation>
  38. <animation>
  39. <type>textranslate</type>
  40. <object-name>drum-2</object-name>
  41. <property>instrumentation/tacan/frequencies/selected-channel[2]</property>
  42. <factor>0.1</factor>
  43. <offset>-1</offset>
  44. <axis><y>-1</y></axis>
  45. </animation>
  46. <animation>
  47. <type>textranslate</type>
  48. <object-name>drum-3</object-name>
  49. <property>instrumentation/tacan/frequencies/selected-channel[3]</property>
  50. <factor>0.1</factor>
  51. <offset>-1</offset>
  52. <axis><y>-1</y></axis>
  53. </animation>
  54. <animation>
  55. <type>select</type>
  56. <object-name>Y-sign</object-name>
  57. <condition>
  58. <equals>
  59. <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
  60. <value>Y</value>
  61. </equals>
  62. </condition>
  63. <emission>
  64. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  65. <red> 0.9 </red>
  66. <green> 0.9 </green>
  67. <blue> 0.9 </blue>
  68. </emission>
  69. </animation>
  70. <animation>
  71. <type>select</type>
  72. <object-name>X-sign</object-name>
  73. <condition>
  74. <equals>
  75. <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
  76. <value>X</value>
  77. </equals>
  78. </condition>
  79. </animation>
  80. <animation>
  81. <type>select</type>
  82. <object-name>go-lamp</object-name>
  83. <condition>
  84. <property>instrumentation/tacan/mode</property>
  85. <value>1</value>
  86. </condition>
  87. </animation>
  88. <animation>
  89. <type>material</type>
  90. <object-name>go-lamp</object-name>
  91. <emission>
  92. <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
  93. <red>1</red>
  94. <green>1</green>
  95. <blue>1</blue>
  96. </emission>
  97. <texture>divs-instr.png</texture>
  98. </animation>
  99. <!--animation>
  100. <type>select</type>
  101. <object-name>nogo-lamp</object-name>
  102. <condition>
  103. <factor-prop>instrumentation/tacan/mode</factor-prop>
  104. <value>0</value>
  105. </condition>
  106. </animation-->
  107. <!--animation>
  108. <type>material</type>
  109. <object-name>nogo-lamp</object-name>
  110. <emission>
  111. <property>instrumentation/tacan/mode</property>
  112. <red>1</red>
  113. <green>1</green>
  114. <blue>1</blue>
  115. </emission>
  116. <texture>divs-instr.png</texture>
  117. </animation-->
  118. <animation>
  119. <type>rotate</type>
  120. <object-name>mode-knob</object-name>
  121. <property>instrumentation/tacan/mode</property>
  122. <interpolation>
  123. <entry><ind>0</ind><dep>0</dep></entry>
  124. <entry><ind>2</ind><dep>-60</dep></entry>
  125. <entry><ind>4</ind><dep>-120</dep></entry>
  126. </interpolation>
  127. <center>
  128. <x-m>0.01765</x-m>
  129. <y-m>0.04122</y-m>
  130. <z-m>0.00491</z-m>
  131. </center>
  132. <axis>
  133. <x>0</x>
  134. <y>0</y>
  135. <z>1</z>
  136. </axis>
  137. </animation>
  138. <animation>
  139. <type>pick</type>
  140. <visible>true</visible>
  141. <object-name>hotspot-tcn-mode-left</object-name>
  142. <action>
  143. <button>0</button>
  144. <repeatable>true</repeatable>
  145. <interval-sec>0.3</interval-sec>
  146. <binding>
  147. <command>property-adjust</command>
  148. <property>instrumentation/tacan/mode</property>
  149. <step>-1</step>
  150. <min>0</min>
  151. </binding>
  152. </action>
  153. </animation>
  154. <animation>
  155. <type>pick</type>
  156. <visible>true</visible>
  157. <object-name>hotspot-tcn-mode-right</object-name>
  158. <action>
  159. <button>0</button>
  160. <repeatable>true</repeatable>
  161. <interval-sec>0.3</interval-sec>
  162. <binding>
  163. <command>property-adjust</command>
  164. <property>instrumentation/tacan/mode</property>
  165. <step>1</step>
  166. <max>4</max>
  167. </binding>
  168. </action>
  169. </animation>
  170. <animation>
  171. <type>rotate</type>
  172. <object-name>chan-knob</object-name>
  173. <property>instrumentation/tacan/frequencies/selected-channel</property>
  174. <interpolation>
  175. <entry><ind>0</ind><dep>0</dep></entry>
  176. <entry><ind>63</ind><dep>-120</dep></entry>
  177. <entry><ind>126</ind><dep>-240</dep></entry>
  178. </interpolation>
  179. <center>
  180. <x-m>0.0143</x-m>
  181. <y-m>-0.0362</y-m>
  182. <z-m>0.00631</z-m>
  183. </center>
  184. <axis>
  185. <x>0</x>
  186. <y>0</y>
  187. <z>1</z>
  188. </axis>
  189. </animation>
  190. <animation>
  191. <type>pick</type>
  192. <visible>true</visible>
  193. <object-name>hotspot-tcn-chan-left</object-name>
  194. <action>
  195. <button>0</button>
  196. <repeatable>true</repeatable>
  197. <interval-sec>0.2</interval-sec>
  198. <binding>
  199. <command>property-adjust</command>
  200. <property>instrumentation/tacan/frequencies/selected-channel</property>
  201. <step>-1</step>
  202. <min>1</min>
  203. </binding>
  204. </action>
  205. <action>
  206. <button>1</button>
  207. <repeatable>true</repeatable>
  208. <interval-sec>0.2</interval-sec>
  209. <binding>
  210. <command>property-adjust</command>
  211. <property>instrumentation/tacan/frequencies/selected-channel</property>
  212. <step>-10</step>
  213. <min>1</min>
  214. </binding>
  215. </action>
  216. </animation>
  217. <animation>
  218. <type>pick</type>
  219. <visible>true</visible>
  220. <object-name>hotspot-tcn-chan-right</object-name>
  221. <action>
  222. <button>0</button>
  223. <repeatable>true</repeatable>
  224. <interval-sec>0.2</interval-sec>
  225. <binding>
  226. <command>property-adjust</command>
  227. <property>instrumentation/tacan/frequencies/selected-channel</property>
  228. <step>1</step>
  229. <max>126</max>
  230. </binding>
  231. </action>
  232. <action>
  233. <button>1</button>
  234. <repeatable>true</repeatable>
  235. <interval-sec>0.2</interval-sec>
  236. <binding>
  237. <command>property-adjust</command>
  238. <property>instrumentation/tacan/frequencies/selected-channel</property>
  239. <step>10</step>
  240. <max>126</max>
  241. </binding>
  242. </action>
  243. </animation>
  244. <animation>
  245. <type>rotate</type>
  246. <object-name>xy-switch</object-name>
  247. <property>instrumentation/tacan/xy-switch</property>
  248. <factor>40</factor>
  249. <center>
  250. <x-m>0.0160</x-m>
  251. <y-m>-0.0000</y-m>
  252. <z-m>0.0003</z-m>
  253. </center>
  254. <axis>
  255. <x>0</x>
  256. <y>1</y>
  257. <z>0</z>
  258. </axis>
  259. </animation>
  260. <animation>
  261. <type>pick</type>
  262. <visible>true</visible>
  263. <object-name>xy-switch</object-name>
  264. <action>
  265. <button>0</button>
  266. <repeatable>false</repeatable>
  267. <binding>
  268. <command>property-cycle</command>
  269. <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
  270. <value>Y</value>
  271. <value>X</value>
  272. </binding>
  273. <binding>
  274. <command>property-cycle</command>
  275. <property>instrumentation/tacan/xy-switch</property>
  276. <value>1</value>
  277. <value>0</value>
  278. </binding>
  279. </action>
  280. </animation>
  281. <!-- lighting -->
  282. <!--<animation>
  283. <object-name>mount</object-name>
  284. <type>material</type>
  285. <emission>
  286. <factor-prop>controls/lighting/instruments-norm</factor-prop>
  287. <red> 0.9 </red>
  288. <green> 0.9 </green>
  289. <blue> 0.9 </blue>
  290. </emission>
  291. </animation>
  292. <animation>
  293. <object-name>xy-switch</object-name>
  294. <type>material</type>
  295. <emission>
  296. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  297. <red> 0.9 </red>
  298. <green> 0.9 </green>
  299. <blue> 0.9 </blue>
  300. </emission>
  301. </animation>
  302. <animation>
  303. <object-name>mode-switch</object-name>
  304. <type>material</type>
  305. <emission>
  306. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  307. <red> 0.9 </red>
  308. <green> 0.9 </green>
  309. <blue> 0.9 </blue>
  310. </emission>
  311. </animation>
  312. <animation>
  313. <object-name>mode-knob</object-name>
  314. <type>material</type>
  315. <emission>
  316. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  317. <red> 0.9 </red>
  318. <green> 0.9 </green>
  319. <blue> 0.9 </blue>
  320. </emission>
  321. </animation>
  322. <animation>
  323. <object-name>chan-knob</object-name>
  324. <type>material</type>
  325. <emission>
  326. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  327. <red> 0.9 </red>
  328. <green> 0.9 </green>
  329. <blue> 0.9 </blue>
  330. </emission>
  331. </animation>
  332. <animation>
  333. <type>material</type>
  334. <object-name>vol-knob</object-name>
  335. <object-name>test-button</object-name>
  336. <emission>
  337. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  338. <red> 0.9 </red>
  339. <green> 0.9 </green>
  340. <blue> 0.9 </blue>
  341. </emission>
  342. </animation>
  343. -->
  344. <animation>
  345. <object-name>drum-1</object-name>
  346. <type>material</type>
  347. <emission>
  348. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  349. <red> 0.9 </red>
  350. <green> 0.0 </green>
  351. <blue> 0.0 </blue>
  352. </emission>
  353. </animation>
  354. <animation>
  355. <object-name>drum-2</object-name>
  356. <type>material</type>
  357. <emission>
  358. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  359. <red> 0.9 </red>
  360. <green> 0.0 </green>
  361. <blue> 0.0 </blue>
  362. </emission>
  363. </animation>
  364. <animation>
  365. <object-name>drum-3</object-name>
  366. <type>material</type>
  367. <emission>
  368. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  369. <red> 0.9 </red>
  370. <green> 0.0 </green>
  371. <blue> 0.0 </blue>
  372. </emission>
  373. </animation>
  374. <animation>
  375. <object-name>X-sign</object-name>
  376. <type>material</type>
  377. <emission>
  378. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  379. <red> 0.9 </red>
  380. <green> 0.0 </green>
  381. <blue> 0.0 </blue>
  382. </emission>
  383. </animation>
  384. <animation>
  385. <object-name>Y-sign</object-name>
  386. <type>material</type>
  387. <emission>
  388. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  389. <red> 0.9 </red>
  390. <green> 0.0 </green>
  391. <blue> 0.0 </blue>
  392. </emission>
  393. </animation>
  394. <animation>
  395. <object-name>tacan</object-name>
  396. <type>noshadow</type>
  397. </animation>
  398. <animation>
  399. <type>range</type>
  400. <min-m>0</min-m>
  401. <max-m>5</max-m>
  402. </animation>
  403. </PropertyList>