| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
<PropertyList> |
| 26 |
|
| 27 |
<params> |
| 28 |
<in-range>instrumentation/dme[0]/in-range</in-range> |
| 29 |
<right-display>instrumentation/dme[0]/min-kts-display</right-display> |
| 30 |
<left-display>instrumentation/dme[0]/miles-display</left-display> |
| 31 |
<left-display-dot>instrumentation/dme[0]/left-dot</left-display-dot> |
| 32 |
<power-btn>instrumentation/dme[0]/power-btn</power-btn> |
| 33 |
<serviceable>instrumentation/dme[0]/serviceable</serviceable> |
| 34 |
<min-kts>instrumentation/dme[0]/switch-min-kts</min-kts> |
| 35 |
<electrical>systems/electrical/outputs/dme</electrical> |
| 36 |
</params> |
| 37 |
|
| 38 |
<path>ki266.ac</path> |
| 39 |
|
| 40 |
|
| 41 |
<animation> |
| 42 |
<type>select</type> |
| 43 |
<object-name>Indicators</object-name> |
| 44 |
<condition> |
| 45 |
<property>sim/model/c172p/lighting/dme-power</property> |
| 46 |
</condition> |
| 47 |
</animation> |
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
<animation> |
| 53 |
<type>select</type> |
| 54 |
<object-name>Min</object-name> |
| 55 |
<condition> |
| 56 |
<not> |
| 57 |
<property alias="../../../../params/min-kts"/> |
| 58 |
</not> |
| 59 |
</condition> |
| 60 |
</animation> |
| 61 |
|
| 62 |
<animation> |
| 63 |
<type>select</type> |
| 64 |
<object-name>Kts</object-name> |
| 65 |
<condition> |
| 66 |
<property alias="../../../params/min-kts"/> |
| 67 |
</condition> |
| 68 |
</animation> |
| 69 |
|
| 70 |
<animation> |
| 71 |
<type>translate</type> |
| 72 |
<object-name>ModeSwitch</object-name> |
| 73 |
<factor>-0.003</factor> |
| 74 |
<property alias="../../params/min-kts"/> |
| 75 |
<axis> |
| 76 |
<x>1.0</x> |
| 77 |
<y>0.0</y> |
| 78 |
<z>0.0</z> |
| 79 |
</axis> |
| 80 |
</animation> |
| 81 |
|
| 82 |
<animation> |
| 83 |
<type>pick</type> |
| 84 |
<object-name>ModeSwitch</object-name> |
| 85 |
<visible>true</visible> |
| 86 |
<action> |
| 87 |
<button>0</button> |
| 88 |
<repeatable>false</repeatable> |
| 89 |
<binding> |
| 90 |
<command>property-toggle</command> |
| 91 |
<property alias="../../../../params/min-kts"/> |
| 92 |
</binding> |
| 93 |
<binding> |
| 94 |
<command>nasal</command> |
| 95 |
<script>c172p.click("dme-mode")</script> |
| 96 |
</binding> |
| 97 |
</action> |
| 98 |
<hovered> |
| 99 |
<binding> |
| 100 |
<command>set-tooltip</command> |
| 101 |
<tooltip-id>min-kts</tooltip-id> |
| 102 |
<label>Mode: %s</label> |
| 103 |
<property alias="../../../../params/min-kts"/> |
| 104 |
<mapping>nasal</mapping> |
| 105 |
<script> |
| 106 |
var m = arg[0]; |
| 107 |
if (m) return 'KTS'; |
| 108 |
return 'MIN'; |
| 109 |
</script> |
| 110 |
</binding> |
| 111 |
</hovered> |
| 112 |
</animation> |
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
<animation> |
| 119 |
<name>LeftDecimalDot</name> |
| 120 |
<type>select</type> |
| 121 |
<object-name>Left.Dot1</object-name> |
| 122 |
<condition> |
| 123 |
<property alias="../../../params/left-display-dot"/> |
| 124 |
</condition> |
| 125 |
</animation> |
| 126 |
|
| 127 |
|
| 128 |
<animation> |
| 129 |
<name>miles_100_blank</name> |
| 130 |
<type>select</type> |
| 131 |
<object-name>Left.100</object-name> |
| 132 |
<condition> |
| 133 |
<greater-than-equals> |
| 134 |
<property alias="../../../../params/left-display"/> |
| 135 |
<value>100.0</value> |
| 136 |
</greater-than-equals> |
| 137 |
</condition> |
| 138 |
</animation> |
| 139 |
|
| 140 |
<animation> |
| 141 |
<name>miles_10_blank</name> |
| 142 |
<type>select</type> |
| 143 |
<object-name>Left.10</object-name> |
| 144 |
<condition> |
| 145 |
<or> |
| 146 |
<greater-than-equals> |
| 147 |
<property alias="../../../../../params/left-display"/> |
| 148 |
<value>10.0</value> |
| 149 |
</greater-than-equals> |
| 150 |
<and> |
| 151 |
<property alias="../../../../../params/left-display-dot"/> |
| 152 |
<greater-than-equals> |
| 153 |
<property alias="../../../../../../params/left-display"/> |
| 154 |
<value>1.0</value> |
| 155 |
</greater-than-equals> |
| 156 |
</and> |
| 157 |
</or> |
| 158 |
</condition> |
| 159 |
</animation> |
| 160 |
|
| 161 |
<animation> |
| 162 |
<name>miles_1_blank</name> |
| 163 |
<type>select</type> |
| 164 |
<object-name>Left.1</object-name> |
| 165 |
<condition> |
| 166 |
<greater-than-equals> |
| 167 |
<property alias="../../../../params/left-display"/> |
| 168 |
<value>1.0</value> |
| 169 |
</greater-than-equals> |
| 170 |
</condition> |
| 171 |
</animation> |
| 172 |
|
| 173 |
|
| 174 |
<animation> |
| 175 |
<name>miles_100_lo</name> |
| 176 |
<type>textranslate</type> |
| 177 |
<object-name>Left.100</object-name> |
| 178 |
<property alias="../../params/left-display"/> |
| 179 |
<step>100</step> |
| 180 |
<factor>0.001</factor> |
| 181 |
<axis> |
| 182 |
<x>1</x> |
| 183 |
<y>0</y> |
| 184 |
<z>0</z> |
| 185 |
</axis> |
| 186 |
</animation> |
| 187 |
|
| 188 |
|
| 189 |
<animation> |
| 190 |
<name>miles_10_lo</name> |
| 191 |
<type>textranslate</type> |
| 192 |
<object-name>Left.10</object-name> |
| 193 |
<property alias="../../params/left-display"/> |
| 194 |
<step>10</step> |
| 195 |
<factor>0.01</factor> |
| 196 |
<axis> |
| 197 |
<x>1</x> |
| 198 |
<y>0</y> |
| 199 |
<z>0</z> |
| 200 |
</axis> |
| 201 |
</animation> |
| 202 |
|
| 203 |
|
| 204 |
<animation> |
| 205 |
<name>miles_1_lo</name> |
| 206 |
<type>textranslate</type> |
| 207 |
<object-name>Left.1</object-name> |
| 208 |
<property alias="../../params/left-display"/> |
| 209 |
<step>1</step> |
| 210 |
<factor>0.1</factor> |
| 211 |
<axis> |
| 212 |
<x>1</x> |
| 213 |
<y>0</y> |
| 214 |
<z>0</z> |
| 215 |
</axis> |
| 216 |
</animation> |
| 217 |
|
| 218 |
|
| 219 |
|
| 220 |
|
| 221 |
<animation> |
| 222 |
<condition> |
| 223 |
<greater-than-equals> |
| 224 |
<property alias="../../../../params/right-display"/> |
| 225 |
<value>100</value> |
| 226 |
</greater-than-equals> |
| 227 |
</condition> |
| 228 |
<name>kts_100_select</name> |
| 229 |
<type>select</type> |
| 230 |
<object-name>Right.100</object-name> |
| 231 |
</animation> |
| 232 |
|
| 233 |
<animation> |
| 234 |
<condition> |
| 235 |
<greater-than-equals> |
| 236 |
<property alias="../../../../params/right-display"/> |
| 237 |
<value>10</value> |
| 238 |
</greater-than-equals> |
| 239 |
</condition> |
| 240 |
<name>kts_10_select</name> |
| 241 |
<type>select</type> |
| 242 |
<object-name>Right.10</object-name> |
| 243 |
</animation> |
| 244 |
|
| 245 |
<animation> |
| 246 |
<condition> |
| 247 |
<property alias="../../../params/in-range"/> |
| 248 |
</condition> |
| 249 |
<name>kts_1_select</name> |
| 250 |
<type>select</type> |
| 251 |
<object-name>Right.1</object-name> |
| 252 |
</animation> |
| 253 |
|
| 254 |
<animation> |
| 255 |
<name>kts_100</name> |
| 256 |
<type>textranslate</type> |
| 257 |
<object-name>Right.100</object-name> |
| 258 |
<property alias="../../params/right-display"/> |
| 259 |
<step>100</step> |
| 260 |
<factor>0.001</factor> |
| 261 |
<axis> |
| 262 |
<x>1</x> |
| 263 |
<y>0</y> |
| 264 |
<z>0</z> |
| 265 |
</axis> |
| 266 |
</animation> |
| 267 |
|
| 268 |
<animation> |
| 269 |
<name>kts_10</name> |
| 270 |
<type>textranslate</type> |
| 271 |
<object-name>Right.10</object-name> |
| 272 |
<property alias="../../params/right-display"/> |
| 273 |
<step>10</step> |
| 274 |
<factor>0.01</factor> |
| 275 |
<axis> |
| 276 |
<x>1</x> |
| 277 |
<y>0</y> |
| 278 |
<z>0</z> |
| 279 |
</axis> |
| 280 |
</animation> |
| 281 |
|
| 282 |
<animation> |
| 283 |
<name>kts_1</name> |
| 284 |
<type>textranslate</type> |
| 285 |
<object-name>Right.1</object-name> |
| 286 |
<property alias="../../params/right-display"/> |
| 287 |
<step>1</step> |
| 288 |
<factor>0.1</factor> |
| 289 |
<axis> |
| 290 |
<x>1</x> |
| 291 |
<y>0</y> |
| 292 |
<z>0</z> |
| 293 |
</axis> |
| 294 |
</animation> |
| 295 |
|
| 296 |
|
| 297 |
|
| 298 |
|
| 299 |
<animation> |
| 300 |
<type>rotate</type> |
| 301 |
<object-name>PowerSwitch.Lever</object-name> |
| 302 |
<property alias="../../params/power-btn"/> |
| 303 |
<factor>-60</factor> |
| 304 |
<axis> |
| 305 |
<x>0</x> |
| 306 |
<y>1</y> |
| 307 |
<z>0</z> |
| 308 |
</axis> |
| 309 |
<center> |
| 310 |
<x-m>-0.35496</x-m> |
| 311 |
<y-m> 0.08087</y-m> |
| 312 |
<z-m>-0.05437</z-m> |
| 313 |
</center> |
| 314 |
</animation> |
| 315 |
|
| 316 |
<animation> |
| 317 |
<type>pick</type> |
| 318 |
<object-name>PowerSwitch</object-name> |
| 319 |
<visible>true</visible> |
| 320 |
<action> |
| 321 |
<button>0</button> |
| 322 |
<repeatable>false</repeatable> |
| 323 |
<binding> |
| 324 |
<command>property-toggle</command> |
| 325 |
<property alias="../../../../params/power-btn"/> |
| 326 |
</binding> |
| 327 |
<binding> |
| 328 |
<command>nasal</command> |
| 329 |
<script>c172p.click("dme-power")</script> |
| 330 |
</binding> |
| 331 |
</action> |
| 332 |
<hovered> |
| 333 |
<binding> |
| 334 |
<command>set-tooltip</command> |
| 335 |
<tooltip-id>power-btn</tooltip-id> |
| 336 |
<label>DME: %s</label> |
| 337 |
<property alias="../../../../params/power-btn"/> |
| 338 |
<mapping>nasal</mapping> |
| 339 |
<script> |
| 340 |
if(arg[0]) return 'ON'; |
| 341 |
return 'OFF'; |
| 342 |
</script> |
| 343 |
</binding> |
| 344 |
</hovered> |
| 345 |
</animation> |
| 346 |
|
| 347 |
|
| 348 |
<animation> |
| 349 |
<type>knob</type> |
| 350 |
<object-name>SourceSelectorKnob</object-name> |
| 351 |
<property>instrumentation/dme/switch-position</property> |
| 352 |
<factor>-30</factor> |
| 353 |
<min-deg>-60</min-deg> |
| 354 |
<max-deg>0</max-deg> |
| 355 |
<offset-deg>30</offset-deg> |
| 356 |
<axis> |
| 357 |
<x>1</x> |
| 358 |
<y>0</y> |
| 359 |
<z>0</z> |
| 360 |
</axis> |
| 361 |
<center> |
| 362 |
<x-m>-0.35558</x-m> |
| 363 |
<y-m> 0.05483</y-m> |
| 364 |
<z-m>-0.05527</z-m> |
| 365 |
</center> |
| 366 |
<action> |
| 367 |
<binding> |
| 368 |
<command>property-adjust</command> |
| 369 |
<property>instrumentation/dme/switch-position</property> |
| 370 |
<factor>1</factor> |
| 371 |
<min>1</min> |
| 372 |
<max>3</max> |
| 373 |
<wrap>0</wrap> |
| 374 |
</binding> |
| 375 |
<binding> |
| 376 |
<condition> |
| 377 |
<equals> |
| 378 |
<property>instrumentation/dme/switch-position</property> |
| 379 |
<value type="int">1</value> |
| 380 |
</equals> |
| 381 |
</condition> |
| 382 |
<command>property-assign</command> |
| 383 |
<property>instrumentation/dme/frequencies/source</property> |
| 384 |
<value>instrumentation/nav[0]/frequencies/selected-mhz</value> |
| 385 |
</binding> |
| 386 |
<binding> |
| 387 |
<condition> |
| 388 |
<equals> |
| 389 |
<property>instrumentation/dme/switch-position</property> |
| 390 |
<value type="int">2</value> |
| 391 |
</equals> |
| 392 |
</condition> |
| 393 |
<command>property-assign</command> |
| 394 |
<property>instrumentation/dme/frequencies/source</property> |
| 395 |
<value>instrumentation/dme/frequencies/selected-mhz</value> |
| 396 |
</binding> |
| 397 |
<binding> |
| 398 |
<condition> |
| 399 |
<equals> |
| 400 |
<property>instrumentation/dme/switch-position</property> |
| 401 |
<value type="int">3</value> |
| 402 |
</equals> |
| 403 |
</condition> |
| 404 |
<command>property-assign</command> |
| 405 |
<property>instrumentation/dme/frequencies/source</property> |
| 406 |
<value>instrumentation/nav[1]/frequencies/selected-mhz</value> |
| 407 |
</binding> |
| 408 |
<binding> |
| 409 |
<command>nasal</command> |
| 410 |
<script>c172p.click("dme-source")</script> |
| 411 |
</binding> |
| 412 |
</action> |
| 413 |
<hovered> |
| 414 |
<binding> |
| 415 |
<command>set-tooltip</command> |
| 416 |
<tooltip-id>source-switch</tooltip-id> |
| 417 |
<label>DME Source: %s</label> |
| 418 |
<property>instrumentation/dme/switch-position</property> |
| 419 |
<mapping>nasal</mapping> |
| 420 |
<script> |
| 421 |
var m = arg[0]; |
| 422 |
if (m == 1) return 'NAV1'; |
| 423 |
if (m == 3) return 'NAV2'; |
| 424 |
return 'HOLD'; |
| 425 |
</script> |
| 426 |
</binding> |
| 427 |
</hovered> |
| 428 |
</animation> |
| 429 |
|
| 430 |
<animation> |
| 431 |
<type>material</type> |
| 432 |
<object-name>SourceSelectorKnob</object-name> |
| 433 |
<object-name>PowerSwitch.Lever</object-name> |
| 434 |
<object-name>on</object-name> |
| 435 |
<object-name>off</object-name> |
| 436 |
<object-name>Label3</object-name> |
| 437 |
<object-name>n1</object-name> |
| 438 |
<object-name>hld</object-name> |
| 439 |
<object-name>n2</object-name> |
| 440 |
<object-name>PowerSwitch.Base</object-name> |
| 441 |
<object-name>Background</object-name> |
| 442 |
<object-name>ModeSwitch</object-name> |
| 443 |
<object-name>Frame</object-name> |
| 444 |
<object-name>base</object-name> |
| 445 |
<condition> |
| 446 |
<or> |
| 447 |
<not> |
| 448 |
<property>sim/rendering/shaders/skydome</property> |
| 449 |
</not> |
| 450 |
<equals> |
| 451 |
<property>sim/rendering/shaders/model</property> |
| 452 |
<value>0</value> |
| 453 |
</equals> |
| 454 |
</or> |
| 455 |
</condition> |
| 456 |
<emission> |
| 457 |
<red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop> |
| 458 |
<green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop> |
| 459 |
<blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop> |
| 460 |
</emission> |
| 461 |
</animation> |
| 462 |
|
| 463 |
<animation> |
| 464 |
<type>material</type> |
| 465 |
<object-name>SourceSelectorKnob</object-name> |
| 466 |
<object-name>PowerSwitch.Lever</object-name> |
| 467 |
<object-name>on</object-name> |
| 468 |
<object-name>off</object-name> |
| 469 |
<object-name>Label3</object-name> |
| 470 |
<object-name>n1</object-name> |
| 471 |
<object-name>hld</object-name> |
| 472 |
<object-name>n2</object-name> |
| 473 |
<object-name>PowerSwitch.Base</object-name> |
| 474 |
<condition> |
| 475 |
<or> |
| 476 |
<not> |
| 477 |
<property>sim/rendering/shaders/skydome</property> |
| 478 |
</not> |
| 479 |
<equals> |
| 480 |
<property>sim/rendering/shaders/model</property> |
| 481 |
<value>0</value> |
| 482 |
</equals> |
| 483 |
</or> |
| 484 |
</condition> |
| 485 |
<emission> |
| 486 |
<red-prop>/sim/model/material/instruments/default-red-combined-factor</red-prop> |
| 487 |
<green-prop>/sim/model/material/instruments/default-green-combined-factor</green-prop> |
| 488 |
<blue-prop>/sim/model/material/instruments/default-blue-combined-factor</blue-prop> |
| 489 |
</emission> |
| 490 |
</animation> |
| 491 |
|
| 492 |
<effect> |
| 493 |
<inherits-from>../../../../Effects/interior/c172p-interior</inherits-from> |
| 494 |
<object-name>Indicators</object-name> |
| 495 |
<object-name>Miles</object-name> |
| 496 |
<object-name>Min</object-name> |
| 497 |
<object-name>Kts</object-name> |
| 498 |
<object-name>Left.Dot1</object-name> |
| 499 |
<object-name>Left.100</object-name> |
| 500 |
<object-name>Left.10</object-name> |
| 501 |
<object-name>Left.1</object-name> |
| 502 |
<object-name>Right.100</object-name> |
| 503 |
<object-name>Right.10</object-name> |
| 504 |
<object-name>Right.1</object-name> |
| 505 |
</effect> |
| 506 |
|
| 507 |
<effect> |
| 508 |
<inherits-from>../../../../Effects/interior/lm-ki266</inherits-from> |
| 509 |
<object-name>SourceSelectorKnob</object-name> |
| 510 |
<object-name>PowerSwitch.Lever</object-name> |
| 511 |
<object-name>on</object-name> |
| 512 |
<object-name>off</object-name> |
| 513 |
<object-name>Label3</object-name> |
| 514 |
<object-name>n1</object-name> |
| 515 |
<object-name>hld</object-name> |
| 516 |
<object-name>n2</object-name> |
| 517 |
<object-name>PowerSwitch.Base</object-name> |
| 518 |
<object-name>Background</object-name> |
| 519 |
<object-name>ModeSwitch</object-name> |
| 520 |
<object-name>Frame</object-name> |
| 521 |
<object-name>base</object-name> |
| 522 |
</effect> |
| 523 |
|
| 524 |
<animation> |
| 525 |
<type>material</type> |
| 526 |
<object-name>ModeSwitch</object-name> |
| 527 |
<emission> |
| 528 |
<red>0.5</red> |
| 529 |
<green>0.1</green> |
| 530 |
<blue>0.00005</blue> |
| 531 |
<factor-prop>/sim/model/c172p/lighting/dme</factor-prop> |
| 532 |
</emission> |
| 533 |
</animation> |
| 534 |
|
| 535 |
<animation> |
| 536 |
<type>material</type> |
| 537 |
<object-name>Indicators</object-name> |
| 538 |
<object-name>Miles</object-name> |
| 539 |
<object-name>Min</object-name> |
| 540 |
<object-name>Kts</object-name> |
| 541 |
<object-name>Left.Dot1</object-name> |
| 542 |
<object-name>Left.100</object-name> |
| 543 |
<object-name>Left.10</object-name> |
| 544 |
<object-name>Left.1</object-name> |
| 545 |
<object-name>Right.100</object-name> |
| 546 |
<object-name>Right.10</object-name> |
| 547 |
<object-name>Right.1</object-name> |
| 548 |
<condition> |
| 549 |
<and> |
| 550 |
<not> |
| 551 |
<property>sim/rendering/rembrandt/enabled</property> |
| 552 |
</not> |
| 553 |
<greater-than> |
| 554 |
<property>sim/model/c172p/lighting/dme</property> |
| 555 |
<value>0.0</value> |
| 556 |
</greater-than> |
| 557 |
</and> |
| 558 |
</condition> |
| 559 |
<emission> |
| 560 |
<red>1.0</red> |
| 561 |
<green>1.0</green> |
| 562 |
<blue>1.0</blue> |
| 563 |
<factor-prop>/sim/model/c172p/lighting/dme</factor-prop> |
| 564 |
</emission> |
| 565 |
</animation> |
| 566 |
|
| 567 |
<animation> |
| 568 |
<type>material</type> |
| 569 |
<object-name>Indicators</object-name> |
| 570 |
<object-name>Miles</object-name> |
| 571 |
<object-name>Min</object-name> |
| 572 |
<object-name>Kts</object-name> |
| 573 |
<object-name>Left.Dot1</object-name> |
| 574 |
<object-name>Left.100</object-name> |
| 575 |
<object-name>Left.10</object-name> |
| 576 |
<object-name>Left.1</object-name> |
| 577 |
<object-name>Right.100</object-name> |
| 578 |
<object-name>Right.10</object-name> |
| 579 |
<object-name>Right.1</object-name> |
| 580 |
<condition> |
| 581 |
<and> |
| 582 |
<not> |
| 583 |
<property>sim/rendering/rembrandt/enabled</property> |
| 584 |
</not> |
| 585 |
<equal> |
| 586 |
<property>sim/model/c172p/lighting/dme</property> |
| 587 |
<value>0.0</value> |
| 588 |
</equal> |
| 589 |
</and> |
| 590 |
</condition> |
| 591 |
<emission> |
| 592 |
<red>1.0</red> |
| 593 |
<green>1.0</green> |
| 594 |
<blue>1.0</blue> |
| 595 |
</emission> |
| 596 |
</animation> |
| 597 |
|
| 598 |
</PropertyList> |