Depot can now morph.

This commit is contained in:
Nikolai V Chr 2019-08-07 02:36:05 +02:00
parent f99e15e87b
commit e1a4afc466
20 changed files with 9264 additions and 10 deletions

57
depot/Hud/hud.xml Normal file
View File

@ -0,0 +1,57 @@
<?xml version="1.0"?>
<PropertyList>
<name>Vinson HUD</name>
<enable3d>false</enable3d>
<label>
<name>damage</name>
<x>-250</x>
<y>-225</y>
<width>125</width>
<height>25</height>
<prefix> Integrity: </prefix>
<postfix> %%</postfix>
<halign>left</halign>
<format>%3.1f</format>
<box>true</box>
<input>
<property>/sam/damage</property>
</input>
</label>
<label>
<name>cs</name>
<x>-100</x>
<y>-225</y>
<width>125</width>
<height>25</height>
<prefix> Callsign: </prefix>
<postfix></postfix>
<halign>left</halign>
<format>%s</format>
<box>true</box>
<input>
<property>/sim/multiplay/callsign</property>
</input>
</label>
<label>
<name>tower</name>
<x>100</x>
<y>-225</y>
<width>200</width>
<height>25</height>
<prefix> Placement near: </prefix>
<postfix></postfix>
<halign>left</halign>
<format>%s</format>
<box>true</box>
<input>
<property>/sim/tower/airport-id</property>
</input>
</label>
</PropertyList>

View File

