Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/chat2/data/levels/templates/pickup_representation_templates.oxt @ 7178

Last change on this file since 7178 was 6712, checked in by dafrick, 15 years ago

Merged pickup_representation_templates into one.
Merged pickups.oxi into one.
Adjusted pickup.oxw to showcase all currently existing (and working) pickups.

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