Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2012/data/levels/pickups.oxw @ 9241

Last change on this file since 9241 was 9241, checked in by decapitb, 12 years ago

tower defense update

  • Property svn:eol-style set to native
  • Property svn:mergeinfo set to (toggle deleted branches)
    /code/branches/dockingsystem2/data/levels/pickups.oxwmergedeligible
    /code/branches/environment3/data/levels/pickups.oxwmergedeligible
    /code/branches/formation/data/levels/pickups.oxwmergedeligible
    /code/branches/gamecontent/data/levels/pickups.oxwmergedeligible
    /code/branches/hud/data/levels/pickups.oxwmergedeligible
    /code/branches/masterserverfix/data/levels/pickups.oxwmergedeligible
    /code/branches/menue/data/levels/pickups.oxwmergedeligible
    /code/branches/newlevel2012/data/levels/pickups.oxwmergedeligible
    /code/branches/output/data/levels/pickups.oxwmergedeligible
    /code/branches/pickup2012/data/levels/pickups.oxwmergedeligible
    /code/branches/presentation/data/levels/pickups.oxwmergedeligible
    /code/branches/presentation2011/data/levels/pickups.oxwmergedeligible
    /code/branches/shipSelection/data/levels/pickups.oxwmergedeligible
    /code/branches/sound2012/data/levels/pickups.oxwmergedeligible
    /code/branches/spacegate/data/levels/pickups.oxwmergedeligible
    /code/branches/spaceraceTwo/data/levels/pickups.oxwmergedeligible
    /code/branches/surfaceRace/data/levels/pickups.oxwmergedeligible
    /code/branches/usability/data/levels/pickups.oxwmergedeligible
    /code/trunk/data/levels/pickups.oxwmergedeligible
    /code/branches/ai/data/levels/pickups.oxw6592-7033
    /code/branches/ai2/data/levels/pickups.oxw8721-8880
    /code/branches/bigships/data/levels/pickups.oxw8137-8588
    /code/branches/buildsystem/data/levels/pickups.oxw1874-2276,​2278-2400
    /code/branches/buildsystem2/data/levels/pickups.oxw2506-2658
    /code/branches/buildsystem3/data/levels/pickups.oxw2662-2708
    /code/branches/ceguilua/data/levels/pickups.oxw1802-1808
    /code/branches/chat/data/levels/pickups.oxw6527-6797
    /code/branches/chat2/data/levels/pickups.oxw6836-6910
    /code/branches/console/data/levels/pickups.oxw5941-6104
    /code/branches/consolecommands2/data/levels/pickups.oxw6451-7178
    /code/branches/consolecommands3/data/levels/pickups.oxw7178-7283
    /code/branches/core3/data/levels/pickups.oxw1572-1739
    /code/branches/core4/data/levels/pickups.oxw3221-3224,​3227,​3234-3238,​3242,​3244-3250,​3252-3254,​3256,​3259-3261,​3264-3265,​3268-3275,​3277-3278,​3280,​3284-3285,​3287,​3289-3294,​3305,​3309-3310
    /code/branches/core5/data/levels/pickups.oxw5768-5928,​6009
    /code/branches/data_cleanup/data/levels/pickups.oxw7537-7686
    /code/branches/doc/data/levels/pickups.oxw7290-7400
    /code/branches/dockingsystem/data/levels/pickups.oxw8101-8192
    /code/branches/dynamicmatch/data/levels/pickups.oxw6584-7030
    /code/branches/fps/data/levels/pickups.oxw6591-7072
    /code/branches/gameimmersion/data/levels/pickups.oxw8102-8577
    /code/branches/gamestate/data/levels/pickups.oxw6430-6572,​6621-6661
    /code/branches/gamestates2/data/levels/pickups.oxw6594-6745
    /code/branches/gametypes/data/levels/pickups.oxw2826-3031
    /code/branches/gcc43/data/levels/pickups.oxw1580
    /code/branches/gui/data/levels/pickups.oxw1635-1723,​2795-2894
    /code/branches/hudelements/data/levels/pickups.oxw6584-6941
    /code/branches/hudimprovements/data/levels/pickups.oxw7920-8672
    /code/branches/ingamemenu/data/levels/pickups.oxw6000-6023
    /code/branches/input/data/levels/pickups.oxw1629-1636
    /code/branches/ipv6/data/levels/pickups.oxw7293-7458
    /code/branches/kicklib/data/levels/pickups.oxw7940-8096,​8098-8277
    /code/branches/kicklib2/data/levels/pickups.oxw8282-8350
    /code/branches/lastmanstanding/data/levels/pickups.oxw7479-7644
    /code/branches/lastmanstanding3/data/levels/pickups.oxw7903-8175
    /code/branches/libraries/data/levels/pickups.oxw5612-5692
    /code/branches/libraries2/data/levels/pickups.oxw5703-5737
    /code/branches/lod/data/levels/pickups.oxw6586-6911
    /code/branches/lodfinal/data/levels/pickups.oxw2372-2411
    /code/branches/mac_osx/data/levels/pickups.oxw7789-8128,​8135
    /code/branches/map/data/levels/pickups.oxw2801-3086,​3089
    /code/branches/masterserver/data/levels/pickups.oxw7502-7738
    /code/branches/menu/data/levels/pickups.oxw5941-6146,​6148,​7536-7687
    /code/branches/miniprojects/data/levels/pickups.oxw2754-2824
    /code/branches/netp2/data/levels/pickups.oxw2835-2988
    /code/branches/netp3/data/levels/pickups.oxw2988-3082
    /code/branches/netp6/data/levels/pickups.oxw3214-3302
    /code/branches/network/data/levels/pickups.oxw2356
    /code/branches/network2/data/levels/pickups.oxw6434-6465
    /code/branches/network3/data/levels/pickups.oxw7196-7344
    /code/branches/network4/data/levels/pickups.oxw7497-7755
    /code/branches/network5/data/levels/pickups.oxw7757-7781
    /code/branches/network6/data/levels/pickups.oxw7823-8315
    /code/branches/network64/data/levels/pickups.oxw2210-2355
    /code/branches/notifications/data/levels/pickups.oxw7314-7401
    /code/branches/objecthierarchy/data/levels/pickups.oxw1911-2085,​2100,​2110-2169
    /code/branches/objecthierarchy2/data/levels/pickups.oxw2171-2479
    /code/branches/ois_update/data/levels/pickups.oxw7506-7788
    /code/branches/overlay/data/levels/pickups.oxw2117-2385
    /code/branches/particles/data/levels/pickups.oxw2829-3085
    /code/branches/particles2/data/levels/pickups.oxw6050-6106,​6109
    /code/branches/pch/data/levels/pickups.oxw3113-3194
    /code/branches/physics/data/levels/pickups.oxw1912-2055,​2107-2439
    /code/branches/physics_merge/data/levels/pickups.oxw2436-2457
    /code/branches/pickup/data/levels/pickups.oxw8145-8555
    /code/branches/pickup2/data/levels/pickups.oxw5942-6405
    /code/branches/pickup3/data/levels/pickups.oxw6418-6523
    /code/branches/pickup4/data/levels/pickups.oxw6594-6710
    /code/branches/pickups/data/levels/pickups.oxw1926-2086,​2127,​2827-2915
    /code/branches/pickups2/data/levels/pickups.oxw2107-2497,​2915-3071
    /code/branches/png2/data/levels/pickups.oxw7262-7263
    /code/branches/portals/data/levels/pickups.oxw8087-8455
    /code/branches/portals2/data/levels/pickups.oxw8460-8602
    /code/branches/ppspickups1/data/levels/pickups.oxw6552-6708
    /code/branches/ppspickups2/data/levels/pickups.oxw6527-6532,​6554-6709
    /code/branches/ppspickups3/data/levels/pickups.oxw6757-6997
    /code/branches/ppspickups4/data/levels/pickups.oxw7003-7089
    /code/branches/presentation2/data/levels/pickups.oxw6106-6416,​7787-7800
    /code/branches/presentation3/data/levels/pickups.oxw6913-7162
    /code/branches/questsystem/data/levels/pickups.oxw1894-2088
    /code/branches/questsystem2/data/levels/pickups.oxw2107-2259
    /code/branches/questsystem5/data/levels/pickups.oxw2776-2905
    /code/branches/releasetodo/data/levels/pickups.oxw7614-7647
    /code/branches/resource/data/levels/pickups.oxw3327-3366
    /code/branches/resource2/data/levels/pickups.oxw3372-5694
    /code/branches/rocket/data/levels/pickups.oxw6523-6950
    /code/branches/rocket2/data/levels/pickups.oxw6953-6970
    /code/branches/script_trigger/data/levels/pickups.oxw1295-1953,​1955
    /code/branches/skybox2/data/levels/pickups.oxw6559-6989
    /code/branches/sound/data/levels/pickups.oxw2829-3010
    /code/branches/sound3/data/levels/pickups.oxw5941-6102
    /code/branches/spaceboundaries/data/levels/pickups.oxw8085-8457
    /code/branches/spaceboundaries2/data/levels/pickups.oxw8460-8613
    /code/branches/spacerace/data/levels/pickups.oxw8182-8630
    /code/branches/steering/data/levels/pickups.oxw5949-6091,​8140-8595
    /code/branches/tetris/data/levels/pickups.oxw8100-8563
    /code/branches/tutoriallevel/data/levels/pickups.oxw7827-8370
    /code/branches/tutoriallevel2/data/levels/pickups.oxw8370-8452
    /code/branches/tutoriallevel3/data/levels/pickups.oxw8453-8636
    /code/branches/unity_build/data/levels/pickups.oxw8440-8716
    /code/branches/weapon/data/levels/pickups.oxw1925-2094
    /code/branches/weapon2/data/levels/pickups.oxw2107-2488
    /code/branches/weapons/data/levels/pickups.oxw2897-3051,​8143-8591
    /code/branches/weaponsystem/data/levels/pickups.oxw2742-2890