@ -0,0 +1,525 @@
AC3DbS
MATERIAL "default" rgb 0.5 0.5 0.5 amb 0.4 0.4 0.4 emis 0 0 0 spec 0.2 0.2 0.2 shi 128 trans 0
MATERIAL "EDAK_SHELTER11" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0 0 0 shi 16 trans 0
MATERIAL "EDAK_SHELTER12" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0 0 0 shi 16 trans 0
OBJECT world
kids 2
OBJECT poly
name "EDAK_SHELTER11"
texture "EDAK_SHELTER11.png"
numvert 21
-11.898372 0.000000 -15.265887
-11.400363 1.896364 -15.265887
-11.400363 -0.000000 -15.265887
-11.898372 5.215266 -15.265887
-11.400363 5.215266 -15.265887
-11.463746 0.000000 16.263605
-11.898372 5.215266 16.263605
-11.898372 0.000000 16.263605
-11.463746 1.749375 16.263605
-11.463746 5.215266 16.263605
-11.898372 5.215266 9.665290
-11.898372 5.610925 8.124003
-11.898372 6.309432 6.904996
-11.898372 8.159781 3.675841
-11.898372 8.783574 2.008914
-11.898372 9.186433 -0.284653
-11.898372 8.991581 -2.402981
-11.898372 7.745654 -5.249293
-11.898372 6.411063 -7.025534
-11.898372 5.534693 -8.489228
-11.898372 5.215266 -10.221477
numsurf 19
SURF 0x10
mat 1
refs 3
0 -107.0000 14.0000
1 -107.0268 14.2043
2 -107.0268 14.0000
SURF 0x10
mat 1
refs 3
1 -107.0268 14.2043
0 -107.0000 14.0000
3 -107.0000 14.5620
SURF 0x10
mat 1
refs 3
1 -107.0268 14.2043
3 -107.0000 14.5620
4 -107.0268 14.5620
SURF 0x10
mat 1
refs 3
5 -105.9766 14.0000
6 -106.0000 14.5620
7 -106.0000 14.0000
SURF 0x10
mat 1
refs 3
6 -106.0000 14.5620
5 -105.9766 14.0000
8 -105.9766 14.1885
SURF 0x10
mat 1
refs 3
6 -106.0000 14.5620
8 -105.9766 14.1885
9 -105.9766 14.5620
SURF 0x10
mat 1
refs 3
10 -106.2093 14.5620
7 -106.0000 14.0000
6 -106.0000 14.5620
SURF 0x10
mat 1
refs 3
7 -106.0000 14.0000
10 -106.2093 14.5620
0 -107.0000 14.0000
SURF 0x10
mat 1
refs 3
0 -107.0000 14.0000
10 -106.2093 14.5620
11 -106.2582 14.6046
SURF 0x10
mat 1
refs 3
0 -107.0000 14.0000
11 -106.2582 14.6046
12 -106.2968 14.6799
SURF 0x10
mat 1
refs 3
0 -107.0000 14.0000
12 -106.2968 14.6799
13 -106.3992 14.8793
SURF 0x10
mat 1
refs 3
0 -107.0000 14.0000
13 -106.3992 14.8793
14 -106.4521 14.9465
SURF 0x10
mat 1
refs 3
0 -107.0000 14.0000
14 -106.4521 14.9465
15 -106.5248 14.9899
SURF 0x10
mat 1
refs 3
0 -107.0000 14.0000
15 -106.5248 14.9899
16 -106.5920 14.9689
SURF 0x10
mat 1
refs 3
0 -107.0000 14.0000
16 -106.5920 14.9689
17 -106.6823 14.8346
SURF 0x10
mat 1
refs 3
0 -107.0000 14.0000
17 -106.6823 14.8346
18 -106.7386 14.6908
SURF 0x10
mat 1
refs 3
0 -107.0000 14.0000
18 -106.7386 14.6908
19 -106.7851 14.5964
SURF 0x10
mat 1
refs 3
0 -107.0000 14.0000
19 -106.7851 14.5964
20 -106.8400 14.5620
SURF 0x10
mat 1
refs 3
0 -107.0000 14.0000
20 -106.8400 14.5620
3 -107.0000 14.5620
kids 0
OBJECT poly
name "EDAK_SHELTER12"
texture "EDAK_SHELTER12.png"
crease 19.4238812198068
numvert 40
-11.898372 5.215266 -10.221477
-11.400363 5.215266 -15.265887
-11.898372 5.215266 -15.265887
-11.400363 5.215266 -10.221477
11.432925 5.534693 -8.489228
-11.898372 5.534693 -8.489228
11.726696 5.215266 -10.221477
10.626942 6.411063 -7.025534
-11.898372 6.411063 -7.025534
-11.898372 7.745654 -5.249293
9.399541 7.745654 -5.249293
8.253682 8.991581 -2.402981
-11.898372 8.991581 -2.402981
-11.898372 9.186433 -0.284653
8.074480 9.186433 -0.284653
-11.898372 8.159781 3.675841
8.444983 8.783574 2.008914
-11.898372 8.783574 2.008914
9.018675 8.159781 3.675841
10.720410 6.309432 6.904996
-11.898372 6.309432 6.904996
-11.463746 5.215266 9.665290
-11.898372 5.610925 8.124003
-11.898372 5.215266 9.665290
11.362815 5.610925 8.124003
11.726696 5.215266 9.665290
-11.898372 5.215266 16.263605
-11.463746 5.215266 16.263605
-11.400363 2.607633 -12.743682
-11.400363 1.896364 -15.265887
14.124893 2.607633 -12.743682
-11.463746 2.607633 12.964447
-11.463746 1.749375 16.263605
14.124893 2.607633 12.964447
19.729223 -0.000000 -21.990515
19.729223 0.000000 22.988233
-11.400363 -0.000000 -21.990515
-11.463746 0.000000 22.988233
-11.463746 0.000000 16.263605
-11.400363 -0.000000 -15.265887
numsurf 55
SURF 0x10
mat 2
refs 3
0 -0.2380 0.1553
1 -0.2306 0.2284
2 -0.2380 0.2284
SURF 0x10
mat 2
refs 3
1 -0.2306 0.2284
0 -0.2380 0.1553
3 -0.2306 0.1553
SURF 0x10
mat 2
refs 3
4 -0.1077 -0.0682
0 0.2380 -0.0938
5 0.2380 -0.0682
SURF 0x10
mat 2
refs 3
0 0.2380 -0.0938
4 -0.1077 -0.0682
3 0.2306 -0.0938
SURF 0x10
mat 2
refs 3
3 0.2306 -0.0938
4 -0.1077 -0.0682
6 -0.1120 -0.0938
SURF 0x10
mat 2
refs 3
7 -0.0957 -0.0434
5 0.2380 -0.0682
8 0.2380 -0.0434
SURF 0x10
mat 2
refs 3
5 0.2380 -0.0682
7 -0.0957 -0.0434
4 -0.1077 -0.0682
SURF 0x10
mat 2
refs 3
9 0.2380 -0.0109
7 -0.0957 -0.0434
8 0.2380 -0.0434
SURF 0x10
mat 2
refs 3
7 -0.0957 -0.0434
9 0.2380 -0.0109
10 -0.0776 -0.0109
SURF 0x10
mat 2
refs 3
11 -0.0606 0.0343
9 0.2380 -0.0109
12 0.2380 0.0343
SURF 0x10
mat 2
refs 3
9 0.2380 -0.0109
11 -0.0606 0.0343
10 -0.0776 -0.0109
SURF 0x10
mat 2
refs 3
13 0.2380 0.0651
11 -0.0606 0.0343
12 0.2380 0.0343
SURF 0x10
mat 2
refs 3
11 -0.0606 0.0343
13 0.2380 0.0651
14 -0.0579 0.0651
SURF 0x10
mat 2
refs 3
15 -0.2380 0.0002
16 0.0634 0.0261
17 -0.2380 0.0261
SURF 0x10
mat 2
refs 3
16 0.0634 0.0261
15 -0.2380 0.0002
18 0.0719 0.0002
SURF 0x10
mat 2
refs 3
19 0.0971 -0.0596
15 -0.2380 -0.0054
20 -0.2380 -0.0596
SURF 0x10
mat 2
refs 3
15 -0.2380 -0.0054
19 0.0971 -0.0596
18 0.0719 -0.0054
SURF 0x10
mat 2
refs 3
21 -0.2315 -0.1031
22 -0.2380 -0.0800
23 -0.2380 -0.1031
SURF 0x10
mat 2
refs 3
22 -0.2380 -0.0800
21 -0.2315 -0.1031
24 0.1066 -0.0800
SURF 0x10
mat 2
refs 3
24 0.1066 -0.0800
21 -0.2315 -0.1031
25 0.1120 -0.1031
SURF 0x10
mat 2
refs 3
26 -0.2380 -0.1987
21 -0.2315 -0.1031
23 -0.2380 -0.1031
SURF 0x10
mat 2
refs 3
21 -0.2315 -0.1031
26 -0.2380 -0.1987
27 -0.2315 -0.1987
SURF 0x10
mat 2
refs 3
28 -0.1920 0.1918
1 -0.2306 0.2284
3 -0.2306 0.1553
SURF 0x10
mat 2
refs 3
1 -0.2306 0.2284
28 -0.1920 0.1918
29 -0.1814 0.2284
SURF 0x10
mat 2
refs 3
3 0.2306 -0.0938
30 -0.1476 -0.1469
28 0.2306 -0.1469
SURF 0x10
mat 2
refs 3
30 -0.1476 -0.1469
3 0.2306 -0.0938
6 -0.1120 -0.0938
SURF 0x10
mat 2
refs 3
31 -0.2315 -0.1646
27 -0.2811 -0.2008
32 -0.2315 -0.2140
SURF 0x10
mat 2
refs 3
27 -0.2811 -0.2008
31 -0.2315 -0.1646
21 -0.2566 -0.1085
SURF 0x10
mat 2
refs 3
31 -0.2315 -0.1646
25 0.1120 -0.1031
21 -0.2315 -0.1031
SURF 0x10
mat 2
refs 3
25 0.1120 -0.1031
31 -0.2315 -0.1646
33 0.1476 -0.1646
SURF 0x10
mat 2
refs 3
33 0.1476 -0.1646
34 0.2683 0.3356
30 0.1691 0.2072
SURF 0x10
mat 2
refs 3
34 0.2683 0.3356
33 0.1476 -0.1646
35 0.2306 -0.3148
SURF 0x10
mat 2
refs 3
29 0.2306 -0.1850
34 -0.2306 -0.2863
36 0.2306 -0.2863
SURF 0x10
mat 2
refs 3
34 -0.2306 -0.2863
29 0.2306 -0.1850
28 0.2306 -0.1469
SURF 0x10
mat 2
refs 3
34 -0.2306 -0.2863
28 0.2306 -0.1469
30 -0.1476 -0.1469
SURF 0x10
mat 2
refs 3
24 0.1066 -0.0800
20 -0.2380 -0.0596
22 -0.2380 -0.0800
SURF 0x10
mat 2
refs 3
20 -0.2380 -0.0596
24 0.1066 -0.0800
19 0.0971 -0.0596
SURF 0x10
mat 2
refs 3
17 -0.2380 0.0261
14 0.0579 0.0598
13 -0.2380 0.0598
SURF 0x10
mat 2
refs 3
14 0.0579 0.0598
17 -0.2380 0.0261
16 0.0634 0.0261
SURF 0x10
mat 2
refs 3
30 0.2604 0.1903
25 0.1120 -0.1031
33 0.1476 -0.1646
SURF 0x10
mat 2
refs 3
25 0.1120 -0.1031
30 0.2604 0.1903
24 0.1112 -0.0794
SURF 0x10
mat 2
refs 3
24 0.1112 -0.0794
30 0.2604 0.1903
19 0.1032 -0.0583
SURF 0x10
mat 2
refs 3
19 0.1032 -0.0583
30 0.2604 0.1903
18 0.0819 -0.0025
SURF 0x10
mat 2
refs 3
18 0.0819 -0.0025
30 0.2604 0.1903
16 0.0772 0.0243
SURF 0x10
mat 2
refs 3
16 0.0772 0.0243
30 0.2604 0.1903
14 0.0796 0.0585
SURF 0x10
mat 2
refs 3
14 0.0796 0.0585
30 0.2604 0.1903
11 0.0926 0.0865
SURF 0x10
mat 2
refs 3
11 0.0926 0.0865
30 0.2604 0.1903
7 0.1624 0.1346
SURF 0x10
mat 2
refs 3
11 0.0926 0.0865
7 0.1624 0.1346
10 0.1290 0.1182
SURF 0x10
mat 2
refs 3
7 0.1624 0.1346
30 0.2604 0.1903
4 0.1856 0.1494
SURF 0x10
mat 2
refs 3
4 0.1856 0.1494
30 0.2604 0.1903
6 0.1994 0.1714
SURF 0x10
mat 2
refs 3
35 0.2306 -0.3148
32 -0.2315 -0.2140
37 -0.2315 -0.3148
SURF 0x10
mat 2
refs 3
32 -0.2315 -0.2140
35 0.2306 -0.3148
31 -0.2315 -0.1646
SURF 0x10
mat 2
refs 3
31 -0.2315 -0.1646
35 0.2306 -0.3148
33 0.1476 -0.1646
SURF 0x10
mat 2
refs 3
38 -0.2566 -0.2207
37 -0.2315 -0.3148
32 -0.2315 -0.2140
SURF 0x10
mat 2
refs 3
36 0.2306 -0.2863
39 0.2576 -0.1927
29 0.2306 -0.1850
kids 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

