diff --git a/Models/FlightDeck/a320.flightdeck.xml b/Models/FlightDeck/a320.flightdeck.xml index 9af95e20..a99736ad 100644 --- a/Models/FlightDeck/a320.flightdeck.xml +++ b/Models/FlightDeck/a320.flightdeck.xml @@ -5809,6 +5809,45 @@ + + Aircraft/IDG-A32X/Models/FlightDeck/res/surprise.ac + + -0.45 + -0.485 + -0.125 + 2 + + + + + select + surprise + + + + controls/tray/surprise + 1 + + + controls/tray/lefttrayext + 1 + + + + + + + pick + surprise + + + + property-toggle + controls/tray/surprise + + + + Aircraft/IDG-A32X/Models/Effects/floorlightmap object0000 diff --git a/Models/FlightDeck/res/surprise.ac b/Models/FlightDeck/res/surprise.ac new file mode 100644 index 00000000..34e83848 --- /dev/null +++ b/Models/FlightDeck/res/surprise.ac @@ -0,0 +1,211 @@ +AC3Db +MATERIAL "Phone" rgb 0.64 0.64 0.64 amb 1 1 1 emis 0 0 0 spec 0 0 0 shi 12 trans 0 +OBJECT world +kids 1 +OBJECT poly +name "surprise" +data 8 +Cube.002 +texture "surprise.png" +crease 40.000000 +numvert 24 +-0.06691 -0.00334 0.0335 +-0.06905 -0.00334 0.03246 +-0.06691 -0.00345 0.03246 +-0.06691 0.00334 0.0335 +-0.06691 0.00345 0.03246 +-0.06905 0.00334 0.03246 +-0.06691 -0.00334 -0.0335 +-0.06691 -0.00345 -0.03246 +-0.06905 -0.00334 -0.03246 +-0.06691 0.00345 -0.03246 +-0.06691 0.00334 -0.0335 +-0.06905 0.00334 -0.03246 +0.06691 -0.00334 0.0335 +0.06691 -0.00345 0.03246 +0.06905 -0.00334 0.03246 +0.06691 0.00345 0.03246 +0.06691 0.00334 0.0335 +0.06905 0.00334 0.03246 +0.06905 -0.00334 -0.03246 +0.06691 -0.00345 -0.03246 +0.06691 -0.00334 -0.0335 +0.06691 0.00345 -0.03246 +0.06905 0.00334 -0.03246 +0.06691 0.00334 -0.0335 +numsurf 26 +SURF 0x0 +mat 0 +refs 4 +2 0.534199 0.484965 +7 0.538995 0.480184 +19 0.543926 0.484828 +13 0.53913 0.489609 +SURF 0x0 +mat 0 +refs 4 +22 0.536215 0.48789 +17 0.536209 0.497197 +14 0.532301 0.493519 +18 0.532553 0.491674 +SURF 0x0 +mat 0 +refs 4 +15 0.022012 0.021681 +21 0.523241 0.022011 +9 0.52291 0.978319 +4 0.021681 0.977989 +SURF 0x0 +mat 0 +refs 4 +16 0.53611 0.4973 +3 0.526395 0.497311 +0 0.530215 0.493186 +12 0.532249 0.493559 +SURF 0x0 +mat 0 +refs 4 +10 0.526859 0.487543 +23 0.536114 0.487792 +20 0.532516 0.491628 +6 0.530709 0.491317 +SURF 0x0 +mat 0 +refs 3 +0 0.534064 0.485061 +1 0.534063 0.484877 +2 0.534199 0.484965 +SURF 0x0 +mat 0 +refs 3 +3 0.526395 0.497311 +4 0.526251 0.497354 +5 0.526286 0.497208 +SURF 0x0 +mat 0 +refs 3 +6 0.539082 0.480048 +7 0.538995 0.480184 +8 0.5389 0.480048 +SURF 0x0 +mat 0 +refs 3 +9 0.526719 0.487508 +10 0.526859 0.487543 +11 0.526758 0.487646 +SURF 0x0 +mat 0 +refs 3 +12 0.539043 0.489744 +13 0.53913 0.489609 +14 0.539225 0.489744 +SURF 0x0 +mat 0 +refs 3 +15 0.536249 0.497335 +16 0.53611 0.4973 +17 0.536209 0.497197 +SURF 0x0 +mat 0 +refs 3 +18 0.544062 0.484915 +19 0.543926 0.484828 +20 0.544061 0.484731 +SURF 0x0 +mat 0 +refs 3 +21 0.536249 0.487753 +22 0.536215 0.48789 +23 0.536114 0.487792 +SURF 0x0 +mat 0 +refs 4 +0 0.530215 0.493186 +3 0.526395 0.497311 +5 0.526286 0.497208 +1 0.530162 0.493127 +SURF 0x0 +mat 0 +refs 4 +4 0.021681 0.977989 +9 0.52291 0.978319 +11 0.522903 0.9999 +5 0.021674 0.999573 +SURF 0x0 +mat 0 +refs 4 +10 0.526859 0.487543 +6 0.530709 0.491317 +8 0.530663 0.491359 +11 0.526758 0.487646 +SURF 0x0 +mat 0 +refs 4 +7 0.538995 0.480184 +2 0.534199 0.484965 +1 0.534063 0.484877 +8 0.5389 0.480048 +SURF 0x0 +mat 0 +refs 4 +9 0.52291 0.978319 +21 0.523241 0.022011 +23 0.544822 0.022019 +10 0.544495 0.978326 +SURF 0x0 +mat 0 +refs 4 +22 0.536215 0.48789 +18 0.532553 0.491674 +20 0.532516 0.491628 +23 0.536114 0.487792 +SURF 0x0 +mat 0 +refs 4 +19 0.543926 0.484828 +7 0.538995 0.480184 +6 0.539082 0.480048 +20 0.544061 0.484731 +SURF 0x0 +mat 0 +refs 4 +21 0.523241 0.022011 +15 0.022012 0.021681 +17 0.022019 0.0001 +22 0.523248 0.000426 +SURF 0x0 +mat 0 +refs 4 +16 0.53611 0.4973 +12 0.532249 0.493559 +14 0.532301 0.493519 +17 0.536209 0.497197 +SURF 0x0 +mat 0 +refs 4 +13 0.53913 0.489609 +19 0.543926 0.484828 +18 0.544062 0.484915 +14 0.539225 0.489744 +SURF 0x0 +mat 0 +refs 4 +15 0.022012 0.021681 +4 0.021681 0.977989 +3 0.0001 0.977981 +16 0.000427 0.021674 +SURF 0x0 +mat 0 +refs 4 +2 0.534199 0.484965 +13 0.53913 0.489609 +12 0.539043 0.489744 +0 0.534064 0.485061 +SURF 0x0 +mat 0 +refs 4 +5 0.526286 0.497208 +11 0.526758 0.487646 +8 0.530663 0.491359 +1 0.530162 0.493127 +kids 0 diff --git a/Models/FlightDeck/res/surprise.png b/Models/FlightDeck/res/surprise.png new file mode 100644 index 00000000..7483b747 Binary files /dev/null and b/Models/FlightDeck/res/surprise.png differ diff --git a/Nasal/libraries.nas b/Nasal/libraries.nas index 6b856cb5..779872a4 100644 --- a/Nasal/libraries.nas +++ b/Nasal/libraries.nas @@ -14,6 +14,9 @@ setprop("/controls/lighting/ndl-norm", 1); setprop("/controls/lighting/ndr-norm", 1); setprop("/controls/lighting/upper-norm", 1); +# Surprise +setprop("/controls/tray/surprise", 1); + # Lights setprop("/sim/model/lights/nose-lights", 0); setprop("/sim/model/lights/turnoffsw", 0);