Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/masterserverfix/data/levels/templates/pickupRepresentationTemplates.oxt @ 8933

Last change on this file since 8933 was 8706, checked in by dafrick, 14 years ago

Merging presentation branch back into trunk.
There are many new features and also a lot of other changes and bugfixes, if you want to know, digg through the svn log.
Not everything is yet working as it should, but it should be fairly stable. If you habe any bug reports, just send me an email.

  • Property svn:eol-style set to native
File size: 17.6 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<Template name=smallshrinkpickupRepresentation>
399    <PickupRepresentation>
400        <spawner-representation>
401            <StaticEntity>
402                <attached>
403                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
404                        <attached>
405                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.4 />
406                        </attached>
407                    </Billboard>
408                </attached>
409            </StaticEntity>
410        </spawner-representation>
411    </PickupRepresentation>
412</Template>
413
414<Template name=smallshrinkpickup>
415  <InvisiblePickup
416    duration = 10.0
417    shrinkFactor = 2.5
418    activaionType = "immediate"
419    durationType = "continuous"
420  />
421</Template>
422
423<Template name=mediumshrinkpickupRepresentation>
424    <PickupRepresentation>
425        <spawner-representation>
426            <StaticEntity>
427                <attached>
428                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
429                        <attached>
430                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.7 />
431                        </attached>
432                    </Billboard>
433                </attached>
434            </StaticEntity>
435        </spawner-representation>
436    </PickupRepresentation>
437</Template>
438
439<Template name=mediumshrinkpickup>
440  <InvisiblePickup
441    duration = 30.0
442    shrinkFactor = 5.0
443    activaionType = "immediate"
444    durationType = "continuous"
445  />
446</Template>
447
448<Template name=hugeshrinkpickupRepresentation>
449    <PickupRepresentation>
450        <spawner-representation>
451            <StaticEntity>
452                <attached>
453                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
454                        <attached>
455                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=1.0 />
456                        </attached>
457                    </Billboard>
458                </attached>
459            </StaticEntity>
460        </spawner-representation>
461    </PickupRepresentation>
462</Template>
463
464<Template name=hugeshrinkpickup>
465  <InvisiblePickup
466    duration = 60.0
467    shrinkFactor = 10.0
468    activaionType = "immediate"
469    durationType = "continuous"
470  />
471</Template>
472
473<!-- Pickup Collection pickups -->
474
475<Template name=triplehealthspeedinvisibilitypickupRepresentation>
476    <PickupRepresentation>
477        <spawner-representation>
478            <StaticEntity>
479                <attached>
480                    <Billboard position="0,0,0" colour="0.95,0.85,0.27" material="Sphere2" scale=0.1>
481                        <attached>
482                            <Billboard position="0,20,0" colour="0.36,0.81,0.10" material="Cross" scale=0.25 />
483                            <Billboard position="-20,-10,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.25 />
484                            <Billboard position="20,-10,0" colour="0.06,0.14,0.63" material="Eye" scale=0.35 />
485                        </attached>
486                    </Billboard>
487                </attached>
488            </StaticEntity>
489        </spawner-representation>
490    </PickupRepresentation>
491</Template>
492
493<Template name=triplehealthspeedinvisibilitypickup>
494    <PickupCollection>
495        <pickupables>
496            <HealthPickup template=mediumhealthpickup />
497            <SpeedPickup template=mediumspeedpickup />
498            <InvisiblePickup template=mediuminvisiblepickup />
499        </pickupables>
500    </PickupCollection>
501</Template>
502
503<!-- Drone Pickup -->
504
505<Template name=droneTemplate>
506    <Drone name="Drone"  mass= "50" linearDamping = "0.7" angularDamping = "0.99999" maxDistanceToOwner_=150 minDistanceToOwner_=75 maxShootingRange_=1000 primaryThrust_=250 auxilaryThrust_=250 rotationThrust_=50>
507        <attached>
508            <Model scale="1" mesh="drone.mesh"/>
509        </attached>
510        <collisionShapes>
511            <BoxCollisionShape position="0,0,0"      halfExtents="1, 1, 1" />
512        </collisionShapes>
513        <weaponslots>
514            <WeaponSlot position="    0,   0,0" />
515        </weaponslots>
516        <weaponsets>
517            <WeaponSet firemode=0 />
518        </weaponsets>
519        <weapons>
520            <WeaponPack>
521                <links>
522                    <DefaultWeaponmodeLink firemode=0 weaponmode=0 />
523                </links>
524                <Weapon>
525                    <attached>
526                        <Model mesh="hs-w01.mesh" roll="195" position="0,1,0" scale=2 />
527                        <Model mesh="hs-w01s.mesh" roll="195" position="0.1,0.5,0" scale=2 />
528                    </attached>
529                    <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=1.5708 material="Flares/point_lensflare" muzzleoffset=" 0.7, 1.5,-4" />
530                    <HsW01 mode=0 munitionpershot=0 delay=0     damage=1.5708 material="Flares/point_lensflare" muzzleoffset="-0.9, 1.1,-4" />
531                </Weapon>
532            </WeaponPack>
533        </weapons>
534    </Drone>
535</Template>
536
537<Template name=dronepickupRepresentation>
538    <PickupRepresentation>
539        <spawner-representation>
540            <StaticEntity>
541                <attached>
542                    <Billboard position="0,0,0" colour="0.96,0.35,0.02" material="Sphere2" scale=0.1>
543                        <attached>
544                            <Model scale="5" mesh="drone.mesh"/>
545                        </attached>
546                    </Billboard>
547                </attached>
548            </StaticEntity>
549        </spawner-representation>
550    </PickupRepresentation>
551</Template>
552
553<Template name=dronepickup>
554    <DronePickup droneTemplate=droneTemplate />
555</Template>
556
Note: See TracBrowser for help on using the repository browser.