Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ppspickups3/data/levels/templates/pickup_representation_templates.oxt @ 6985

Last change on this file since 6985 was 6980, checked in by ebeier, 15 years ago

created more pickup representations, prepared pickup-level for presentation, removed debug code etc.

File size: 13.2 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 = "once"
26  />
27</Template>
28
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>
47  <ShieldPickup
48    duration = 30
49    shieldabsorption = 0.8
50    shieldhealth = 500
51    activationType = "immediate"
52    durationType = "once"
53  />
54</Template>
55
56
57<Template name=hugeshieldpickupRepresentation>
58    <PickupRepresentation>
59        <spawner-representation>
60            <StaticEntity>
61                <attached>
62                    <Billboard position="0,0,0" colour="1,1,1" material="Sphere2" scale=0.1>
63                        <attached>
64                            <Billboard position="0,0,0" colour="1,1,1" material="Shield" scale=0.7 />
65                        </attached>
66                    </Billboard>
67                </attached>
68            </StaticEntity>
69        </spawner-representation>
70    </PickupRepresentation>
71</Template>
72
73<Template name=hugeshieldpickup>
74  <ShieldPickup
75    duration = 60
76    shieldabsorption = 0.95
77    shieldhealth = 700
78    activationType = "immediate"
79    durationType = "once"
80  />
81</Template>
82
83<!-- Health pickups: -->
84
85<Template name=smallhealthpickupRepresentation>
86    <PickupRepresentation>
87        <spawner-representation>
88            <StaticEntity>
89                <attached>
90                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
91                        <attached>
92                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.3 />
93                        </attached>
94                    </Billboard>
95                </attached>
96            </StaticEntity>
97        </spawner-representation>
98    </PickupRepresentation>
99</Template>
100
101<Template name=smallhealthpickup>
102  <HealthPickup
103    health = 10
104    healthType = "limited"
105    activationType = "immediate"
106    durationType = "once"
107  />
108</Template>
109
110<Template name=mediumhealthpickupRepresentation>
111    <PickupRepresentation>
112        <spawner-representation>
113            <StaticEntity>
114                <attached>
115                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
116                        <attached>
117                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.5 />
118                        </attached>
119                    </Billboard>
120                </attached>
121            </StaticEntity>
122        </spawner-representation>
123    </PickupRepresentation>
124</Template>
125
126<Template name=mediumhealthpickup>
127  <HealthPickup
128    health = 50
129    healthType = "limited"
130    activationType = "immediate"
131    durationType = "once"
132  />
133</Template>
134
135<Template name=hugehealthpickupRepresentation>
136    <PickupRepresentation>
137        <spawner-representation>
138            <StaticEntity>
139                <attached>
140                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
141                        <attached>
142                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.7 />
143                        </attached>
144                    </Billboard>
145                </attached>
146            </StaticEntity>
147        </spawner-representation>
148    </PickupRepresentation>
149</Template>
150
151<Template name=hugehealthpickup>
152  <HealthPickup
153    health = 100
154    healthType = "limited"
155    activationType = "immediate"
156    durationType = "once"
157  />
158</Template>
159
160<Template name=crazyhealthpickupRepresentation>
161    <PickupRepresentation>
162        <spawner-representation>
163            <StaticEntity>
164                <attached>
165                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
166                        <attached>
167                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=1.2 />
168                        </attached>
169                    </Billboard>
170                </attached>
171            </StaticEntity>
172        </spawner-representation>
173    </PickupRepresentation>
174</Template>
175
176<Template name=crazyhealthpickup>
177  <HealthPickup
178    health = 1000
179    healthType = "permanent"
180    activationType = "immediate"
181    durationType = "once"
182  />
183</Template>
184
185<!-- Meta pickups: -->
186
187<Template name=usepickupRepresentation>
188    <PickupRepresentation>
189        <spawner-representation>
190            <StaticEntity>
191                <attached>
192                    <Billboard position="0,0,0" colour="0.60,0.97,0.23" material="Sphere2" scale=0.1>
193                        <attached>
194                            <Billboard position="0,0,0" colour="0.40,0.81,0.10" material="Arrow" scale=0.65 />
195                        </attached>
196                    </Billboard>
197                </attached>
198            </StaticEntity>
199        </spawner-representation>
200    </PickupRepresentation>
201</Template>
202
203<Template name=droppickupRepresentation>
204    <PickupRepresentation>
205        <spawner-representation>
206            <StaticEntity>
207                <attached>
208                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1>
209                        <attached>
210                            <Billboard position="0,0,0" colour="0.95,0.20,0.10" material="Arrow" scale=0.65 />
211                        </attached>
212                    </Billboard>
213                </attached>
214            </StaticEntity>
215        </spawner-representation>
216    </PickupRepresentation>
217</Template>
218
219<!-- Speed pickups -->
220
221<Template name=smallspeedpickupRepresentation>
222    <PickupRepresentation>
223        <spawner-representation>
224            <StaticEntity>
225                <attached>
226                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
227                        <attached>
228                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.3 />
229                        </attached>
230                    </Billboard>
231                </attached>
232            </StaticEntity>
233        </spawner-representation>
234    </PickupRepresentation>
235</Template>
236
237<Template name=smallspeedpickup>
238  <SpeedPickup
239    duration = 10.0
240    speedAdd = 0.0
241    SpeedMultiply = 10.0
242    activationType = "immediate"
243    durationType = "once"
244  />
245</Template>
246
247<Template name=mediumspeedpickupRepresentation>
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.5 />
255                        </attached>
256                    </Billboard>
257                </attached>
258            </StaticEntity>
259        </spawner-representation>
260    </PickupRepresentation>
261</Template>
262
263<Template name=mediumspeedpickup>
264  <SpeedPickup
265    duration = 10.0
266    speedAdd = 0.0
267    SpeedMultiply = 25.0
268    activationType = "immediate"
269    durationType = "once"
270  />
271</Template>
272
273<Template name=hugespeedpickupRepresentation>
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.7 />
281                        </attached>
282                    </Billboard>
283                </attached>
284            </StaticEntity>
285        </spawner-representation>
286    </PickupRepresentation>
287</Template>
288
289<Template name=hugespeedpickup>
290  <SpeedPickup
291    duration = 10.0
292    speedAdd = 0.0
293    SpeedMultiply = 50.0
294    activationType = "immediate"
295    durationType = "once"
296  />
297</Template>
298
299<Template name=smalljumppickupRepresentation>
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="1,0,0" material="3arrowsup" scale=0.3 />
307                        </attached>
308                    </Billboard>
309                </attached>
310            </StaticEntity>
311        </spawner-representation>
312    </PickupRepresentation>
313</Template>
314
315<Template name=smalljumppickup>
316  <SpeedPickup
317    duration = 0.7
318    speedAdd = 5000.0
319    SpeedMultiply = 1.0
320    activationType = "immediate"
321    durationType = "once"
322  />
323</Template>
324
325<!-- Invisible pickups -->
326
327<Template name=smallinvisiblepickupRepresentation>
328    <PickupRepresentation>
329        <spawner-representation>
330            <StaticEntity>
331                <attached>
332                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
333                        <attached>
334                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.5 />
335                        </attached>
336                    </Billboard>
337                </attached>
338            </StaticEntity>
339        </spawner-representation>
340    </PickupRepresentation>
341</Template>
342
343<Template name=smallinvisiblepickup>
344  <InvisiblePickup
345    duration = 5.0
346    activaionType = "immediate"
347    durationType = "once"
348  />
349</Template>
350
351<Template name=mediuminvisiblepickupRepresentation>
352    <PickupRepresentation>
353        <spawner-representation>
354            <StaticEntity>
355                <attached>
356                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
357                        <attached>
358                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.7 />
359                        </attached>
360                    </Billboard>
361                </attached>
362            </StaticEntity>
363        </spawner-representation>
364    </PickupRepresentation>
365</Template>
366
367<Template name=mediuminvisiblepickup>
368  <InvisiblePickup
369    duration = 10.0
370    activaionType = "immediate"
371    durationType = "once"
372  />
373</Template>
374
375<Template name=hugeinvisiblepickupRepresentation>
376    <PickupRepresentation>
377        <spawner-representation>
378            <StaticEntity>
379                <attached>
380                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
381                        <attached>
382                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.9 />
383                        </attached>
384                    </Billboard>
385                </attached>
386            </StaticEntity>
387        </spawner-representation>
388    </PickupRepresentation>
389</Template>
390
391<Template name=hugeinvisiblepickup>
392  <InvisiblePickup
393    duration = 20.0
394    activaionType = "immediate"
395    durationType = "once"
396  />
397</Template>
398
399<!-- Pickup Collection pickups -->
400
401<Template name=triplehealthspeedinvisibilitypickupRepresentation>
402    <PickupRepresentation>
403        <spawner-representation>
404            <StaticEntity>
405                <attached>
406                    <Billboard position="0,0,0" colour="0.95,0.85,0.27" material="Sphere2" scale=0.1>
407                        <attached>
408                            <Billboard position="0,20,0" colour="0.36,0.81,0.10" material="Cross" scale=0.25 />
409                            <Billboard position="-20,-10,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.25 />
410                            <Billboard position="20,-10,0" colour="0.06,0.14,0.63" material="Eye" scale=0.35 />
411                        </attached>
412                    </Billboard>
413                </attached>
414            </StaticEntity>
415        </spawner-representation>
416    </PickupRepresentation>
417</Template>
418
419<Template name=triplehealthspeedinvisibilitypickup>
420    <PickupCollection>
421        <pickupables>
422            <HealthPickup template=mediumhealthpickup />
423            <SpeedPickup template=mediumspeedpickup />
424            <InvisiblePickup template=mediuminvisiblepickup />
425        </pickupables>
426    </PickupCollection>
427</Template>
428   
Note: See TracBrowser for help on using the repository browser.