Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pickup/data/levels/pickups.oxw @ 8550

Last change on this file since 8550 was 8543, checked in by ssgier, 14 years ago

copypasted templates for medium and huge in pickupRepresentationTemplates.oxt

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