| 1 |
<?xml version="1.0"?> |
| 2 |
<PropertyList> |
| 3 |
<path>kt70.ac</path> |
| 4 |
|
| 5 |
<animation> |
| 6 |
<type>material</type> |
| 7 |
<object-name>knob0</object-name> |
| 8 |
<object-name>knob4</object-name> |
| 9 |
<object-name>knob3</object-name> |
| 10 |
<object-name>knob2</object-name> |
| 11 |
<object-name>knob1</object-name> |
| 12 |
<object-name>vfr-btn</object-name> |
| 13 |
<object-name>base</object-name> |
| 14 |
<object-name>ident-btn</object-name> |
| 15 |
<emission> |
| 16 |
<red>0.75</red> |
| 17 |
<green>0.25</green> |
| 18 |
<blue>0.10</blue> |
| 19 |
<factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop> |
| 20 |
</emission> |
| 21 |
</animation> |
| 22 |
|
| 23 |
<animation> |
| 24 |
<type>textranslate</type> |
| 25 |
<object-name>alt-dig-1</object-name> |
| 26 |
<property>instrumentation/transponder/altitude</property> |
| 27 |
<factor>0.00001</factor> |
| 28 |
<step>10000</step> |
| 29 |
<axis> |
| 30 |
<x>1</x> |
| 31 |
<y>0</y> |
| 32 |
<z>0</z> |
| 33 |
</axis> |
| 34 |
</animation> |
| 35 |
<animation> |
| 36 |
<type>textranslate</type> |
| 37 |
<object-name>alt-dig-2</object-name> |
| 38 |
<property>instrumentation/transponder/altitude</property> |
| 39 |
<factor>0.0001</factor> |
| 40 |
<step>1000</step> |
| 41 |
<axis> |
| 42 |
<x>1</x> |
| 43 |
<y>0</y> |
| 44 |
<z>0</z> |
| 45 |
</axis> |
| 46 |
</animation> |
| 47 |
<animation> |
| 48 |
<type>textranslate</type> |
| 49 |
<object-name>alt-dig-3</object-name> |
| 50 |
<property>instrumentation/transponder/altitude</property> |
| 51 |
<factor>0.001</factor> |
| 52 |
<step>100</step> |
| 53 |
<axis> |
| 54 |
<x>1</x> |
| 55 |
<y>0</y> |
| 56 |
<z>0</z> |
| 57 |
</axis> |
| 58 |
</animation> |
| 59 |
|
| 60 |
<animation> |
| 61 |
<type>select</type> |
| 62 |
<object-name>digit1</object-name> |
| 63 |
<object-name>digit2</object-name> |
| 64 |
<object-name>digit3</object-name> |
| 65 |
<object-name>digit4</object-name> |
| 66 |
<object-name>alt</object-name> |
| 67 |
<object-name>gnd</object-name> |
| 68 |
<object-name>fl</object-name> |
| 69 |
<object-name>on</object-name> |
| 70 |
<object-name>reply</object-name> |
| 71 |
<object-name>sby</object-name> |
| 72 |
<condition> |
| 73 |
<greater-than> |
| 74 |
<property>systems/electrical/outputs/transponder</property> |
| 75 |
<value>8.0</value> |
| 76 |
</greater-than> |
| 77 |
</condition> |
| 78 |
</animation> |
| 79 |
|
| 80 |
<animation> |
| 81 |
<type>textranslate</type> |
| 82 |
<object-name>digit1</object-name> |
| 83 |
<property>instrumentation/transponder/inputs/digit[3]</property> |
| 84 |
<factor>0.1</factor> |
| 85 |
<step>1</step> |
| 86 |
<axis> |
| 87 |
<x>1</x> |
| 88 |
<y>0</y> |
| 89 |
<z>0</z> |
| 90 |
</axis> |
| 91 |
</animation> |
| 92 |
<animation> |
| 93 |
<type>textranslate</type> |
| 94 |
<object-name>digit2</object-name> |
| 95 |
<property>instrumentation/transponder/inputs/digit[2]</property> |
| 96 |
<factor>0.1</factor> |
| 97 |
<step>1</step> |
| 98 |
<axis> |
| 99 |
<x>1</x> |
| 100 |
<y>0</y> |
| 101 |
<z>0</z> |
| 102 |
</axis> |
| 103 |
</animation> |
| 104 |
|
| 105 |
<animation> |
| 106 |
<type>textranslate</type> |
| 107 |
<object-name>digit3</object-name> |
| 108 |
<property>instrumentation/transponder/inputs/digit[1]</property> |
| 109 |
<factor>0.1</factor> |
| 110 |
<step>1</step> |
| 111 |
<axis> |
| 112 |
<x>1</x> |
| 113 |
<y>0</y> |
| 114 |
<z>0</z> |
| 115 |
</axis> |
| 116 |
</animation> |
| 117 |
|
| 118 |
<animation> |
| 119 |
<type>textranslate</type> |
| 120 |
<object-name>digit4</object-name> |
| 121 |
<property>instrumentation/transponder/inputs/digit[0]</property> |
| 122 |
<factor>0.1</factor> |
| 123 |
<step>1</step> |
| 124 |
<axis> |
| 125 |
<x>1</x> |
| 126 |
<y>0</y> |
| 127 |
<z>0</z> |
| 128 |
</axis> |
| 129 |
</animation> |
| 130 |
|
| 131 |
|
| 132 |
<animation> |
| 133 |
<type>select</type> |
| 134 |
<object-name>alt</object-name> |
| 135 |
<condition> |
| 136 |
<equals> |
| 137 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 138 |
<value>5</value> |
| 139 |
</equals> |
| 140 |
</condition> |
| 141 |
</animation> |
| 142 |
<animation> |
| 143 |
<type>select</type> |
| 144 |
<object-name>fl</object-name> |
| 145 |
<condition> |
| 146 |
<property>instrumentation/kt-70/annunciators/fl</property> |
| 147 |
</condition> |
| 148 |
</animation> |
| 149 |
<animation> |
| 150 |
<type>select</type> |
| 151 |
<object-name>gnd</object-name> |
| 152 |
<condition> |
| 153 |
<equals> |
| 154 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 155 |
<value>3</value> |
| 156 |
</equals> |
| 157 |
</condition> |
| 158 |
</animation> |
| 159 |
<animation> |
| 160 |
<type>select</type> |
| 161 |
<object-name>on</object-name> |
| 162 |
<condition> |
| 163 |
<greater-than> |
| 164 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 165 |
<value>3</value> |
| 166 |
</greater-than> |
| 167 |
</condition> |
| 168 |
</animation> |
| 169 |
<animation> |
| 170 |
<type>select</type> |
| 171 |
<object-name>reply</object-name> |
| 172 |
<condition> |
| 173 |
<property>instrumentation/kt-70/annunciators/reply</property> |
| 174 |
</condition> |
| 175 |
</animation> |
| 176 |
<animation> |
| 177 |
<type>select</type> |
| 178 |
<object-name>sby</object-name> |
| 179 |
<condition> |
| 180 |
<equals> |
| 181 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 182 |
<value>1</value> |
| 183 |
</equals> |
| 184 |
</condition> |
| 185 |
</animation> |
| 186 |
<animation> |
| 187 |
<type>select</type> |
| 188 |
<object-name>digits</object-name> |
| 189 |
<condition> |
| 190 |
<greater-than> |
| 191 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 192 |
<value>0</value> |
| 193 |
</greater-than> |
| 194 |
</condition> |
| 195 |
</animation> |
| 196 |
<animation> |
| 197 |
<type>select</type> |
| 198 |
<object-name>altitude</object-name> |
| 199 |
<condition> |
| 200 |
<property>instrumentation/kt-70/annunciators/fl</property> |
| 201 |
</condition> |
| 202 |
</animation> |
| 203 |
|
| 204 |
|
| 205 |
<animation> |
| 206 |
<type>knob</type> |
| 207 |
|
| 208 |
<proxy-name>click-func-L</proxy-name> |
| 209 |
<proxy-name>click-func-R</proxy-name> |
| 210 |
|
| 211 |
<object-name>knob0</object-name> |
| 212 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 213 |
<factor>30</factor> |
| 214 |
<offset-deg>-90</offset-deg> |
| 215 |
<center> |
| 216 |
<x-m> 0</x-m> |
| 217 |
<y-m> 0.0622</y-m> |
| 218 |
<z-m> 0.0053</z-m> |
| 219 |
</center> |
| 220 |
<axis> |
| 221 |
<x>-1</x> |
| 222 |
<y>0</y> |
| 223 |
<z>0</z> |
| 224 |
</axis> |
| 225 |
|
| 226 |
<action> |
| 227 |
<binding> |
| 228 |
<command>property-adjust</command> |
| 229 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 230 |
<factor>1</factor> |
| 231 |
<min>0</min> |
| 232 |
<max>5</max> |
| 233 |
<wrap>false</wrap> |
| 234 |
</binding> |
| 235 |
</action> |
| 236 |
|
| 237 |
<hovered> |
| 238 |
<binding> |
| 239 |
<command>set-tooltip</command> |
| 240 |
<tooltip-id>kt70-func</tooltip-id> |
| 241 |
<label>Transponder mode: %s</label> |
| 242 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 243 |
<mapping>nasal</mapping> |
| 244 |
<script> |
| 245 |
var modes = ['OFF', 'STANDBY', 'TEST', 'GROUND', 'ON', 'ALTITUDE']; |
| 246 |
return modes[arg[0]]; |
| 247 |
</script> |
| 248 |
</binding> |
| 249 |
</hovered> |
| 250 |
</animation> |
| 251 |
|
| 252 |
|
| 253 |
<animation> |
| 254 |
<type>knob</type> |
| 255 |
|
| 256 |
<object-name>click-digit1-L</object-name> |
| 257 |
<object-name>click-digit1-R</object-name> |
| 258 |
<visible>false</visible> |
| 259 |
<action> |
| 260 |
<binding> |
| 261 |
<command>property-adjust</command> |
| 262 |
<property>instrumentation/transponder/inputs/digit[3]</property> |
| 263 |
<min>0</min> |
| 264 |
<max>8</max> |
| 265 |
<wrap>true</wrap> |
| 266 |
</binding> |
| 267 |
</action> |
| 268 |
</animation> |
| 269 |
|
| 270 |
<animation> |
| 271 |
<type>knob</type> |
| 272 |
|
| 273 |
<object-name>click-digit2-L</object-name> |
| 274 |
<object-name>click-digit2-R</object-name> |
| 275 |
<visible>false</visible> |
| 276 |
<action> |
| 277 |
<binding> |
| 278 |
<command>property-adjust</command> |
| 279 |
<property>instrumentation/transponder/inputs/digit[2]</property> |
| 280 |
<min>0</min> |
| 281 |
<max>8</max> |
| 282 |
<wrap>true</wrap> |
| 283 |
</binding> |
| 284 |
</action> |
| 285 |
</animation> |
| 286 |
|
| 287 |
<animation> |
| 288 |
<type>knob</type> |
| 289 |
|
| 290 |
<object-name>click-digit3-L</object-name> |
| 291 |
<object-name>click-digit3-R</object-name> |
| 292 |
<visible>false</visible> |
| 293 |
<action> |
| 294 |
<binding> |
| 295 |
<command>property-adjust</command> |
| 296 |
<property>instrumentation/transponder/inputs/digit[1]</property> |
| 297 |
<min>0</min> |
| 298 |
<max>8</max> |
| 299 |
<wrap>true</wrap> |
| 300 |
</binding> |
| 301 |
</action> |
| 302 |
</animation> |
| 303 |
|
| 304 |
<animation> |
| 305 |
<type>knob</type> |
| 306 |
|
| 307 |
<object-name>click-digit4-L</object-name> |
| 308 |
<object-name>click-digit4-R</object-name> |
| 309 |
<visible>false</visible> |
| 310 |
<action> |
| 311 |
<binding> |
| 312 |
<command>property-adjust</command> |
| 313 |
<property>instrumentation/transponder/inputs/digit[0]</property> |
| 314 |
<min>0</min> |
| 315 |
<max>8</max> |
| 316 |
<wrap>true</wrap> |
| 317 |
</binding> |
| 318 |
</action> |
| 319 |
</animation> |
| 320 |
|
| 321 |
|
| 322 |
|
| 323 |
<animation> |
| 324 |
<type>pick</type> |
| 325 |
<object-name>ident-btn</object-name> |
| 326 |
<action> |
| 327 |
<button>0</button> |
| 328 |
<repeatable>false</repeatable> |
| 329 |
<binding> |
| 330 |
<command>property-assign</command> |
| 331 |
<property>instrumentation/transponder/inputs/ident-btn</property> |
| 332 |
<value>true</value> |
| 333 |
</binding> |
| 334 |
<mod-up> |
| 335 |
<binding> |
| 336 |
<command>property-assign</command> |
| 337 |
<property>instrumentation/transponder/inputs/ident-btn</property> |
| 338 |
<value>false</value> |
| 339 |
</binding> |
| 340 |
</mod-up> |
| 341 |
</action> |
| 342 |
|
| 343 |
<hovered> |
| 344 |
<binding> |
| 345 |
<command>set-tooltip</command> |
| 346 |
<tooltip-id>kt70-ident</tooltip-id> |
| 347 |
<label>Identify to ATC</label> |
| 348 |
</binding> |
| 349 |
</hovered> |
| 350 |
</animation> |
| 351 |
|
| 352 |
<animation> |
| 353 |
<type>pick</type> |
| 354 |
<object-name>vfr-btn</object-name> |
| 355 |
<action> |
| 356 |
<button>0</button> |
| 357 |
<repeatable>false</repeatable> |
| 358 |
<binding> |
| 359 |
<command>property-assign</command> |
| 360 |
<property>instrumentation/transponder/id-code</property> |
| 361 |
<value>1200</value> |
| 362 |
</binding> |
| 363 |
</action> |
| 364 |
|
| 365 |
<hovered> |
| 366 |
<binding> |
| 367 |
<command>set-tooltip</command> |
| 368 |
<tooltip-id>kt70-vfr</tooltip-id> |
| 369 |
<label>Set ID code to 1200 (VFR)</label> |
| 370 |
</binding> |
| 371 |
</hovered> |
| 372 |
</animation> |
| 373 |
|
| 374 |
</PropertyList> |