Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/towerdefenseHS14/data/levels/templates/enemyTowerdefense.oxt @ 10132

Last change on this file since 10132 was 10132, checked in by maxima, 10 years ago
File size: 2.6 KB
RevLine 
[10125]1<Template name=enemytowerdefense>
2  <TowerDefenseEnemy
3   hudtemplate            = spaceshiphud
4   camerapositiontemplate = spaceshipassffcameras
5   spawnparticlesource    = "Orxonox/fairytwirl"
6   spawnparticleduration  = 3
7   explosionchunks        = 6
8
9   health            = 100
10   maxhealth         = 200
11   initialhealth     = 100
12
13   shieldhealth        = 30
14   initialshieldhealth = 30
15   maxshieldhealth     = 50
16   shieldabsorption    = 0.8
17   reloadrate          = 1
18   reloadwaittime      = 1
19
20   primaryThrust     = 100
21   auxilaryThrust    = 30
22   rotationThrust    = 50
23
24   lift = 1;
25   stallSpeed = 220;
26
27   boostPower            = 15
28   boostPowerRate        = 1
29   boostRate             = 5
30   boostCooldownDuration = 10
31
32   shakeFrequency = 15
33   shakeAmplitude = 9
34
35   collisionType     = "dynamic"
36   mass              = 100
37   linearDamping     = 0.7
38   angularDamping    = 0.9999999
39
40   explosionSound = "sounds/Explosion2.ogg"
41  >
[10126]42
[10125]43    <engines>
44      <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipassffengine />
45      <MultiStateEngine position="-7.6, 0, 0" template=spaceshipassffengine />
46    </engines>
47    <attached>
48      <Model position="0,0,0" yaw=90 pitch=90 roll=0 scale=4 mesh="assff.mesh" />
49      <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
50      <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 />
51    </attached>
52    <collisionShapes>
53      <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
54      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
55      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
56      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
57      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
58      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
59    </collisionShapes>
[10126]60    <controller>
61        <WaypointController accuracy=60>
62          <waypoints>
63            <!-- 1,3 10,3 10,11, 13,11 -->
[10132]64           
65            <Model  position="-700,-500, 150" />
66            <Model  position=" 200,-500, 150" />
67           
68            <Model  position=" 200, 300, 150" />
69            <Model  position=" 500, 300, 150" />
70          <!--  <Model mesh="cube.mesh" scale=10 position=" 500, 700, 150" /> -->
71            <Model  position=" 500, 700, 150" />
72           
[10126]73          </waypoints>
74        </WaypointController>
75      </controller>
[10125]76  </TowerDefenseEnemy>
77</Template>
Note: See TracBrowser for help on using the repository browser.