Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/BigShip_HS16/data/levels/templates/endurancetest_template.oxt @ 11302

Last change on this file since 11302 was 11302, checked in by pschefer, 7 years ago

added destruction parts

File size: 14.4 KB
Line 
1<Template name=endurance>
2
3
4        <ModularSpaceShip
5        name = endurance
6        collisionType=dynamic
7        mass = 10000
8         
9       
10        rotationaxis = "1,0,0"
11        explosionchunks = 12
12       
13        rotationrate = "5"
14        >
15       
16
17
18        <parts>
19                <ShipPart name = "EnduranceSmallShip" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
20            <destructionevents>
21                <PartDestructionEvent targetType="ship"  operation="destroy" />
22            </destructionevents>
23        </ShipPart>
24
25        <ShipPart name = "part2" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
26            <destructionevents>
27                <PartDestructionEvent targetType="ship"  operation="destroy" />
28                <PartDestructionEvent targetType="part" targetName ="ct10"   operation="destroy" />
29                <PartDestructionEvent targetType="part" targetName ="ct11"   operation="destroy" />
30            </destructionevents>
31        </ShipPart>
32
33        <ShipPart name = "ct12" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
34            <destructionevents>
35                <PartDestructionEvent targetType="ship"  operation="destroy" />
36            </destructionevents>
37        </ShipPart>
38
39         <ShipPart name = "ct11" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
40            <destructionevents>
41                <PartDestructionEvent targetType="ship"  operation="destroy" />
42            </destructionevents>
43        </ShipPart>
44
45        <ShipPart name = "ct10" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
46            <destructionevents>
47                <PartDestructionEvent targetType="ship"  operation="destroy" />
48            </destructionevents>
49        </ShipPart>
50
51        <ShipPart name = "part1" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
52            <destructionevents>
53                <PartDestructionEvent targetType="ship"  operation="destroy" />
54                <PartDestructionEvent targetType="part" targetName ="ct12"   operation="destroy" />
55                <PartDestructionEvent targetType="part" targetName ="ct11"   operation="destroy" />
56            </destructionevents>
57        </ShipPart>
58
59    </parts>
60
61        <!-- Test endurance -->
62
63   
64    <explosion >
65      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" />
66      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" />
67      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" />
68    </explosion>
69
70
71
72    <attached>
73                <!-- coordinates (0,0,0) element 0-->
74
75                <!-- Small-Ship 1/2 -->
76
77                <StaticEntity  name = "EnduranceSmallShip" collisionType=static position ="21,14.4,-9.6"  pitch="60" yaw="0" roll="90" >
78                        <attached>
79                                <Model  mesh="Endurance_Small_Ship.mesh" scale="36" />
80                               
81
82     
83                        </attached>
84
85                        <collisionShapes>
86
87                        <BoxCollisionShape  halfExtents="10,10,10" info ="Endurance_Small_Ship"/>
88
89                        </collisionShapes>
90
91                </StaticEntity>
92
93                <!-- Small-Ship 1/2 -->
94
95                <StaticEntity  collisionType=static position ="21,-14.4,9.6"  pitch="-120" yaw="0" roll="90" >
96                        <attached>
97                                <Model  mesh="Endurance_Small_Ship.mesh" scale="36" />
98                               
99
100     
101                        </attached>
102
103                        <collisionShapes>
104
105                        <BoxCollisionShape  halfExtents="10,10,10" />
106
107                        </collisionShapes>
108
109                </StaticEntity>
110
111
112
113                <!-- Tunnelsystem -->
114
115                <StaticEntity  collisionType=static position ="0,0,0" lookat="0,0,0" pitch="-30" yaw="0" roll="90" >
116                        <attached>
117                                <Model  mesh="Endurance_Tunnelsystem.mesh" scale="66" />
118                               
119
120     
121                        </attached>
122
123                        <collisionShapes>
124
125                        <BoxCollisionShape  halfExtents="10,10,10" />
126
127                        </collisionShapes>
128
129                </StaticEntity>
130
131                <!-- ct12 -->
132
133                <StaticEntity name ="ct12" collisionType=static position ="0,-30,105"  yaw="0" roll="90" pitch="-60" >
134                        <attached>
135                               
136
137                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
138                               
139                               
140
141                        </attached>
142
143                        <collisionShapes>
144
145                        <BoxCollisionShape  halfExtents="4,4,4" />
146
147                        </collisionShapes>
148
149                </StaticEntity>
150
151                <!-- 2 Mistery elements -->
152
153                <StaticEntity collisionType=static position ="0,-6,-9.6"  yaw="0" roll="90" pitch="-30" >
154                        <attached>
155                               
156
157                                <Model  mesh="Endurance_Mystery.mesh" scale="48" />
158                               
159                               
160
161                        </attached>
162
163                        <collisionShapes>
164
165                        <BoxCollisionShape  halfExtents="4,4,4" />
166
167                        </collisionShapes>
168
169                </StaticEntity>
170
171                <StaticEntity collisionType=static position ="0,3.6,7.2"  yaw="0" roll="90" pitch="150" >
172                        <attached>
173                               
174
175                                <Model  mesh="Endurance_Mystery.mesh" scale="48" />
176                               
177                               
178
179                        </attached>
180
181                        <collisionShapes>
182
183                        <BoxCollisionShape  halfExtents="4,4,4" />
184
185                        </collisionShapes>
186
187                </StaticEntity>
188
189                <!-- coordinates (100,0,0) element 1-->
190
191                <StaticEntity name= "part1" collisionType=static lookat="0,0,0" position ="0,0,120" direction="0,0,0" yaw="-90" roll="-90" pitch="0">
192
193                       
194
195
196                        <attached>
197                                <Model  mesh="Endurance_MainEngine.mesh" scale="5" />
198                               
199                               
200
201
202                                <ParticleEmitter scale=5  position= "0,-5,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
203
204                                <ParticleEmitter scale=5  position= "0,3,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
205
206                                <ParticleEmitter scale=5  position= "0,10,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
207
208
209                        </attached>
210
211                        <collisionShapes>
212
213                        <BoxCollisionShape  halfExtents="10,10,10"  />
214
215                        </collisionShapes>     
216
217                </StaticEntity>
218
219
220                <!-- ct11 -->
221
222                <StaticEntity name = "ct11" collisionType=static position ="0,30,105"  yaw="0" roll="90" pitch="270" >
223                        <attached>
224                               
225
226                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
227                               
228                               
229
230                        </attached>
231
232                        <collisionShapes>
233
234                        <BoxCollisionShape  halfExtents="4,4,4" />
235
236                        </collisionShapes>
237
238                </StaticEntity>
239
240                <!-- coordinates (86,50,0) element 2 -->
241
242                <StaticEntity name = "part2" collisionType=static lookat="0,0,0" position ="0,60,103.2" direction="0,0,0" yaw="0" roll="-90">
243                        <attached>
244                                <Model  mesh="Endurance_Habitat.mesh" scale="5" />
245                               
246                        </attached>
247
248                        <collisionShapes>
249
250                        <BoxCollisionShape  halfExtents="10,10,10"  />
251
252                        </collisionShapes>
253
254                </StaticEntity>
255
256                <!-- ct10 -->
257
258                <StaticEntity name ="ct10" collisionType=static position ="0,78,78"  yaw="0" roll="90" pitch="240" >
259                        <attached>
260                               
261
262                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
263                               
264                               
265
266                        </attached>
267
268                        <collisionShapes>
269
270                        <BoxCollisionShape  halfExtents="4,4,4" />
271
272                        </collisionShapes>
273
274                </StaticEntity>
275
276                <!-- coordinates (50,86,0) element 3 -->       
277
278                <StaticEntity name="part3" collisionType=static lookat="0,0,0" position ="0,103.2,60" direction="0,0,0" yaw="-90" roll="-90">
279                        <attached>
280                                <Model  mesh="Endurance_MainEngine.mesh" scale="5" />
281
282                                <ParticleEmitter scale=5  position= "0,-5,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
283
284                                <ParticleEmitter scale=5  position= "0,3,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
285
286                                <ParticleEmitter scale=5  position= "0,10,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
287
288                        </attached>
289
290                        <collisionShapes>
291
292                        <BoxCollisionShape  halfExtents="10,10,10" />
293
294                        </collisionShapes>
295
296                </StaticEntity>
297
298                <!-- ct9 -->
299
300                <StaticEntity collisionType=static position ="0,105,30"  yaw="0" roll="90" pitch="210" >
301                        <attached>
302                               
303
304                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
305                               
306                               
307
308                        </attached>
309
310                        <collisionShapes>
311
312                        <BoxCollisionShape  halfExtents="4,4,4" />
313
314                        </collisionShapes>
315
316                </StaticEntity>
317
318                <!-- coordinates (0,100,0) element 4 -->       
319
320                <StaticEntity name ="part4" collisionType=static position ="0,120,0" lookat="0,0,0" yaw="0" roll="-90">
321                        <attached>
322                                <Model  mesh="Endurance_Landig_Module.mesh" scale="5" />
323
324                        </attached>
325
326                        <collisionShapes>
327
328                        <BoxCollisionShape  halfExtents="10,10,10" />
329
330                        </collisionShapes>
331
332
333                </StaticEntity>
334
335                <!-- ct8 -->
336
337                <StaticEntity collisionType=static position ="0,105,-30"  yaw="0" roll="90" pitch="180" >
338                        <attached>
339                               
340
341                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
342                               
343                               
344
345                        </attached>
346
347                        <collisionShapes>
348
349                        <BoxCollisionShape  halfExtents="4,4,4" />
350
351                        </collisionShapes>
352
353                </StaticEntity>
354
355                <!-- coordinates (-50,86,0) element 5 -->       
356
357                <StaticEntity name= "part5" collisionType=static position ="0,103.2,-60" lookat="0,0,0" direction="0,0,0" yaw="0" roll="-90">
358                        <attached>
359                                <Model  mesh="Endurance_Habitat.mesh" scale="5" />
360                        </attached>
361
362                        <collisionShapes>
363
364                        <BoxCollisionShape  halfExtents="10,10,10" />
365
366                        </collisionShapes>
367
368
369                </StaticEntity>
370
371                <!-- ct7 -->
372
373                <StaticEntity collisionType=static position ="0,78,-78"  yaw="0" roll="90" pitch="150" >
374                        <attached>
375                               
376
377                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
378                               
379                               
380
381                        </attached>
382
383                        <collisionShapes>
384
385                        <BoxCollisionShape  halfExtents="4,4,4" />
386
387                        </collisionShapes>
388
389                </StaticEntity>
390
391                <!-- coordinates (-86,50,0) element 6  -->     
392
393                <StaticEntity name="part6" collisionType=static position ="0,60,-103.2" lookat="0,0,0" yaw="0" roll="-90" >
394                        <attached>
395                                <Model  mesh="Endurance_Landig_Module.mesh" scale="5" />
396                        </attached>
397
398                        <collisionShapes>
399
400                        <BoxCollisionShape  halfExtents="10,10,10" />
401
402                        </collisionShapes>
403
404                </StaticEntity>
405
406                <!-- ct6 -->
407
408                <StaticEntity collisionType=static position ="0,30,-105"  yaw="0" roll="90" pitch="120" >
409                        <attached>
410                               
411
412                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
413                       
414                               
415
416                        </attached>
417
418                        <collisionShapes>
419
420                        <BoxCollisionShape  halfExtents="4,4,4" />
421
422                        </collisionShapes>
423
424                </StaticEntity>
425
426                <!-- coordinates (-100,0,0) element 7 -->       
427
428                <StaticEntity name= "part7" collisionType=static position ="0,0,-120" lookat="0,0,0" direction="0,0,0" yaw="90" roll="90">
429                        <attached>
430                                <Model  mesh="Endurance_MainEngine.mesh" scale="5" />
431
432                                <ParticleEmitter scale=5  position= "0,-5,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
433
434                                <ParticleEmitter scale=5  position= "0,3,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
435
436                                <ParticleEmitter scale=5  position= "0,10,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
437
438                        </attached>
439
440                        <collisionShapes>
441
442                        <BoxCollisionShape  halfExtents="10,10,10" />
443
444                        </collisionShapes>
445
446                </StaticEntity>
447
448                <!-- ct5 -->
449
450                <StaticEntity collisionType=static position ="0,-30,-105"  yaw="0" roll="90" pitch="90" >
451                        <attached>
452                               
453
454                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
455                               
456                               
457
458                        </attached>
459
460                        <collisionShapes>
461
462                        <BoxCollisionShape  halfExtents="4,4,4" />
463
464                        </collisionShapes>
465
466                </StaticEntity>
467
468
469                <!-- coordinates (-86,-50,0) element 8 -->     
470
471                <StaticEntity name ="part8" collisionType=static position ="0,-60,-103.2" lookat="0,0,0" direction="0,0,0" yaw="0" roll="-90" >
472                        <attached>
473                                <Model  mesh="Endurance_Habitat.mesh" scale="5" />
474                        </attached>
475
476                        <collisionShapes>
477
478                        <BoxCollisionShape  halfExtents="10,10,10" />
479
480                        </collisionShapes>
481
482
483                </StaticEntity>
484
485                <!-- ct4 -->
486
487                <StaticEntity collisionType=static position ="0,-78,-78"  yaw="0" roll="90" pitch="60" >
488                        <attached>
489                               
490
491                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
492                               
493                               
494
495                        </attached>
496
497                        <collisionShapes>
498
499                        <BoxCollisionShape  halfExtents="4,4,4" />
500
501                        </collisionShapes>
502
503                </StaticEntity>
504
505                <!-- coordinates (-50,-86,0) element 9 -->     
506
507                <StaticEntity name="part9" collisionType=static position ="0,-103.2,-60" lookat="0,0,0" direction="0,0,0" yaw="-90" roll="-90">
508                        <attached>
509                                <Model  mesh="Endurance_MainEngine.mesh" scale="5" />
510
511                                <ParticleEmitter scale=5  position= "0,-5,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
512
513                                <ParticleEmitter scale=5  position= "0,3,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
514
515                                <ParticleEmitter scale=5  position= "0,10,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
516
517                        </attached>
518
519                        <collisionShapes>
520
521                        <BoxCollisionShape  halfExtents="10,10,10" />
522
523                        </collisionShapes>
524
525                </StaticEntity>
526
527               
528
529
530                <!-- ct3 -->
531
532                <StaticEntity collisionType=static position ="0,-105,-30"  yaw="0" roll="90" pitch="30" >
533                        <attached>
534                               
535
536                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
537                               
538                               
539
540                        </attached>
541
542                        <collisionShapes>
543
544                        <BoxCollisionShape  halfExtents="4,4,4" />
545
546                        </collisionShapes>
547
548                </StaticEntity>
549
550                <!-- coordinates (0,-100,0) element 10 -->     
551
552                <StaticEntity name ="part10" collisionType=static position ="0,-120,0" lookat="0,0,0" yaw="0" roll="-90">
553                        <attached>
554                               
555                                <Model  mesh="Endurance_Landig_Module.mesh" scale="5" />
556
557                        </attached>
558
559                        <collisionShapes>
560
561                        <BoxCollisionShape  halfExtents="10,10,10" />
562
563                        </collisionShapes>
564
565                </StaticEntity>
566
567                <!-- ct2 -->
568
569                <StaticEntity collisionType=static position ="0,-105,30"  yaw="0" roll="90" pitch="0" >
570                        <attached>
571                               
572
573                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
574                               
575                               
576
577                        </attached>
578
579                        <collisionShapes>
580
581                        <BoxCollisionShape  halfExtents="4,4,4" />
582
583                        </collisionShapes>
584
585                </StaticEntity>
586
587                <!-- coordinates (50,-86,0) element 11 -->     
588
589                <StaticEntity name ="part11" collisionType=static position ="0,-103.2,60" lookat="0,0,0" yaw="0" roll="-90">
590                        <attached>
591                                <Model  mesh="Endurance_Commando_Module.mesh" scale="5" />
592                        </attached>
593
594                        <collisionShapes>
595
596                        <BoxCollisionShape  halfExtents="10,10,10" />
597
598                        </collisionShapes>
599
600                </StaticEntity>
601
602                <!-- connecting tunnel 1 (ct1) -->
603
604                <StaticEntity collisionType=static position ="0,-78,78"  yaw="0" roll="90" pitch="-30" >
605                        <attached>
606                               
607
608                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
609                               
610                               
611
612                        </attached>
613
614                        <collisionShapes>
615
616                        <BoxCollisionShape  halfExtents="4,4,4" />
617
618                        </collisionShapes>
619
620                </StaticEntity>
621
622                <!-- coordinates (86,-50,0) element 12 -->     
623
624                <StaticEntity name ="part12" collisionType=static position ="0,-60,103.2" lookat="0,0,0" yaw="0" roll="-90">
625                        <attached>
626                                <Model  mesh="Endurance_Landig_Module.mesh" scale="5" />
627                               
628
629     
630                        </attached>
631
632                        <collisionShapes>
633
634                        <BoxCollisionShape  halfExtents="10,10,10" />
635
636                        </collisionShapes>
637
638                </StaticEntity>
639
640                <!-- x-coordinate = red,  z-coordinate = green, y-coordinate = blue, -->
641
642               
643
644               
645
646               
647        </attached>
648
649
650   
651
652        <!--collisionShapes>
653
654                        <BoxCollisionShape position="-100,0,0" halfExtents="10,10,10" />
655
656                        </collisionShapes-->
657       
658
659       
660               
661
662        </ModularSpaceShip>
663
664       
665
666
667
668</Template>
669
670
671
672
673
Note: See TracBrowser for help on using the repository browser.