Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 6951 was 6884, checked in by benedict, 15 years ago

did the shield pickup. upload for testing

File size: 11.7 KB
Line 
1<!-- Shield pickups: -->
2
3<Template name=supershieldpickupRepresentation>
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=10 />
11                        </attached>
12                    </Billboard>
13                </attached>
14            </StaticEntity>
15        </spawner-representation>
16    </PickupRepresentation>
17</Template>
18
19<Template name=supershieldpickup>
20  <ShieldPickup
21    absorption = 1
22    duration = 6000
23    shieldhealth = 1000000
24    activationType = "immediate"
25    durationType = "once"
26  />
27</Template>
28
29<!-- Health pickups: -->
30
31<Template name=smallhealthpickupRepresentation>
32    <PickupRepresentation>
33        <spawner-representation>
34            <StaticEntity>
35                <attached>
36                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
37                        <attached>
38                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.3 />
39                        </attached>
40                    </Billboard>
41                </attached>
42            </StaticEntity>
43        </spawner-representation>
44    </PickupRepresentation>
45</Template>
46
47<Template name=smallhealthpickup>
48  <HealthPickup
49    health = 10
50    healthType = "limited"
51    activationType = "immediate"
52    durationType = "once"
53  />
54</Template>
55
56<Template name=mediumhealthpickupRepresentation>
57    <PickupRepresentation>
58        <spawner-representation>
59            <StaticEntity>
60                <attached>
61                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
62                        <attached>
63                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.5 />
64                        </attached>
65                    </Billboard>
66                </attached>
67            </StaticEntity>
68        </spawner-representation>
69    </PickupRepresentation>
70</Template>
71
72<Template name=mediumhealthpickup>
73  <HealthPickup
74    health = 50
75    healthType = "limited"
76    activationType = "immediate"
77    durationType = "once"
78  />
79</Template>
80
81<Template name=hugehealthpickupRepresentation>
82    <PickupRepresentation>
83        <spawner-representation>
84            <StaticEntity>
85                <attached>
86                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
87                        <attached>
88                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.7 />
89                        </attached>
90                    </Billboard>
91                </attached>
92            </StaticEntity>
93        </spawner-representation>
94    </PickupRepresentation>
95</Template>
96
97<Template name=hugehealthpickup>
98  <HealthPickup
99    health = 100
100    healthType = "limited"
101    activationType = "immediate"
102    durationType = "once"
103  />
104</Template>
105
106<Template name=crazyhealthpickupRepresentation>
107    <PickupRepresentation>
108        <spawner-representation>
109            <StaticEntity>
110                <attached>
111                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
112                        <attached>
113                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=1.2 />
114                        </attached>
115                    </Billboard>
116                </attached>
117            </StaticEntity>
118        </spawner-representation>
119    </PickupRepresentation>
120</Template>
121
122<Template name=crazyhealthpickup>
123  <HealthPickup
124    health = 1000
125    healthType = "permanent"
126    activationType = "immediate"
127    durationType = "once"
128  />
129</Template>
130
131<!-- Meta pickups: -->
132
133<Template name=usepickupRepresentation>
134    <PickupRepresentation>
135        <spawner-representation>
136            <StaticEntity>
137                <attached>
138                    <Billboard position="0,0,0" colour="0.60,0.97,0.23" material="Sphere2" scale=0.1>
139                        <attached>
140                            <Billboard position="0,0,0" colour="0.40,0.81,0.10" material="Arrow" scale=0.65 />
141                        </attached>
142                    </Billboard>
143                </attached>
144            </StaticEntity>
145        </spawner-representation>
146    </PickupRepresentation>
147</Template>
148
149<Template name=droppickupRepresentation>
150    <PickupRepresentation>
151        <spawner-representation>
152            <StaticEntity>
153                <attached>
154                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1>
155                        <attached>
156                            <Billboard position="0,0,0" colour="0.95,0.20,0.10" material="Arrow" scale=0.65 />
157                        </attached>
158                    </Billboard>
159                </attached>
160            </StaticEntity>
161        </spawner-representation>
162    </PickupRepresentation>
163</Template>
164
165<!-- Speed pickups -->
166
167<Template name=smallspeedpickupRepresentation>
168    <PickupRepresentation>
169        <spawner-representation>
170            <StaticEntity>
171                <attached>
172                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
173                        <attached>
174                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.3 />
175                        </attached>
176                    </Billboard>
177                </attached>
178            </StaticEntity>
179        </spawner-representation>
180    </PickupRepresentation>
181</Template>
182
183<Template name=smallspeedpickup>
184  <SpeedPickup
185    duration = 10.0
186    speedAdd = 0.0
187    SpeedMultiply = 10.0
188    activationType = "immediate"
189    durationType = "once"
190  />
191</Template>
192
193<Template name=mediumspeedpickupRepresentation>
194    <PickupRepresentation>
195        <spawner-representation>
196            <StaticEntity>
197                <attached>
198                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
199                        <attached>
200                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.5 />
201                        </attached>
202                    </Billboard>
203                </attached>
204            </StaticEntity>
205        </spawner-representation>
206    </PickupRepresentation>
207</Template>
208
209<Template name=mediumspeedpickup>
210  <SpeedPickup
211    duration = 10.0
212    speedAdd = 0.0
213    SpeedMultiply = 25.0
214    activationType = "immediate"
215    durationType = "once"
216  />
217</Template>
218
219<Template name=hugespeedpickupRepresentation>
220    <PickupRepresentation>
221        <spawner-representation>
222            <StaticEntity>
223                <attached>
224                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
225                        <attached>
226                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.7 />
227                        </attached>
228                    </Billboard>
229                </attached>
230            </StaticEntity>
231        </spawner-representation>
232    </PickupRepresentation>
233</Template>
234
235<Template name=hugespeedpickup>
236  <SpeedPickup
237    duration = 10.0
238    speedAdd = 0.0
239    SpeedMultiply = 50.0
240    activationType = "immediate"
241    durationType = "once"
242  />
243</Template>
244
245<Template name=smalljumppickupRepresentation>
246    <PickupRepresentation>
247        <spawner-representation>
248            <StaticEntity>
249                <attached>
250                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
251                        <attached>
252                            <Billboard position="0,0,0" colour="1,0,0" material="3arrowsup" scale=0.3 />
253                        </attached>
254                    </Billboard>
255                </attached>
256            </StaticEntity>
257        </spawner-representation>
258    </PickupRepresentation>
259</Template>
260
261<Template name=smalljumppickup>
262  <SpeedPickup
263    duration = 0.7
264    speedAdd = 5000.0
265    SpeedMultiply = 1.0
266    activationType = "immediate"
267    durationType = "once"
268  />
269</Template>
270
271<!-- Invisible pickups -->
272
273<Template name=smallinvisiblepickupRepresentation>
274    <PickupRepresentation>
275        <spawner-representation>
276            <StaticEntity>
277                <attached>
278                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
279                        <attached>
280                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.5 />
281                        </attached>
282                    </Billboard>
283                </attached>
284            </StaticEntity>
285        </spawner-representation>
286    </PickupRepresentation>
287</Template>
288
289<Template name=smallinvisiblepickup>
290  <InvisiblePickup
291    duration = 5.0
292    activaionType = "immediate"
293    durationType = "once"
294  />
295</Template>
296
297<Template name=mediuminvisiblepickupRepresentation>
298    <PickupRepresentation>
299        <spawner-representation>
300            <StaticEntity>
301                <attached>
302                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
303                        <attached>
304                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.7 />
305                        </attached>
306                    </Billboard>
307                </attached>
308            </StaticEntity>
309        </spawner-representation>
310    </PickupRepresentation>
311</Template>
312
313<Template name=mediuminvisiblepickup>
314  <InvisiblePickup
315    duration = 10.0
316    activaionType = "immediate"
317    durationType = "once"
318  />
319</Template>
320
321<Template name=hugeinvisiblepickupRepresentation>
322    <PickupRepresentation>
323        <spawner-representation>
324            <StaticEntity>
325                <attached>
326                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
327                        <attached>
328                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.9 />
329                        </attached>
330                    </Billboard>
331                </attached>
332            </StaticEntity>
333        </spawner-representation>
334    </PickupRepresentation>
335</Template>
336
337<Template name=hugeinvisiblepickup>
338  <InvisiblePickup
339    duration = 20.0
340    activaionType = "immediate"
341    durationType = "once"
342  />
343</Template>
344
345<!-- Pickup Collection pickups -->
346
347<Template name=triplehealthspeedinvisibilitypickupRepresentation>
348    <PickupRepresentation>
349        <spawner-representation>
350            <StaticEntity>
351                <attached>
352                    <Billboard position="0,0,0" colour="0.95,0.85,0.27" material="Sphere2" scale=0.1>
353                        <attached>
354                            <Billboard position="0,20,0" colour="0.36,0.81,0.10" material="Cross" scale=0.25 />
355                            <Billboard position="-20,-10,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.25 />
356                            <Billboard position="20,-10,0" colour="0.06,0.14,0.63" material="Eye" scale=0.35 />
357                        </attached>
358                    </Billboard>
359                </attached>
360            </StaticEntity>
361        </spawner-representation>
362    </PickupRepresentation>
363</Template>
364
365<Template name=triplehealthspeedinvisibilitypickup>
366    <PickupCollection>
367        <pickupables>
368            <HealthPickup template=mediumhealthpickup />
369            <SpeedPickup template=mediumspeedpickup />
370            <InvisiblePickup template=mediuminvisiblepickup />
371        </pickupables>
372    </PickupCollection>
373</Template>
374   
Note: See TracBrowser for help on using the repository browser.