Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/turret/data/levels/templates/pickupRepresentationTemplates.oxt @ 10158

Last change on this file since 10158 was 9348, checked in by landauf, 12 years ago

merged branch presentation2012merge back to trunk

  • Property svn:eol-style set to native
File size: 21.5 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 baseclass=ShieldPickup>
20  <ShieldPickup
21    representation = "smallshieldpickup"
22    duration = 10
23    shieldabsorption = 0.7
24    shieldhealth = 300
25    activationType = "immediate"
26    durationType = "continuous"
27  />
28</Template>
29
30<Template name=mediumshieldpickupRepresentation>
31    <PickupRepresentation>
32        <spawner-representation>
33            <StaticEntity>
34                <attached>
35                    <Billboard position="0,0,0" colour="1,1,1" material="Sphere2" scale=0.1>
36                        <attached>
37                            <Billboard position="0,0,0" colour="1,1,1" material="Shield" scale=0.5 />
38                        </attached>
39                    </Billboard>
40                </attached>
41            </StaticEntity>
42        </spawner-representation>
43    </PickupRepresentation>
44</Template>
45
46<Template name=mediumshieldpickup baseclass=ShieldPickup>
47  <ShieldPickup
48    representation = "mediumshieldpickup"
49    duration = 30
50    shieldabsorption = 0.8
51    shieldhealth = 500
52    activationType = "immediate"
53    durationType = "continuous"
54  />
55</Template>
56
57
58<Template name=hugeshieldpickupRepresentation>
59    <PickupRepresentation>
60        <spawner-representation>
61            <StaticEntity>
62                <attached>
63                    <Billboard position="0,0,0" colour="1,1,1" material="Sphere2" scale=0.1>
64                        <attached>
65                            <Billboard position="0,0,0" colour="1,1,1" material="Shield" scale=0.7 />
66                        </attached>
67                    </Billboard>
68                </attached>
69            </StaticEntity>
70        </spawner-representation>
71    </PickupRepresentation>
72</Template>
73
74<Template name=hugeshieldpickup baseclass=ShieldPickup>
75  <ShieldPickup
76    representation = "hugeshieldpickup"
77    duration = 60
78    shieldabsorption = 0.95
79    shieldhealth = 700
80    activationType = "immediate"
81    durationType = "continuous"
82  />
83</Template>
84
85<!-- Health pickups: -->
86
87<Template name=smallhealthpickupRepresentation>
88    <PickupRepresentation>
89        <spawner-representation>
90            <StaticEntity>
91                <attached>
92                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
93                        <attached>
94                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.3 />
95                        </attached>
96                    </Billboard>
97                </attached>
98            </StaticEntity>
99        </spawner-representation>
100    </PickupRepresentation>
101</Template>
102
103<Template name=smallhealthpickup baseclass=HealthPickup>
104  <HealthPickup
105    representation = "smallhealthpickup"
106    health = 10
107    healthType = "limited"
108    activationType = "immediate"
109    durationType = "once"
110  />
111</Template>
112
113<Template name=mediumhealthpickupRepresentation>
114    <PickupRepresentation>
115        <spawner-representation>
116            <StaticEntity>
117                <attached>
118                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
119                        <attached>
120                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.5 />
121                        </attached>
122                    </Billboard>
123                </attached>
124            </StaticEntity>
125        </spawner-representation>
126    </PickupRepresentation>
127</Template>
128
129<Template name=mediumhealthpickup baseclass=HealthPickup>
130  <HealthPickup
131    representation = "mediumhealthpickup"
132    health = 50
133    healthType = "limited"
134    activationType = "immediate"
135    durationType = "once"
136  />
137</Template>
138
139<Template name=hugehealthpickupRepresentation>
140    <PickupRepresentation>
141        <spawner-representation>
142            <StaticEntity>
143                <attached>
144                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
145                        <attached>
146                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.7 />
147                        </attached>
148                    </Billboard>
149                </attached>
150            </StaticEntity>
151        </spawner-representation>
152    </PickupRepresentation>
153</Template>
154
155<Template name=hugehealthpickup baseclass=HealthPickup>
156  <HealthPickup
157    representation = "hugehealthpickup"
158    health = 100
159    healthType = "limited"
160    activationType = "immediate"
161    durationType = "once"
162  />
163</Template>
164
165<Template name=crazyhealthpickupRepresentation>
166    <PickupRepresentation>
167        <spawner-representation>
168            <StaticEntity>
169                <attached>
170                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
171                        <attached>
172                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=1.2 />
173                        </attached>
174                    </Billboard>
175                </attached>
176            </StaticEntity>
177        </spawner-representation>
178    </PickupRepresentation>
179</Template>
180
181<Template name=crazyhealthpickup baseclass=HealthPickup>
182  <HealthPickup
183    representation = "crazyhealthpickup"
184    health = 1000
185    healthType = "permanent"
186    activationType = "immediate"
187    durationType = "once"
188  />
189</Template>
190
191<!-- Meta pickups: -->
192
193<Template name=usepickupRepresentation>
194    <PickupRepresentation>
195        <spawner-representation>
196            <StaticEntity>
197                <attached>
198                    <Billboard position="0,0,0" colour="0.60,0.97,0.23" material="Sphere2" scale=0.1>
199                        <attached>
200                            <Billboard position="0,0,0" colour="0.40,0.81,0.10" material="Arrow" scale=0.65 />
201                        </attached>
202                    </Billboard>
203                </attached>
204            </StaticEntity>
205        </spawner-representation>
206    </PickupRepresentation>
207</Template>
208
209<Template name=droppickupRepresentation>
210    <PickupRepresentation>
211        <spawner-representation>
212            <StaticEntity>
213                <attached>
214                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1>
215                        <attached>
216                            <Billboard position="0,0,0" colour="0.95,0.20,0.10" material="Arrow" scale=0.65 />
217                        </attached>
218                    </Billboard>
219                </attached>
220            </StaticEntity>
221        </spawner-representation>
222    </PickupRepresentation>
223</Template>
224
225<!-- DamageBoost pickups -->
226
227<Template name=smalldamageboostpickupRepresentation>
228    <PickupRepresentation>
229        <spawner-representation>
230            <StaticEntity>
231                <attached>
232                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1 >
233                        <attached>
234                            <Billboard position="0,0,0" colour="0.30,0.30,0.30" material="damageSmall" scale=0.7 />
235                        </attached>
236                    </Billboard>
237                </attached>
238            </StaticEntity>
239        </spawner-representation>
240    </PickupRepresentation>
241</Template>
242
243<Template name=smalldamageboostpickup baseclass=DamageBoostPickup>
244  <DamageBoostPickup
245    representation = "smalldamageboostpickup"
246    duration = 10.0
247    damageMultiplier = 2.0
248    activationType = "immediate"
249    durationType = "continuous"
250  />
251</Template>
252
253<Template name=mediumdamageboostpickupRepresentation>
254    <PickupRepresentation>
255        <spawner-representation>
256            <StaticEntity>
257                <attached>
258                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1 >
259                        <attached>
260                            <Billboard position="0,0,0" colour="0.30,0.30,0.30" material="damageMedium" scale=0.7 />
261                        </attached>
262                    </Billboard>
263                </attached>
264            </StaticEntity>
265        </spawner-representation>
266    </PickupRepresentation>
267</Template>
268
269<Template name=mediumdamageboostpickup baseclass=DamageBoostPickup>
270  <DamageBoostPickup
271    representation = "mediumdamageboostpickup"
272    duration = 10.0
273    damageMultiplier = 5.0
274    activationType = "immediate"
275    durationType = "continuous"
276  />
277</Template>
278
279<Template name=largedamageboostpickupRepresentation>
280    <PickupRepresentation>
281        <spawner-representation>
282            <StaticEntity>
283                <attached>
284                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1 >
285                        <attached>
286                            <Billboard position="0,0,0" colour="0.30,0.30,0.30" material="damageLarge" scale=0.7 />
287                        </attached>
288                    </Billboard>
289                </attached>
290            </StaticEntity>
291        </spawner-representation>
292    </PickupRepresentation>
293</Template>
294
295<Template name=largedamageboostpickup baseclass=DamageBoostPickup>
296  <DamageBoostPickup
297    representation = "largedamageboostpickup"
298    duration = 10.0
299    damageMultiplier = 7.0
300    activationType = "immediate"
301    durationType = "continuous"
302  />
303</Template>
304
305
306<!-- Speed pickups -->
307
308<Template name=smallspeedpickupRepresentation>
309    <PickupRepresentation>
310        <spawner-representation>
311            <StaticEntity>
312                <attached>
313                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
314                        <attached>
315                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.3 />
316                        </attached>
317                    </Billboard>
318                </attached>
319            </StaticEntity>
320        </spawner-representation>
321    </PickupRepresentation>
322</Template>
323
324<Template name=smallspeedpickup baseclass=SpeedPickup>
325  <SpeedPickup
326    representation = "smallspeedpickup"
327    duration = 10.0
328    speedAdd = 0.0
329    SpeedMultiply = 10.0
330    activationType = "immediate"
331    durationType = "continuous"
332  />
333</Template>
334
335<Template name=mediumspeedpickupRepresentation>
336    <PickupRepresentation>
337        <spawner-representation>
338            <StaticEntity>
339                <attached>
340                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
341                        <attached>
342                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.5 />
343                        </attached>
344                    </Billboard>
345                </attached>
346            </StaticEntity>
347        </spawner-representation>
348    </PickupRepresentation>
349</Template>
350
351<Template name=mediumspeedpickup baseclass=SpeedPickup>
352  <SpeedPickup
353    representation = "mediumspeedpickup"
354    duration = 10.0
355    speedAdd = 0.0
356    SpeedMultiply = 25.0
357    activationType = "immediate"
358    durationType = "continuous"
359  />
360</Template>
361
362<Template name=hugespeedpickupRepresentation>
363    <PickupRepresentation>
364        <spawner-representation>
365            <StaticEntity>
366                <attached>
367                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
368                        <attached>
369                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.7 />
370                        </attached>
371                    </Billboard>
372                </attached>
373            </StaticEntity>
374        </spawner-representation>
375    </PickupRepresentation>
376</Template>
377
378<Template name=hugespeedpickup baseclass=SpeedPickup>
379  <SpeedPickup
380    representation = "hugespeedpickup"
381    duration = 10.0
382    speedAdd = 0.0
383    SpeedMultiply = 50.0
384    activationType = "immediate"
385    durationType = "continuous"
386  />
387</Template>
388
389<Template name=smalljumppickupRepresentation>
390    <PickupRepresentation>
391        <spawner-representation>
392            <StaticEntity>
393                <attached>
394                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
395                        <attached>
396                            <Billboard position="0,0,0" colour="1,0,0" material="3arrowsup" scale=0.3 />
397                        </attached>
398                    </Billboard>
399                </attached>
400            </StaticEntity>
401        </spawner-representation>
402    </PickupRepresentation>
403</Template>
404
405<Template name=smalljumppickup baseclass=SpeedPickup>
406  <SpeedPickup
407    representation = "smalljumppickup"
408    duration = 0.7
409    speedAdd = 5000.0
410    SpeedMultiply = 1.0
411    activationType = "immediate"
412    durationType = "continuous"
413  />
414</Template>
415
416<!-- Invisible pickups -->
417
418<Template name=smallinvisiblepickupRepresentation>
419    <PickupRepresentation>
420        <spawner-representation>
421            <StaticEntity>
422                <attached>
423                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
424                        <attached>
425                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.5 />
426                        </attached>
427                    </Billboard>
428                </attached>
429            </StaticEntity>
430        </spawner-representation>
431    </PickupRepresentation>
432</Template>
433
434<Template name=smallinvisiblepickup baseclass=InvisiblePickup>
435  <InvisiblePickup
436    representation = "smallinvisiblepickup"
437    duration = 5.0
438    activaionType = "immediate"
439    durationType = "continuous"
440  />
441</Template>
442
443<Template name=mediuminvisiblepickupRepresentation>
444    <PickupRepresentation>
445        <spawner-representation>
446            <StaticEntity>
447                <attached>
448                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
449                        <attached>
450                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.7 />
451                        </attached>
452                    </Billboard>
453                </attached>
454            </StaticEntity>
455        </spawner-representation>
456    </PickupRepresentation>
457</Template>
458
459<Template name=mediuminvisiblepickup baseclass=InvisiblePickup>
460  <InvisiblePickup
461    representation = "mediuminvisiblepickup"
462    duration = 10.0
463    activaionType = "immediate"
464    durationType = "continuous"
465  />
466</Template>
467
468<Template name=hugeinvisiblepickupRepresentation>
469    <PickupRepresentation>
470        <spawner-representation>
471            <StaticEntity>
472                <attached>
473                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
474                        <attached>
475                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.9 />
476                        </attached>
477                    </Billboard>
478                </attached>
479            </StaticEntity>
480        </spawner-representation>
481    </PickupRepresentation>
482</Template>
483
484<Template name=hugeinvisiblepickup baseclass=InvisiblePickup>
485  <InvisiblePickup
486    representation = "hugeinvisiblepickup"
487    duration = 20.0
488    activaionType = "immediate"
489    durationType = "continuous"
490  />
491</Template>
492
493<Template name=smallshrinkpickupRepresentation>
494    <PickupRepresentation>
495        <spawner-representation>
496            <StaticEntity>
497                <attached>
498                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
499                        <attached>
500                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.4 />
501                        </attached>
502                    </Billboard>
503                </attached>
504            </StaticEntity>
505        </spawner-representation>
506    </PickupRepresentation>
507</Template>
508
509<Template name=smallshrinkpickup baseclass=ShrinkPickup>
510  <ShrinkPickup
511    representation = "smallshrinkpickup"
512    duration = 10.0
513    shrinkFactor = 2.5
514    activaionType = "immediate"
515    durationType = "continuous"
516  />
517</Template>
518
519<Template name=mediumshrinkpickupRepresentation>
520    <PickupRepresentation>
521        <spawner-representation>
522            <StaticEntity>
523                <attached>
524                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
525                        <attached>
526                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.7 />
527                        </attached>
528                    </Billboard>
529                </attached>
530            </StaticEntity>
531        </spawner-representation>
532    </PickupRepresentation>
533</Template>
534
535<Template name=mediumshrinkpickup baseclass=ShrinkPickup>
536  <ShrinkPickup
537    representation = "mediumshrinkpickup"
538    duration = 30.0
539    shrinkFactor = 5.0
540    activaionType = "immediate"
541    durationType = "continuous"
542  />
543</Template>
544
545<Template name=hugeshrinkpickupRepresentation>
546    <PickupRepresentation>
547        <spawner-representation>
548            <StaticEntity>
549                <attached>
550                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
551                        <attached>
552                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=1.0 />
553                        </attached>
554                    </Billboard>
555                </attached>
556            </StaticEntity>
557        </spawner-representation>
558    </PickupRepresentation>
559</Template>
560
561<Template name=hugeshrinkpickup baseclass=ShrinkPickup>
562  <ShrinkPickup
563    representation = "hugeshrinkpickup"
564    duration = 60.0
565    shrinkFactor = 10.0
566    activaionType = "immediate"
567    durationType = "continuous"
568  />
569</Template>
570
571<!-- Pickup Collection pickups -->
572
573<Template name=triplehealthspeedinvisibilitypickupRepresentation>
574    <PickupRepresentation>
575        <spawner-representation>
576            <StaticEntity>
577                <attached>
578                    <Billboard position="0,0,0" colour="0.95,0.85,0.27" material="Sphere2" scale=0.1>
579                        <attached>
580                            <Billboard position="0,20,0" colour="0.36,0.81,0.10" material="Cross" scale=0.25 />
581                            <Billboard position="-20,-10,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.25 />
582                            <Billboard position="20,-10,0" colour="0.06,0.14,0.63" material="Eye" scale=0.35 />
583                        </attached>
584                    </Billboard>
585                </attached>
586            </StaticEntity>
587        </spawner-representation>
588    </PickupRepresentation>
589</Template>
590
591<Template name=triplehealthspeedinvisibilitypickup baseclass=PickupCollection>
592    <PickupCollection
593        representation = "triplehealthspeedinvisibilitypickup"
594    >
595        <pickupables>
596            <HealthPickup template=mediumhealthpickup />
597            <SpeedPickup template=mediumspeedpickup />
598            <InvisiblePickup template=mediuminvisiblepickup />
599        </pickupables>
600    </PickupCollection>
601</Template>
602
603<!-- Drone Pickup -->
604
605<Template name=droneTemplate>
606    <Drone name="Drone"  mass= "50" linearDamping = "0.7" angularDamping = "0.99999" maxDistanceToOwner_=150 minDistanceToOwner_=75 maxShootingRange_=1000 primaryThrust_=250 auxilaryThrust_=250 rotationThrust_=50>
607        <attached>
608            <Model scale="1" mesh="drone.mesh"/>
609        </attached>
610        <collisionShapes>
611            <BoxCollisionShape position="0,0,0"      halfExtents="1, 1, 1" />
612        </collisionShapes>
613        <weaponslots>
614            <WeaponSlot position="    0,   0,0" />
615        </weaponslots>
616        <weaponsets>
617            <WeaponSet firemode=0 />
618        </weaponsets>
619        <weapons>
620            <WeaponPack>
621                <links>
622                    <DefaultWeaponmodeLink firemode=0 weaponmode=0 />
623                </links>
624                <Weapon>
625                    <attached>
626                        <Model mesh="hs-w01.mesh" roll="195" position="0,1,0" scale=2 />
627                        <Model mesh="hs-w01s.mesh" roll="195" position="0.1,0.5,0" scale=2 />
628                    </attached>
629                    <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=1.5708 material="Flares/point_lensflare" muzzleoffset=" 0.7, 1.5,-4" />
630                    <HsW01 mode=0 munitionpershot=0 delay=0     damage=1.5708 material="Flares/point_lensflare" muzzleoffset="-0.9, 1.1,-4" />
631                </Weapon>
632            </WeaponPack>
633        </weapons>
634    </Drone>
635</Template>
636
637<Template name=dronepickupRepresentation>
638    <PickupRepresentation>
639        <spawner-representation>
640            <StaticEntity>
641                <attached>
642                    <Billboard position="0,0,0" colour="0.96,0.35,0.02" material="Sphere2" scale=0.1>
643                        <attached>
644                            <Model scale="5" mesh="drone.mesh"/>
645                        </attached>
646                    </Billboard>
647                </attached>
648            </StaticEntity>
649        </spawner-representation>
650    </PickupRepresentation>
651</Template>
652
653<Template name=dronepickup baseclass=DronePickup>
654    <DronePickup representation=dronepickup droneTemplate=droneTemplate />
655</Template>
656
Note: See TracBrowser for help on using the repository browser.