kx165-1.xml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <!--
  4. Bendix/King KX155/165 COMM/NAV radio
  5. Use this instrument as COMM1/NAV1 radio
  6. Created by Torsten Dreyer, October 2008
  7. You might want to use the following code in your aircraft's nasal
  8. init function to keep the settings of the radio persistent between
  9. flightgear sessions
  10. aircraft.data.add(
  11. "instrumentation/comm[0]/volume",
  12. "instrumentation/comm[0]/frequencies/selected-mhz",
  13. "instrumentation/comm[0]/frequencies/standby-mhz",
  14. "instrumentation/comm[0]/frequencies/dial-khz",
  15. "instrumentation/comm[0]/frequencies/dial-mhz",
  16. "instrumentation/comm[0]/test-btn",
  17. "instrumentation/nav[0]/audio-btn",
  18. "instrumentation/nav[0]/power-btn",
  19. "instrumentation/nav[0]/frequencies/selected-mhz",
  20. "instrumentation/nav[0]/frequencies/standby-mhz",
  21. "instrumentation/nav[0]/frequencies/dial-khz",
  22. "instrumentation/nav[0]/frequencies/dial-mhz",
  23. );
  24. -->
  25. <params>
  26. <comm-serviceable>instrumentation/comm[0]/serviceable</comm-serviceable>
  27. <nav-serviceable>instrumentation/nav[0]/serviceable</nav-serviceable>
  28. <power-nav>instrumentation/nav[0]/power-btn</power-nav>
  29. <power-comm>instrumentation/comm[0]/power-btn</power-comm>
  30. <comm-frq-swp>instrumentation/comm[0]/frq-swap-btn</comm-frq-swp>
  31. <comm-frq-selected>instrumentation/comm[0]/frequencies/selected-mhz</comm-frq-selected>
  32. <comm-frq-standby>instrumentation/comm[0]/frequencies/standby-mhz</comm-frq-standby>
  33. <comm-dial-khz>instrumentation/comm[0]/frequencies/dial-khz</comm-dial-khz>
  34. <comm-dial-mhz>instrumentation/comm[0]/frequencies/dial-mhz</comm-dial-mhz>
  35. <comm-volume>instrumentation/comm[0]/volume</comm-volume>
  36. <comm-test>instrumentation/comm[0]/test-btn</comm-test>
  37. <nav-frq-swp>instrumentation/nav[0]/frq-swap-btn</nav-frq-swp>
  38. <nav-frq-selected>instrumentation/nav[0]/frequencies/selected-mhz</nav-frq-selected>
  39. <nav-frq-standby>instrumentation/nav[0]/frequencies/standby-mhz</nav-frq-standby>
  40. <nav-dial-khz>instrumentation/nav[0]/frequencies/dial-khz</nav-dial-khz>
  41. <nav-dial-mhz>instrumentation/nav[0]/frequencies/dial-mhz</nav-dial-mhz>
  42. <nav-volume>instrumentation/nav[0]/volume</nav-volume>
  43. <nav-audio>instrumentation/nav[0]/audio-btn</nav-audio>
  44. </params>
  45. <path>kx165.ac</path>
  46. <effect>
  47. <inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
  48. <object-name>CommKnobs</object-name>
  49. <object-name>CommKHz</object-name>
  50. <object-name>CommMHz</object-name>
  51. <object-name>CommToggle</object-name>
  52. <object-name>CommVolume</object-name>
  53. <object-name>CommStby</object-name>
  54. <object-name>CommStby100K</object-name>
  55. <object-name>CommStby100M</object-name>
  56. <object-name>CommStby10K</object-name>
  57. <object-name>CommStby10M</object-name>
  58. <object-name>CommStby1M</object-name>
  59. <object-name>CommStbyDot</object-name>
  60. <object-name>CommUse</object-name>
  61. <object-name>CommUse100K</object-name>
  62. <object-name>CommUse100M</object-name>
  63. <object-name>CommUse10K</object-name>
  64. <object-name>CommUse10M</object-name>
  65. <object-name>CommUse1M</object-name>
  66. <object-name>CommUseDot</object-name>
  67. <object-name>NavKnobs</object-name>
  68. <object-name>NavKHz</object-name>
  69. <object-name>NavMHz</object-name>
  70. <object-name>NavToggle</object-name>
  71. <object-name>NavVolume</object-name>
  72. <object-name>NavStby</object-name>
  73. <object-name>NavStby100K</object-name>
  74. <object-name>NavStby100M</object-name>
  75. <object-name>NavStby10K</object-name>
  76. <object-name>NavStby10M</object-name>
  77. <object-name>NavStby1M</object-name>
  78. <object-name>NavStbyDot</object-name>
  79. <object-name>NavUse</object-name>
  80. <object-name>NavUse100K</object-name>
  81. <object-name>NavUse100M</object-name>
  82. <object-name>NavUse10K</object-name>
  83. <object-name>NavUse10M</object-name>
  84. <object-name>NavUse1M</object-name>
  85. <object-name>NavUseDot</object-name>
  86. <object-name>Chassis</object-name>
  87. </effect>
  88. <animation>
  89. <object-name>CommKnobs</object-name>
  90. <object-name>CommKHz</object-name>
  91. <object-name>CommMHz</object-name>
  92. <object-name>CommToggle</object-name>
  93. <object-name>CommVolume</object-name>
  94. <object-name>CommStby</object-name>
  95. <object-name>CommStby100K</object-name>
  96. <object-name>CommStby100M</object-name>
  97. <object-name>CommStby10K</object-name>
  98. <object-name>CommStby10M</object-name>
  99. <object-name>CommStby1M</object-name>
  100. <object-name>CommStbyDot</object-name>
  101. <object-name>CommUse</object-name>
  102. <object-name>CommUse100K</object-name>
  103. <object-name>CommUse100M</object-name>
  104. <object-name>CommUse10K</object-name>
  105. <object-name>CommUse10M</object-name>
  106. <object-name>CommUse1M</object-name>
  107. <object-name>CommUseDot</object-name>
  108. <object-name>NavKnobs</object-name>
  109. <object-name>NavKHz</object-name>
  110. <object-name>NavMHz</object-name>
  111. <object-name>NavToggle</object-name>
  112. <object-name>NavVolume</object-name>
  113. <object-name>NavStby</object-name>
  114. <object-name>NavStby100K</object-name>
  115. <object-name>NavStby100M</object-name>
  116. <object-name>NavStby10K</object-name>
  117. <object-name>NavStby10M</object-name>
  118. <object-name>NavStby1M</object-name>
  119. <object-name>NavStbyDot</object-name>
  120. <object-name>NavUse</object-name>
  121. <object-name>NavUse100K</object-name>
  122. <object-name>NavUse100M</object-name>
  123. <object-name>NavUse10K</object-name>
  124. <object-name>NavUse10M</object-name>
  125. <object-name>NavUse1M</object-name>
  126. <object-name>NavUseDot</object-name>
  127. <object-name>Chassis</object-name>
  128. </animation>
  129. <animation>
  130. <type>material</type>
  131. <object-name>CommKnobs</object-name>
  132. <object-name>CommKHz</object-name>
  133. <object-name>CommMHz</object-name>
  134. <object-name>CommToggle</object-name>
  135. <object-name>CommVolume</object-name>
  136. <object-name>CommStby</object-name>
  137. <object-name>CommStby100K</object-name>
  138. <object-name>CommStby100M</object-name>
  139. <object-name>CommStby10K</object-name>
  140. <object-name>CommStby10M</object-name>
  141. <object-name>CommStby1M</object-name>
  142. <object-name>CommStbyDot</object-name>
  143. <object-name>CommUse</object-name>
  144. <object-name>CommUse100K</object-name>
  145. <object-name>CommUse100M</object-name>
  146. <object-name>CommUse10K</object-name>
  147. <object-name>CommUse10M</object-name>
  148. <object-name>CommUse1M</object-name>
  149. <object-name>CommUseDot</object-name>
  150. <object-name>NavKnobs</object-name>
  151. <object-name>NavKHz</object-name>
  152. <object-name>NavMHz</object-name>
  153. <object-name>NavToggle</object-name>
  154. <object-name>NavVolume</object-name>
  155. <object-name>NavStby</object-name>
  156. <object-name>NavStby100K</object-name>
  157. <object-name>NavStby100M</object-name>
  158. <object-name>NavStby10K</object-name>
  159. <object-name>NavStby10M</object-name>
  160. <object-name>NavStby1M</object-name>
  161. <object-name>NavStbyDot</object-name>
  162. <object-name>NavUse</object-name>
  163. <object-name>NavUse100K</object-name>
  164. <object-name>NavUse100M</object-name>
  165. <object-name>NavUse10K</object-name>
  166. <object-name>NavUse10M</object-name>
  167. <object-name>NavUse1M</object-name>
  168. <object-name>NavUseDot</object-name>
  169. <object-name>Chassis</object-name>
  170. <property-base>/sim/instrumentation/comm[0]</property-base>
  171. <texture-prop>texture-file</texture-prop>
  172. </animation>
  173. <animation>
  174. <type>select</type>
  175. <object-name>CommUse</object-name>
  176. <object-name>CommStby</object-name>
  177. <object-name>NavUse</object-name>
  178. <object-name>NavStby</object-name>
  179. <condition>
  180. <property>systems/electrical/outputs/comm[0]</property>
  181. </condition>
  182. </animation>
  183. <animation>
  184. <type>material</type>
  185. <object-name>CommToggle</object-name>
  186. <object-name>NavToggle</object-name>
  187. <condition>
  188. <not>
  189. <property>sim/rendering/rembrandt/enabled</property>
  190. </not>
  191. </condition>
  192. <emission>
  193. <red>0.5</red>
  194. <green>0.1</green>
  195. <blue>0.00005</blue>
  196. <factor-prop>/sim/model/c172p/lighting/comm0</factor-prop>
  197. </emission>
  198. </animation>
  199. <animation>
  200. <type>material</type>
  201. <object-name>CommUse</object-name>
  202. <object-name>CommStby</object-name>
  203. <object-name>NavUse</object-name>
  204. <object-name>NavStby</object-name>
  205. <condition>
  206. <and>
  207. <not>
  208. <property>sim/rendering/rembrandt/enabled</property>
  209. </not>
  210. <greater-than>
  211. <property>/sim/model/c172p/lighting/comm0</property>
  212. <value>0.0</value>
  213. </greater-than>
  214. </and>
  215. </condition>
  216. <emission>
  217. <red>0.91</red>
  218. <green>0.91</green>
  219. <blue>0.91</blue>
  220. <factor-prop>/sim/model/c172p/lighting/comm0</factor-prop>
  221. </emission>
  222. </animation>
  223. <effect>
  224. <inherits-from>Effects/model-transparent</inherits-from>
  225. <object-name>CommUse</object-name>
  226. <object-name>CommStby</object-name>
  227. <object-name>NavUse</object-name>
  228. <object-name>NavStby</object-name>
  229. </effect>
  230. <!-- comm part -->
  231. <animation>
  232. <type>translate</type>
  233. <object-name>CommToggle</object-name>
  234. <property alias="../../params/comm-frq-swp"/>
  235. <factor>-0.004</factor>
  236. <axis>
  237. <x>1</x>
  238. <y>0</y>
  239. <z>0</z>
  240. </axis>
  241. </animation>
  242. <animation>
  243. <type>textranslate</type>
  244. <object-name>CommUse100M</object-name>
  245. <property alias="../../params/comm-frq-selected"/>
  246. <step>100</step>
  247. <factor>0.001</factor>
  248. <bias>0.0001</bias>
  249. <axis>
  250. <x>1</x>
  251. <y>0</y>
  252. <z>0</z>
  253. </axis>
  254. </animation>
  255. <animation>
  256. <type>textranslate</type>
  257. <object-name>CommUse10M</object-name>
  258. <property alias="../../params/comm-frq-selected"/>
  259. <step>10</step>
  260. <factor>0.01</factor>
  261. <bias>0.0001</bias>
  262. <axis>
  263. <x>1</x>
  264. <y>0</y>
  265. <z>0</z>
  266. </axis>
  267. </animation>
  268. <animation>
  269. <type>textranslate</type>
  270. <object-name>CommUse1M</object-name>
  271. <property alias="../../params/comm-frq-selected"/>
  272. <step>1</step>
  273. <factor>0.1</factor>
  274. <bias>0.0001</bias>
  275. <axis>
  276. <x>1</x>
  277. <y>0</y>
  278. <z>0</z>
  279. </axis>
  280. </animation>
  281. <animation>
  282. <type>textranslate</type>
  283. <object-name>CommUse100K</object-name>
  284. <property alias="../../params/comm-frq-selected"/>
  285. <step>0.1</step>
  286. <factor>1</factor>
  287. <bias>0.0001</bias>
  288. <axis>
  289. <x>1</x>
  290. <y>0</y>
  291. <z>0</z>
  292. </axis>
  293. </animation>
  294. <animation>
  295. <type>textranslate</type>
  296. <object-name>CommUse10K</object-name>
  297. <property alias="../../params/comm-frq-selected"/>
  298. <step>0.01</step>
  299. <factor>10</factor>
  300. <bias>0.0001</bias>
  301. <axis>
  302. <x>1</x>
  303. <y>0</y>
  304. <z>0</z>
  305. </axis>
  306. </animation>
  307. <animation>
  308. <type>textranslate</type>
  309. <object-name>CommStby100M</object-name>
  310. <property alias="../../params/comm-frq-standby"/>
  311. <step>100</step>
  312. <factor>0.001</factor>
  313. <bias>0.0001</bias>
  314. <axis>
  315. <x>1</x>
  316. <y>0</y>
  317. <z>0</z>
  318. </axis>
  319. </animation>
  320. <animation>
  321. <type>textranslate</type>
  322. <object-name>CommStby10M</object-name>
  323. <property alias="../../params/comm-frq-standby"/>
  324. <step>10</step>
  325. <factor>0.01</factor>
  326. <bias>0.0001</bias>
  327. <axis>
  328. <x>1</x>
  329. <y>0</y>
  330. <z>0</z>
  331. </axis>
  332. </animation>
  333. <animation>
  334. <type>textranslate</type>
  335. <object-name>CommStby1M</object-name>
  336. <property alias="../../params/comm-frq-standby"/>
  337. <step>1</step>
  338. <factor>0.1</factor>
  339. <bias>0.0001</bias>
  340. <axis>
  341. <x>1</x>
  342. <y>0</y>
  343. <z>0</z>
  344. </axis>
  345. </animation>
  346. <animation>
  347. <type>textranslate</type>
  348. <object-name>CommStby100K</object-name>
  349. <property alias="../../params/comm-frq-standby"/>
  350. <step>0.1</step>
  351. <factor>1</factor>
  352. <bias>0.0001</bias>
  353. <axis>
  354. <x>1</x>
  355. <y>0</y>
  356. <z>0</z>
  357. </axis>
  358. </animation>
  359. <animation>
  360. <type>textranslate</type>
  361. <object-name>CommStby10K</object-name>
  362. <property alias="../../params/comm-frq-standby"/>
  363. <step>0.01</step>
  364. <factor>10</factor>
  365. <bias>0.0001</bias>
  366. <axis>
  367. <x>1</x>
  368. <y>0</y>
  369. <z>0</z>
  370. </axis>
  371. </animation>
  372. <!-- NAV part -->
  373. <animation>
  374. <type>translate</type>
  375. <object-name>NavToggle</object-name>
  376. <property alias="../../params/nav-frq-swp"/>
  377. <factor>-0.004</factor>
  378. <axis>
  379. <x>1</x>
  380. <y>0</y>
  381. <z>0</z>
  382. </axis>
  383. </animation>
  384. <animation>
  385. <type>textranslate</type>
  386. <object-name>NavUse100M</object-name>
  387. <property alias="../../params/nav-frq-selected"/>
  388. <step>100</step>
  389. <factor>0.001</factor>
  390. <bias>0.0001</bias>
  391. <axis>
  392. <x>1</x>
  393. <y>0</y>
  394. <z>0</z>
  395. </axis>
  396. </animation>
  397. <animation>
  398. <type>textranslate</type>
  399. <object-name>NavUse10M</object-name>
  400. <property alias="../../params/nav-frq-selected"/>
  401. <step>10</step>
  402. <factor>0.01</factor>
  403. <bias>0.0001</bias>
  404. <axis>
  405. <x>1</x>
  406. <y>0</y>
  407. <z>0</z>
  408. </axis>
  409. </animation>
  410. <animation>
  411. <type>textranslate</type>
  412. <object-name>NavUse1M</object-name>
  413. <property alias="../../params/nav-frq-selected"/>
  414. <step>1</step>
  415. <factor>0.1</factor>
  416. <bias>0.0001</bias>
  417. <axis>
  418. <x>1</x>
  419. <y>0</y>
  420. <z>0</z>
  421. </axis>
  422. </animation>
  423. <animation>
  424. <type>textranslate</type>
  425. <object-name>NavUse100K</object-name>
  426. <property alias="../../params/nav-frq-selected"/>
  427. <step>0.1</step>
  428. <factor>1</factor>
  429. <bias>0.0001</bias>
  430. <axis>
  431. <x>1</x>
  432. <y>0</y>
  433. <z>0</z>
  434. </axis>
  435. </animation>
  436. <animation>
  437. <type>textranslate</type>
  438. <object-name>NavUse10K</object-name>
  439. <property alias="../../params/nav-frq-selected"/>
  440. <step>0.01</step>
  441. <factor>10</factor>
  442. <bias>0.0001</bias>
  443. <axis>
  444. <x>1</x>
  445. <y>0</y>
  446. <z>0</z>
  447. </axis>
  448. </animation>
  449. <animation>
  450. <type>textranslate</type>
  451. <object-name>NavStby100M</object-name>
  452. <property alias="../../params/nav-frq-standby"/>
  453. <step>100</step>
  454. <factor>0.001</factor>
  455. <bias>0.0001</bias>
  456. <axis>
  457. <x>1</x>
  458. <y>0</y>
  459. <z>0</z>
  460. </axis>
  461. </animation>
  462. <animation>
  463. <type>textranslate</type>
  464. <object-name>NavStby10M</object-name>
  465. <property alias="../../params/nav-frq-standby"/>
  466. <step>10</step>
  467. <factor>0.01</factor>
  468. <bias>0.0001</bias>
  469. <axis>
  470. <x>1</x>
  471. <y>0</y>
  472. <z>0</z>
  473. </axis>
  474. </animation>
  475. <animation>
  476. <type>textranslate</type>
  477. <object-name>NavStby1M</object-name>
  478. <property alias="../../params/nav-frq-standby"/>
  479. <step>1</step>
  480. <factor>0.1</factor>
  481. <bias>0.0001</bias>
  482. <axis>
  483. <x>1</x>
  484. <y>0</y>
  485. <z>0</z>
  486. </axis>
  487. </animation>
  488. <animation>
  489. <type>textranslate</type>
  490. <object-name>NavStby100K</object-name>
  491. <property alias="../../params/nav-frq-standby"/>
  492. <step>0.1</step>
  493. <factor>1</factor>
  494. <bias>0.0001</bias>
  495. <axis>
  496. <x>1</x>
  497. <y>0</y>
  498. <z>0</z>
  499. </axis>
  500. </animation>
  501. <animation>
  502. <type>textranslate</type>
  503. <object-name>NavStby10K</object-name>
  504. <property alias="../../params/nav-frq-standby"/>
  505. <step>0.01</step>
  506. <factor>10</factor>
  507. <bias>0.0001</bias>
  508. <axis>
  509. <x>1</x>
  510. <y>0</y>
  511. <z>0</z>
  512. </axis>
  513. </animation>
  514. <!-- Knobs and buttons -->
  515. <animation>
  516. <type>translate</type>
  517. <object-name>NavVolume</object-name>
  518. <property alias="../../params/nav-audio"/>
  519. <factor>0.002</factor>
  520. <axis>
  521. <x>1</x>
  522. <y>0</y>
  523. <z>0</z>
  524. </axis>
  525. </animation>
  526. <!-- Actions -->
  527. <!-- Comm part -->
  528. <animation>
  529. <type>knob</type>
  530. <object-name>CommVolume</object-name>
  531. <property alias="../../params/comm-volume"/>
  532. <factor>-250</factor>
  533. <axis>
  534. <x>1</x>
  535. <y>0</y>
  536. <z>0</z>
  537. </axis>
  538. <center>
  539. <x-m>0.0188947</x-m>
  540. <y-m>-0.0620002</y-m>
  541. <z-m>-0.0139999</z-m>
  542. </center>
  543. <action>
  544. <binding>
  545. <command>property-adjust</command>
  546. <property alias="../../../../params/comm-volume"/>
  547. <factor>0.1</factor>
  548. <min>0.0</min>
  549. <max>1.0</max>
  550. <wrap>false</wrap>
  551. </binding>
  552. <binding>
  553. <command>property-assign</command>
  554. <property alias="../../../../params/power-comm"/>
  555. <value>1</value>
  556. <condition>
  557. <greater-than>
  558. <property alias="../../../../../../params/comm-volume"/>
  559. <value>0.05</value>
  560. </greater-than>
  561. </condition>
  562. </binding>
  563. <binding>
  564. <command>property-assign</command>
  565. <property alias="../../../../params/power-comm"/>
  566. <value>0</value>
  567. <condition>
  568. <less-than>
  569. <property alias="../../../../../../params/comm-volume"/>
  570. <value>0.05</value>
  571. </less-than>
  572. </condition>
  573. </binding>
  574. <binding>
  575. <command>property-assign</command>
  576. <property alias="../../../../params/power-nav"/>
  577. <value>1</value>
  578. <condition>
  579. <greater-than>
  580. <property alias="../../../../../../params/comm-volume"/>
  581. <value>0.05</value>
  582. </greater-than>
  583. </condition>
  584. </binding>
  585. <binding>
  586. <command>property-assign</command>
  587. <property alias="../../../../params/power-nav"/>
  588. <value>0</value>
  589. <condition>
  590. <less-than>
  591. <property alias="../../../../../../params/comm-volume"/>
  592. <value>0.05</value>
  593. </less-than>
  594. </condition>
  595. </binding>
  596. <binding>
  597. <command>nasal</command>
  598. <script>c172p.click("kx165-1-dial")</script>
  599. </binding>
  600. </action>
  601. <hovered>
  602. <binding>
  603. <command>set-tooltip</command>
  604. <tooltip-id>comm-volume</tooltip-id>
  605. <label>Volume: %3d%%</label>
  606. <property alias="../../../../params/comm-volume"/>
  607. <mapping>percent</mapping>
  608. </binding>
  609. </hovered>
  610. </animation>
  611. <animation>
  612. <type>knob</type>
  613. <object-name>CommKHz</object-name>
  614. <property alias="/params/comm-dial-khz"/>
  615. <factor>-0.25</factor>
  616. <axis>
  617. <x>1</x>
  618. <y>0</y>
  619. <z>0</z>
  620. </axis>
  621. <center>
  622. <x-m>0.0320882</x-m>
  623. <y-m>-0.022</y-m>
  624. <z-m>-0.012</z-m>
  625. </center>
  626. <action>
  627. <binding>
  628. <condition>
  629. <property alias="../../../../../params/power-comm"/>
  630. </condition>
  631. <command>property-adjust</command>
  632. <property alias="/params/comm-frq-standby"/>
  633. <factor>0.025</factor>
  634. <min>0.0</min>
  635. <max>1.0</max>
  636. <resolution>0.025</resolution>
  637. <wrap>true</wrap>
  638. <mask>decimal</mask>
  639. </binding>
  640. <binding>
  641. <command>property-adjust</command>
  642. <property alias="/params/comm-dial-khz"/>
  643. <factor>4</factor>
  644. <min>0</min>
  645. <max>360</max>
  646. <wrap>true</wrap>
  647. </binding>
  648. <binding>
  649. <command>nasal</command>
  650. <script>c172p.click("kx165-1-dial")</script>
  651. </binding>
  652. </action>
  653. </animation>
  654. <animation>
  655. <type>knob</type>
  656. <object-name>CommMHz</object-name>
  657. <property alias="/params/comm-dial-mhz"/>
  658. <factor>-0.25</factor>
  659. <axis>
  660. <x>1</x>
  661. <y>0</y>
  662. <z>0</z>
  663. </axis>
  664. <center>
  665. <x-m>0.0320882</x-m>
  666. <y-m>-0.022</y-m>
  667. <z-m>-0.012</z-m>
  668. </center>
  669. <action>
  670. <binding>
  671. <condition>
  672. <property alias="../../../../../params/power-comm"/>
  673. </condition>
  674. <command>property-adjust</command>
  675. <property alias="/params/comm-frq-standby"/>
  676. <factor>1</factor>
  677. <min>118.0</min>
  678. <max>137.0</max>
  679. <wrap>true</wrap>
  680. <mask>integer</mask>
  681. </binding>
  682. <binding>
  683. <command>property-adjust</command>
  684. <property alias="/params/comm-dial-mhz"/>
  685. <factor>4</factor>
  686. <min>0</min>
  687. <max>360</max>
  688. <wrap>true</wrap>
  689. </binding>
  690. <binding>
  691. <command>nasal</command>
  692. <script>c172p.click("kx165-1-dial")</script>
  693. </binding>
  694. </action>
  695. </animation>
  696. <animation>
  697. <type>pick</type>
  698. <object-name>CommToggle</object-name>
  699. <visible>true</visible>
  700. <action>
  701. <button>0</button>
  702. <repeatable>false</repeatable>
  703. <binding>
  704. <command>property-assign</command>
  705. <property alias="../../../../params/comm-frq-swp"/>
  706. <value type="int">1</value>
  707. </binding>
  708. <binding>
  709. <command>property-swap</command>
  710. <property alias="../../../../params/comm-frq-selected"/>
  711. <property alias="../../../../params/comm-frq-standby"/>
  712. </binding>
  713. <binding>
  714. <command>nasal</command>
  715. <script>c172p.click("kx165-1")</script>
  716. </binding>
  717. <mod-up>
  718. <binding>
  719. <command>property-assign</command>
  720. <property alias="../../../../../params/comm-frq-swp"/>
  721. <value type="int">0</value>
  722. </binding>
  723. <binding>
  724. <command>nasal</command>
  725. <script>c172p.click("kx165-1")</script>
  726. </binding>
  727. </mod-up>
  728. </action>
  729. </animation>
  730. <!-- Nav part -->
  731. <animation>
  732. <type>knob</type>
  733. <object-name>NavVolume</object-name>
  734. <property alias="../../params/nav-volume"/>
  735. <factor>-250</factor>
  736. <axis>
  737. <x>1</x>
  738. <y>0</y>
  739. <z>0</z>
  740. </axis>
  741. <center>
  742. <x-m>0.0188946</x-m>
  743. <y-m>0.0180001</y-m>
  744. <z-m>-0.0139999</z-m>
  745. </center>
  746. <action>
  747. <binding>
  748. <command>property-adjust</command>
  749. <property alias="../../../../params/nav-volume"/>
  750. <factor>0.1</factor>
  751. <min>0.0</min>
  752. <max>1.0</max>
  753. <wrap>false</wrap>
  754. </binding>
  755. <binding>
  756. <command>nasal</command>
  757. <script>c172p.click("kx165-1-dial")</script>
  758. </binding>
  759. </action>
  760. <hovered>
  761. <binding>
  762. <command>set-tooltip</command>
  763. <tooltip-id>nav-volume</tooltip-id>
  764. <label>Volume: %3d%%</label>
  765. <property alias="../../../../params/nav-volume"/>
  766. <mapping>percent</mapping>
  767. </binding>
  768. </hovered>
  769. </animation>
  770. <animation>
  771. <type>knob</type>
  772. <object-name>NavKHz</object-name>
  773. <property alias="/params/nav-dial-khz"/>
  774. <factor>-0.25</factor>
  775. <axis>
  776. <x>1</x>
  777. <y>0</y>
  778. <z>0</z>
  779. </axis>
  780. <center>
  781. <x-m>0.0320882</x-m>
  782. <y-m>0.058</y-m>
  783. <z-m>-0.012</z-m>
  784. </center>
  785. <action>
  786. <binding>
  787. <condition>
  788. <property alias="../../../../../params/power-comm"/>
  789. </condition>
  790. <command>property-adjust</command>
  791. <property alias="/params/nav-frq-standby"/>
  792. <factor>0.05</factor>
  793. <min>0.0</min>
  794. <max>1.0</max>
  795. <resolution>0.050</resolution>
  796. <wrap>true</wrap>
  797. <mask>decimal</mask>
  798. </binding>
  799. <binding>
  800. <command>property-adjust</command>
  801. <property alias="/params/nav-dial-khz"/>
  802. <factor>4</factor>
  803. <min>0</min>
  804. <max>360</max>
  805. <wrap>true</wrap>
  806. </binding>
  807. <binding>
  808. <command>nasal</command>
  809. <script>c172p.click("kx165-1-dial")</script>
  810. </binding>
  811. </action>
  812. </animation>
  813. <animation>
  814. <type>knob</type>
  815. <object-name>NavMHz</object-name>
  816. <property alias="/params/nav-dial-mhz"/>
  817. <factor>-0.25</factor>
  818. <axis>
  819. <x>1</x>
  820. <y>0</y>
  821. <z>0</z>
  822. </axis>
  823. <center>
  824. <x-m>0.0320882</x-m>
  825. <y-m>0.058</y-m>
  826. <z-m>-0.012</z-m>
  827. </center>
  828. <action>
  829. <binding>
  830. <condition>
  831. <property alias="../../../../../params/power-comm"/>
  832. </condition>
  833. <command>property-adjust</command>
  834. <property alias="/params/nav-frq-standby"/>
  835. <factor>1</factor>
  836. <min>108.0</min>
  837. <max>118.0</max>
  838. <wrap>true</wrap>
  839. <mask>integer</mask>
  840. </binding>
  841. <binding>
  842. <command>property-adjust</command>
  843. <property alias="/params/nav-dial-mhz"/>
  844. <factor>4</factor>
  845. <min>0</min>
  846. <max>360</max>
  847. <wrap>true</wrap>
  848. </binding>
  849. <binding>
  850. <command>nasal</command>
  851. <script>c172p.click("kx165-1-dial")</script>
  852. </binding>
  853. </action>
  854. </animation>
  855. <animation>
  856. <type>pick</type>
  857. <object-name>NavToggle</object-name>
  858. <visible>true</visible>
  859. <action>
  860. <button>0</button>
  861. <repeatable>false</repeatable>
  862. <binding>
  863. <command>property-assign</command>
  864. <property alias="../../../../params/nav-frq-swp"/>
  865. <value type="int">1</value>
  866. </binding>
  867. <binding>
  868. <command>property-swap</command>
  869. <property alias="../../../../params/nav-frq-selected"/>
  870. <property alias="../../../../params/nav-frq-standby"/>
  871. </binding>
  872. <binding>
  873. <command>nasal</command>
  874. <script>c172p.click("kx165-1")</script>
  875. </binding>
  876. <mod-up>
  877. <binding>
  878. <command>property-assign</command>
  879. <property alias="../../../../../params/nav-frq-swp"/>
  880. <value type="int">0</value>
  881. </binding>
  882. <binding>
  883. <command>nasal</command>
  884. <script>c172p.click("kx165-1")</script>
  885. </binding>
  886. </mod-up>
  887. </action>
  888. </animation>
  889. <!-- TEXT OSG -->
  890. <text>
  891. <name>textosg</name>
  892. <type type="string">literal</type>
  893. <text type="string">COMM 1 / NAV 1</text>
  894. <draw-text type="bool">true</draw-text>
  895. <font>Helvetica.txf</font>
  896. <character-size type="double">0.014</character-size>
  897. <character-aspect-ratio type="double">1.0</character-aspect-ratio>
  898. <axis-alignment>yz-plane</axis-alignment>
  899. <max-height>0.06</max-height>
  900. <max-width>0.15</max-width>
  901. <font-resolution>
  902. <width type="int">64</width>
  903. <height type="int">64</height>
  904. </font-resolution>
  905. <alignment>center-center</alignment>
  906. <offsets>
  907. <x-m> 0.015 </x-m>
  908. <y-m> 0.000 </y-m>
  909. <z-m> 0.015 </z-m>
  910. </offsets>
  911. </text>
  912. <animation>
  913. <type>material</type>
  914. <object-name>textosg</object-name>
  915. <emission>
  916. <red> 0.8 </red>
  917. <green> 0.8 </green>
  918. <blue> 0.0 </blue>
  919. </emission>
  920. </animation>
  921. <animation>
  922. <type>select</type>
  923. <object-name>textosg</object-name>
  924. <condition>
  925. <property>sim/panel-hotspots</property>
  926. </condition>
  927. </animation>
  928. </PropertyList>