From 02fab82534797526c784068a70d19c8c8cc04505 Mon Sep 17 00:00:00 2001 From: stuart Date: Tue, 24 Nov 2009 16:51:47 +0000 Subject: [PATCH] Add panel lighting control so the panel/instruments lighting can be adjusted independantly of the Nav lights. --- .../c172p/Instruments/light/light_control.ac | 1187 +++++++++++++++++ .../c172p/Instruments/light/light_control.xml | 84 ++ Aircraft/c172p/Models/c172p.xml | 11 + Aircraft/c172p/Nasal/action-sim.nas | 16 +- 4 files changed, 1285 insertions(+), 13 deletions(-) create mode 100644 Aircraft/c172p/Instruments/light/light_control.ac create mode 100644 Aircraft/c172p/Instruments/light/light_control.xml diff --git a/Aircraft/c172p/Instruments/light/light_control.ac b/Aircraft/c172p/Instruments/light/light_control.ac new file mode 100644 index 000000000..27113109c --- /dev/null +++ b/Aircraft/c172p/Instruments/light/light_control.ac @@ -0,0 +1,1187 @@ +AC3Db +MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0 +MATERIAL "Material.002" rgb 1 1 1 amb 0.1 0.1 0.1 emis 0 0 0 spec 1 1 1 shi 32 trans 1 +MATERIAL "Material" rgb 0.122116 0.122116 0.122116 amb 0.1 0.1 0.1 emis 0 0 0 spec 0.179532 0.179532 0.179532 shi 6 trans 0 +MATERIAL "Material.001" rgb 0.914725 0.912494 0.912494 amb 0.6 0.6 0.6 emis 0 0 0 spec 0.575067 0.575067 0.575067 shi 12 trans 0 +OBJECT world +kids 3 +OBJECT poly +name "LightHotspotLeft" +data 4 +Cube +crease 30.000000 +numvert 8 +-0.00028 0.0174 2e-05 +-0.00028 -0.01716 2e-05 +-0.00028 -0.01716 0.0173 +-0.00028 0.0174 0.0173 +0.017 0.0174 2e-05 +0.017 -0.01716 2e-05 +0.017 -0.01716 0.0173 +0.017 0.0174 0.0173 +numsurf 6 +SURF 0x20 +mat 1 +refs 4 +0 0.0 0.0 +1 0.0 0.0 +2 0.0 0.0 +3 0.0 0.0 +SURF 0x20 +mat 1 +refs 4 +4 0.0 0.0 +7 0.0 0.0 +6 0.0 0.0 +5 0.0 0.0 +SURF 0x20 +mat 1 +refs 4 +0 0.0 0.0 +4 0.0 0.0 +5 0.0 0.0 +1 0.0 0.0 +SURF 0x20 +mat 1 +refs 4 +1 0.0 0.0 +5 0.0 0.0 +6 0.0 0.0 +2 0.0 0.0 +SURF 0x20 +mat 1 +refs 4 +2 0.0 0.0 +6 0.0 0.0 +7 0.0 0.0 +3 0.0 0.0 +SURF 0x20 +mat 1 +refs 4 +4 0.0 0.0 +0 0.0 0.0 +3 0.0 0.0 +7 0.0 0.0 +kids 0 +OBJECT poly +name "LightHotspotRight" +data 8 +Cube.001 +crease 30.000000 +numvert 8 +-0.00028 0.0174 -0.01724 +-0.00028 -0.01716 -0.01724 +-0.00028 -0.01716 4e-05 +-0.00028 0.0174 4e-05 +0.017 0.0174 -0.01724 +0.017 -0.01716 -0.01724 +0.017 -0.01716 4e-05 +0.017 0.0174 4e-05 +numsurf 6 +SURF 0x20 +mat 1 +refs 4 +0 0.0 0.0 +1 0.0 0.0 +2 0.0 0.0 +3 0.0 0.0 +SURF 0x20 +mat 1 +refs 4 +4 0.0 0.0 +7 0.0 0.0 +6 0.0 0.0 +5 0.0 0.0 +SURF 0x20 +mat 1 +refs 4 +0 0.0 0.0 +4 0.0 0.0 +5 0.0 0.0 +1 0.0 0.0 +SURF 0x20 +mat 1 +refs 4 +1 0.0 0.0 +5 0.0 0.0 +6 0.0 0.0 +2 0.0 0.0 +SURF 0x20 +mat 1 +refs 4 +2 0.0 0.0 +6 0.0 0.0 +7 0.0 0.0 +3 0.0 0.0 +SURF 0x20 +mat 1 +refs 4 +4 0.0 0.0 +0 0.0 0.0 +3 0.0 0.0 +7 0.0 0.0 +kids 0 +OBJECT poly +name "LightKnob" +data 8 +Cylinder +crease 30.000000 +numvert 160 +-0.00017 0.00707 -0.00707 +-0.00017 0.00556 -0.00831 +-0.00017 0.00383 -0.00924 +-0.00017 0.00195 -0.00981 +-0.00017 0 -0.01 +-0.00017 -0.00195 -0.00981 +-0.00017 -0.00383 -0.00924 +-0.00017 -0.00556 -0.00831 +-0.00017 -0.00707 -0.00707 +-0.00017 -0.00831 -0.00556 +-0.00017 -0.00924 -0.00383 +-0.00017 -0.00981 -0.00195 +-0.00017 -0.01 0 +-0.00017 -0.00981 0.00195 +-0.00017 -0.00924 0.00383 +-0.00017 -0.00831 0.00556 +-0.00017 -0.00707 0.00707 +-0.00017 -0.00556 0.00831 +-0.00017 -0.00383 0.00924 +-0.00017 -0.00195 0.00981 +-0.00017 0 0.01 +-0.00017 0.00195 0.00981 +-0.00017 0.00383 0.00924 +-0.00017 0.00556 0.00831 +-0.00017 0.00707 0.00707 +-0.00017 0.00831 0.00556 +-0.00017 0.00924 0.00383 +-0.00017 0.00981 0.00195 +-0.00017 0.01 0 +-0.00017 0.00981 -0.00195 +-0.00017 0.00924 -0.00383 +-0.00017 0.00831 -0.00556 +0.00717 0.00707 -0.00707 +0.00717 0.00556 -0.00831 +0.00717 0.00383 -0.00924 +0.00717 0.00195 -0.00981 +0.00717 0 -0.01 +0.00717 -0.00195 -0.00981 +0.00717 -0.00383 -0.00924 +0.00717 -0.00556 -0.00831 +0.00717 -0.00707 -0.00707 +0.00717 -0.00831 -0.00556 +0.00717 -0.00924 -0.00383 +0.00717 -0.00981 -0.00195 +0.00717 -0.01 0 +0.00717 -0.00981 0.00195 +0.00717 -0.00924 0.00383 +0.00717 -0.00831 0.00556 +0.00717 -0.00707 0.00707 +0.00717 -0.00556 0.00831 +0.00717 -0.00383 0.00924 +0.00717 -0.00195 0.00981 +0.00717 0 0.01 +0.00717 0.00195 0.00981 +0.00717 0.00383 0.00924 +0.00717 0.00556 0.00831 +0.00717 0.00707 0.00707 +0.00717 0.00831 0.00556 +0.00717 0.00924 0.00383 +0.00717 0.00981 0.00195 +0.00717 0.01 0 +0.00717 0.00981 -0.00195 +0.00717 0.00924 -0.00383 +0.00717 0.00831 -0.00556 +0.01192 0.00404 -0.00404 +0.01192 0.00318 -0.00476 +0.01192 0.00219 -0.00528 +0.01192 0.00112 -0.00561 +0.01192 0 -0.00572 +0.01192 -0.00112 -0.00561 +0.01192 -0.00219 -0.00528 +0.01192 -0.00318 -0.00476 +0.01192 -0.00404 -0.00404 +0.01192 -0.00476 -0.00318 +0.01192 -0.00528 -0.00219 +0.01192 -0.00561 -0.00112 +0.01192 -0.00572 0 +0.01192 -0.00561 0.00112 +0.01192 -0.00528 0.00219 +0.01192 -0.00476 0.00318 +0.01192 -0.00404 0.00404 +0.01192 -0.00318 0.00476 +0.01192 -0.00219 0.00528 +0.01192 -0.00112 0.00561 +0.01192 0 0.00572 +0.01192 0.00112 0.00561 +0.01192 0.00219 0.00528 +0.01192 0.00318 0.00476 +0.01192 0.00404 0.00404 +0.01192 0.00476 0.00318 +0.01192 0.00528 0.00219 +0.01192 0.00561 0.00112 +0.01192 0.00572 0 +0.01192 0.00561 -0.00112 +0.01192 0.00528 -0.00219 +0.01192 0.00476 -0.00318 +0.01263 0.00404 -0.00404 +0.01263 0.00318 -0.00476 +0.01263 0.00219 -0.00528 +0.01263 0.00112 -0.00561 +0.01263 0 -0.00572 +0.01263 -0.00112 -0.00561 +0.01263 -0.00219 -0.00528 +0.01263 -0.00318 -0.00476 +0.01263 -0.00404 -0.00404 +0.01263 -0.00476 -0.00318 +0.01263 -0.00528 -0.00219 +0.01263 -0.00561 -0.00112 +0.01263 -0.00572 0 +0.01263 -0.00561 0.00112 +0.01263 -0.00528 0.00219 +0.01263 -0.00476 0.00318 +0.01263 -0.00404 0.00404 +0.01263 -0.00318 0.00476 +0.01263 -0.00219 0.00528 +0.01263 -0.00112 0.00561 +0.01263 0 0.00572 +0.01263 0.00112 0.00561 +0.01263 0.00219 0.00528 +0.01263 0.00318 0.00476 +0.01263 0.00404 0.00404 +0.01263 0.00476 0.00318 +0.01263 0.00528 0.00219 +0.01263 0.00561 0.00112 +0.01263 0.00572 0 +0.01263 0.00561 -0.00112 +0.01263 0.00528 -0.00219 +0.01263 0.00476 -0.00318 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +0.01263 0 0 +numsurf 128 +SURF 0x30 +mat 2 +refs 4 +0 0.0 0.0 +32 0.0 0.0 +33 0.0 0.0 +1 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +1 0.0 0.0 +33 0.0 0.0 +34 0.0 0.0 +2 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +2 0.0 0.0 +34 0.0 0.0 +35 0.0 0.0 +3 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +3 0.0 0.0 +35 0.0 0.0 +36 0.0 0.0 +4 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +4 0.0 0.0 +36 0.0 0.0 +37 0.0 0.0 +5 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +5 0.0 0.0 +37 0.0 0.0 +38 0.0 0.0 +6 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +6 0.0 0.0 +38 0.0 0.0 +39 0.0 0.0 +7 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +7 0.0 0.0 +39 0.0 0.0 +40 0.0 0.0 +8 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +8 0.0 0.0 +40 0.0 0.0 +41 0.0 0.0 +9 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +9 0.0 0.0 +41 0.0 0.0 +42 0.0 0.0 +10 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +10 0.0 0.0 +42 0.0 0.0 +43 0.0 0.0 +11 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +11 0.0 0.0 +43 0.0 0.0 +44 0.0 0.0 +12 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +12 0.0 0.0 +44 0.0 0.0 +45 0.0 0.0 +13 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +13 0.0 0.0 +45 0.0 0.0 +46 0.0 0.0 +14 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +14 0.0 0.0 +46 0.0 0.0 +47 0.0 0.0 +15 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +15 0.0 0.0 +47 0.0 0.0 +48 0.0 0.0 +16 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +16 0.0 0.0 +48 0.0 0.0 +49 0.0 0.0 +17 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +17 0.0 0.0 +49 0.0 0.0 +50 0.0 0.0 +18 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +18 0.0 0.0 +50 0.0 0.0 +51 0.0 0.0 +19 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +19 0.0 0.0 +51 0.0 0.0 +52 0.0 0.0 +20 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +20 0.0 0.0 +52 0.0 0.0 +53 0.0 0.0 +21 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +21 0.0 0.0 +53 0.0 0.0 +54 0.0 0.0 +22 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +22 0.0 0.0 +54 0.0 0.0 +55 0.0 0.0 +23 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +23 0.0 0.0 +55 0.0 0.0 +56 0.0 0.0 +24 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +24 0.0 0.0 +56 0.0 0.0 +57 0.0 0.0 +25 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +25 0.0 0.0 +57 0.0 0.0 +58 0.0 0.0 +26 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +26 0.0 0.0 +58 0.0 0.0 +59 0.0 0.0 +27 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +27 0.0 0.0 +59 0.0 0.0 +60 0.0 0.0 +28 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +28 0.0 0.0 +60 0.0 0.0 +61 0.0 0.0 +29 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +29 0.0 0.0 +61 0.0 0.0 +62 0.0 0.0 +30 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +30 0.0 0.0 +62 0.0 0.0 +63 0.0 0.0 +31 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +32 0.0 0.0 +0 0.0 0.0 +31 0.0 0.0 +63 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +33 0.0 0.0 +32 0.0 0.0 +64 0.0 0.0 +65 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +34 0.0 0.0 +33 0.0 0.0 +65 0.0 0.0 +66 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +35 0.0 0.0 +34 0.0 0.0 +66 0.0 0.0 +67 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +36 0.0 0.0 +35 0.0 0.0 +67 0.0 0.0 +68 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +37 0.0 0.0 +36 0.0 0.0 +68 0.0 0.0 +69 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +38 0.0 0.0 +37 0.0 0.0 +69 0.0 0.0 +70 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +39 0.0 0.0 +38 0.0 0.0 +70 0.0 0.0 +71 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +40 0.0 0.0 +39 0.0 0.0 +71 0.0 0.0 +72 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +41 0.0 0.0 +40 0.0 0.0 +72 0.0 0.0 +73 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +42 0.0 0.0 +41 0.0 0.0 +73 0.0 0.0 +74 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +43 0.0 0.0 +42 0.0 0.0 +74 0.0 0.0 +75 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +44 0.0 0.0 +43 0.0 0.0 +75 0.0 0.0 +76 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +45 0.0 0.0 +44 0.0 0.0 +76 0.0 0.0 +77 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +46 0.0 0.0 +45 0.0 0.0 +77 0.0 0.0 +78 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +47 0.0 0.0 +46 0.0 0.0 +78 0.0 0.0 +79 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +48 0.0 0.0 +47 0.0 0.0 +79 0.0 0.0 +80 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +49 0.0 0.0 +48 0.0 0.0 +80 0.0 0.0 +81 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +50 0.0 0.0 +49 0.0 0.0 +81 0.0 0.0 +82 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +51 0.0 0.0 +50 0.0 0.0 +82 0.0 0.0 +83 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +52 0.0 0.0 +51 0.0 0.0 +83 0.0 0.0 +84 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +53 0.0 0.0 +52 0.0 0.0 +84 0.0 0.0 +85 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +54 0.0 0.0 +53 0.0 0.0 +85 0.0 0.0 +86 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +55 0.0 0.0 +54 0.0 0.0 +86 0.0 0.0 +87 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +56 0.0 0.0 +55 0.0 0.0 +87 0.0 0.0 +88 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +57 0.0 0.0 +56 0.0 0.0 +88 0.0 0.0 +89 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +58 0.0 0.0 +57 0.0 0.0 +89 0.0 0.0 +90 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +59 0.0 0.0 +58 0.0 0.0 +90 0.0 0.0 +91 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +60 0.0 0.0 +59 0.0 0.0 +91 0.0 0.0 +92 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +61 0.0 0.0 +60 0.0 0.0 +92 0.0 0.0 +93 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +62 0.0 0.0 +61 0.0 0.0 +93 0.0 0.0 +94 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +63 0.0 0.0 +62 0.0 0.0 +94 0.0 0.0 +95 0.0 0.0 +SURF 0x30 +mat 2 +refs 4 +32 0.0 0.0 +63 0.0 0.0 +95 0.0 0.0 +64 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +65 0.0 0.0 +64 0.0 0.0 +96 0.0 0.0 +97 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +66 0.0 0.0 +65 0.0 0.0 +97 0.0 0.0 +98 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +67 0.0 0.0 +66 0.0 0.0 +98 0.0 0.0 +99 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +68 0.0 0.0 +67 0.0 0.0 +99 0.0 0.0 +100 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +69 0.0 0.0 +68 0.0 0.0 +100 0.0 0.0 +101 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +70 0.0 0.0 +69 0.0 0.0 +101 0.0 0.0 +102 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +71 0.0 0.0 +70 0.0 0.0 +102 0.0 0.0 +103 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +72 0.0 0.0 +71 0.0 0.0 +103 0.0 0.0 +104 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +73 0.0 0.0 +72 0.0 0.0 +104 0.0 0.0 +105 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +74 0.0 0.0 +73 0.0 0.0 +105 0.0 0.0 +106 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +75 0.0 0.0 +74 0.0 0.0 +106 0.0 0.0 +107 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +76 0.0 0.0 +75 0.0 0.0 +107 0.0 0.0 +108 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +77 0.0 0.0 +76 0.0 0.0 +108 0.0 0.0 +109 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +78 0.0 0.0 +77 0.0 0.0 +109 0.0 0.0 +110 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +79 0.0 0.0 +78 0.0 0.0 +110 0.0 0.0 +111 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +80 0.0 0.0 +79 0.0 0.0 +111 0.0 0.0 +112 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +81 0.0 0.0 +80 0.0 0.0 +112 0.0 0.0 +113 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +82 0.0 0.0 +81 0.0 0.0 +113 0.0 0.0 +114 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +83 0.0 0.0 +82 0.0 0.0 +114 0.0 0.0 +115 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +84 0.0 0.0 +83 0.0 0.0 +115 0.0 0.0 +116 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +85 0.0 0.0 +84 0.0 0.0 +116 0.0 0.0 +117 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +86 0.0 0.0 +85 0.0 0.0 +117 0.0 0.0 +118 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +87 0.0 0.0 +86 0.0 0.0 +118 0.0 0.0 +119 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +88 0.0 0.0 +87 0.0 0.0 +119 0.0 0.0 +120 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +89 0.0 0.0 +88 0.0 0.0 +120 0.0 0.0 +121 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +90 0.0 0.0 +89 0.0 0.0 +121 0.0 0.0 +122 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +91 0.0 0.0 +90 0.0 0.0 +122 0.0 0.0 +123 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +92 0.0 0.0 +91 0.0 0.0 +123 0.0 0.0 +124 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +93 0.0 0.0 +92 0.0 0.0 +124 0.0 0.0 +125 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +94 0.0 0.0 +93 0.0 0.0 +125 0.0 0.0 +126 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +95 0.0 0.0 +94 0.0 0.0 +126 0.0 0.0 +127 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +64 0.0 0.0 +95 0.0 0.0 +127 0.0 0.0 +96 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +97 0.0 0.0 +96 0.0 0.0 +128 0.0 0.0 +129 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +98 0.0 0.0 +97 0.0 0.0 +129 0.0 0.0 +130 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +99 0.0 0.0 +98 0.0 0.0 +130 0.0 0.0 +131 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +100 0.0 0.0 +99 0.0 0.0 +131 0.0 0.0 +132 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +101 0.0 0.0 +100 0.0 0.0 +132 0.0 0.0 +133 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +102 0.0 0.0 +101 0.0 0.0 +133 0.0 0.0 +134 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +103 0.0 0.0 +102 0.0 0.0 +134 0.0 0.0 +135 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +104 0.0 0.0 +103 0.0 0.0 +135 0.0 0.0 +136 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +105 0.0 0.0 +104 0.0 0.0 +136 0.0 0.0 +137 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +106 0.0 0.0 +105 0.0 0.0 +137 0.0 0.0 +138 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +107 0.0 0.0 +106 0.0 0.0 +138 0.0 0.0 +139 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +108 0.0 0.0 +107 0.0 0.0 +139 0.0 0.0 +140 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +109 0.0 0.0 +108 0.0 0.0 +140 0.0 0.0 +141 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +110 0.0 0.0 +109 0.0 0.0 +141 0.0 0.0 +142 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +111 0.0 0.0 +110 0.0 0.0 +142 0.0 0.0 +143 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +112 0.0 0.0 +111 0.0 0.0 +143 0.0 0.0 +144 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +113 0.0 0.0 +112 0.0 0.0 +144 0.0 0.0 +145 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +114 0.0 0.0 +113 0.0 0.0 +145 0.0 0.0 +146 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +115 0.0 0.0 +114 0.0 0.0 +146 0.0 0.0 +147 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +116 0.0 0.0 +115 0.0 0.0 +147 0.0 0.0 +148 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +117 0.0 0.0 +116 0.0 0.0 +148 0.0 0.0 +149 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +118 0.0 0.0 +117 0.0 0.0 +149 0.0 0.0 +150 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +119 0.0 0.0 +118 0.0 0.0 +150 0.0 0.0 +151 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +120 0.0 0.0 +119 0.0 0.0 +151 0.0 0.0 +152 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +121 0.0 0.0 +120 0.0 0.0 +152 0.0 0.0 +153 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +122 0.0 0.0 +121 0.0 0.0 +153 0.0 0.0 +154 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +123 0.0 0.0 +122 0.0 0.0 +154 0.0 0.0 +155 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +124 0.0 0.0 +123 0.0 0.0 +155 0.0 0.0 +156 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +125 0.0 0.0 +124 0.0 0.0 +156 0.0 0.0 +157 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +126 0.0 0.0 +125 0.0 0.0 +157 0.0 0.0 +158 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +127 0.0 0.0 +126 0.0 0.0 +158 0.0 0.0 +159 0.0 0.0 +SURF 0x30 +mat 3 +refs 4 +96 0.0 0.0 +127 0.0 0.0 +159 0.0 0.0 +128 0.0 0.0 +kids 0 diff --git a/Aircraft/c172p/Instruments/light/light_control.xml b/Aircraft/c172p/Instruments/light/light_control.xml new file mode 100644 index 000000000..3a6e8ab1d --- /dev/null +++ b/Aircraft/c172p/Instruments/light/light_control.xml @@ -0,0 +1,84 @@ + + + + + light_control.ac + + + + pick + LightHotspotLeft + true + + Decrease + + true + + property-adjust + controls/lighting/instruments-norm + -0.1 + 0 + 1.0 + 0 + + + + + + pick + LightHotspotRight + true + + Increase + + true + + property-adjust + controls/lighting/instruments-norm + 0.1 + 0 + 1.0 + 0 + + + + + + pick + LightHotspotLeft + LightHotspotRight + LightKnob + true + + Decrease - scrollwheel + + true + + property-adjust + controls/lighting/instruments-norm + -0.1 + 0 + 1.0 + 0 + + + + Increase - scrollwheel + + true + + property-adjust + controls/lighting/instruments-norm + 0.1 + 0 + 1.0 + 0 + + + + + + + + + diff --git a/Aircraft/c172p/Models/c172p.xml b/Aircraft/c172p/Models/c172p.xml index af43e7e64..2efc00594 100644 --- a/Aircraft/c172p/Models/c172p.xml +++ b/Aircraft/c172p/Models/c172p.xml @@ -276,6 +276,16 @@ + + PanelLight + Aircraft/c172p/Instruments/light/light_control.xml + + -0.36 + -0.035 + -0.273 + + + CarbHeatGroup @@ -310,6 +320,7 @@ NavLightSwitch BeaconSwitch StrobeSwitch + PanelLight