Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/templates/enemytowerdefense.oxt @ 10276

Last change on this file since 10276 was 10262, checked in by landauf, 10 years ago

eol-style native. no changes in code.

  • Property svn:eol-style set to native
File size: 7.7 KB
RevLine 
[10134]1<Template name=enemytowerdefense1>
2  <TowerDefenseEnemy
3   hudtemplate            = spaceshiphud
4   camerapositiontemplate = spaceshipassffcameras
5   spawnparticlesource    = "Orxonox/fairytwirl"
6   spawnparticleduration  = 3
7   explosionchunks        = 6
8
[10144]9   health            = 1
10   maxhealth         = 2
11   initialhealth     = 1
[10134]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  >
42
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>
60    <controller>
61        <WaypointController accuracy=60>
62          <waypoints>
63            <!-- 1,3 10,3 10,11, 13,11 -->
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           
73          </waypoints>
74        </WaypointController>
75      </controller>
76  </TowerDefenseEnemy>
77</Template>
78
79
80<Template name=enemytowerdefense2>
81  <TowerDefenseEnemy
82   hudtemplate            = spaceshiphud
83   camerapositiontemplate = spaceshipassffcameras
84   spawnparticlesource    = "Orxonox/fairytwirl"
85   spawnparticleduration  = 3
86   explosionchunks        = 6
87
88   health            = 100
89   maxhealth         = 200
90   initialhealth     = 100
91
92   shieldhealth        = 30
93   initialshieldhealth = 30
94   maxshieldhealth     = 50
95   shieldabsorption    = 0.8
96   reloadrate          = 1
97   reloadwaittime      = 1
98
99   primaryThrust     = 100
100   auxilaryThrust    = 30
101   rotationThrust    = 50
102
103   lift = 1;
104   stallSpeed = 220;
105
106   boostPower            = 15
107   boostPowerRate        = 1
108   boostRate             = 5
109   boostCooldownDuration = 10
110
111   shakeFrequency = 15
112   shakeAmplitude = 9
113
114   collisionType     = "dynamic"
115   mass              = 100
116   linearDamping     = 0.7
117   angularDamping    = 0.9999999
118
119   explosionSound = "sounds/Explosion2.ogg"
120  >
121
122    <engines>
123      <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipassffengine />
124      <MultiStateEngine position="-7.6, 0, 0" template=spaceshipassffengine />
125    </engines>
126    <attached>
127      <Model position="0,0,0" yaw=90 pitch=90 roll=0 scale=4 mesh="JumpEnemy3.mesh" />
128      <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
129      <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 />
130    </attached>
131    <collisionShapes>
132      <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
133      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
134      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
135      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
136      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
137      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
138    </collisionShapes>
139    <controller>
140        <WaypointController accuracy=60>
141          <waypoints>
142            <!-- 1,3 10,3 10,11, 13,11 -->
143           
144            <Model  position="-700,-500, 150" />
145            <Model  position=" 200,-500, 150" />
146           
147            <Model  position=" 200, 300, 150" />
148            <Model  position=" 500, 300, 150" />
149          <!--  <Model mesh="cube.mesh" scale=10 position=" 500, 700, 150" /> -->
150            <Model  position=" 500, 700, 150" />
151           
152          </waypoints>
153        </WaypointController>
154      </controller>
155  </TowerDefenseEnemy>
156</Template>
157
158<Template name=enemytowerdefense3>
159  <TowerDefenseEnemy
160   hudtemplate            = spaceshiphud
161   camerapositiontemplate = spaceshipassffcameras
162   spawnparticlesource    = "Orxonox/fairytwirl"
163   spawnparticleduration  = 3
164   explosionchunks        = 6
165
166   health            = 100
167   maxhealth         = 200
168   initialhealth     = 100
169
170   shieldhealth        = 30
171   initialshieldhealth = 30
172   maxshieldhealth     = 50
173   shieldabsorption    = 0.8
174   reloadrate          = 1
175   reloadwaittime      = 1
176
177   primaryThrust     = 100
178   auxilaryThrust    = 30
179   rotationThrust    = 50
180
181   lift = 1;
182   stallSpeed = 220;
183
184   boostPower            = 15
185   boostPowerRate        = 1
186   boostRate             = 5
187   boostCooldownDuration = 10
188
189   shakeFrequency = 15
190   shakeAmplitude = 9
191
192   collisionType     = "dynamic"
193   mass              = 100
194   linearDamping     = 0.7
195   angularDamping    = 0.9999999
196
197   explosionSound = "sounds/Explosion2.ogg"
198  >
199
200    <engines>
201      <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipassffengine />
202      <MultiStateEngine position="-7.6, 0, 0" template=spaceshipassffengine />
203    </engines>
204    <attached>
205      <Model position="0,0,0" yaw=90 pitch=90 roll=0 scale=4 mesh="JumpEnemy4.mesh" />
206      <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
207      <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 />
208    </attached>
209    <collisionShapes>
210      <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
211      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
212      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
213      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
214      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
215      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
216    </collisionShapes>
217    <controller>
218        <WaypointController accuracy=60>
219          <waypoints>
220            <!-- 1,3 10,3 10,11, 13,11 -->
221           
222            <Model  position="-700,-500, 150" />
223            <Model  position=" 200,-500, 150" />
224           
225            <Model  position=" 200, 300, 150" />
226            <Model  position=" 500, 300, 150" />
227          <!--  <Model mesh="cube.mesh" scale=10 position=" 500, 700, 150" /> -->
228            <Model  position=" 500, 700, 150" />
229           
230          </waypoints>
231        </WaypointController>
232      </controller>
233  </TowerDefenseEnemy>
234</Template>
Note: See TracBrowser for help on using the repository browser.