4046
depot/Models/Gasometer.ac Normal file

File diff suppressed because it is too large Load Diff

BIN
depot/Models/Gasometer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

View File

@ -0,0 +1,111 @@
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 "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.985096 0.985096 0.985096 shi 64 trans 0
OBJECT world
kids 1
OBJECT poly
name "Industrial50x100_new"
data 20
Industrial50x100_new
texture "Industrial50x100.png"
texrep 1 1
crease 30.000000
numvert 14
-50.943359 15.000005 26.091824
50.943378 15.000007 26.091854
50.955078 15.00001 -26.092596
-50.95504 15.00001 -26.092617
-50.955898 20.000006 -0.000645
50.937401 20.000008 -0.000314
49.500004 15.00001 -24.500004
-49.499996 15.00001 -24.499996
-49.500004 15.000005 24.500004
49.5 15.000005 24.500004
-49.499996 1e-05 -24.499996
-49.500004 6e-06 24.500004
49.5 6e-06 24.500004
49.500004 1e-05 -24.500004
numsurf 12
SURF 0x00
mat 1
refs 4
0 0.00408399105072 0.293529987335
1 0.997146189213 0.29513335228
5 0.99630767107 0.162014052272
4 0.00318139791489 0.160412088037
SURF 0x00
mat 1
refs 4
2 0.995699703693 0.295869827271
3 0.00240969657898 0.294265985489
4 0.00318139791489 0.160412088037
5 0.99630767107 0.162014052272
SURF 0x00
mat 0
refs 4
2 0.0110795497894 0.348316073418
1 0.0109004378319 0.315168976784
9 0.0126482248306 0.316177368164
6 0.01282954216 0.347301661968
SURF 0x00
mat 0
refs 4
2 0.0110795497894 0.348316073418
6 0.01282954216 0.347301661968
7 0.132303953171 0.347108721733
3 0.13406586647 0.348117470741
SURF 0x00
mat 0
refs 4
8 0.132122576237 0.315984427929
0 0.13385862112 0.314970493317
3 0.13406586647 0.348117470741
7 0.132303953171 0.347108721733
SURF 0x00
mat 0
refs 4
0 0.13385862112 0.314970493317
8 0.132122576237 0.315984427929
9 0.0126482248306 0.316177368164
1 0.0109004378319 0.315168976784
SURF 0x00
mat 0
refs 4
8 1.00008487701 0.155556246638
7 0.00745987892151 0.157111868262
10 0.00652772188187 0.00189244979993
11 0.999152719975 0.000336857978255
SURF 0x00
mat 0
refs 4
9 1.95392727852 0.152874752879
8 0.00300824642181 0.156025186181
11 0.00210154056549 0.0004430138506
12 1.95302057266 -8.59541469254e-05
SURF 0x00
mat 0
refs 4
7 1.95019185543 0.154717281461
6 -0.000726580619812 0.157867714763
13 -0.00163376331329 0.00228560203686
10 1.94928503036 -0.000209442514461
SURF 0x00
mat 0
refs 4
6 0.998065769672 0.499879598618
9 0.00544053316116 0.50003439188
12 0.00450819730759 0.351999640465
13 0.997133612633 0.350502490997
SURF 0x00
mat 0
refs 3
1 0.00669097900391 0.297229766846
2 0.992738962173 0.298821806908
5 0.499424129725 0.347752571106
SURF 0x00
mat 0
refs 3
3 0.00567692518234 0.297229647636
0 0.991724133492 0.298821926117
4 0.498406082392 0.347752571106
kids 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

208
depot/Models/Office26x22.ac Normal file
View File

