Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/templates/pickup_representation_templates.oxt @ 7674

Last change on this file since 7674 was 7550, checked in by dafrick, 14 years ago

Drone is much weaker now (makes less damage (pi/2) per gun), which means, that now you can actually defeat it. ;)

  • Property svn:eol-style set to native
File size: 15.3 KB
Line 
1<!-- Shield pickups: -->
2
3<Template name=smallshieldpickupRepresentation>
4    <PickupRepresentation>
5        <spawner-representation>
6            <StaticEntity>
7                <attached>
8                    <Billboard position="0,0,0" colour="1,1,1" material="Sphere2" scale=0.1>
9                        <attached>
10                            <Billboard position="0,0,0" colour="1,1,1" material="Shield" scale=0.3 />
11                        </attached>
12                    </Billboard>
13                </attached>
14            </StaticEntity>
15        </spawner-representation>
16    </PickupRepresentation>
17</Template>
18
19<Template name=smallshieldpickup>
20  <ShieldPickup
21    duration = 10
22    shieldabsorption = 0.7
23    shieldhealth = 300
24    activationType = "immediate"
25    durationType = "continuous"
26  />
27</Template>
28
29<Template name=mediumshieldpickupRepresentation>
30    <PickupRepresentation>
31        <spawner-representation>
32            <StaticEntity>
33                <attached>
34                    <Billboard position="0,0,0" colour="1,1,1" material="Sphere2" scale=0.1>
35                        <attached>
36                            <Billboard position="0,0,0" colour="1,1,1" material="Shield" scale=0.5 />
37                        </attached>
38                    </Billboard>
39                </attached>
40            </StaticEntity>
41        </spawner-representation>
42    </PickupRepresentation>
43</Template>
44
45<Template name=mediumshieldpickup>
46  <ShieldPickup
47    duration = 30
48    shieldabsorption = 0.8
49    shieldhealth = 500
50    activationType = "immediate"
51    durationType = "continuous"
52  />
53</Template>
54
55
56<Template name=hugeshieldpickupRepresentation>
57    <PickupRepresentation>
58        <spawner-representation>
59            <StaticEntity>
60                <attached>
61                    <Billboard position="0,0,0" colour="1,1,1" material="Sphere2" scale=0.1>
62                        <attached>
63                            <Billboard position="0,0,0" colour="1,1,1" material="Shield" scale=0.7 />
64                        </attached>
65                    </Billboard>
66                </attached>
67            </StaticEntity>
68        </spawner-representation>
69    </PickupRepresentation>
70</Template>
71
72<Template name=hugeshieldpickup>
73  <ShieldPickup
74    duration = 60
75    shieldabsorption = 0.95
76    shieldhealth = 700
77    activationType = "immediate"
78    durationType = "continuous"
79  />
80</Template>
81
82<!-- Health pickups: -->
83
84<Template name=smallhealthpickupRepresentation>
85    <PickupRepresentation>
86        <spawner-representation>
87            <StaticEntity>
88                <attached>
89                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
90                        <attached>
91                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.3 />
92                        </attached>
93                    </Billboard>
94                </attached>
95            </StaticEntity>
96        </spawner-representation>
97    </PickupRepresentation>
98</Template>
99
100<Template name=smallhealthpickup>
101  <HealthPickup
102    health = 10
103    healthType = "limited"
104    activationType = "immediate"
105    durationType = "once"
106  />
107</Template>
108
109<Template name=mediumhealthpickupRepresentation>
110    <PickupRepresentation>
111        <spawner-representation>
112            <StaticEntity>
113                <attached>
114                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
115                        <attached>
116                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.5 />
117                        </attached>
118                    </Billboard>
119                </attached>
120            </StaticEntity>
121        </spawner-representation>
122    </PickupRepresentation>
123</Template>
124
125<Template name=mediumhealthpickup>
126  <HealthPickup
127    health = 50
128    healthType = "limited"
129    activationType = "immediate"
130    durationType = "once"
131  />
132</Template>
133
134<Template name=hugehealthpickupRepresentation>
135    <PickupRepresentation>
136        <spawner-representation>
137            <StaticEntity>
138                <attached>
139                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
140                        <attached>
141                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.7 />
142                        </attached>
143                    </Billboard>
144                </attached>
145            </StaticEntity>
146        </spawner-representation>
147    </PickupRepresentation>
148</Template>
149
150<Template name=hugehealthpickup>
151  <HealthPickup
152    health = 100
153    healthType = "limited"
154    activationType = "immediate"
155    durationType = "once"
156  />
157</Template>
158
159<Template name=crazyhealthpickupRepresentation>
160    <PickupRepresentation>
161        <spawner-representation>
162            <StaticEntity>
163                <attached>
164                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
165                        <attached>
166                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=1.2 />
167                        </attached>
168                    </Billboard>
169                </attached>
170            </StaticEntity>
171        </spawner-representation>
172    </PickupRepresentation>
173</Template>
174
175<Template name=crazyhealthpickup>
176  <HealthPickup
177    health = 1000
178    healthType = "permanent"
179    activationType = "immediate"
180    durationType = "once"
181  />
182</Template>
183
184<!-- Meta pickups: -->
185
186<Template name=usepickupRepresentation>
187    <PickupRepresentation>
188        <spawner-representation>
189            <StaticEntity>
190                <attached>
191                    <Billboard position="0,0,0" colour="0.60,0.97,0.23" material="Sphere2" scale=0.1>
192                        <attached>
193                            <Billboard position="0,0,0" colour="0.40,0.81,0.10" material="Arrow" scale=0.65 />
194                        </attached>
195                    </Billboard>
196                </attached>
197            </StaticEntity>
198        </spawner-representation>
199    </PickupRepresentation>
200</Template>
201
202<Template name=droppickupRepresentation>
203    <PickupRepresentation>
204        <spawner-representation>
205            <StaticEntity>
206                <attached>
207                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1>
208                        <attached>
209                            <Billboard position="0,0,0" colour="0.95,0.20,0.10" material="Arrow" scale=0.65 />
210                        </attached>
211                    </Billboard>
212                </attached>
213            </StaticEntity>
214        </spawner-representation>
215    </PickupRepresentation>
216</Template>
217
218<!-- Speed pickups -->
219
220<Template name=smallspeedpickupRepresentation>
221    <PickupRepresentation>
222        <spawner-representation>
223            <StaticEntity>
224                <attached>
225                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
226                        <attached>
227                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.3 />
228                        </attached>
229                    </Billboard>
230                </attached>
231            </StaticEntity>
232        </spawner-representation>
233    </PickupRepresentation>
234</Template>
235
236<Template name=smallspeedpickup>
237  <SpeedPickup
238    duration = 10.0
239    speedAdd = 0.0
240    SpeedMultiply = 10.0
241    activationType = "immediate"
242    durationType = "continuous"
243  />
244</Template>
245
246<Template name=mediumspeedpickupRepresentation>
247    <PickupRepresentation>
248        <spawner-representation>
249            <StaticEntity>
250                <attached>
251                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
252                        <attached>
253                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.5 />
254                        </attached>
255                    </Billboard>
256                </attached>
257            </StaticEntity>
258        </spawner-representation>
259    </PickupRepresentation>
260</Template>
261
262<Template name=mediumspeedpickup>
263  <SpeedPickup
264    duration = 10.0
265    speedAdd = 0.0
266    SpeedMultiply = 25.0
267    activationType = "immediate"
268    durationType = "continuous"
269  />
270</Template>
271
272<Template name=hugespeedpickupRepresentation>
273    <PickupRepresentation>
274        <spawner-representation>
275            <StaticEntity>
276                <attached>
277                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
278                        <attached>
279                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.7 />
280                        </attached>
281                    </Billboard>
282                </attached>
283            </StaticEntity>
284        </spawner-representation>
285    </PickupRepresentation>
286</Template>
287
288<Template name=hugespeedpickup>
289  <SpeedPickup
290    duration = 10.0
291    speedAdd = 0.0
292    SpeedMultiply = 50.0
293    activationType = "immediate"
294    durationType = "continuous"
295  />
296</Template>
297
298<Template name=smalljumppickupRepresentation>
299    <PickupRepresentation>
300        <spawner-representation>
301            <StaticEntity>
302                <attached>
303                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
304                        <attached>
305                            <Billboard position="0,0,0" colour="1,0,0" material="3arrowsup" scale=0.3 />
306                        </attached>
307                    </Billboard>
308                </attached>
309            </StaticEntity>
310        </spawner-representation>
311    </PickupRepresentation>
312</Template>
313
314<Template name=smalljumppickup>
315  <SpeedPickup
316    duration = 0.7
317    speedAdd = 5000.0
318    SpeedMultiply = 1.0
319    activationType = "immediate"
320    durationType = "continuous"
321  />
322</Template>
323
324<!-- Invisible pickups -->
325
326<Template name=smallinvisiblepickupRepresentation>
327    <PickupRepresentation>
328        <spawner-representation>
329            <StaticEntity>
330                <attached>
331                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
332                        <attached>
333                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.5 />
334                        </attached>
335                    </Billboard>
336                </attached>
337            </StaticEntity>
338        </spawner-representation>
339    </PickupRepresentation>
340</Template>
341
342<Template name=smallinvisiblepickup>
343  <InvisiblePickup
344    duration = 5.0
345    activaionType = "immediate"
346    durationType = "continuous"
347  />
348</Template>
349
350<Template name=mediuminvisiblepickupRepresentation>
351    <PickupRepresentation>
352        <spawner-representation>
353            <StaticEntity>
354                <attached>
355                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
356                        <attached>
357                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.7 />
358                        </attached>
359                    </Billboard>
360                </attached>
361            </StaticEntity>
362        </spawner-representation>
363    </PickupRepresentation>
364</Template>
365
366<Template name=mediuminvisiblepickup>
367  <InvisiblePickup
368    duration = 10.0
369    activaionType = "immediate"
370    durationType = "continuous"
371  />
372</Template>
373
374<Template name=hugeinvisiblepickupRepresentation>
375    <PickupRepresentation>
376        <spawner-representation>
377            <StaticEntity>
378                <attached>
379                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
380                        <attached>
381                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.9 />
382                        </attached>
383                    </Billboard>
384                </attached>
385            </StaticEntity>
386        </spawner-representation>
387    </PickupRepresentation>
388</Template>
389
390<Template name=hugeinvisiblepickup>
391  <InvisiblePickup
392    duration = 20.0
393    activaionType = "immediate"
394    durationType = "continuous"
395  />
396</Template>
397
398<!-- Pickup Collection pickups -->
399
400<Template name=triplehealthspeedinvisibilitypickupRepresentation>
401    <PickupRepresentation>
402        <spawner-representation>
403            <StaticEntity>
404                <attached>
405                    <Billboard position="0,0,0" colour="0.95,0.85,0.27" material="Sphere2" scale=0.1>
406                        <attached>
407                            <Billboard position="0,20,0" colour="0.36,0.81,0.10" material="Cross" scale=0.25 />
408                            <Billboard position="-20,-10,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.25 />
409                            <Billboard position="20,-10,0" colour="0.06,0.14,0.63" material="Eye" scale=0.35 />
410                        </attached>
411                    </Billboard>
412                </attached>
413            </StaticEntity>
414        </spawner-representation>
415    </PickupRepresentation>
416</Template>
417
418<Template name=triplehealthspeedinvisibilitypickup>
419    <PickupCollection>
420        <pickupables>
421            <HealthPickup template=mediumhealthpickup />
422            <SpeedPickup template=mediumspeedpickup />
423            <InvisiblePickup template=mediuminvisiblepickup />
424        </pickupables>
425    </PickupCollection>
426</Template>
427
428<!-- Drone Pickup -->
429
430<Template name=droneTemplate>
431    <Drone name="Drone"  mass= "50" linearDamping = "0.7" angularDamping = "0.99999" maxDistanceToOwner_=150 minDistanceToOwner_=75 maxShootingRange_=1000 primaryThrust_=250 auxilaryThrust_=250 rotationThrust_=50>
432        <attached>
433            <Model scale="1" mesh="drone.mesh"/>
434        </attached>
435        <collisionShapes>
436            <BoxCollisionShape position="0,0,0"      halfExtents="1, 1, 1" />
437        </collisionShapes>
438        <weaponslots>
439            <WeaponSlot position="    0,   0,0" />
440        </weaponslots>
441        <weaponsets>
442            <WeaponSet firemode=0 />
443        </weaponsets>
444        <weapons>
445            <WeaponPack>
446                <links>
447                    <DefaultWeaponmodeLink firemode=0 weaponmode=0 />
448                </links>
449                <Weapon>
450                    <attached>
451                        <Model mesh="hs-w01.mesh" roll="195" position="0,1,0" scale=2 />
452                        <Model mesh="hs-w01s.mesh" roll="195" position="0.1,0.5,0" scale=2 />
453                    </attached>
454                    <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=1.5708 material="Flares/point_lensflare" muzzleoffset=" 0.7, 1.5,-4" />
455                    <HsW01 mode=0 munitionpershot=0 delay=0     damage=1.5708 material="Flares/point_lensflare" muzzleoffset="-0.9, 1.1,-4" />
456                </Weapon>
457            </WeaponPack>
458        </weapons>
459    </Drone>
460</Template>
461
462<Template name=dronepickupRepresentation>
463    <PickupRepresentation>
464        <spawner-representation>
465            <StaticEntity>
466                <attached>
467                    <Billboard position="0,0,0" colour="0.96,0.35,0.02" material="Sphere2" scale=0.1>
468                        <attached>
469                            <Model scale="5" mesh="drone.mesh"/>
470                        </attached>
471                    </Billboard>
472                </attached>
473            </StaticEntity>
474        </spawner-representation>
475    </PickupRepresentation>
476</Template>
477
478<Template name=dronepickup>
479    <DronePickup droneTemplate=droneTemplate />
480</Template>
481
Note: See TracBrowser for help on using the repository browser.