diff --git a/Aircraft/Instruments-3d/magneto-switch/mag_switch.ac b/Aircraft/Instruments-3d/magneto-switch/mag_switch.ac new file mode 100644 index 000000000..f9dd7b4a7 --- /dev/null +++ b/Aircraft/Instruments-3d/magneto-switch/mag_switch.ac @@ -0,0 +1,739 @@ +AC3Db +MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 10 trans 0 +MATERIAL "ac3dmat6" rgb 0 1 0 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 10 trans 1 +MATERIAL "ac3dmat13" rgb 0.533 0.533 0.533 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 128 trans 0 +OBJECT world +kids 6 +OBJECT group +name "clicks" +loc 0.00569378 -0.00756817 0.00125835 +kids 1 +OBJECT poly +name "click-S" +loc -1.86265e-09 0.00716951 -0.0440341 +crease 180.000000 +numvert 4 +0 -0.014961 0.0280603 +0 -0.014961 0.0374137 +0 0.014961 0.0280603 +0 0.014961 0.0374137 +numsurf 1 +SURF 0x30 +mat 1 +refs 4 +3 0 1 +1 0 0 +0 0.125 0 +2 0.125 1 +kids 0 +OBJECT group +name "clicks" +loc 0.00569378 -0.00756817 0.00125835 +kids 1 +OBJECT poly +name "click-L" +loc -1.86265e-09 0.00716951 -0.0245894 +crease 180.000000 +numvert 4 +0 -0.014961 0.0280603 +0 -0.014961 0.0374137 +0 0.014961 0.0280603 +0 0.014961 0.0374137 +numsurf 1 +SURF 0x30 +mat 1 +refs 4 +3 0 1 +1 0 0 +0 0.125 0 +2 0.125 1 +kids 0 +OBJECT group +name "clicks" +loc 0.00569378 -0.00756817 0.00125835 +kids 1 +OBJECT poly +name "click-R" +loc -1.86265e-09 0.00716951 -0.0343163 +crease 180.000000 +numvert 4 +0 0.014961 0.0374137 +0 0.014961 0.0280603 +0 -0.014961 0.0374137 +0 -0.014961 0.0280603 +numsurf 1 +SURF 0x30 +mat 1 +refs 4 +0 0 1 +2 0 0 +3 0.125 0 +1 0.125 1 +kids 0 +OBJECT poly +name "magsw" +loc 0.000157679 -0.000165235 -7.60364e-05 +texture "/usr/local/FlightGear-0.9/data/Aircraft/pa24-250/Models/mag.sw/mag_switch.rgb" +crease 45.000000 +numvert 4 +0 0.0249262 -0.0224353 +-3.72529e-09 0.0249262 0.0254597 +0 -0.0229099 0.0254597 +3.72529e-09 -0.0229099 -0.0224353 +numsurf 1 +SURF 0x20 +mat 0 +refs 4 +0 1 1 +1 0 1 +2 0 0 +3 1 0 +kids 0 +OBJECT poly +name "key" +loc 0.0153587 -0.00244115 -0.00120589 +crease 45.000000 +numvert 32 +-0.0130396 0.00629044 0.00605398 +-0.00955094 0.00800882 0.0107752 +-0.0044108 0.00907083 0.013693 +0.001492 0.00929285 0.014303 +0.00713683 0.00863649 0.0124997 +0.0115476 0.00721524 0.00859484 +0.0139617 0.00527484 0.00326365 +0.0139617 0.00315082 -0.00257207 +0.0115476 0.00121042 -0.00790326 +0.00713683 -0.000210834 -0.0118081 +0.001492 -0.000867194 -0.0136115 +-0.0044108 -0.000645174 -0.0130015 +-0.00955094 0.000416839 -0.0100836 +-0.0142737 0.00421283 0.000345794 +-0.0130396 0.00213522 -0.00536241 +-0.0142737 0.00100813 0.0015122 +-0.0130396 0.00308575 0.00722039 +-0.00955094 0.00480413 0.0119416 +-0.0044108 0.00586614 0.0148594 +0.001492 0.00608816 0.0154694 +0.00713683 0.0054318 0.0136661 +0.0115476 0.00401055 0.00976125 +0.0139617 0.00207015 0.00443006 +0.0139617 -5.3874e-05 -0.00140566 +0.0115476 -0.00199427 -0.00673684 +0.00713683 -0.00341552 -0.0106417 +0.001492 -0.00407188 -0.012445 +-0.0044108 -0.00384986 -0.011835 +-0.00955094 -0.00278785 -0.0089172 +-0.0130396 -0.00106947 -0.004196 +0 0.00100814 0.0015122 +0 0.00421283 0.000345794 +numsurf 45 +SURF 0x30 +mat 2 +refs 3 +13 1 0.5 +0 0.956295 0.704489 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +0 0.956295 0.704489 +1 0.832738 0.873619 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +1 0.832738 0.873619 +2 0.650692 0.978148 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +2 0.650692 0.978148 +3 0.441635 1 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +3 0.441635 1 +4 0.241715 0.935398 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +4 0.241715 0.935398 +5 0.0854995 0.795511 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +5 0.0854995 0.795511 +6 0 0.604528 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +6 0 0.604528 +7 0 0.395472 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +7 0 0.395472 +8 0.0854995 0.204489 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +8 0.0854995 0.204489 +9 0.241715 0.0646022 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +9 0.241715 0.0646022 +10 0.441635 0 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +10 0.441635 0 +11 0.650692 0.0218524 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +11 0.650692 0.0218524 +12 0.832738 0.126381 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +12 0.832738 0.126381 +14 0.956295 0.295511 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +14 0.956295 0.295511 +13 1 0.5 +31 0.494477 0.5 +SURF 0x30 +mat 2 +refs 4 +15 0 0 +16 0 0 +0 0 0 +13 0 0 +SURF 0x30 +mat 2 +refs 4 +16 0 0 +17 0 0 +1 0 0 +0 0 0 +SURF 0x30 +mat 2 +refs 4 +17 0 0 +18 0 0 +2 0 0 +1 0 0 +SURF 0x30 +mat 2 +refs 4 +18 0 0 +19 0 0 +3 0 0 +2 0 0 +SURF 0x30 +mat 2 +refs 4 +19 0 0 +20 0 0 +4 0 0 +3 0 0 +SURF 0x30 +mat 2 +refs 4 +20 0 0 +21 0 0 +5 0 0 +4 0 0 +SURF 0x30 +mat 2 +refs 4 +21 0 0 +22 0 0 +6 0 0 +5 0 0 +SURF 0x30 +mat 2 +refs 4 +22 0 0 +23 0 0 +7 0 0 +6 0 0 +SURF 0x30 +mat 2 +refs 4 +23 0 0 +24 0 0 +8 0 0 +7 0 0 +SURF 0x30 +mat 2 +refs 4 +24 0 0 +25 0 0 +9 0 0 +8 0 0 +SURF 0x30 +mat 2 +refs 4 +25 0 0 +26 0 0 +10 0 0 +9 0 0 +SURF 0x30 +mat 2 +refs 4 +26 0 0 +27 0 0 +11 0 0 +10 0 0 +SURF 0x30 +mat 2 +refs 4 +27 0 0 +28 0 0 +12 0 0 +11 0 0 +SURF 0x30 +mat 2 +refs 4 +28 0 0 +29 0 0 +14 0 0 +12 0 0 +SURF 0x30 +mat 2 +refs 4 +29 0 0 +15 0 0 +13 0 0 +14 0 0 +SURF 0x30 +mat 2 +refs 3 +15 1 0.5 +16 0.956295 0.704489 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +16 0.956295 0.704489 +17 0.832738 0.873619 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +17 0.832738 0.873619 +18 0.650692 0.978148 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +18 0.650692 0.978148 +19 0.441635 1 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +19 0.441635 1 +20 0.241715 0.935398 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +20 0.241715 0.935398 +21 0.0854995 0.795511 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +21 0.0854995 0.795511 +22 0 0.604528 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +22 0 0.604528 +23 0 0.395472 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +23 0 0.395472 +24 0.0854995 0.204489 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +24 0.0854995 0.204489 +25 0.241715 0.0646022 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +25 0.241715 0.0646022 +26 0.441635 0 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +26 0.441635 0 +27 0.650692 0.0218524 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +27 0.650692 0.0218524 +28 0.832738 0.126381 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +28 0.832738 0.126381 +29 0.956295 0.295511 +30 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +29 0.956295 0.295511 +15 1 0.5 +30 0.494477 0.5 +kids 0 +OBJECT poly +name "start" +loc 0.0153587 0.000670004 0.00244825 +crease 45.000000 +numvert 32 +0 -0.00180695 -0.00382131 +0 0.000805539 -0.00162917 +-0.0130396 -0.0030991 0.00302419 +-0.00955094 -0.00632859 0.00687295 +-0.0044108 -0.00832448 0.00925158 +0.001492 -0.00874174 0.00974885 +0.00713683 -0.00750822 0.00827878 +0.0115476 -0.00483714 0.00509551 +0.0139617 -0.0011904 0.000749484 +0.0139617 0.00280147 -0.00400783 +0.0115476 0.00644822 -0.00835386 +0.00713683 0.00911929 -0.0115371 +0.001492 0.0103528 -0.0130072 +-0.0044108 0.00993555 -0.0125099 +-0.00955094 0.00793967 -0.0101313 +-0.0130396 0.00471017 -0.00628253 +-0.0142737 0.00080554 -0.00162917 +-0.0130396 -0.00571159 0.000832052 +-0.0142737 -0.00180695 -0.00382131 +-0.00955094 -0.00894107 0.00468081 +-0.0044108 -0.010937 0.00705949 +0.001492 -0.0113543 0.00755676 +0.00713683 -0.0101207 0.00608664 +0.0115476 -0.00744963 0.00290338 +0.0139617 -0.00380288 -0.00144265 +0.0139617 0.000188989 -0.00619997 +0.0115476 0.00383573 -0.010546 +0.00713683 0.00650682 -0.0137293 +0.001492 0.00774034 -0.0151993 +-0.0044108 0.00732307 -0.0147021 +-0.00955094 0.00532717 -0.0123234 +-0.0130396 0.00209768 -0.00847467 +numsurf 45 +SURF 0x30 +mat 2 +refs 3 +2 0.956295 0.295511 +16 1 0.5 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +3 0.832738 0.126381 +2 0.956295 0.295511 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +4 0.650692 0.0218524 +3 0.832738 0.126381 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +5 0.441635 0 +4 0.650692 0.0218524 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +6 0.241715 0.0646022 +5 0.441635 0 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +7 0.0854995 0.204489 +6 0.241715 0.0646022 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +8 0 0.395472 +7 0.0854995 0.204489 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +9 0 0.604528 +8 0 0.395472 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +10 0.0854995 0.795511 +9 0 0.604528 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +11 0.241715 0.935398 +10 0.0854995 0.795511 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +12 0.441635 1 +11 0.241715 0.935398 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +13 0.650692 0.978148 +12 0.441635 1 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +14 0.832738 0.873619 +13 0.650692 0.978148 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +15 0.956295 0.704489 +14 0.832738 0.873619 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +16 1 0.5 +15 0.956295 0.704489 +1 0.494477 0.5 +SURF 0x30 +mat 2 +refs 4 +2 0 0 +16 0 0 +18 0 0 +17 0 0 +SURF 0x30 +mat 2 +refs 4 +3 0 0 +2 0 0 +17 0 0 +19 0 0 +SURF 0x30 +mat 2 +refs 4 +4 0 0 +3 0 0 +19 0 0 +20 0 0 +SURF 0x30 +mat 2 +refs 4 +5 0 0 +4 0 0 +20 0 0 +21 0 0 +SURF 0x30 +mat 2 +refs 4 +6 0 0 +5 0 0 +21 0 0 +22 0 0 +SURF 0x30 +mat 2 +refs 4 +7 0 0 +6 0 0 +22 0 0 +23 0 0 +SURF 0x30 +mat 2 +refs 4 +8 0 0 +7 0 0 +23 0 0 +24 0 0 +SURF 0x30 +mat 2 +refs 4 +9 0 0 +8 0 0 +24 0 0 +25 0 0 +SURF 0x30 +mat 2 +refs 4 +10 0 0 +9 0 0 +25 0 0 +26 0 0 +SURF 0x30 +mat 2 +refs 4 +11 0 0 +10 0 0 +26 0 0 +27 0 0 +SURF 0x30 +mat 2 +refs 4 +12 0 0 +11 0 0 +27 0 0 +28 0 0 +SURF 0x30 +mat 2 +refs 4 +13 0 0 +12 0 0 +28 0 0 +29 0 0 +SURF 0x30 +mat 2 +refs 4 +14 0 0 +13 0 0 +29 0 0 +30 0 0 +SURF 0x30 +mat 2 +refs 4 +15 0 0 +14 0 0 +30 0 0 +31 0 0 +SURF 0x30 +mat 2 +refs 4 +16 0 0 +15 0 0 +31 0 0 +18 0 0 +SURF 0x30 +mat 2 +refs 3 +17 0.956295 0.295511 +18 1 0.5 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +19 0.832738 0.126381 +17 0.956295 0.295511 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +20 0.650692 0.0218524 +19 0.832738 0.126381 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +21 0.441635 0 +20 0.650692 0.0218524 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +22 0.241715 0.0646022 +21 0.441635 0 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +23 0.0854995 0.204489 +22 0.241715 0.0646022 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +24 0 0.395472 +23 0.0854995 0.204489 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +25 0 0.604528 +24 0 0.395472 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +26 0.0854995 0.795511 +25 0 0.604528 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +27 0.241715 0.935398 +26 0.0854995 0.795511 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +28 0.441635 1 +27 0.241715 0.935398 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +29 0.650692 0.978148 +28 0.441635 1 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +30 0.832738 0.873619 +29 0.650692 0.978148 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +31 0.956295 0.704489 +30 0.832738 0.873619 +0 0.494477 0.5 +SURF 0x30 +mat 2 +refs 3 +18 1 0.5 +31 0.956295 0.704489 +0 0.494477 0.5 +kids 0 diff --git a/Aircraft/Instruments-3d/magneto-switch/mag_switch.rgb b/Aircraft/Instruments-3d/magneto-switch/mag_switch.rgb new file mode 100644 index 000000000..b7c6a737d Binary files /dev/null and b/Aircraft/Instruments-3d/magneto-switch/mag_switch.rgb differ diff --git a/Aircraft/Instruments-3d/magneto-switch/mags.xml b/Aircraft/Instruments-3d/magneto-switch/mags.xml new file mode 100644 index 000000000..d7086eb8d --- /dev/null +++ b/Aircraft/Instruments-3d/magneto-switch/mags.xml @@ -0,0 +1,115 @@ + + + + + mag_switch.ac + + + material + key + start + magsw + + 0.075 + 0.015 + 0.00001 + /sim/model/material/instruments/factor + + + + + + pick + click-L + false + + decrease mags + + + property-adjust + /controls/engines/engine/magnetos + -1 + 0 + 3 + + + + + pick + click-R + false + + increase mags + + + property-adjust + /controls/engines/engine/magnetos + 1 + 0 + 3 + + + + + + + pick + click-S + false + + starter + + + property-assign + /controls/switches/starter + 1 + + + + property-assign + /controls/switches/starter + 0 + + + + + + + mags-key + rotate + key + /controls/engines/engine/magnetos + 30 +
+ 0 + 0 + 0 +
+ + -1 + 0 + 0 + +
+ + + select + key + + + /controls/switches/starter + + + + + + select + start + + /controls/switches/starter + + + +
+ +