@ -0,0 +1,208 @@
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 "White" rgb 0.942963 0.942963 0.942963 amb 0.942963 0.942963 0.942963 emis 0 0 0 spec 0.163199 0.163199 0.163199 shi 32 trans 0
MATERIAL "Roof" rgb 0.572858 0.568899 0.524482 amb 0.572858 0.568899 0.524482 emis 0 0 0 spec 0 0 0 shi 32 trans 0
MATERIAL "Brick" rgb 0.40923 0.277385 0 amb 0.40923 0.277385 0 emis 0 0 0 spec 0.265272 0.265272 0.265272 shi 32 trans 0
MATERIAL "LightBrick" rgb 0.88 0.89 0.73 amb 0.88 0.89 0.73 emis 0 0 0 spec 0.265272 0.265272 0.265272 shi 32 trans 0
OBJECT world
kids 4
OBJECT poly
name "Plane"
data 9
Plane.001
crease 30
numvert 3
11 6 -3.999999
11 6 4.000001
11 9 1e-06
numsurf 1
SURF 0x00
mat 1
refs 3
1 0 0
0 0 0
2 0 0
kids 0
OBJECT poly
name "Cube.001"
data 8
Cube.001
crease 30
numvert 12
0 11 -2
-10.999999 6 -13.000001
-11.000001 6 12.999999
0 11 2
11.000001 5.999999 -12.999998
10.999999 6 13.000001
4 9 0
4 6 -4
11.000001 6 -3.999999
11 9 1e-06
11 6 4.000001
4 6 4
numsurf 7
SURF 0x00
mat 2
refs 4
0 0 0
1 0 0
2 0 0
3 0 0
SURF 0x00
mat 2
refs 4
0 0 0
3 0 0
5 0 0
4 0 0
SURF 0x00
mat 2
refs 3
0 0 0
4 0 0
1 0 0
SURF 0x00
mat 2
refs 4
1 0 0
4 0 0
5 0 0
2 0 0
SURF 0x00
mat 2
refs 3
2 0 0
5 0 0
3 0 0
SURF 0x00
mat 2
refs 4
8 0 0
7 0 0
6 0 0
9 0 0
SURF 0x00
mat 2
refs 4
10 0 0
11 0 0
6 0 0
9 0 0
kids 0
OBJECT poly
name "Cube.002"
data 8
Cube.002
crease 30
numvert 8
-10.999999 -2 -13.000001
11.000001 -2 -12.999999
10.999999 -2 13.000001
-11.000001 -2 12.999999
-10.999998 3 -13.000001
11.000002 3 -12.999998
10.999999 3 13.000001
-11.000001 3 12.999999
numsurf 6
SURF 0x00
mat 3
refs 4
0 0 0
1 0 0
2 0 0
3 0 0
SURF 0x00
mat 3
refs 4
4 0 0
7 0 0
6 0 0
5 0 0
SURF 0x00
mat 3
refs 4
0 0 0
4 0 0
5 0 0
1 0 0
SURF 0x00
mat 3
refs 4
1 0 0
5 0 0
6 0 0
2 0 0
SURF 0x00
mat 3
refs 4
2 0 0
6 0 0
7 0 0
3 0 0
SURF 0x00
mat 3
refs 4
4 0 0
0 0 0
3 0 0
7 0 0
kids 0
OBJECT poly
name "Cube"
data 4
Cube
crease 30
numvert 8
-10.999999 3 -13.000001
11.000001 3 -12.999999
10.999999 3 13.000001
-11.000001 3 12.999999
-10.999998 6 -13.000001
11.000002 6 -12.999998
10.999999 6 13.000001
-11.000001 6 12.999999
numsurf 6
SURF 0x00
mat 4
refs 4
0 0 0
1 0 0
2 0 0
3 0 0
SURF 0x00
mat 4
refs 4
4 0 0
7 0 0
6 0 0
5 0 0
SURF 0x00
mat 4
refs 4
0 0 0
4 0 0
5 0 0
1 0 0
SURF 0x00
mat 4
refs 4
1 0 0
5 0 0
6 0 0
2 0 0
SURF 0x00
mat 4
refs 4
2 0 0
6 0 0
7 0 0
3 0 0
SURF 0x00
mat 4
refs 4
4 0 0
0 0 0
3 0 0
7 0 0
kids 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,170 @@
AC3Db
MATERIAL "DefaultWhite" rgb 1.0000 1.0000 1.0000 amb 0.2000 0.2000 0.2000 emis 0.0000 0.0000 0.0000 spec 0.5000 0.5000 0.5000 shi 10 trans 0.0000
MATERIAL "Material" rgb 1.0000 1.0000 1.0000 amb 1.0000 1.0000 1.0000 emis 0.0000 0.0000 0.0000 spec 0.5000 0.5000 0.5000 shi 12 trans 0.0000
OBJECT world
name "Blender_export__Quadplex_18x18.ac"
kids 1
OBJECT poly
name "Cube"
crease 35.0
texture "Quadplex_18x18.png"
texrep 1 1
numvert 20
-9.0000000 0.0000000 9.0000000
-9.0000000 3.0000000 9.0000000
-9.0000000 0.0000000 -9.0000000
-9.0000000 3.0000000 -9.0000000
9.0000000 0.0000000 9.0000000
9.0000000 3.0000000 9.0000000
9.0000000 0.0000000 -9.0000000
9.0000000 3.0000000 -9.0000000
-9.0000000 0.0000000 0.0000000
-9.0000000 7.0000000 0.0000000
-9.0000000 3.0000000 0.0000000
9.0000000 7.0000000 0.0000000
9.0000000 3.0000000 0.0000000
9.0000000 0.0000000 0.0000000
0.0000000 3.0000000 -9.0000000
0.0000000 0.0000000 -9.0000000
0.0000000 3.0000000 9.0000000
0.0000000 0.0000000 9.0000000
0.0000000 0.0000000 0.0000000
0.0000000 7.0000000 0.0000000
numsurf 20
SURF 0X0
mat 1
refs 4
10 0.027972 0.266658
3 0.715583 0.266658
2 0.715583 0.036421
8 0.027972 0.036421
SURF 0X0
mat 1
refs 4
14 0.017641 0.980334
7 0.708394 0.980334
6 0.708394 0.750082
15 0.017641 0.750082
SURF 0X0
mat 1
refs 4
12 0.027972 0.266658
5 0.715583 0.266658
4 0.715583 0.036421
13 0.027972 0.036421
SURF 0X0
mat 1
refs 4
16 0.017641 0.980334
1 0.708394 0.980334
0 0.708394 0.750082
17 0.017641 0.750082
SURF 0X0
mat 1
refs 4
18 0.816012 0.491010
15 0.816012 0.441020
6 0.866002 0.441020
13 0.866002 0.491010
SURF 0X0
mat 1
refs 3
3 0.715583 0.266658
10 0.027972 0.266658
9 0.027972 0.573641
SURF 0X0
mat 1
refs 4
1 0.715583 0.266658
10 0.027972 0.266658
8 0.027972 0.036421
0 0.715583 0.036421
SURF 0X0
mat 1
refs 4
7 0.715583 0.266658
12 0.027972 0.266658
13 0.027972 0.036421
6 0.715583 0.036421
SURF 0X0
mat 1
refs 4
14 0.982857 0.332133
3 0.617402 0.332133
9 0.617402 0.732056
19 0.982857 0.732056
SURF 0X0
mat 1
refs 4
17 0.816012 0.541000
18 0.816012 0.491010
13 0.866002 0.491010
4 0.866002 0.541000
SURF 0X0
mat 1
refs 4
16 0.982857 0.332133
5 0.617402 0.332133
11 0.617402 0.732056
19 0.982857 0.732056
SURF 0X0
mat 1
refs 3
12 0.027972 0.266658
7 0.715583 0.266658
11 0.027972 0.573641
SURF 0X0
mat 1
refs 3
5 0.715583 0.266658
12 0.027972 0.266658
11 0.027972 0.573641
SURF 0X0
mat 1
refs 3
1 0.715583 0.266658
9 0.027972 0.573641
10 0.027972 0.266658
SURF 0X0
mat 1
refs 4
1 0.617402 0.332133
16 0.982857 0.332133
19 0.982857 0.732056
9 0.617402 0.732056
SURF 0X0
mat 1
refs 4
0 0.766022 0.541000
8 0.766022 0.491010
18 0.816012 0.491010
17 0.816012 0.541000
SURF 0X0
mat 1
refs 4
7 0.617402 0.332133
14 0.982857 0.332133
19 0.982857 0.732056
11 0.617402 0.732056
SURF 0X0
mat 1
refs 4
8 0.766022 0.491010
2 0.766022 0.441020
15 0.816012 0.441020
18 0.816012 0.491010
SURF 0X0
mat 1
refs 4
5 0.708394 0.980334
16 0.017641 0.980334
17 0.017641 0.750082
4 0.708394 0.750082
SURF 0X0
mat 1
refs 4
3 0.708394 0.980334
14 0.017641 0.980334
15 0.017641 0.750082
2 0.708394 0.750083
kids 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -1,8 +1,110 @@
<?xml version="1.0"?>
<PropertyList>
<path>Office30x22.ac</path>
<model>
<path>Office30x22.ac</path>
<name>depot</name>
</model>
<animation>
<type>select</type>
<object-name>depot</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>0</value>
</equals>
</condition>
</animation>
<model>
<path>EDAK_SHELTER1.ac</path>
<name>shelter</name>
</model>
<animation>
<type>select</type>
<object-name>shelter</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>1</value>
</equals>
</condition>
</animation>
<model>
<path>Gasometer.ac</path>
<name>gas</name>
</model>
<animation>
<type>select</type>
<object-name>gas</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>2</value>
</equals>
</condition>
</animation>
<model>
<path>hangar_25x25m_tan.ac</path>
<name>hangar</name>
</model>
<animation>
<type>select</type>
<object-name>hangar</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>3</value>
</equals>
</condition>
</animation>
<model>
<path>Industrial50x100.ac</path>
<name>industry</name>
</model>
<animation>
<type>select</type>
<object-name>industry</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>4</value>
</equals>
</condition>
</animation>
<model>
<path>Poolbeg_TurboGas.ac</path>
<name>pool</name>
</model>
<animation>
<type>select</type>
<object-name>pool</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>5</value>
</equals>
</condition>
</animation>
<model>
<path>Quadplex_18x18.ac</path>
<name>plex</name>
</model>
<animation>
<type>select</type>
<object-name>plex</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>6</value>
</equals>
</condition>
</animation>
<model>
<path>Aircraft/depot/Models/smoke.xml</path>

