| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
<PropertyList> |
| 10 |
<name>bxp6401</name> |
| 11 |
<path>bxp6401.ac</path> |
| 12 |
|
| 13 |
<animation> |
| 14 |
<type>material</type> |
| 15 |
<object-name>BXP6401.display</object-name> |
| 16 |
<emission> |
| 17 |
<red>1</red> |
| 18 |
<green>1</green> |
| 19 |
<blue>1</blue> |
| 20 |
<factor-prop>/instrumentation/transponder[0]/brightness</factor-prop> |
| 21 |
</emission> |
| 22 |
</animation> |
| 23 |
|
| 24 |
<effect> |
| 25 |
<inherits-from>Effects/model-interior-display</inherits-from> |
| 26 |
<parameters> |
| 27 |
<dirt-factor>1.0</dirt-factor> |
| 28 |
<contrast>0.75</contrast> |
| 29 |
</parameters> |
| 30 |
<object-name>BXP6401.display</object-name> |
| 31 |
</effect> |
| 32 |
|
| 33 |
<animation> |
| 34 |
<type>pick</type> |
| 35 |
<object-name>vfr.btn</object-name> |
| 36 |
<action> |
| 37 |
<button>0</button> |
| 38 |
<binding> |
| 39 |
<command>property-assign</command> |
| 40 |
<property>/instrumentation/transponder/id-code</property> |
| 41 |
<value>7000</value> |
| 42 |
</binding> |
| 43 |
<binding> |
| 44 |
<command>property-assign</command> |
| 45 |
<property>/instrumentation/transponder/inputs/vfr-pressed</property> |
| 46 |
<value>1</value> |
| 47 |
</binding> |
| 48 |
<mod-up> |
| 49 |
<binding> |
| 50 |
<command>property-assign</command> |
| 51 |
<property>/instrumentation/transponder/inputs/vfr-pressed</property> |
| 52 |
<value>0</value> |
| 53 |
</binding> |
| 54 |
</mod-up> |
| 55 |
</action> |
| 56 |
</animation> |
| 57 |
<animation> |
| 58 |
<type>translate</type> |
| 59 |
<object-name>vfr.btn</object-name> |
| 60 |
<property>/instrumentation/transponder/inputs/vfr-pressed</property> |
| 61 |
<axis> |
| 62 |
<x>1</x> |
| 63 |
</axis> |
| 64 |
<factor>-0.0005</factor> |
| 65 |
</animation> |
| 66 |
<animation> |
| 67 |
<type>pick</type> |
| 68 |
<object-name>idt.btn</object-name> |
| 69 |
<action> |
| 70 |
<button>0</button> |
| 71 |
<binding> |
| 72 |
<command>property-assign</command> |
| 73 |
<property>/instrumentation/transponder/inputs/idt-pressed</property> |
| 74 |
<value>1</value> |
| 75 |
</binding> |
| 76 |
<binding> |
| 77 |
<command>nasal</command> |
| 78 |
<script> |
| 79 |
bxp6401.ident_btn(); |
| 80 |
</script> |
| 81 |
</binding> |
| 82 |
<mod-up> |
| 83 |
<binding> |
| 84 |
<command>property-assign</command> |
| 85 |
<property>/instrumentation/transponder/inputs/idt-pressed</property> |
| 86 |
<value>0</value> |
| 87 |
</binding> |
| 88 |
</mod-up> |
| 89 |
</action> |
| 90 |
</animation> |
| 91 |
<animation> |
| 92 |
<type>translate</type> |
| 93 |
<object-name>idt.btn</object-name> |
| 94 |
<property>/instrumentation/transponder/inputs/idt-pressed</property> |
| 95 |
<axis> |
| 96 |
<x>1</x> |
| 97 |
</axis> |
| 98 |
<factor>-0.0005</factor> |
| 99 |
</animation> |
| 100 |
|
| 101 |
<animation> |
| 102 |
<type>pick</type> |
| 103 |
<object-name>sel.knob</object-name> |
| 104 |
<action> |
| 105 |
<button>0</button> |
| 106 |
<binding> |
| 107 |
<command>property-cycle</command> |
| 108 |
<property>/instrumentation/transponder[0]/inputs/current-change</property> |
| 109 |
<value>1</value> |
| 110 |
<value>2</value> |
| 111 |
<value>3</value> |
| 112 |
<value>4</value> |
| 113 |
<value>0</value> |
| 114 |
</binding> |
| 115 |
<binding> |
| 116 |
<command>property-toggle</command> |
| 117 |
<property>/instrumentation/transponder/inputs/sel-knob-pushed</property> |
| 118 |
</binding> |
| 119 |
<mod-up> |
| 120 |
<binding> |
| 121 |
<command>property-toggle</command> |
| 122 |
<property>/instrumentation/transponder/inputs/sel-knob-pushed</property> |
| 123 |
</binding> |
| 124 |
</mod-up> |
| 125 |
</action> |
| 126 |
<action> |
| 127 |
<button>3</button> |
| 128 |
<binding> |
| 129 |
<condition> |
| 130 |
<equals> |
| 131 |
<property>/instrumentation/transponder/inputs/current-change</property> |
| 132 |
<value>0</value> |
| 133 |
</equals> |
| 134 |
</condition> |
| 135 |
<command>property-assign</command> |
| 136 |
<property>/instrumentation/transponder/inputs/current-change</property> |
| 137 |
<value>1</value> |
| 138 |
</binding> |
| 139 |
<binding> |
| 140 |
<condition> |
| 141 |
<equals> |
| 142 |
<property>/instrumentation/transponder/inputs/current-change</property> |
| 143 |
<value>1</value> |
| 144 |
</equals> |
| 145 |
</condition> |
| 146 |
<command>property-adjust</command> |
| 147 |
<property>instrumentation/transponder/inputs/digit[3]</property> |
| 148 |
<step>1</step> |
| 149 |
<min>0</min> |
| 150 |
<max>8</max> |
| 151 |
<wrap>true</wrap> |
| 152 |
</binding> |
| 153 |
<binding> |
| 154 |
<condition> |
| 155 |
<equals> |
| 156 |
<property>/instrumentation/transponder/inputs/current-change</property> |
| 157 |
<value>2</value> |
| 158 |
</equals> |
| 159 |
</condition> |
| 160 |
<command>property-adjust</command> |
| 161 |
<property>instrumentation/transponder/inputs/digit[2]</property> |
| 162 |
<step>1</step> |
| 163 |
<min>0</min> |
| 164 |
<max>8</max> |
| 165 |
<wrap>true</wrap> |
| 166 |
</binding> |
| 167 |
<binding> |
| 168 |
<condition> |
| 169 |
<equals> |
| 170 |
<property>/instrumentation/transponder/inputs/current-change</property> |
| 171 |
<value>3</value> |
| 172 |
</equals> |
| 173 |
</condition> |
| 174 |
<command>property-adjust</command> |
| 175 |
<property>instrumentation/transponder/inputs/digit[1]</property> |
| 176 |
<step>1</step> |
| 177 |
<min>0</min> |
| 178 |
<max>8</max> |
| 179 |
<wrap>true</wrap> |
| 180 |
</binding> |
| 181 |
<binding> |
| 182 |
<condition> |
| 183 |
<equals> |
| 184 |
<property>/instrumentation/transponder/inputs/current-change</property> |
| 185 |
<value>4</value> |
| 186 |
</equals> |
| 187 |
</condition> |
| 188 |
<command>property-adjust</command> |
| 189 |
<property>instrumentation/transponder/inputs/digit[0]</property> |
| 190 |
<step>1</step> |
| 191 |
<min>0</min> |
| 192 |
<max>8</max> |
| 193 |
<wrap>true</wrap> |
| 194 |
</binding> |
| 195 |
<binding> |
| 196 |
<command>property-adjust</command> |
| 197 |
<property>instrumentation/transponder/inputs/sel-knob</property> |
| 198 |
<step>5</step> |
| 199 |
</binding> |
| 200 |
</action> |
| 201 |
<action> |
| 202 |
<button>4</button> |
| 203 |
<binding> |
| 204 |
<condition> |
| 205 |
<equals> |
| 206 |
<property>/instrumentation/transponder/inputs/current-change</property> |
| 207 |
<value>0</value> |
| 208 |
</equals> |
| 209 |
</condition> |
| 210 |
<command>property-assign</command> |
| 211 |
<property>/instrumentation/transponder/inputs/current-change</property> |
| 212 |
<value>1</value> |
| 213 |
</binding> |
| 214 |
<binding> |
| 215 |
<condition> |
| 216 |
<equals> |
| 217 |
<property>/instrumentation/transponder/inputs/current-change</property> |
| 218 |
<value>1</value> |
| 219 |
</equals> |
| 220 |
</condition> |
| 221 |
<command>property-adjust</command> |
| 222 |
<property>instrumentation/transponder/inputs/digit[3]</property> |
| 223 |
<step>-1</step> |
| 224 |
<min>0</min> |
| 225 |
<max>7</max> |
| 226 |
<wrap>true</wrap> |
| 227 |
</binding> |
| 228 |
<binding> |
| 229 |
<condition> |
| 230 |
<equals> |
| 231 |
<property>/instrumentation/transponder/inputs/current-change</property> |
| 232 |
<value>2</value> |
| 233 |
</equals> |
| 234 |
</condition> |
| 235 |
<command>property-adjust</command> |
| 236 |
<property>instrumentation/transponder/inputs/digit[2]</property> |
| 237 |
<step>-1</step> |
| 238 |
<min>0</min> |
| 239 |
<max>7</max> |
| 240 |
<wrap>true</wrap> |
| 241 |
</binding> |
| 242 |
<binding> |
| 243 |
<condition> |
| 244 |
<equals> |
| 245 |
<property>/instrumentation/transponder/inputs/current-change</property> |
| 246 |
<value>3</value> |
| 247 |
</equals> |
| 248 |
</condition> |
| 249 |
<command>property-adjust</command> |
| 250 |
<property>instrumentation/transponder/inputs/digit[1]</property> |
| 251 |
<step>-1</step> |
| 252 |
<min>0</min> |
| 253 |
<max>7</max> |
| 254 |
<wrap>true</wrap> |
| 255 |
</binding> |
| 256 |
<binding> |
| 257 |
<condition> |
| 258 |
<equals> |
| 259 |
<property>/instrumentation/transponder/inputs/current-change</property> |
| 260 |
<value>4</value> |
| 261 |
</equals> |
| 262 |
</condition> |
| 263 |
<command>property-adjust</command> |
| 264 |
<property>instrumentation/transponder/inputs/digit[0]</property> |
| 265 |
<step>-1</step> |
| 266 |
<min>0</min> |
| 267 |
<max>7</max> |
| 268 |
<wrap>true</wrap> |
| 269 |
</binding> |
| 270 |
<binding> |
| 271 |
<command>property-adjust</command> |
| 272 |
<property>instrumentation/transponder/inputs/sel-knob</property> |
| 273 |
<step>-5</step> |
| 274 |
</binding> |
| 275 |
</action> |
| 276 |
</animation> |
| 277 |
<animation> |
| 278 |
<type>rotate</type> |
| 279 |
<object-name>sel.knob</object-name> |
| 280 |
<property>instrumentation/transponder/inputs/sel-knob</property> |
| 281 |
<center> |
| 282 |
<y-m>0.011</y-m> |
| 283 |
<z-m>-0.01688</z-m> |
| 284 |
</center> |
| 285 |
<axis> |
| 286 |
<x>-1</x> |
| 287 |
</axis> |
| 288 |
</animation> |
| 289 |
<animation> |
| 290 |
<type>translate</type> |
| 291 |
<object-name>sel.knob</object-name> |
| 292 |
<property>/instrumentation/transponder/inputs/sel-knob-pushed</property> |
| 293 |
<factor>-0.001</factor> |
| 294 |
<axis> |
| 295 |
<x>1</x> |
| 296 |
</axis> |
| 297 |
</animation> |
| 298 |
|
| 299 |
|
| 300 |
<animation> |
| 301 |
<type>knob</type> |
| 302 |
<object-name>mode.knob</object-name> |
| 303 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 304 |
<interpolation> |
| 305 |
<entry><ind> 0 </ind><dep> 0 </dep></entry> |
| 306 |
<entry><ind> 1 </ind><dep> 50 </dep></entry> |
| 307 |
<entry><ind> 3 </ind><dep> 50 </dep></entry> |
| 308 |
<entry><ind> 4 </ind><dep> 100 </dep></entry> |
| 309 |
<entry><ind> 5 </ind><dep> 150 </dep></entry> |
| 310 |
</interpolation> |
| 311 |
<center> |
| 312 |
<y-m>-0.01564</y-m> |
| 313 |
<z-m>-0.01686</z-m> |
| 314 |
</center> |
| 315 |
<axis> |
| 316 |
<x>-1</x> |
| 317 |
</axis> |
| 318 |
<action> |
| 319 |
<binding> |
| 320 |
<command>property-cycle</command> |
| 321 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 322 |
<value>0</value> |
| 323 |
<value>1</value> |
| 324 |
<value>4</value> |
| 325 |
<value>5</value> |
| 326 |
<wrap>0</wrap> |
| 327 |
</binding> |
| 328 |
</action> |
| 329 |
</animation> |
| 330 |
|
| 331 |
|
| 332 |
</PropertyList> |