Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation3/data/levels/pickups.oxw @ 7034

Last change on this file since 7034 was 7034, checked in by landauf, 14 years ago

merged ai branch to presentation3

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