Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/explosionChunksHS15/data/levels/templates/spaceshipHXYSL.oxt @ 10810

Last change on this file since 10810 was 10807, checked in by vaydin, 9 years ago

added explosioneffects to the xml files

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1<Template name=spaceshipHXYSL>
2  <SpaceShip
3   hudtemplate            = spaceshiphud
4   camerapositiontemplate = spaceshipHXYcameras
5   spawnparticlesource    = "Orxonox/fairytwirl"
6   spawnparticleduration  = 3
7   explosionchunks        = 6
8
9   health            = 100
10   maxhealth         = 200
11   initialhealth     = 100
12
13   primaryThrust     = 100;
14   auxilaryThrust    = 30;
15   rotationThrust    = 25;
16
17   collisionType     = "dynamic"
18   mass              = 1000
19   linearDamping     = 0.7
20   angularDamping    = 0.9999999
21  >
22    <engines>
23      <MultiStateEngine position=" 0, 0, 0" template=spaceshipHXYengine />
24    </engines>
25    <attached>
26      <Model position="0,0,0" yaw=180 pitch=-90 roll=0 scale=4 mesh="HXY.mesh" />
27    </attached>
28    <collisionShapes>
29      <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
30      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
31      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
32      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
33      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
34      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
35    </collisionShapes>
36    <explosion >
37      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" />
38      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" />
39      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" />
40
41      <ExplosionPart minspeed=0 maxspeed=0 effect1="Orxonox/explosion2b" effect2="Orxonox/smoke6" />
42      <ExplosionPart mesh="CockpitDebris.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
43      <ExplosionPart mesh="BodyDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
44      <ExplosionPart mesh="WingDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
45      <ExplosionPart mesh="WingDebris2.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
46    </explosion>
47
48<?lua
49  include("../includes/weaponSettingsHXY.oxi")
50?>
51  </SpaceShip>
52</Template>
Note: See TracBrowser for help on using the repository browser.