A32X: surprise

This commit is contained in:
Jonathan Redpath 2017-10-05 17:53:29 +01:00 committed by Joshua Davidson
parent 1c39db8385
commit 493867c7b9
4 changed files with 253 additions and 0 deletions

View file

@ -5809,6 +5809,45 @@
</emission>
</animation>
<model>
<path>Aircraft/IDG-A32X/Models/FlightDeck/res/surprise.ac</path>
<offsets>
<x-m>-0.45</x-m>
<y-m>-0.485</y-m>
<z-m>-0.125</z-m>
<pitch-deg>2</pitch-deg>
</offsets>
</model>
<animation>
<type>select</type>
<object-name>surprise</object-name>
<condition>
<and>
<equals>
<property>controls/tray/surprise</property>
<value>1</value>
</equals>
<equals>
<property>controls/tray/lefttrayext</property>
<value>1</value>
</equals>
</and>
</condition>
</animation>
<animation>
<type>pick</type>
<object-name>surprise</object-name>
<action>
<button>0</button>
<binding>
<command>property-toggle</command>
<property>controls/tray/surprise</property>
</binding>
</action>
</animation>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/floorlightmap</inherits-from>
<object-name>object0000</object-name>

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -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);