Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FlappyOrx_HS17/data/levels/templates/spaceshipFlappyOrx.oxt @ 11620

Last change on this file since 11620 was 11620, checked in by pascscha, 7 years ago

XML Port

File size: 1.6 KB
Line 
1<Template name=spaceshipFlappyOrx>
2  <FlappyOrxShip
3
4   camerapositiontemplate = spaceshipescortcameras
5   spawnparticlesource    = "Orxonox/fairytwirl"
6   spawnparticleduration  = 6
7
8   health            = 80
9   maxhealth         = 200
10   initialhealth     = 80
11
12   primaryThrust     = 150
13   auxilaryThrust    = 30
14   rotationThrust    = 50
15
16   collisionType     = "dynamic"
17   mass              = 4200000
18   linearDamping     = 0.7
19   angularDamping    = 0.9999999
20
21  collisiondamage = 100
22  enablecollisiondamage = true
23
24  speedBase = 100
25  speedIncrease = 2
26  tubeDistanceBase = 300
27  tubeDistanceIncrease = -3
28
29  upwardThrust = 200
30  gravity = 500
31
32  >
33    <engines>
34      <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipFlappyOrxengine />
35      <MultiStateEngine position="-7.6, 0, 0" template=spaceshipFlappyOrxengine />
36    </engines>
37    <attached>
38      <Model position="0,0,0" yaw=180 pitch=90 roll=270 scale=9 mesh="FlappyOrxShip.mesh" />
39
40      <ParticleSpawner source="Orxonox/fire3" startdelay=0  position="0,0,20" visible="true"/>
41   
42    </attached>
43    <collisionShapes>
44      <SphereCollisionShape position="-1.8    ,0 ,  -11" radius="15" />
45      <SphereCollisionShape position="-0.8   ,0 ,  0" radius="16" />
46      <!-- <SphereCollisionShape position="0   ,0 ,  11" radius="12.5" /> -->
47    </collisionShapes>
48 
49  </FlappyOrxShip>
50</Template>
51
52<Template name=spaceshipescortcameras defaults=0>
53  <FlappyOrxShip>
54    <camerapositions>
55      <CameraPosition position="0,300,-100" direction="0, -1, 0" drag=false absolute=true mouselook=true />
56    </camerapositions>
57  </FlappyOrxShip>
58</Template>
59
Note: See TracBrowser for help on using the repository browser.