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
RevLine 
[11259]1<Template name=endurance>
2
3
[11291]4        <ModularSpaceShip
[11297]5        name = endurance
[11291]6        collisionType=dynamic
7        mass = 10000
[11297]8         
9       
[11291]10        rotationaxis = "1,0,0"
11        explosionchunks = 12
[11297]12       
13        rotationrate = "5"
[11291]14        >
[11268]15       
[11259]16
[11297]17
18        <parts>
[11302]19                <ShipPart name = "EnduranceSmallShip" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
[11297]20            <destructionevents>
[11302]21                <PartDestructionEvent targetType="ship"  operation="destroy" />
22            </destructionevents>
23        </ShipPart>
[11297]24
[11302]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" />
[11297]30            </destructionevents>
31        </ShipPart>
32
[11302]33        <ShipPart name = "ct12" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
[11268]34            <destructionevents>
[11302]35                <PartDestructionEvent targetType="ship"  operation="destroy" />
[11268]36            </destructionevents>
37        </ShipPart>
[11259]38
[11302]39         <ShipPart name = "ct11" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
[11268]40            <destructionevents>
[11302]41                <PartDestructionEvent targetType="ship"  operation="destroy" />
[11268]42            </destructionevents>
43        </ShipPart>
44
[11302]45        <ShipPart name = "ct10" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
[11268]46            <destructionevents>
[11302]47                <PartDestructionEvent targetType="ship"  operation="destroy" />
[11268]48            </destructionevents>
49        </ShipPart>
50
[11302]51        <ShipPart name = "part1" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
[11268]52            <destructionevents>
[11302]53                <PartDestructionEvent targetType="ship"  operation="destroy" />
54                <PartDestructionEvent targetType="part" targetName ="ct12"   operation="destroy" />
55                <PartDestructionEvent targetType="part" targetName ="ct11"   operation="destroy" />
[11268]56            </destructionevents>
57        </ShipPart>
58
[11302]59    </parts>
[11291]60
[11302]61        <!-- Test endurance -->
62
[11291]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>
[11268]69
70
71
72    <attached>
[11297]73                <!-- coordinates (0,0,0) element 0-->
[11259]74
[11297]75                <!-- Small-Ship 1/2 -->
76
[11302]77                <StaticEntity  name = "EnduranceSmallShip" collisionType=static position ="21,14.4,-9.6"  pitch="60" yaw="0" roll="90" >
[11259]78                        <attached>
[11297]79                                <Model  mesh="Endurance_Small_Ship.mesh" scale="36" />
80                               
[11259]81
[11297]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" />
[11259]98                               
[11297]99
100     
[11259]101                        </attached>
102
[11297]103                        <collisionShapes>
[11259]104
[11297]105                        <BoxCollisionShape  halfExtents="10,10,10" />
[11259]106
[11297]107                        </collisionShapes>
[11259]108
109                </StaticEntity>
110
[11297]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
[11291]131                <!-- ct12 -->
132
[11302]133                <StaticEntity name ="ct12" collisionType=static position ="0,-30,105"  yaw="0" roll="90" pitch="-60" >
[11291]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
[11297]151                <!-- 2 Mistery elements -->
[11259]152
[11297]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
[11291]191                <StaticEntity name= "part1" collisionType=static lookat="0,0,0" position ="0,0,120" direction="0,0,0" yaw="-90" roll="-90" pitch="0">
[11268]192
193                       
194
195
[11259]196                        <attached>
197                                <Model  mesh="Endurance_MainEngine.mesh" scale="5" />
[11291]198                               
[11297]199                               
[11259]200
201
[11268]202                                <ParticleEmitter scale=5  position= "0,-5,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
[11259]203
[11268]204                                <ParticleEmitter scale=5  position= "0,3,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
[11259]205
[11268]206                                <ParticleEmitter scale=5  position= "0,10,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
207
208
[11259]209                        </attached>
210
211                        <collisionShapes>
212
213                        <BoxCollisionShape  halfExtents="10,10,10"  />
214
[11291]215                        </collisionShapes>     
216
217                </StaticEntity>
218
219
220                <!-- ct11 -->
221
[11302]222                <StaticEntity name = "ct11" collisionType=static position ="0,30,105"  yaw="0" roll="90" pitch="270" >
[11291]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
[11259]236                        </collisionShapes>
237
238                </StaticEntity>
239
[11297]240                <!-- coordinates (86,50,0) element 2 -->
241
[11291]242                <StaticEntity name = "part2" collisionType=static lookat="0,0,0" position ="0,60,103.2" direction="0,0,0" yaw="0" roll="-90">
[11259]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
[11291]256                <!-- ct10 -->
257
[11302]258                <StaticEntity name ="ct10" collisionType=static position ="0,78,78"  yaw="0" roll="90" pitch="240" >
[11291]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
[11297]276                <!-- coordinates (50,86,0) element 3 -->       
[11259]277
[11291]278                <StaticEntity name="part3" collisionType=static lookat="0,0,0" position ="0,103.2,60" direction="0,0,0" yaw="-90" roll="-90">
[11259]279                        <attached>
280                                <Model  mesh="Endurance_MainEngine.mesh" scale="5" />
[11268]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
[11259]288                        </attached>
289
290                        <collisionShapes>
291
292                        <BoxCollisionShape  halfExtents="10,10,10" />
293
294                        </collisionShapes>
295
296                </StaticEntity>
297
[11291]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
[11297]318                <!-- coordinates (0,100,0) element 4 -->       
[11259]319
[11291]320                <StaticEntity name ="part4" collisionType=static position ="0,120,0" lookat="0,0,0" yaw="0" roll="-90">
[11259]321                        <attached>
[11291]322                                <Model  mesh="Endurance_Landig_Module.mesh" scale="5" />
[11259]323
324                        </attached>
325
326                        <collisionShapes>
327
328                        <BoxCollisionShape  halfExtents="10,10,10" />
329
330                        </collisionShapes>
331
332
333                </StaticEntity>
334
[11291]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
[11297]355                <!-- coordinates (-50,86,0) element 5 -->       
[11259]356
[11291]357                <StaticEntity name= "part5" collisionType=static position ="0,103.2,-60" lookat="0,0,0" direction="0,0,0" yaw="0" roll="-90">
[11259]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
[11291]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
[11297]391                <!-- coordinates (-86,50,0) element 6  -->     
[11259]392
[11291]393                <StaticEntity name="part6" collisionType=static position ="0,60,-103.2" lookat="0,0,0" yaw="0" roll="-90" >
[11259]394                        <attached>
[11291]395                                <Model  mesh="Endurance_Landig_Module.mesh" scale="5" />
[11259]396                        </attached>
397
398                        <collisionShapes>
399
400                        <BoxCollisionShape  halfExtents="10,10,10" />
401
402                        </collisionShapes>
403
404                </StaticEntity>
405
[11291]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
[11297]426                <!-- coordinates (-100,0,0) element 7 -->       
[11259]427
[11291]428                <StaticEntity name= "part7" collisionType=static position ="0,0,-120" lookat="0,0,0" direction="0,0,0" yaw="90" roll="90">
[11259]429                        <attached>
430                                <Model  mesh="Endurance_MainEngine.mesh" scale="5" />
[11268]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
[11259]438                        </attached>
439
440                        <collisionShapes>
441
442                        <BoxCollisionShape  halfExtents="10,10,10" />
443
444                        </collisionShapes>
445
446                </StaticEntity>
447
[11291]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
[11297]469                <!-- coordinates (-86,-50,0) element 8 -->     
[11259]470
[11291]471                <StaticEntity name ="part8" collisionType=static position ="0,-60,-103.2" lookat="0,0,0" direction="0,0,0" yaw="0" roll="-90" >
[11259]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
[11291]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
[11297]505                <!-- coordinates (-50,-86,0) element 9 -->     
[11259]506
[11291]507                <StaticEntity name="part9" collisionType=static position ="0,-103.2,-60" lookat="0,0,0" direction="0,0,0" yaw="-90" roll="-90">
[11259]508                        <attached>
509                                <Model  mesh="Endurance_MainEngine.mesh" scale="5" />
[11268]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
[11259]517                        </attached>
518
519                        <collisionShapes>
520
521                        <BoxCollisionShape  halfExtents="10,10,10" />
522
523                        </collisionShapes>
524
525                </StaticEntity>
526
[11297]527               
528
529
[11291]530                <!-- ct3 -->
[11259]531
[11291]532                <StaticEntity collisionType=static position ="0,-105,-30"  yaw="0" roll="90" pitch="30" >
[11259]533                        <attached>
[11268]534                               
535
[11291]536                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
537                               
538                               
539
[11259]540                        </attached>
541
542                        <collisionShapes>
543
[11291]544                        <BoxCollisionShape  halfExtents="4,4,4" />
[11259]545
546                        </collisionShapes>
547
548                </StaticEntity>
549
[11297]550                <!-- coordinates (0,-100,0) element 10 -->     
[11259]551
[11291]552                <StaticEntity name ="part10" collisionType=static position ="0,-120,0" lookat="0,0,0" yaw="0" roll="-90">
[11259]553                        <attached>
[11291]554                               
555                                <Model  mesh="Endurance_Landig_Module.mesh" scale="5" />
556
[11259]557                        </attached>
558
559                        <collisionShapes>
560
561                        <BoxCollisionShape  halfExtents="10,10,10" />
562
563                        </collisionShapes>
564
565                </StaticEntity>
566
[11291]567                <!-- ct2 -->
[11259]568
[11291]569                <StaticEntity collisionType=static position ="0,-105,30"  yaw="0" roll="90" pitch="0" >
[11259]570                        <attached>
[11268]571                               
572
[11291]573                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
574                               
575                               
576
[11259]577                        </attached>
578
579                        <collisionShapes>
580
[11291]581                        <BoxCollisionShape  halfExtents="4,4,4" />
582
583                        </collisionShapes>
584
585                </StaticEntity>
586
[11297]587                <!-- coordinates (50,-86,0) element 11 -->     
[11291]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
[11259]596                        <BoxCollisionShape  halfExtents="10,10,10" />
597
598                        </collisionShapes>
599
600                </StaticEntity>
601
[11291]602                <!-- connecting tunnel 1 (ct1) -->
[11259]603
[11291]604                <StaticEntity collisionType=static position ="0,-78,78"  yaw="0" roll="90" pitch="-30" >
[11268]605                        <attached>
606                               
[11259]607
[11291]608                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="6" />
[11268]609                               
[11291]610                               
[11259]611
[11268]612                        </attached>
[11259]613
[11268]614                        <collisionShapes>
[11259]615
[11268]616                        <BoxCollisionShape  halfExtents="4,4,4" />
[11259]617
[11268]618                        </collisionShapes>
[11259]619
[11268]620                </StaticEntity>
621
[11297]622                <!-- coordinates (86,-50,0) element 12 -->     
[11291]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
[11259]642               
[11291]643
[11268]644               
[11259]645
[11291]646               
[11259]647        </attached>
648
[11268]649
650   
651
[11291]652        <!--collisionShapes>
[11259]653
654                        <BoxCollisionShape position="-100,0,0" halfExtents="10,10,10" />
655
[11291]656                        </collisionShapes-->
[11259]657       
[11268]658
[11291]659       
[11259]660               
661
[11268]662        </ModularSpaceShip>
[11259]663
[11268]664       
665
666
667
[11259]668</Template>
669
670
671
672
673
Note: See TracBrowser for help on using the repository browser.