Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pickup2012/data/levels/templates/pickupRepresentationTemplates.oxt @ 9118

Last change on this file since 9118 was 9118, checked in by lkevin, 13 years ago

First working version. Default damage increase is
currently set to 20. Now fixing things and documenting.

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