diff --git a/Aircraft/Instruments-3d/clock/M877/M877.nas b/Aircraft/Instruments-3d/clock/M877/M877.nas new file mode 100644 index 000000000..406308d0e --- /dev/null +++ b/Aircraft/Instruments-3d/clock/M877/M877.nas @@ -0,0 +1,55 @@ +var davtron=props.globals.getNode("/instrumentation/clock/m877",1); +var set_hour=davtron.getNode("set-hour",1); +var set_min=davtron.getNode("set-min",1); +var mode=davtron.getNode("mode",1); +var modestring =davtron.getNode("mode-string",1); +var modetext =["GMT","LT","FT","ET"]; +var HR=davtron.getNode("indicated-hour",1); +var MN=davtron.getNode("indicated-min",1); +var MODE = 0; + +setlistener("/sim/signals/fdm-initialized", func { + set_hour.setBoolValue(0); + set_min.setBoolValue(0); + mode.setIntValue(MODE); + modestring.setValue(modetext[MODE]); + HR.setIntValue(0); + MN.setIntValue(0); + print("Chronometer ... Check"); + settimer(update_clock,2); +}); + +setlistener("/instrumentation/clock/m877/mode", func { + MODE = cmdarg().getValue(); + modestring.setValue(modetext[MODE]); +}); + +update_clock = func{ + var FThr =getprop("/instrumentation/clock/flight-meter-hour"); + + var FM =0; + if (MODE == 0) { + setprop("/instrumentation/clock/m877/indicated-hour",getprop("/instrumentation/clock/indicated-hour")); + setprop("/instrumentation/clock/m877/indicated-min",getprop("/instrumentation/clock/indicated-min")); + } + + if (MODE == 1) { + setprop("/instrumentation/clock/m877/indicated-hour",getprop("/instrumentation/clock/local-hour")); + setprop("/instrumentation/clock/m877/indicated-min",getprop("/instrumentation/clock/indicated-min")); + } + + if (MODE == 2) { + setprop("/instrumentation/clock/m877/indicated-hour",FThr); + FH = getprop("/instrumentation/clock/m877/indicated-hour"); + FM = FThr - FH; + FM = FM * 60; + setprop("/instrumentation/clock/m877/indicated-min",FM); + } + + if (MODE == 3) { + setprop("/instrumentation/clock/m877/indicated-hour",getprop("/instrumentation/clock/ET-hr")); + setprop("/instrumentation/clock/m877/indicated-min",getprop("/instrumentation/clock/ET-min")); + } + +settimer(update_clock,0); +} \ No newline at end of file diff --git a/Aircraft/Instruments-3d/clock/M877/M877.rgb b/Aircraft/Instruments-3d/clock/M877/M877.rgb new file mode 100644 index 000000000..c8971b569 Binary files /dev/null and b/Aircraft/Instruments-3d/clock/M877/M877.rgb differ diff --git a/Aircraft/Instruments-3d/clock/M877/m877-hotspots.xml b/Aircraft/Instruments-3d/clock/M877/m877-hotspots.xml new file mode 100644 index 000000000..c38d45ebe --- /dev/null +++ b/Aircraft/Instruments-3d/clock/M877/m877-hotspots.xml @@ -0,0 +1,69 @@ +<?xml version="1.0"?> +<!--Davtron M877 Chronometer--> + +<PropertyList> + + <name>M877 hotspots</name> + <w-base>60</w-base> + <h-base>60</h-base> + <w>60</w> + <h>60</h> + + <layers> + </layers> + + <actions> + +<!-- + <action> + <name>outline</name> + <button>0</button> + <x>-30</x> + <y>-30</y> + <w>60</w> + <h>60</h> + </action> +--> + + <action> + <name>mode increment</name> + <button>0</button> + <x>-18</x> + <y>-20</y> + <w>12</w> + <h>8</h> + <binding> + <command>property-adjust</command> + <property>instrumentation/clock/m877/mode</property> + <step>1</step> + <min>0</min> + <max>4</max> + <wrap>true</wrap> + </binding> + </action> + + <action> + <name>set time</name> + <button>0</button> + <x>-5</x> + <y>-20</y> + <w>9</w> + <h>8</h> + <binding> + </binding> + </action> + + <action> + <name>increment time</name> + <button>0</button> + <x>5</x> + <y>-20</y> + <w>12</w> + <h>8</h> + <binding> + </binding> + </action> + + </actions> + +</PropertyList> \ No newline at end of file diff --git a/Aircraft/Instruments-3d/clock/M877/m877.ac b/Aircraft/Instruments-3d/clock/M877/m877.ac new file mode 100644 index 000000000..21aae95e3 --- /dev/null +++ b/Aircraft/Instruments-3d/clock/M877/m877.ac @@ -0,0 +1,1176 @@ +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 "glow2" rgb 0.829458 0.829458 0.829458 amb 0.5 0.5 0.5 emis 0.6 0.6 0.6 spec 0 0 0 shi 32 trans 0 +MATERIAL "glow" rgb 1 1 1 amb 0.5 0.5 0.5 emis 1 1 1 spec 0 0 0 shi 32 trans 0 +MATERIAL "glosswhite" rgb 0.8 0.8 0.8 amb 0 0 0 emis 0 0 0 spec 1 1 1 shi 64 trans 0 +OBJECT world +kids 13 +OBJECT group +name "CTL.btn" +kids 2 +OBJECT poly +name "CTL.btn_0" +data 8 +Cube.118 +crease 30.000000 +numvert 8 +0.002006 -0.012743 -0.016302 +0.002006 -0.018403 -0.016302 +0.002006 -0.018403 -0.005646 +0.002006 -0.012743 -0.005646 +0.004398 -0.012743 -0.016302 +0.004398 -0.018403 -0.016302 +0.004398 -0.018403 -0.005646 +0.004398 -0.012743 -0.005646 +numsurf 4 +SURF 0x00 +mat 1 +refs 4 +0 0.753019213676 0.490330994129 +4 0.753019213676 0.490330904722 +5 0.753019094467 0.398960709572 +1 0.753019213676 0.398960709572 +SURF 0x00 +mat 1 +refs 4 +1 0.753019213676 0.398960709572 +5 0.753019094467 0.398960709572 +6 0.662776589394 0.398960769176 +2 0.662776589394 0.398960709572 +SURF 0x00 +mat 1 +refs 4 +2 0.662776589394 0.398960709572 +6 0.662776589394 0.398960769176 +7 0.662776589394 0.490330994129 +3 0.662776589394 0.490330994129 +SURF 0x00 +mat 1 +refs 4 +4 0.753019213676 0.490330904722 +0 0.753019213676 0.490330994129 +3 0.662776589394 0.490330994129 +7 0.662776589394 0.490330994129 +kids 0 +OBJECT poly +name "CTL.btn_1" +data 8 +Cube.118 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 4 +0.004398 -0.012743 -0.016302 +0.004398 -0.018403 -0.016302 +0.004398 -0.018403 -0.005646 +0.004398 -0.012743 -0.005646 +numsurf 1 +SURF 0x00 +mat 1 +refs 4 +0 0.753019213676 0.490330904722 +3 0.662776589394 0.490330994129 +2 0.662776589394 0.398960769176 +1 0.753019094467 0.398960709572 +kids 0 +OBJECT poly +name "HR.001" +data 9 +Plane.472 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 4 +0.000961 0.010318 0.009552 +0.000961 0.000885 0.009552 +0.000961 0.000885 0.015173 +0.000961 0.010318 0.015173 +numsurf 1 +SURF 0x00 +mat 2 +refs 4 +0 0.0918634906411 0.250584155321 +3 0.0181856788695 0.25058427453 +2 0.0181855931878 0.00332847237587 +1 0.0918634906411 0.00332847237587 +kids 0 +OBJECT poly +name "HR.002" +data 9 +Plane.477 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 4 +0.000961 0.010318 0.001808 +0.000961 0.000885 0.001808 +0.000961 0.000885 0.00743 +0.000961 0.010318 0.00743 +numsurf 1 +SURF 0x00 +mat 2 +refs 4 +0 0.0918634906411 0.254398852587 +3 0.0181856788695 0.254398971796 +2 0.0181855931878 0.00714316964149 +1 0.0918634906411 0.00714316964149 +kids 0 +OBJECT poly +name "M877" +data 10 +Circle.050 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 102 +0.000712 0.025083 0.021883 +0.000712 0.023277 0.021135 +0.000712 0.021471 0.021883 +0.000712 0.020723 0.023689 +0.000712 0.021471 0.025495 +0.000712 0.023277 0.026243 +0.000712 0.025083 0.025495 +0.000712 0.025831 0.023689 +0.000712 0.023277 0.023689 +0.000712 0.023277 -0.023689 +0.000712 0.025831 -0.023689 +0.000712 0.025083 -0.021883 +0.000712 0.023277 -0.021135 +0.000712 0.021471 -0.021883 +0.000712 0.020723 -0.023689 +0.000712 0.021471 -0.025495 +0.000712 0.023277 -0.026243 +0.000712 0.025083 -0.025495 +0.000712 -0.021986 -0.025495 +0.000712 -0.023792 -0.026243 +0.000712 -0.025597 -0.025495 +0.000712 -0.026345 -0.023689 +0.000712 -0.025597 -0.021883 +0.000712 -0.023792 -0.021135 +0.000712 -0.021986 -0.021883 +0.000712 -0.021238 -0.023689 +0.000712 -0.023792 -0.023689 +0.000712 -0.023792 0.023225 +0.000712 -0.021238 0.023225 +0.000712 -0.021986 0.02503 +0.000712 -0.023792 0.025778 +0.000712 -0.025597 0.02503 +0.000712 -0.026345 0.023225 +0.000712 -0.025597 0.021419 +0.000712 -0.023792 0.020671 +0.000712 -0.021986 0.021419 +0.001784 0.023707 -0.015861 +0.001784 0.015832 -0.023726 +0.001784 0.005548 -0.027979 +0.001784 -0.005582 -0.027972 +0.001784 -0.015861 -0.023707 +0.001784 -0.023726 -0.015832 +0.001784 -0.027979 -0.005548 +0.001784 -0.027972 0.005582 +0.001784 -0.023707 0.015861 +0.001784 -0.015832 0.023726 +0.001784 -0.005548 0.027979 +0.001784 0.005582 0.027972 +0.001784 0.015861 0.023707 +0.001784 0.023726 0.015832 +0.001784 0.027979 0.005548 +0.001784 0.027972 -0.005582 +0.001784 0.013873 -0.022885 +0.001784 0.013178 -0.023579 +0.001784 0.012271 -0.023954 +0.001784 -0.004864 -0.023953 +0.001784 -0.00577 -0.023577 +0.001784 -0.006464 -0.022883 +0.001784 -0.006839 -0.021975 +0.001784 -0.006839 0.021992 +0.001784 -0.006462 0.022899 +0.001784 -0.005768 0.023593 +0.001784 -0.004861 0.023968 +0.001784 0.012274 0.023967 +0.001784 0.013181 0.023591 +0.001784 0.013874 0.022896 +0.001784 0.014249 0.021989 +0.001784 0.014249 -0.021978 +0.000961 0.013873 -0.022885 +0.000961 0.013178 -0.023579 +0.000961 0.012271 -0.023954 +0.000961 -0.004864 -0.023953 +0.000961 -0.00577 -0.023577 +0.000961 -0.006464 -0.022883 +0.000961 -0.006839 -0.021975 +0.000961 -0.006839 0.021992 +0.000961 -0.006462 0.022899 +0.000961 -0.005768 0.023593 +0.000961 -0.004861 0.023968 +0.000961 0.012274 0.023967 +0.000961 0.013181 0.023591 +0.000961 0.013874 0.022896 +0.000961 0.014249 0.021989 +0.000961 0.014249 -0.021978 +0 0.023707 -0.015861 +0 0.015832 -0.023726 +0 0.005548 -0.027979 +0 -0.005582 -0.027972 +0 -0.015861 -0.023707 +0 -0.023726 -0.015832 +0 -0.027979 -0.005548 +0 -0.027972 0.005582 +0 -0.023707 0.015861 +0 -0.015832 0.023726 +0 -0.005548 0.027979 +0 0.005582 0.027972 +0 0.015861 0.023707 +0 0.023726 0.015832 +0 0.027979 0.005548 +0 0.027972 -0.005582 +0.001784 -0.006839 8e-06 +0.001784 -0.015847 1e-05 +numsurf 87 +SURF 0x00 +mat 3 +refs 3 +1 0.869703412056 0.369611889124 +0 0.865798950195 0.388464480639 +8 0.856372594833 0.369611889124 +SURF 0x00 +mat 3 +refs 3 +8 0.856372594833 0.369611889124 +2 0.865798950195 0.350759297609 +1 0.869703412056 0.369611889124 +SURF 0x00 +mat 3 +refs 3 +8 0.856372594833 0.369611889124 +3 0.856372594833 0.342950254679 +2 0.865798950195 0.350759297609 +SURF 0x00 +mat 3 +refs 3 +8 0.856372594833 0.369611889124 +4 0.846946358681 0.350759297609 +3 0.856372594833 0.342950254679 +SURF 0x00 +mat 3 +refs 3 +8 0.856372594833 0.369611889124 +5 0.843041777611 0.369611889124 +4 0.846946358681 0.350759297609 +SURF 0x00 +mat 3 +refs 3 +8 0.856372594833 0.369611889124 +6 0.846946358681 0.388464480639 +5 0.843041777611 0.369611889124 +SURF 0x00 +mat 3 +refs 3 +8 0.856372594833 0.369611889124 +7 0.856372594833 0.396273523569 +6 0.846946358681 0.388464480639 +SURF 0x00 +mat 3 +refs 3 +8 0.856372594833 0.369611889124 +0 0.865798950195 0.388464480639 +7 0.856372594833 0.396273523569 +SURF 0x00 +mat 3 +refs 3 +9 0.858383476734 0.36916461587 +17 0.867809832096 0.388017207384 +10 0.858383476734 0.395826250315 +SURF 0x00 +mat 3 +refs 3 +9 0.858383476734 0.36916461587 +10 0.858383476734 0.395826250315 +11 0.848957240582 0.388017207384 +SURF 0x00 +mat 3 +refs 3 +9 0.858383476734 0.36916461587 +11 0.848957240582 0.388017207384 +12 0.845052778721 0.36916461587 +SURF 0x00 +mat 3 +refs 3 +9 0.858383476734 0.36916461587 +12 0.845052778721 0.36916461587 +13 0.848957240582 0.350312024355 +SURF 0x00 +mat 3 +refs 3 +9 0.858383476734 0.36916461587 +13 0.848957240582 0.350312024355 +14 0.858383476734 0.342502981424 +SURF 0x00 +mat 3 +refs 3 +9 0.858383476734 0.36916461587 +14 0.858383476734 0.342502981424 +15 0.867809832096 0.350312024355 +SURF 0x00 +mat 3 +refs 3 +9 0.858383476734 0.36916461587 +15 0.867809832096 0.350312024355 +16 0.871714293957 0.36916461587 +SURF 0x00 +mat 3 +refs 3 +9 0.858383476734 0.36916461587 +16 0.871714293957 0.36916461587 +17 0.867809832096 0.388017207384 +SURF 0x00 +mat 3 +refs 3 +26 0.858383476734 0.368375718594 +19 0.871714293957 0.368375718594 +18 0.867809832096 0.387228310108 +SURF 0x00 +mat 3 +refs 3 +26 0.858383476734 0.368375718594 +20 0.867809832096 0.349523067474 +19 0.871714293957 0.368375718594 +SURF 0x00 +mat 3 +refs 3 +26 0.858383476734 0.368375718594 +21 0.858383476734 0.341714143753 +20 0.867809832096 0.349523067474 +SURF 0x00 +mat 3 +refs 3 +26 0.858383476734 0.368375718594 +22 0.848957240582 0.349523067474 +21 0.858383476734 0.341714143753 +SURF 0x00 +mat 3 +refs 3 +26 0.858383476734 0.368375718594 +23 0.845052778721 0.368375718594 +22 0.848957240582 0.349523067474 +SURF 0x00 +mat 3 +refs 3 +26 0.858383476734 0.368375718594 +24 0.848957240582 0.387228310108 +23 0.845052778721 0.368375718594 +SURF 0x00 +mat 3 +refs 3 +26 0.858383476734 0.368375718594 +25 0.858383476734 0.395037293434 +24 0.848957240582 0.387228310108 +SURF 0x00 +mat 3 +refs 3 +26 0.858383476734 0.368375718594 +18 0.867809832096 0.387228310108 +25 0.858383476734 0.395037293434 +SURF 0x00 +mat 3 +refs 3 +27 0.858797311783 0.368375718594 +35 0.868223667145 0.387228310108 +28 0.858797311783 0.395037293434 +SURF 0x00 +mat 3 +refs 3 +27 0.858797311783 0.368375718594 +28 0.858797311783 0.395037293434 +29 0.84937107563 0.387228310108 +SURF 0x00 +mat 3 +refs 3 +27 0.858797311783 0.368375718594 +29 0.84937107563 0.387228310108 +30 0.84546661377 0.368375718594 +SURF 0x00 +mat 3 +refs 3 +27 0.858797311783 0.368375718594 +30 0.84546661377 0.368375718594 +31 0.84937107563 0.349523067474 +SURF 0x00 +mat 3 +refs 3 +27 0.858797311783 0.368375718594 +31 0.84937107563 0.349523067474 +32 0.858797311783 0.341714143753 +SURF 0x00 +mat 3 +refs 3 +27 0.858797311783 0.368375718594 +32 0.858797311783 0.341714143753 +33 0.868223667145 0.349523067474 +SURF 0x00 +mat 3 +refs 3 +27 0.858797311783 0.368375718594 +33 0.868223667145 0.349523067474 +34 0.872128129005 0.368375718594 +SURF 0x00 +mat 3 +refs 3 +27 0.858797311783 0.368375718594 +34 0.872128129005 0.368375718594 +35 0.868223667145 0.387228310108 +SURF 0x00 +mat 3 +refs 4 +37 0.446945250034 0.963210463524 +36 0.446945250034 0.857100963593 +52 0.553054749966 0.857100963593 +53 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +38 0.446945250034 0.963210463524 +37 0.446945250034 0.857100963593 +53 0.553054749966 0.857100963593 +54 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +39 0.446945250034 0.963210463524 +38 0.446945250034 0.857100963593 +54 0.553054749966 0.857100963593 +55 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +40 0.446945250034 0.963210463524 +39 0.446945250034 0.857100963593 +55 0.553054749966 0.857100963593 +56 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +46 0.446945250034 0.963210463524 +45 0.446945250034 0.857100963593 +61 0.553054749966 0.857100963593 +62 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +47 0.446945250034 0.963210463524 +46 0.446945250034 0.857100963593 +62 0.553054749966 0.857100963593 +63 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +48 0.446945250034 0.963210463524 +47 0.446945250034 0.857100963593 +63 0.553054749966 0.857100963593 +64 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +49 0.446945250034 0.963210463524 +48 0.446945250034 0.857100963593 +64 0.553054749966 0.857100963593 +65 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +50 0.446945250034 0.963210463524 +49 0.446945250034 0.857100963593 +65 0.553054749966 0.857100963593 +66 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +51 0.285578250885 0.976787567139 +50 0.175041794777 0.976922273636 +66 0.0117443352938 0.704201638699 +67 0.448432266712 0.704189479351 +SURF 0x00 +mat 3 +refs 4 +52 0.446945250034 0.963210463524 +36 0.446945250034 0.857100963593 +51 0.553054749966 0.857100963593 +67 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +53 0.446945250034 0.963210463524 +52 0.446945250034 0.857100963593 +68 0.553054749966 0.857100963593 +69 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +54 0.446945250034 0.963210463524 +53 0.446945250034 0.857100963593 +69 0.553054749966 0.857100963593 +70 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +55 0.446945250034 0.963210463524 +54 0.446945250034 0.857100963593 +70 0.553054749966 0.857100963593 +71 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +56 0.446945250034 0.963210463524 +55 0.446945250034 0.857100963593 +71 0.553054749966 0.857100963593 +72 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +57 0.446945250034 0.963210463524 +56 0.446945250034 0.857100963593 +72 0.553054749966 0.857100963593 +73 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +58 0.446945250034 0.963210463524 +57 0.446945250034 0.857100963593 +73 0.553054749966 0.857100963593 +74 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +60 0.446945250034 0.963210463524 +59 0.446945250034 0.857100963593 +75 0.553054749966 0.857100963593 +76 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +61 0.446945250034 0.963210463524 +60 0.446945250034 0.857100963593 +76 0.553054749966 0.857100963593 +77 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +62 0.446945250034 0.963210463524 +61 0.446945250034 0.857100963593 +77 0.553054749966 0.857100963593 +78 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +63 0.446945250034 0.963210463524 +62 0.446945250034 0.857100963593 +78 0.553054749966 0.857100963593 +79 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +64 0.446945250034 0.963210463524 +63 0.446945250034 0.857100963593 +79 0.553054749966 0.857100963593 +80 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +65 0.446945250034 0.963210463524 +64 0.446945250034 0.857100963593 +80 0.553054749966 0.857100963593 +81 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +66 0.446945250034 0.963210463524 +65 0.446945250034 0.857100963593 +81 0.553054749966 0.857100963593 +82 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +67 0.446945250034 0.963210463524 +66 0.446945250034 0.857100963593 +82 0.553054749966 0.857100963593 +83 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +67 0.446945250034 0.963210463524 +83 0.446945250034 0.857100963593 +68 0.553054749966 0.857100963593 +52 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +36 0.446945250034 0.963210463524 +37 0.446945250034 0.857100963593 +85 0.553054749966 0.857100963593 +84 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +37 0.446945250034 0.963210463524 +38 0.446945250034 0.857100963593 +86 0.553054749966 0.857100963593 +85 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +38 0.446945250034 0.963210463524 +39 0.446945250034 0.857100963593 +87 0.553054749966 0.857100963593 +86 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +39 0.446945250034 0.963210463524 +40 0.446945250034 0.857100963593 +88 0.553054749966 0.857100963593 +87 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +40 0.446945250034 0.963210463524 +41 0.446945250034 0.857100963593 +89 0.553054749966 0.857100963593 +88 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +41 0.446945250034 0.963210463524 +42 0.446945250034 0.857100963593 +90 0.553054749966 0.857100963593 +89 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +42 0.446945250034 0.963210463524 +43 0.446945250034 0.857100963593 +91 0.553054749966 0.857100963593 +90 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +43 0.446945250034 0.963210463524 +44 0.446945250034 0.857100963593 +92 0.553054749966 0.857100963593 +91 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +44 0.446945250034 0.963210463524 +45 0.446945250034 0.857100963593 +93 0.553054749966 0.857100963593 +92 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +45 0.446945250034 0.963210463524 +46 0.446945250034 0.857100963593 +94 0.553054749966 0.857100963593 +93 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +46 0.446945250034 0.963210463524 +47 0.446945250034 0.857100963593 +95 0.553054749966 0.857100963593 +94 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +47 0.446945250034 0.963210463524 +48 0.446945250034 0.857100963593 +96 0.553054749966 0.857100963593 +95 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +48 0.446945250034 0.963210463524 +49 0.446945250034 0.857100963593 +97 0.553054749966 0.857100963593 +96 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +49 0.446945250034 0.963210463524 +50 0.446945250034 0.857100963593 +98 0.553054749966 0.857100963593 +97 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +50 0.446945250034 0.963210463524 +51 0.446945250034 0.857100963593 +99 0.553054749966 0.857100963593 +98 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 4 +36 0.446945250034 0.963210463524 +84 0.446945250034 0.857100963593 +99 0.553054749966 0.857100963593 +51 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 3 +45 0.0326919965446 0.874284029007 +60 0.0405494533479 0.963302731514 +61 0.0339586697519 0.969901442528 +SURF 0x00 +mat 3 +refs 3 +45 0.0326919965446 0.874284029007 +59 0.0491636507213 0.959728479385 +60 0.0405494533479 0.963302731514 +SURF 0x00 +mat 3 +refs 3 +40 0.445822954178 0.792761206627 +56 0.444592356682 0.88862746954 +57 0.437993586063 0.882036745548 +SURF 0x00 +mat 3 +refs 3 +40 0.445822954178 0.792761206627 +57 0.437993586063 0.882036745548 +58 0.429375052452 0.878472983837 +SURF 0x00 +mat 3 +refs 4 +41 0.403401225805 0.43430557847 +44 0.037523329258 0.434748709202 +43 0.156192868948 0.336271315813 +42 0.284672170877 0.336115539074 +SURF 0x00 +mat 3 +refs 3 +100 0.446945250034 0.910155713558 +74 0.553054749966 0.857100963593 +75 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 3 +59 0.446945250034 0.963210463524 +100 0.446945250034 0.910155713558 +75 0.553054749966 0.963210463524 +SURF 0x00 +mat 3 +refs 3 +100 0.446945250034 0.910155713558 +58 0.446945250034 0.857100963593 +74 0.553054749966 0.857100963593 +SURF 0x00 +mat 3 +refs 4 +58 0.827640175819 0.687346041203 +100 0.589760124683 0.687352478504 +101 0.589746594429 0.492410957813 +40 0.846373856068 0.492100059986 +SURF 0x00 +mat 3 +refs 4 +100 0.814289093018 0.995456755161 +59 0.600196957588 0.995462596416 +45 0.58331233263 0.820289194584 +101 0.814276874065 0.820009410381 +SURF 0x00 +mat 3 +refs 3 +101 0.462018609047 0.942338705063 +44 0.462018609047 0.851117134094 +41 0.553240180016 0.851117134094 +SURF 0x00 +mat 3 +refs 3 +40 0.462018609047 0.942338705063 +101 0.462018609047 0.851117134094 +41 0.553240180016 0.851117134094 +SURF 0x00 +mat 3 +refs 3 +101 0.462018609047 0.942338705063 +45 0.462018609047 0.851117134094 +44 0.553240180016 0.851117134094 +kids 0 +OBJECT poly +name "M877.002" +data 10 +Circle.054 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 32 +0.000961 0.012657 -0.018659 +0.000961 0.012657 0.01867 +0.000961 0.012339 0.01944 +0.000961 0.01175 0.02003 +0.000961 0.01098 0.02035 +0.000961 -0.00096 0.02035 +0.000961 -0.00173 0.020032 +0.000961 -0.00232 0.019443 +0.000961 -0.002639 0.018673 +0.000961 -0.00264 -0.018656 +0.000961 -0.002321 -0.019427 +0.000961 -0.001732 -0.020016 +0.000961 -0.000963 -0.020336 +0.000961 0.010978 -0.020336 +0.000961 0.012337 -0.019429 +0.000961 0.011748 -0.020018 +0.000961 0.014249 -0.021978 +0.000961 0.014249 0.021989 +0.000961 0.013874 0.022896 +0.000961 0.013181 0.023591 +0.000961 0.012274 0.023967 +0.000961 -0.004861 0.023968 +0.000961 -0.005768 0.023593 +0.000961 -0.006462 0.022899 +0.000961 -0.006839 0.021992 +0.000961 -0.006839 -0.021975 +0.000961 -0.006464 -0.022883 +0.000961 -0.00577 -0.023577 +0.000961 -0.004864 -0.023953 +0.000961 0.012271 -0.023954 +0.000961 0.013178 -0.023579 +0.000961 0.013873 -0.022885 +numsurf 16 +SURF 0x00 +mat 1 +refs 4 +16 0.446945250034 0.963210463524 +0 0.446945250034 0.857100963593 +14 0.553054749966 0.857100963593 +31 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +1 0.553054749966 0.857100963593 +0 0.553054749966 0.963210463524 +16 0.446945250034 0.963210463524 +17 0.446945250034 0.857100963593 +SURF 0x00 +mat 1 +refs 4 +17 0.446945250034 0.963210463524 +18 0.446945250034 0.857100963593 +2 0.553054749966 0.857100963593 +1 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +18 0.446945250034 0.963210463524 +19 0.446945250034 0.857100963593 +3 0.553054749966 0.857100963593 +2 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +19 0.446945250034 0.963210463524 +20 0.446945250034 0.857100963593 +4 0.553054749966 0.857100963593 +3 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +20 0.446945250034 0.963210463524 +21 0.446945250034 0.857100963593 +5 0.553054749966 0.857100963593 +4 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +21 0.446945250034 0.963210463524 +22 0.446945250034 0.857100963593 +6 0.553054749966 0.857100963593 +5 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +22 0.446945250034 0.963210463524 +23 0.446945250034 0.857100963593 +7 0.553054749966 0.857100963593 +6 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +23 0.446945250034 0.963210463524 +24 0.446945250034 0.857100963593 +8 0.553054749966 0.857100963593 +7 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +24 0.329141318798 0.317217469215 +25 0.662995815277 0.317208439112 +9 0.637793958187 0.380980908871 +8 0.354346632957 0.380988448858 +SURF 0x00 +mat 1 +refs 4 +25 0.446945250034 0.963210463524 +26 0.446945250034 0.857100963593 +10 0.553054749966 0.857100963593 +9 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +26 0.446945250034 0.963210463524 +27 0.446945250034 0.857100963593 +11 0.553054749966 0.857100963593 +10 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +27 0.446945250034 0.963210463524 +28 0.446945250034 0.857100963593 +12 0.553054749966 0.857100963593 +11 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +28 0.446945250034 0.963210463524 +29 0.446945250034 0.857100963593 +13 0.553054749966 0.857100963593 +12 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +29 0.446945250034 0.963210463524 +30 0.446945250034 0.857100963593 +15 0.553054749966 0.857100963593 +13 0.553054749966 0.963210463524 +SURF 0x00 +mat 1 +refs 4 +30 0.446945250034 0.963210463524 +31 0.446945250034 0.857100963593 +14 0.553054749966 0.857100963593 +15 0.553054749966 0.963210463524 +kids 0 +OBJECT poly +name "M877.display" +data 9 +Plane.469 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 8 +0.000961 0.010318 -0.001969 +0.000961 0.000885 -0.001969 +0.000961 0.000885 0.000855 +0.000961 0.010318 0.000855 +0.000579 0.0142 -0.022098 +0.000579 -0.004183 -0.022098 +0.000579 -0.004183 0.022112 +0.000579 0.0142 0.022112 +numsurf 2 +SURF 0x00 +mat 2 +refs 4 +0 0.957149386406 0.984786868095 +3 0.924547255039 0.984786868095 +2 0.924547195435 0.693980753422 +1 0.957149386406 0.693980753422 +SURF 0x00 +mat 2 +refs 4 +4 0.976998031139 0.596293568611 +7 0.902328789234 0.596293568611 +6 0.902328789234 0.480971485376 +5 0.976998031139 0.480971485376 +kids 0 +OBJECT poly +name "MN.001" +data 9 +Plane.479 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 4 +0.000961 0.010318 -0.008414 +0.000961 0.000885 -0.008414 +0.000961 0.000885 -0.002792 +0.000961 0.010318 -0.002792 +numsurf 1 +SURF 0x00 +mat 2 +refs 4 +0 0.0918634906411 0.255924761295 +3 0.0181856788695 0.255924880505 +2 0.0181855931878 0.00866907835007 +1 0.0918634906411 0.00866907835007 +kids 0 +OBJECT poly +name "MN.002" +data 9 +Plane.478 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 4 +0.000961 0.010318 -0.016003 +0.000961 0.000885 -0.016003 +0.000961 0.000885 -0.010381 +0.000961 0.010318 -0.010381 +numsurf 1 +SURF 0x00 +mat 2 +refs 4 +0 0.0918634906411 0.255924761295 +3 0.0181856788695 0.255924880505 +2 0.0181855931878 0.00866907835007 +1 0.0918634906411 0.00866907835007 +kids 0 +OBJECT group +name "SEL.btn" +kids 2 +OBJECT poly +name "SEL.btn_0" +data 8 +Cube.111 +crease 30.000000 +numvert 8 +0.002006 -0.012743 0.006863 +0.002006 -0.018403 0.006863 +0.002006 -0.018403 0.01752 +0.002006 -0.012743 0.01752 +0.004398 -0.012743 0.006863 +0.004398 -0.018403 0.006863 +0.004398 -0.018403 0.01752 +0.004398 -0.012743 0.01752 +numsurf 4 +SURF 0x00 +mat 1 +refs 4 +0 0.753685772419 0.799804747105 +4 0.753685772419 0.7998046875 +5 0.753685712814 0.704666018486 +1 0.753685772419 0.704666018486 +SURF 0x00 +mat 1 +refs 4 +1 0.753685772419 0.704666018486 +5 0.753685712814 0.704666018486 +6 0.661955595016 0.704666078091 +2 0.661955595016 0.704666018486 +SURF 0x00 +mat 1 +refs 4 +2 0.661955595016 0.704666018486 +6 0.661955595016 0.704666078091 +7 0.661955595016 0.799804747105 +3 0.661955595016 0.799804747105 +SURF 0x00 +mat 1 +refs 4 +4 0.753685772419 0.7998046875 +0 0.753685772419 0.799804747105 +3 0.661955595016 0.799804747105 +7 0.661955595016 0.799804747105 +kids 0 +OBJECT poly +name "SEL.btn_1" +data 8 +Cube.111 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 4 +0.004398 -0.012743 0.006863 +0.004398 -0.018403 0.006863 +0.004398 -0.018403 0.01752 +0.004398 -0.012743 0.01752 +numsurf 1 +SURF 0x00 +mat 1 +refs 4 +0 0.753685772419 0.7998046875 +3 0.661955595016 0.799804747105 +2 0.661955595016 0.704666078091 +1 0.753685712814 0.704666018486 +kids 0 +OBJECT poly +name "et" +data 9 +Plane.485 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 4 +0.000829 0.000164 -0.013833 +0.000829 -0.002495 -0.013833 +0.000829 -0.002495 -0.012287 +0.000829 0.000164 -0.012287 +numsurf 1 +SURF 0x00 +mat 2 +refs 4 +0 0.171239450574 0.207587331533 +3 0.171239450574 0.151788562536 +2 0.1842302531 0.151788562536 +1 0.1842302531 0.207587331533 +kids 0 +OBJECT poly +name "ft" +data 9 +Plane.484 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 4 +0.000829 0.000164 -0.00632 +0.000829 -0.002495 -0.00632 +0.000829 -0.002495 -0.004774 +0.000829 0.000164 -0.004774 +numsurf 1 +SURF 0x00 +mat 2 +refs 4 +0 0.171239450574 0.207587331533 +3 0.171239450574 0.151788562536 +2 0.1842302531 0.151788562536 +1 0.1842302531 0.207587331533 +kids 0 +OBJECT poly +name "gmt" +data 9 +Plane.482 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 4 +0.000829 0.000164 0.010603 +0.000829 -0.002495 0.010603 +0.000829 -0.002495 0.012149 +0.000829 0.000164 0.012149 +numsurf 1 +SURF 0x00 +mat 2 +refs 4 +0 0.171239450574 0.207587331533 +3 0.171239450574 0.151788562536 +2 0.1842302531 0.151788562536 +1 0.1842302531 0.207587331533 +kids 0 +OBJECT poly +name "lt" +data 9 +Plane.483 +texture "M877.rgb" +texrep 1 1 +crease 30.000000 +numvert 4 +0.000829 0.000164 0.001876 +0.000829 -0.002495 0.001876 +0.000829 -0.002495 0.003422 +0.000829 0.000164 0.003422 +numsurf 1 +SURF 0x00 +mat 2 +refs 4 +0 0.171239450574 0.207587331533 +3 0.171239450574 0.151788562536 +2 0.1842302531 0.151788562536 +1 0.1842302531 0.207587331533 +kids 0 diff --git a/Aircraft/Instruments-3d/clock/M877/m877.xml b/Aircraft/Instruments-3d/clock/M877/m877.xml new file mode 100644 index 000000000..8d95dc898 --- /dev/null +++ b/Aircraft/Instruments-3d/clock/M877/m877.xml @@ -0,0 +1,102 @@ +<?xml version="1.0"?> +<PropertyList> + + <path>m877.ac</path> + +<animation> + <type>select</type> + <object-name>gmt</object-name> + <condition> + <equals> + <property>instrumentation/clock/m877/mode</property> + <value>0</value> + </equals> + </condition> +</animation> + +<animation> + <type>select</type> + <object-name>lt</object-name> + <condition> + <equals> + <property>instrumentation/clock/m877/mode</property> + <value>1</value> + </equals> + </condition> +</animation> + +<animation> + <type>select</type> + <object-name>ft</object-name> + <condition> + <equals> + <property>instrumentation/clock/m877/mode</property> + <value>2</value> + </equals> + </condition> +</animation> + +<animation> + <type>select</type> + <object-name>et</object-name> + <condition> + <equals> + <property>instrumentation/clock/m877/mode</property> + <value>3</value> + </equals> + </condition> +</animation> + +<animation> + <type>textranslate</type> + <object-name>HR.001</object-name> + <property>instrumentation/clock/m877/indicated-hour</property> + <factor>0.01</factor> + <step>10</step> + <axis> + <x>1</x> + <y>0</y> + <z>0</z> + </axis> +</animation> + +<animation> + <type>textranslate</type> + <object-name>HR.002</object-name> + <property>instrumentation/clock/m877/indicated-hour</property> + <factor>0.1</factor> + <step>1</step> + <axis> + <x>1</x> + <y>0</y> + <z>0</z> + </axis> +</animation> + +<animation> + <type>textranslate</type> + <object-name>MN.001</object-name> + <property>instrumentation/clock/m877/indicated-min</property> + <factor>0.01</factor> + <step>10</step> + <axis> + <x>1</x> + <y>0</y> + <z>0</z> + </axis> +</animation> + +<animation> + <type>textranslate</type> + <object-name>MN.002</object-name> + <property>instrumentation/clock/m877/indicated-min</property> + <factor>0.1</factor> + <step>1</step> + <axis> + <x>1</x> + <y>0</y> + <z>0</z> + </axis> +</animation> + +</PropertyList> \ No newline at end of file