Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 9155 was 9155, checked in by lkevin, 12 years ago

Changed pickup icon and xml for possible varieties of the pickup in the future.

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