File size: 9.6 KB
Line 
1<LevelInfo
2 name = "Pickups showcase"
3 description = "Level to test and showcase pickups."
4 tags = "test, showcase"
5 screenshot = "pickupsshowcase.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11?>
12
13<?lua
14  include("templates/spaceshipAssff.oxt")
15  include("templates/pickupRepresentationTemplates.oxt")
16  include("templates/lodInformation.oxt")
17?>
18
19<Level>
20  <templates>
21    <Template link=lodtemplate_default />
22  </templates>
23  <?lua include("includes/notifications.oxi") ?>
24
25  <Scene
26    ambientlight = "0.8, 0.8, 0.8"
27    skybox       = "Orxonox/Starbox"
28  >
29
30    <?lua
31      include("includes/pickups.oxi")
32    ?>
33
34    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
35    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
36
37    <!-- Shield pickups -->
38
39    <PickupSpawner position="-25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
40      <pickup>
41        <ShieldPickup template=smallshieldpickup />
42      </pickup>
43    </PickupSpawner>
44
45    <PickupSpawner position="0,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
46      <pickup>
47        <ShieldPickup template=mediumshieldpickup />
48      </pickup>
49    </PickupSpawner>
50
51    <PickupSpawner position="25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
52      <pickup>
53        <ShieldPickup template=hugeshieldpickup />
54      </pickup>
55    </PickupSpawner>
56
57    <!-- Health pickups -->
58
59    <PickupSpawner position="-25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
60      <pickup>
61        <HealthPickup template=smallhealthpickup />
62      </pickup>
63    </PickupSpawner>
64
65    <PickupSpawner position="0,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
66      <pickup>
67        <HealthPickup template=mediumhealthpickup />
68      </pickup>
69    </PickupSpawner>
70
71    <PickupSpawner position="25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
72      <pickup>
73        <HealthPickup template=hugehealthpickup />
74      </pickup>
75    </PickupSpawner>
76
77    <PickupSpawner position="50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
78      <pickup>
79        <HealthPickup template=crazyhealthpickup />
80      </pickup>
81    </PickupSpawner>
82
83    <!-- Speed pickups -->
84
85    <PickupSpawner position="-25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
86      <pickup>
87        <SpeedPickup template=smallspeedpickup />
88      </pickup>
89    </PickupSpawner>
90
91    <PickupSpawner position="0,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
92      <pickup>
93        <SpeedPickup template=mediumspeedpickup />
94      </pickup>
95    </PickupSpawner>
96
97    <PickupSpawner position="25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
98      <pickup>
99        <SpeedPickup template=hugespeedpickup />
100      </pickup>
101    </PickupSpawner>
102
103    <PickupSpawner position="50,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
104      <pickup>
105        <SpeedPickup template=smalljumppickup />
106      </pickup>
107    </PickupSpawner>
108
109    <!-- Invisible pickups -->
110
111    <PickupSpawner position="-25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
112      <pickup>
113        <InvisiblePickup template=smallinvisiblepickup />
114      </pickup>
115    </PickupSpawner>
116
117    <PickupSpawner position="0,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
118      <pickup>
119        <InvisiblePickup template=mediuminvisiblepickup />
120      </pickup>
121    </PickupSpawner>
122
123    <PickupSpawner position="25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
124      <pickup>
125        <InvisiblePickup template=hugeinvisiblepickup />
126      </pickup>
127    </PickupSpawner>
128
129    <!-- Meta pickups -->
130
131    <PickupSpawner position="-25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
132      <pickup>
133        <MetaPickup metaType="use" />
134      </pickup>
135    </PickupSpawner>
136
137    <PickupSpawner position="0,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
138      <pickup>
139        <MetaPickup metaType="drop" />
140      </pickup>
141    </PickupSpawner>
142
143    <PickupSpawner position="25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
144      <pickup>
145        <MetaPickup metaType="destroy" />
146      </pickup>
147    </PickupSpawner>
148
149    <PickupSpawner position="50,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
150      <pickup>
151        <MetaPickup metaType="destroyCarrier" />
152      </pickup>
153    </PickupSpawner>
154
155    <!-- Pickup Collection pickups -->
156
157    <PickupSpawner position="-50,25,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
158      <pickup>
159        <PickupCollection template=triplehealthspeedinvisibilitypickup />
160      </pickup>
161    </PickupSpawner>
162   
163    <!-- Drone pickup -->
164   
165    <PickupSpawner position="-50,50,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
166      <pickup>
167        <DronePickup template=dronepickup />
168      </pickup>
169    </PickupSpawner>
170   
171    <!-- DamageBoost pickup -->
172   
173    <PickupSpawner position="-50,75,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
174      <pickup>
175        <DamageBoostPickup template=smalldamageboostpickup />
176      </pickup>
177    </PickupSpawner>
178   
179      <PickupSpawner position="-50,100,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
180      <pickup>
181        <DamageBoostPickup template=mediumdamageboostpickup />
182      </pickup>
183    </PickupSpawner>
184   
185      <PickupSpawner position="-50,125,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
186      <pickup>
187        <DamageBoostPickup template=largedamageboostpickup />
188      </pickup>
189    </PickupSpawner>
190   
191   
192    <!-- Other pickups -->
193
194    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
195    <PickupRepresentation
196      pickupName = "Medium Health Pack"
197      pickupDescription = "Once used adds a medium amout of health to the ship."
198      spawnerTemplate = "mediumhealthpickupRepresentation"
199      inventoryRepresentation = "MediumHealth"
200    >
201      <pickup>
202        <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous />
203      </pickup>
204    </PickupRepresentation>
205
206    <PickupSpawner position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
207      <pickup>
208        <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous />
209      </pickup>
210    </PickupSpawner>
211
212    <PickupSpawner position="-25,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
213      <pickup>
214        <ShrinkPickup template ="smallshrinkpickup"/>
215      </pickup>
216    </PickupSpawner>
217
218    <PickupSpawner position="0,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
219      <pickup>
220        <ShrinkPickup template ="mediumshrinkpickup"/>
221      </pickup>
222    </PickupSpawner>
223
224    <PickupSpawner position="25,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
225      <pickup>
226        <ShrinkPickup template ="hugeshrinkpickup"/>
227      </pickup>
228    </PickupSpawner>
229   
230    <!-- @Objects: 4 boxes (uncontrolled pawns) -->
231    <Pawn team=1 health=30 position="0,0,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 4" >
232        <events>
233          <visibility>
234            <EventListener event="flying4" />
235          </visibility>
236        </events>
237        <attached>
238            <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
239        </attached>
240        <collisionShapes>
241            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
242        </collisionShapes>
243    </Pawn>
244
245    <Pawn team=1 health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 3">
246        <events>
247          <visibility>
248            <EventListener event="flying4" />
249          </visibility>
250        </events>
251        <attached>
252           <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
253        </attached>
254        <collisionShapes>
255            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
256        </collisionShapes>
257    </Pawn>
258
259    <Pawn health=30 position="0,200,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box team=1 RVName = "Box 2">
260        <events>
261          <visibility>
262            <EventListener event="flying4" />
263          </visibility>
264        </events>
265        <attached>
266           <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
267        </attached>
268        <collisionShapes>
269            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
270        </collisionShapes>
271    </Pawn>
272
273    <Pawn health=30 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box team=1 RVName = "Box 1">
274        <events>
275          <visibility>
276            <EventListener event="flying4" />
277          </visibility>
278        </events>
279        <attached>
280            <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
281        </attached>
282        <collisionShapes>
283           <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
284        </collisionShapes>
285    </Pawn>
286
287    <!--StaticEntity position="0,-200,0" direction="0,-1,0" collisionType=static mass=500 friction=0.01 >
288      <attached>
289        <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
290      </attached>
291      <collisionShapes>
292        <BoxCollisionShape position="0,0,0" halfExtents="10,10,10" />
293      </collisionShapes>
294  </StaticEntity-->
295
296  </Scene>
297</Level>
Note: See TracBrowser for help on using the repository browser.