View File

@ -0,0 +1,589 @@
AC3Db
MATERIAL "DefaultWhite" rgb 1.0000 1.0000 1.0000 amb 0.2000 0.2000 0.2000 emis 0.0000 0.0000 0.0000 spec 0.5000 0.5000 0.5000 shi 10 trans 0.0000
MATERIAL "Material" rgb 0.8000 0.8000 0.8000 amb 0.9500 0.9500 0.9500 emis 0.0000 0.0000 0.0000 spec 0.5000 0.5000 0.5000 shi 50 trans 0.0000
OBJECT world
name "Blender_export__hangar_25x25m_tan.ac"
kids 1
OBJECT poly
name "Hangar1"
loc 0.0000000 -0.8763114 0.0000000
texture "hangar_25x25m_tan.png"
texrep 1 1
numvert 100
11.9211140 5.1304860 -14.1557741
11.9210997 5.1304841 14.1652365
-11.8877659 5.1304841 14.1652308
11.9211016 7.5307684 0.0047456
-11.8877621 5.1304860 -14.1557741
-11.8877678 7.5307684 0.0047513
-12.2144899 5.1303449 -14.1561346
12.0267200 5.1303449 -14.1561346
12.0267057 5.1238203 14.1679544
-12.2144976 5.1238203 14.1679487
12.0267076 7.5307684 0.0047456
-12.2144995 7.5307684 0.0047514
12.0267057 5.2244029 14.1679544
12.0267200 5.2309279 -14.1561346
12.0267076 7.6313515 0.0047456
-12.2144976 5.2244029 14.1679487
-12.2144899 5.2309279 -14.1561346
-12.2144995 7.6313515 0.0047514
11.9211111 4.6511602 -13.9026384
11.9211111 4.6511593 13.9121227
-11.8877630 4.6511593 13.9121218
11.9211168 5.1304860 -14.1557713
11.9211025 5.1304841 14.1652422
-11.8877649 5.1304841 14.1652336
11.9211044 7.5307684 0.0047515
-11.8877592 4.6511602 -13.9026470
-11.8877611 5.1304860 -14.1557741
-11.8877668 7.5307684 0.0047515
11.9211111 -0.0035338 13.9121227
-11.8877630 -0.0035338 13.9121218
11.9211111 -0.0035329 -13.9026384
-11.8877592 -0.0035329 -13.9026470
11.8543940 4.6511593 7.2990780
11.8543940 -0.0035338 7.2990780
11.8543940 4.6511602 -3.6546226
11.8543940 4.6511598 0.1403199
11.8543940 4.6511593 3.3811059
11.8543940 -0.0035331 -3.6546226
11.8543940 -0.0035333 0.1403199
11.8543940 -0.0035336 3.3811059
11.9570227 4.6511593 7.2990780
11.9570227 -0.0035338 7.2990780
11.9570227 4.6511602 -3.6546226
11.9570227 4.6511598 0.1403199
11.9570227 4.6511593 3.3811059
11.9570227 -0.0035331 -3.6546226
11.9570227 -0.0035333 0.1403199
11.9570227 -0.0035336 3.3811059
11.9211111 4.6511593 10.6588154
11.9211111 -0.0035338 10.6588154
11.9211111 4.6511602 0.0129518
11.9211111 4.6511598 3.5615730
11.9211111 4.6511593 7.1101952
11.9211111 -0.0035331 0.0129518
11.9211111 -0.0035333 3.5615730
11.9211111 -0.0035336 7.1101952
12.0237398 4.6511593 10.6588154
12.0237398 -0.0035338 10.6588154
12.0237398 4.6511602 0.0129518
12.0237398 4.6511598 3.5615730
12.0237398 4.6511593 7.1101952
12.0237398 -0.0035331 0.0129518
12.0237398 -0.0035333 3.5615730
12.0237398 -0.0035336 7.1101952
11.8543940 4.6511602 -10.6868401
11.8543940 4.6511598 -7.0462303
11.8543940 -0.0035331 -10.6868401
11.8543940 -0.0035333 -7.0462303
11.9570227 4.6511602 -10.6868401
11.9570227 4.6511598 -7.0462303
11.9570227 -0.0035331 -10.6868401
11.9570227 -0.0035333 -7.0462303
11.9211111 4.6511602 -7.0964322
11.9211111 4.6511598 -3.5478103
11.9211111 -0.0035331 -7.0964322
11.9211111 -0.0035333 -3.5478103
12.0237398 4.6511602 -7.0964322
12.0237398 4.6511598 -3.5478103
12.0237398 -0.0035331 -7.0964322
12.0237398 -0.0035333 -3.5478103
11.9211111 -0.0035329 -10.5358677
11.9211111 4.6511602 -10.5358677
11.9211111 -0.0035337 10.5781593
11.9211111 4.6511593 10.5781593
-12.0386457 4.5181284 14.0666389
-12.0386457 4.5181284 -14.0185289
12.1456823 4.5181284 -14.0185289
12.1456823 4.5181284 14.0666389
-12.0386457 4.7479329 14.0666389
-12.0386457 4.7479329 -14.0185289
12.1456823 4.7479329 -14.0185289
12.1456823 4.7479329 14.0666389
-0.9510258 4.6511612 14.0127859
-11.0332060 4.6511602 14.0127859
-0.9510258 -0.0035319 14.0127859
-11.0332060 -0.0035321 14.0127859
-0.9510258 4.6511612 14.1702490
-11.0332060 4.6511602 14.1702490
-0.9510258 -0.0035319 14.1702490
-11.0332060 -0.0035321 14.1702490
numsurf 69
SURF 0X0
mat 1
refs 4
1 0.459281 0.994886
3 0.231130 0.993935
10 0.231126 0.996766
8 0.459321 0.997717
SURF 0X0
mat 1
refs 4
1 0.459281 0.994886
8 0.459321 0.997717
9 0.460281 0.369436
2 0.460224 0.370892
SURF 0X0
mat 1
refs 4
7 0.002968 0.995815
6 0.003928 0.369120
16 0.003928 0.369120
13 0.002968 0.995815
SURF 0X0
mat 1
refs 4
6 0.003928 0.369120
4 0.003921 0.370576
5 0.232073 0.370734
11 0.232086 0.369278
SURF 0X0
mat 1
refs 4
14 0.231126 0.996766
12 0.459321 0.997717
8 0.459321 0.997717
10 0.231126 0.996766
SURF 0X0
mat 1
refs 4
10 0.231126 0.996766
7 0.002968 0.995815
13 0.002968 0.995815
14 0.231126 0.996766
SURF 0X0
mat 1
refs 4
7 0.002968 0.995815
0 0.002978 0.992985
4 0.003921 0.370576
6 0.003928 0.369120
SURF 0X0
mat 1
refs 4
15 0.460281 0.369436
12 0.459321 0.997717
14 0.231126 0.996766
17 0.232086 0.369278
SURF 0X0
mat 1
refs 4
14 0.231126 0.996766
13 0.002968 0.995815
16 0.003928 0.369120
17 0.232086 0.369278
SURF 0X0
mat 1
refs 4
12 0.459321 0.997717
15 0.460281 0.369436
9 0.460281 0.369436
8 0.459321 0.997717
SURF 0X0
mat 1
refs 4
5 0.232073 0.370734
2 0.460224 0.370892
9 0.460281 0.369436
11 0.232086 0.369278
SURF 0X0
mat 1
refs 4
6 0.003928 0.369120
11 0.232086 0.369278
17 0.232086 0.369278
16 0.003928 0.369120
SURF 0X0
mat 1
refs 4
15 0.460281 0.369436
17 0.232086 0.369278
11 0.232086 0.369278
9 0.460281 0.369436
SURF 0X0
mat 1
refs 4
3 0.231130 0.993935
0 0.002978 0.992985
7 0.002968 0.995815
10 0.231126 0.996766
SURF 0X0
mat 1
refs 4
20 0.830810 0.981110
29 0.637940 0.981110
28 0.637940 0.018890
19 0.830810 0.018890
SURF 0X0
mat 1
refs 4
20 0.836628 0.028155
25 0.836628 0.971846
31 0.644622 0.971846
29 0.644622 0.028154
SURF 0X0
mat 1
refs 3
25 0.844224 0.071816
27 0.995619 0.497788
26 0.900959 0.059809
SURF 0X0
mat 1
refs 3
25 0.844224 0.071816
20 0.844223 0.923759
27 0.995619 0.497788
SURF 0X0
mat 1
refs 3
20 0.844223 0.923759
23 0.900959 0.935765
27 0.995619 0.497788
SURF 0X0
mat 1
refs 4
25 0.835933 0.022953
18 0.835933 0.977048
30 0.639067 0.977047
31 0.639067 0.022952
SURF 0X0
mat 1
refs 3
18 0.849853 0.071816
21 0.902370 0.059809
24 0.989989 0.497788
SURF 0X0
mat 1
refs 3
81 0.849853 0.174938
18 0.849853 0.071816
24 0.989989 0.497788
SURF 0X0
mat 1
refs 3
83 0.849853 0.821642
81 0.849853 0.174938
24 0.989989 0.497788
SURF 0X0
mat 1
refs 3
22 0.902370 0.935765
83 0.849853 0.821642
24 0.989989 0.497788
SURF 0X0
mat 1
refs 3
22 0.902370 0.935765
19 0.849853 0.923759
83 0.849853 0.821642
SURF 0X0
mat 1
refs 4
42 0.011710 0.033559
45 0.457040 0.033559
37 0.457040 0.341442
34 0.011710 0.341442
SURF 0X0
mat 1
refs 4
36 0.011710 0.033559
32 0.457040 0.033559
40 0.457040 0.341442
44 0.011710 0.341442
SURF 0X0
mat 1
refs 4
44 0.011710 0.025435
40 0.457040 0.025435
41 0.457040 0.349565
47 0.011710 0.349565
SURF 0X0
mat 1
refs 4
42 0.011710 0.025435
43 0.457040 0.025435
46 0.457040 0.349565
45 0.011710 0.349565
SURF 0X0
mat 1
refs 4
41 0.011710 0.033559
40 0.457040 0.033559
32 0.457040 0.341442
33 0.011710 0.341442
SURF 0X0
mat 1
refs 4
44 0.011710 0.033559
47 0.457040 0.033559
39 0.457040 0.341442
36 0.011710 0.341442
SURF 0X0
mat 1
refs 4
43 0.011710 0.033559
42 0.457040 0.033559
34 0.457040 0.341442
35 0.011710 0.341442
SURF 0X0
mat 1
refs 4
38 0.011710 0.033559
37 0.457040 0.033559
45 0.457040 0.341442
46 0.011710 0.341442
SURF 0X0
mat 1
refs 4
47 0.011710 0.033559
41 0.457040 0.033559
33 0.457040 0.341442
39 0.011710 0.341442
SURF 0X0
mat 1
refs 4
35 0.011710 0.033559
38 0.457040 0.033559
46 0.457040 0.341442
43 0.011710 0.341442
SURF 0X0
mat 1
refs 4
58 0.011710 0.033559
61 0.457040 0.033559
53 0.457040 0.341442
50 0.011710 0.341442
SURF 0X0
mat 1
refs 4
52 0.011710 0.033559
48 0.457040 0.033559
56 0.457040 0.341442
60 0.011710 0.341442
SURF 0X0
mat 1
refs 4
60 0.011710 0.025435
56 0.457040 0.025435
57 0.457040 0.349565
63 0.011710 0.349565
SURF 0X0
mat 1
refs 4
58 0.011710 0.025435
59 0.457040 0.025435
62 0.457040 0.349565
61 0.011710 0.349565
SURF 0X0
mat 1
refs 4
57 0.011710 0.033559
56 0.457040 0.033559
48 0.457040 0.341442
49 0.011710 0.341442
SURF 0X0
mat 1
refs 4
60 0.011710 0.033559
63 0.457040 0.033559
55 0.457040 0.341442
52 0.011710 0.341442
SURF 0X0
mat 1
refs 4
54 0.011710 0.033559
53 0.457040 0.033559
61 0.457040 0.341442
62 0.011710 0.341442
SURF 0X0
mat 1
refs 4
63 0.011710 0.033559
57 0.457040 0.033559
49 0.457040 0.341442
55 0.011710 0.341442
SURF 0X0
mat 1
refs 4
51 0.011710 0.033559
54 0.457040 0.033559
62 0.457040 0.341442
59 0.011710 0.341442
SURF 0X0
mat 1
refs 4
68 0.011710 0.033559
70 0.457040 0.033559
66 0.457040 0.341442
64 0.011710 0.341442
SURF 0X0
mat 1
refs 4
68 0.011710 0.025435
69 0.457040 0.025435
71 0.457040 0.349565
70 0.011710 0.349565
SURF 0X0
mat 1
refs 4
69 0.011710 0.033559
68 0.457040 0.033559
64 0.457040 0.341442
65 0.011710 0.341442
SURF 0X0
mat 1
refs 4
67 0.011710 0.033559
66 0.457040 0.033559
70 0.457040 0.341442
71 0.011710 0.341442
SURF 0X0
mat 1
refs 4
65 0.011710 0.033559
67 0.457040 0.033559
71 0.457040 0.341442
69 0.011710 0.341442
SURF 0X0
mat 1
refs 4
76 0.011710 0.033559
78 0.457040 0.033559
74 0.457040 0.341442
72 0.011710 0.341442
SURF 0X0
mat 1
refs 4
76 0.011710 0.025435
77 0.457040 0.025435
79 0.457040 0.349565
78 0.011710 0.349565
SURF 0X0
mat 1
refs 4
77 0.011710 0.033559
76 0.457040 0.033559
72 0.457040 0.341442
73 0.011710 0.341442
SURF 0X0
mat 1
refs 4
75 0.011710 0.033559
74 0.457040 0.033559
78 0.457040 0.341442
79 0.011710 0.341442
SURF 0X0
mat 1
refs 4
73 0.011710 0.033559
75 0.457040 0.033559
79 0.457040 0.341442
77 0.011710 0.341442
SURF 0X0
mat 1
refs 4
81 0.831708 0.588609
80 0.637042 0.588609
30 0.637042 0.411391
18 0.831708 0.411391
SURF 0X0
mat 1
refs 4
19 0.831708 0.589415
28 0.637042 0.589415
82 0.637042 0.410585
83 0.831708 0.410585
SURF 0X0
mat 1
refs 4
88 0.549390 0.017948
89 0.566235 0.017948
85 0.566235 0.982052
84 0.549390 0.982052
SURF 0X0
mat 1
refs 4
89 0.549390 0.017948
90 0.566235 0.017948
86 0.566235 0.982052
85 0.549390 0.982052
SURF 0X0
mat 1
refs 4
90 0.549390 0.017948
91 0.566235 0.017948
87 0.566235 0.982052
86 0.549390 0.982052
SURF 0X0
mat 1
refs 4
91 0.549390 0.017948
88 0.566235 0.017948
84 0.566235 0.982052
87 0.549390 0.982052
SURF 0X0
mat 1
refs 4
84 0.549390 0.017948
85 0.566235 0.017948
86 0.566235 0.982052
87 0.549390 0.982052
SURF 0X0
mat 1
refs 4
91 0.549390 0.017948
90 0.566235 0.017948
89 0.566235 0.982052
88 0.549390 0.982052
SURF 0X0
mat 1
refs 4
96 0.011710 0.033559
98 0.457040 0.033559
94 0.457040 0.341442
92 0.011710 0.341442
SURF 0X0
mat 1
refs 4
96 0.011710 0.021388
97 0.457040 0.021388
99 0.457040 0.353612
98 0.011710 0.353612
SURF 0X0
mat 1
refs 4
95 0.011710 0.033559
94 0.457040 0.033559
98 0.457040 0.341442
99 0.011710 0.341442
SURF 0X0
mat 1
refs 4
93 0.011710 0.033559
95 0.457040 0.033559
99 0.457040 0.341442
97 0.011710 0.341442
SURF 0X0
mat 1
refs 4
19 0.460672 0.081014
22 0.619589 0.081015
23 0.619589 0.951353
20 0.460672 0.951353
SURF 0X0
mat 1
refs 4
18 0.460672 0.081014
25 0.460672 0.951353
26 0.619589 0.951353
21 0.619589 0.081014
SURF 0X0
mat 1
refs 4
82 0.484085 0.000000
80 0.815915 0.000000
81 0.815915 1.000000
83 0.484085 1.000000
kids 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

