Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2012/data/levels/templates/pickupRepresentationTemplates.oxt @ 9202

Last change on this file since 9202 was 9202, checked in by smerkli, 12 years ago

small color update to damageboostpickup

  • Property svn:eol-style set to native
File size: 20.1 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<!-- DamageBoost pickups -->
219
220<Template name=smalldamageboostpickupRepresentation>
221    <PickupRepresentation>
222        <spawner-representation>
223            <StaticEntity>
224                <attached>
225                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1 >
226                        <attached>
227                            <Billboard position="0,0,0" colour="0.30,0.30,0.30" material="damageSmall" scale=0.7 />
228                        </attached>
229                    </Billboard>
230                </attached>
231            </StaticEntity>
232        </spawner-representation>
233    </PickupRepresentation>
234</Template>
235
236<Template name=smalldamageboostpickup>
237  <DamageBoostPickup
238    duration = 10.0
239    damageMultiplier = 2.0
240    activationType = "immediate"
241    durationType = "continuous"
242  />
243</Template>
244
245<Template name=mediumdamageboostpickupRepresentation>
246    <PickupRepresentation>
247        <spawner-representation>
248            <StaticEntity>
249                <attached>
250                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1 >
251                        <attached>
252                            <Billboard position="0,0,0" colour="0.30,0.30,0.30" material="damageMedium" scale=0.7 />
253                        </attached>
254                    </Billboard>
255                </attached>
256            </StaticEntity>
257        </spawner-representation>
258    </PickupRepresentation>
259</Template>
260
261<Template name=mediumdamageboostpickup>
262  <DamageBoostPickup
263    duration = 10.0
264    damageMultiplier = 5.0
265    activationType = "immediate"
266    durationType = "continuous"
267  />
268</Template>
269
270<Template name=largedamageboostpickupRepresentation>
271    <PickupRepresentation>
272        <spawner-representation>
273            <StaticEntity>
274                <attached>
275                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1 >
276                        <attached>
277                            <Billboard position="0,0,0" colour="0.30,0.30,0.30" material="damageLarge" scale=0.7 />
278                        </attached>
279                    </Billboard>
280                </attached>
281            </StaticEntity>
282        </spawner-representation>
283    </PickupRepresentation>
284</Template>
285
286<Template name=largedamageboostpickup>
287  <DamageBoostPickup
288    duration = 10.0
289    damageMultiplier = 7.0
290    activationType = "immediate"
291    durationType = "continuous"
292  />
293</Template>
294
295
296<!-- Speed pickups -->
297
298<Template name=smallspeedpickupRepresentation>
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="0.98,0.94,0.22" material="3arrowsup" scale=0.3 />
306                        </attached>
307                    </Billboard>
308                </attached>
309            </StaticEntity>
310        </spawner-representation>
311    </PickupRepresentation>
312</Template>
313
314<Template name=smallspeedpickup>
315  <SpeedPickup
316    duration = 10.0
317    speedAdd = 0.0
318    SpeedMultiply = 10.0
319    activationType = "immediate"
320    durationType = "continuous"
321  />
322</Template>
323
324<Template name=mediumspeedpickupRepresentation>
325    <PickupRepresentation>
326        <spawner-representation>
327            <StaticEntity>
328                <attached>
329                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
330                        <attached>
331                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.5 />
332                        </attached>
333                    </Billboard>
334                </attached>
335            </StaticEntity>
336        </spawner-representation>
337    </PickupRepresentation>
338</Template>
339
340<Template name=mediumspeedpickup>
341  <SpeedPickup
342    duration = 10.0
343    speedAdd = 0.0
344    SpeedMultiply = 25.0
345    activationType = "immediate"
346    durationType = "continuous"
347  />
348</Template>
349
350<Template name=hugespeedpickupRepresentation>
351    <PickupRepresentation>
352        <spawner-representation>
353            <StaticEntity>
354                <attached>
355                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
356                        <attached>
357                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.7 />
358                        </attached>
359                    </Billboard>
360                </attached>
361            </StaticEntity>
362        </spawner-representation>
363    </PickupRepresentation>
364</Template>
365
366<Template name=hugespeedpickup>
367  <SpeedPickup
368    duration = 10.0
369    speedAdd = 0.0
370    SpeedMultiply = 50.0
371    activationType = "immediate"
372    durationType = "continuous"
373  />
374</Template>
375
376<Template name=smalljumppickupRepresentation>
377    <PickupRepresentation>
378        <spawner-representation>
379            <StaticEntity>
380                <attached>
381                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
382                        <attached>
383                            <Billboard position="0,0,0" colour="1,0,0" material="3arrowsup" scale=0.3 />
384                        </attached>
385                    </Billboard>
386                </attached>
387            </StaticEntity>
388        </spawner-representation>
389    </PickupRepresentation>
390</Template>
391
392<Template name=smalljumppickup>
393  <SpeedPickup
394    duration = 0.7
395    speedAdd = 5000.0
396    SpeedMultiply = 1.0
397    activationType = "immediate"
398    durationType = "continuous"
399  />
400</Template>
401
402<!-- Invisible pickups -->
403
404<Template name=smallinvisiblepickupRepresentation>
405    <PickupRepresentation>
406        <spawner-representation>
407            <StaticEntity>
408                <attached>
409                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
410                        <attached>
411                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.5 />
412                        </attached>
413                    </Billboard>
414                </attached>
415            </StaticEntity>
416        </spawner-representation>
417    </PickupRepresentation>
418</Template>
419
420<Template name=smallinvisiblepickup>
421  <InvisiblePickup
422    duration = 5.0
423    activaionType = "immediate"
424    durationType = "continuous"
425  />
426</Template>
427
428<Template name=mediuminvisiblepickupRepresentation>
429    <PickupRepresentation>
430        <spawner-representation>
431            <StaticEntity>
432                <attached>
433                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
434                        <attached>
435                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.7 />
436                        </attached>
437                    </Billboard>
438                </attached>
439            </StaticEntity>
440        </spawner-representation>
441    </PickupRepresentation>
442</Template>
443
444<Template name=mediuminvisiblepickup>
445  <InvisiblePickup
446    duration = 10.0
447    activaionType = "immediate"
448    durationType = "continuous"
449  />
450</Template>
451
452<Template name=hugeinvisiblepickupRepresentation>
453    <PickupRepresentation>
454        <spawner-representation>
455            <StaticEntity>
456                <attached>
457                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
458                        <attached>
459                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.9 />
460                        </attached>
461                    </Billboard>
462                </attached>
463            </StaticEntity>
464        </spawner-representation>
465    </PickupRepresentation>
466</Template>
467
468<Template name=hugeinvisiblepickup>
469  <InvisiblePickup
470    duration = 20.0
471    activaionType = "immediate"
472    durationType = "continuous"
473  />
474</Template>
475
476<Template name=smallshrinkpickupRepresentation>
477    <PickupRepresentation>
478        <spawner-representation>
479            <StaticEntity>
480                <attached>
481                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
482                        <attached>
483                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.4 />
484                        </attached>
485                    </Billboard>
486                </attached>
487            </StaticEntity>
488        </spawner-representation>
489    </PickupRepresentation>
490</Template>
491
492<Template name=smallshrinkpickup>
493  <InvisiblePickup
494    duration = 10.0
495    shrinkFactor = 2.5
496    activaionType = "immediate"
497    durationType = "continuous"
498  />
499</Template>
500
501<Template name=mediumshrinkpickupRepresentation>
502    <PickupRepresentation>
503        <spawner-representation>
504            <StaticEntity>
505                <attached>
506                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
507                        <attached>
508                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.7 />
509                        </attached>
510                    </Billboard>
511                </attached>
512            </StaticEntity>
513        </spawner-representation>
514    </PickupRepresentation>
515</Template>
516
517<Template name=mediumshrinkpickup>
518  <InvisiblePickup
519    duration = 30.0
520    shrinkFactor = 5.0
521    activaionType = "immediate"
522    durationType = "continuous"
523  />
524</Template>
525
526<Template name=hugeshrinkpickupRepresentation>
527    <PickupRepresentation>
528        <spawner-representation>
529            <StaticEntity>
530                <attached>
531                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
532                        <attached>
533                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=1.0 />
534                        </attached>
535                    </Billboard>
536                </attached>
537            </StaticEntity>
538        </spawner-representation>
539    </PickupRepresentation>
540</Template>
541
542<Template name=hugeshrinkpickup>
543  <InvisiblePickup
544    duration = 60.0
545    shrinkFactor = 10.0
546    activaionType = "immediate"
547    durationType = "continuous"
548  />
549</Template>
550
551<!-- Pickup Collection pickups -->
552
553<Template name=triplehealthspeedinvisibilitypickupRepresentation>
554    <PickupRepresentation>
555        <spawner-representation>
556            <StaticEntity>
557                <attached>
558                    <Billboard position="0,0,0" colour="0.95,0.85,0.27" material="Sphere2" scale=0.1>
559                        <attached>
560                            <Billboard position="0,20,0" colour="0.36,0.81,0.10" material="Cross" scale=0.25 />
561                            <Billboard position="-20,-10,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.25 />
562                            <Billboard position="20,-10,0" colour="0.06,0.14,0.63" material="Eye" scale=0.35 />
563                        </attached>
564                    </Billboard>
565                </attached>
566            </StaticEntity>
567        </spawner-representation>
568    </PickupRepresentation>
569</Template>
570
571<Template name=triplehealthspeedinvisibilitypickup>
572    <PickupCollection>
573        <pickupables>
574            <HealthPickup template=mediumhealthpickup />
575            <SpeedPickup template=mediumspeedpickup />
576            <InvisiblePickup template=mediuminvisiblepickup />
577        </pickupables>
578    </PickupCollection>
579</Template>
580
581<!-- Drone Pickup -->
582
583<Template name=droneTemplate>
584    <Drone name="Drone"  mass= "50" linearDamping = "0.7" angularDamping = "0.99999" maxDistanceToOwner_=150 minDistanceToOwner_=75 maxShootingRange_=1000 primaryThrust_=250 auxilaryThrust_=250 rotationThrust_=50>
585        <attached>
586            <Model scale="1" mesh="drone.mesh"/>
587        </attached>
588        <collisionShapes>
589            <BoxCollisionShape position="0,0,0"      halfExtents="1, 1, 1" />
590        </collisionShapes>
591        <weaponslots>
592            <WeaponSlot position="    0,   0,0" />
593        </weaponslots>
594        <weaponsets>
595            <WeaponSet firemode=0 />
596        </weaponsets>
597        <weapons>
598            <WeaponPack>
599                <links>
600                    <DefaultWeaponmodeLink firemode=0 weaponmode=0 />
601                </links>
602                <Weapon>
603                    <attached>
604                        <Model mesh="hs-w01.mesh" roll="195" position="0,1,0" scale=2 />
605                        <Model mesh="hs-w01s.mesh" roll="195" position="0.1,0.5,0" scale=2 />
606                    </attached>
607                    <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=1.5708 material="Flares/point_lensflare" muzzleoffset=" 0.7, 1.5,-4" />
608                    <HsW01 mode=0 munitionpershot=0 delay=0     damage=1.5708 material="Flares/point_lensflare" muzzleoffset="-0.9, 1.1,-4" />
609                </Weapon>
610            </WeaponPack>
611        </weapons>
612    </Drone>
613</Template>
614
615<Template name=dronepickupRepresentation>
616    <PickupRepresentation>
617        <spawner-representation>
618            <StaticEntity>
619                <attached>
620                    <Billboard position="0,0,0" colour="0.96,0.35,0.02" material="Sphere2" scale=0.1>
621                        <attached>
622                            <Model scale="5" mesh="drone.mesh"/>
623                        </attached>
624                    </Billboard>
625                </attached>
626            </StaticEntity>
627        </spawner-representation>
628    </PickupRepresentation>
629</Template>
630
631<Template name=dronepickup>
632    <DronePickup droneTemplate=droneTemplate />
633</Template>
634
Note: See TracBrowser for help on using the repository browser.