Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/menue/data/levels/pickups.oxw @ 8945

Last change on this file since 8945 was 8916, checked in by baermatt, 13 years ago

Associated each screenshot to the correct level

  • Property svn:eol-style set to native
File size: 6.9 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 name         = "Sample"
21 description  = "Just a few tests"
22>
23  <templates>
24    <Template link=lodtemplate_default />
25  </templates>
26  <?lua include("includes/notifications.oxi") ?>
27
28  <Scene
29    ambientlight = "0.8, 0.8, 0.8"
30    skybox       = "Orxonox/Starbox"
31  >
32
33    <?lua
34      include("includes/pickups.oxi")
35    ?>
36
37    <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" />
38    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
39
40    <!-- Shield pickups -->
41
42    <PickupSpawner position="-25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
43      <pickup>
44        <ShieldPickup template=smallshieldpickup />
45      </pickup>
46    </PickupSpawner>
47
48    <PickupSpawner position="0,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
49      <pickup>
50        <ShieldPickup template=mediumshieldpickup />
51      </pickup>
52    </PickupSpawner>
53
54    <PickupSpawner position="25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
55      <pickup>
56        <ShieldPickup template=hugeshieldpickup />
57      </pickup>
58    </PickupSpawner>
59
60    <!-- Health pickups -->
61
62    <PickupSpawner position="-25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
63      <pickup>
64        <HealthPickup template=smallhealthpickup />
65      </pickup>
66    </PickupSpawner>
67
68    <PickupSpawner position="0,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
69      <pickup>
70        <HealthPickup template=mediumhealthpickup />
71      </pickup>
72    </PickupSpawner>
73
74    <PickupSpawner position="25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
75      <pickup>
76        <HealthPickup template=hugehealthpickup />
77      </pickup>
78    </PickupSpawner>
79
80    <PickupSpawner position="50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
81      <pickup>
82        <HealthPickup template=crazyhealthpickup />
83      </pickup>
84    </PickupSpawner>
85
86    <!-- Speed pickups -->
87
88    <PickupSpawner position="-25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
89      <pickup>
90        <SpeedPickup template=smallspeedpickup />
91      </pickup>
92    </PickupSpawner>
93
94    <PickupSpawner position="0,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
95      <pickup>
96        <SpeedPickup template=mediumspeedpickup />
97      </pickup>
98    </PickupSpawner>
99
100    <PickupSpawner position="25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
101      <pickup>
102        <SpeedPickup template=hugespeedpickup />
103      </pickup>
104    </PickupSpawner>
105
106    <PickupSpawner position="50,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
107      <pickup>
108        <SpeedPickup template=smalljumppickup />
109      </pickup>
110    </PickupSpawner>
111
112    <!-- Invisible pickups -->
113
114    <PickupSpawner position="-25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
115      <pickup>
116        <InvisiblePickup template=smallinvisiblepickup />
117      </pickup>
118    </PickupSpawner>
119
120    <PickupSpawner position="0,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
121      <pickup>
122        <InvisiblePickup template=mediuminvisiblepickup />
123      </pickup>
124    </PickupSpawner>
125
126    <PickupSpawner position="25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
127      <pickup>
128        <InvisiblePickup template=hugeinvisiblepickup />
129      </pickup>
130    </PickupSpawner>
131
132    <!-- Meta pickups -->
133
134    <PickupSpawner position="-25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
135      <pickup>
136        <MetaPickup metaType="use" />
137      </pickup>
138    </PickupSpawner>
139
140    <PickupSpawner position="0,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
141      <pickup>
142        <MetaPickup metaType="drop" />
143      </pickup>
144    </PickupSpawner>
145
146    <PickupSpawner position="25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
147      <pickup>
148        <MetaPickup metaType="destroy" />
149      </pickup>
150    </PickupSpawner>
151
152    <PickupSpawner position="50,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
153      <pickup>
154        <MetaPickup metaType="destroyCarrier" />
155      </pickup>
156    </PickupSpawner>
157
158    <!-- Pickup Collection pickups -->
159
160    <PickupSpawner position="-50,25,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
161      <pickup>
162        <PickupCollection template=triplehealthspeedinvisibilitypickup />
163      </pickup>
164    </PickupSpawner>
165   
166    <!-- Drone pickup -->
167   
168    <PickupSpawner position="-50,50,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
169      <pickup>
170        <DronePickup template=dronepickup />
171      </pickup>
172    </PickupSpawner>
173   
174    <!-- Other pickups -->
175
176    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
177    <PickupRepresentation
178      pickupName = "Medium Health Pack"
179      pickupDescription = "Once used adds a medium amout of health to the ship."
180      spawnerTemplate = "mediumhealthpickupRepresentation"
181      inventoryRepresentation = "MediumHealth"
182    >
183      <pickup>
184        <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous />
185      </pickup>
186    </PickupRepresentation>
187
188    <PickupSpawner position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
189      <pickup>
190        <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous />
191      </pickup>
192    </PickupSpawner>
193
194    <PickupSpawner position="-25,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
195      <pickup>
196        <ShrinkPickup template ="smallshrinkpickup"/>
197      </pickup>
198    </PickupSpawner>
199
200    <PickupSpawner position="0,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
201      <pickup>
202        <ShrinkPickup template ="mediumshrinkpickup"/>
203      </pickup>
204    </PickupSpawner>
205
206    <PickupSpawner position="25,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
207      <pickup>
208        <ShrinkPickup template ="hugeshrinkpickup"/>
209      </pickup>
210    </PickupSpawner>
211
212    <!--StaticEntity position="0,-200,0" direction="0,-1,0" collisionType=static mass=500 friction=0.01 >
213      <attached>
214        <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
215      </attached>
216      <collisionShapes>
217        <BoxCollisionShape position="0,0,0" halfExtents="10,10,10" />
218      </collisionShapes>
219  </StaticEntity-->
220
221  </Scene>
222</Level>
Note: See TracBrowser for help on using the repository browser.