View File

@ -12,7 +12,7 @@ var full_damage_dist_m =10;# Can vary from aircraft to aircraft depending on how
# Few modes (like F-14) ought to have larger number such as 3.
# For assets this should be average radius of the asset.
var use_hitpoints_instead_of_failure_modes_bool = 1;# mainly used by assets that don't have failure modes.
var hp_max = 1000;# given a direct hit, how much pounds of warhead is needed to kill. Only used if hitpoints is enabled.
var hp_max = 900;# given a direct hit, how much pounds of warhead is needed to kill. Only used if hitpoints is enabled.
var hitable_by_air_munitions = 0; # if anti-air can do damage
var hitable_by_cannon = 1; # if cannon can do damage
var hitable_by_ground_munitions = 1;# if anti-ground/marine can do damage
@ -31,6 +31,8 @@ var FALSE = 0;
var hp = hp_max;
setprop("sam/damage", math.max(0,100*hp/hp_max));#used in HUD
var cannon_types = {
#
# 0.20 means a direct hit will disable 20% of the failure modes on average.
@ -72,7 +74,7 @@ var warhead_lbs = {
"GBU-12": 190.00,
"GBU-24": 945.00,
"GBU-31": 945.00,
"GBU-54" 190.00,
"GBU-54": 190.00,
"GBU12": 190.00,
"GBU16": 450.00,
"HVAR": 7.50,#P51
@ -231,7 +233,7 @@ var incoming_listener = func {
probability = (maxDist/hpDist)*probability;
}
var failed = fail_systems(probability, hp_max);
var percent = 100 * prob;
var percent = 100 * probability;
printf("Took %.1f%% damage from %s clusterbomb at %0.1f meters from bomblet. %s systems was hit", percent,type,distance,failed);
nearby_explosion();
return;

View File

@ -32,11 +32,29 @@ setprop("/carrier/roll-deg",0);
setprop("/carrier/roll-offset",0);
setprop("/carrier/sunk",0);
var last_type = getprop("sim/multiplay/generic/int[17]");
var PositionUpdater = func () {
# does a building need an FDM?
# nawwwwwww
setprop("sim/multiplay/visibility-range-nm", 750);
var type = getprop("sim/multiplay/generic/int[17]");
if (type != last_type) {
if (damage.hp_max == damage.hp) {
if (type == 0) {damage.hp_max=900;damage.hp=900;}
if (type == 1) {damage.hp_max=1000;damage.hp=1000;}
if (type == 2) {damage.hp_max=200;damage.hp=200;}
if (type == 3) {damage.hp_max=300;damage.hp=300;}
if (type == 4) {damage.hp_max=900;damage.hp=900;}
if (type == 5) {damage.hp_max=1500;damage.hp=1500;}
if (type == 6) {damage.hp_max=450;damage.hp=450;}
last_type = type;
} else {
print("Can only switch type when not damaged!!");
setprop("sim/multiplay/generic/int[17]", last_type);
}
}
settimer( PositionUpdater, 1/frequency );
};

View File

@ -107,10 +107,38 @@
</autopilot>
</systems>
<multiplay>
<visibility-range-nm type="int">750</visibility-range-nm>
<generic>
<int n="0" type="int">0</int>
<int n="17" type="int">0</int>
</generic>
</multiplay>
<hud>
<path n="1">Aircraft/depot/Hud/hud.xml</path>
<visibility n="1">true</visibility>
<font>
<size type="float">11.0</size>
</font>
</hud>
<menubar>
<default>
<menu n="100">
<label>Depot</label>
<enabled type="bool">true</enabled>
<item>
<label>Type</label>
<binding>
<command>dialog-show</command>
<dialog-name>type</dialog-name>
</binding>
</item>
</menu>
</default>
</menubar>
<chase-distance-m type="double" archive="y">-250.0</chase-distance-m>
</sim>
<payload>
@ -120,12 +148,12 @@
</payload>
<nasal>
<damage>
<file>Aircraft/depot/Nasal/damage.nas</file>
</damage>
<carrier>
<file>Aircraft/depot/Nasal/fdm.nas</file>
</carrier>
<damage>
<file>Aircraft/depot/Nasal/damage.nas</file>
</damage>
</carrier>
</nasal>
</PropertyList>

116
depot/gui/dialogs/type.xml Normal file
View File

@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2015 onox
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<PropertyList>
<name>type</name>
<layout>vbox</layout>
<width>250</width>
<resizable>false</resizable>
<group>
<layout>hbox</layout>
<empty><stretch>true</stretch></empty>
<text>
<label>Type</label>
</text>
<empty><stretch>true</stretch></empty>
<button>
<legend/>
<keynum>27</keynum>
<pref-width>16</pref-width>
<pref-height>16</pref-height>
<border>2</border>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
<hrule/>
<group>
<layout>vbox</layout>
<default-padding>6</default-padding>
<empty><stretch>true</stretch></empty>
<button>
<legend>Depot</legend>
<binding>
<command>property-assign</command>
<property>sim/multiplay/generic/int[17]</property>
<value>0</value>
</binding>
</button>
<button>
<legend>Shelter</legend>
<binding>
<command>property-assign</command>
<property>sim/multiplay/generic/int[17]</property>
<value>1</value>
</binding>
</button>
<button>
<legend>Fuel</legend>
<binding>
<command>property-assign</command>
<property>sim/multiplay/generic/int[17]</property>
<value>2</value>
</binding>
</button>
<button>
<legend>Small Hangar</legend>
<binding>
<command>property-assign</command>
<property>sim/multiplay/generic/int[17]</property>
<value>3</value>
</binding>
</button>
<button>
<legend>Hangar</legend>
<binding>
<command>property-assign</command>
<property>sim/multiplay/generic/int[17]</property>
<value>4</value>
</binding>
</button>
<button>
<legend>Factory</legend>
<binding>
<command>property-assign</command>
<property>sim/multiplay/generic/int[17]</property>
<value>5</value>
</binding>
</button>
<button>
<legend>Plex</legend>
<binding>
<command>property-assign</command>
<property>sim/multiplay/generic/int[17]</property>
<value>6</value>
</binding>
</button>
</group>
</PropertyList>