Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/pickups.oxw @ 7182

Last change on this file since 7182 was 7163, checked in by dafrick, 14 years ago

Merged presentation3 branch into trunk.

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