Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Tested and cleaned all levels (except for the ones that someone is working on at the moment).
Two levels had old Pickups in them, they have been updated to work properly now.
All levels except one are working. The one that isn't is the presentationHS09b level, which crashes due to LOD.

File size: 5.0 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
29    <!-- Shield pickups -->
30
31    <PickupSpawner position="-25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
32      <pickup>
33        <ShieldPickup template=smallshieldpickup />
34      </pickup>
35    </PickupSpawner>
36
37    <PickupSpawner position="0,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
38      <pickup>
39        <ShieldPickup template=mediumshieldpickup />
40      </pickup>
41    </PickupSpawner>
42
43    <PickupSpawner position="25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
44      <pickup>
45        <ShieldPickup template=hugeshieldpickup />
46      </pickup>
47    </PickupSpawner>
48
49    <!-- Health pickups -->
50
51    <PickupSpawner position="-25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
52      <pickup>
53        <HealthPickup template=smallhealthpickup />
54      </pickup>
55    </PickupSpawner>
56
57    <PickupSpawner position="0,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
58      <pickup>
59        <HealthPickup template=mediumhealthpickup />
60      </pickup>
61    </PickupSpawner>
62
63    <PickupSpawner position="25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
64      <pickup>
65        <HealthPickup template=hugehealthpickup />
66      </pickup>
67    </PickupSpawner>
68
69    <PickupSpawner position="50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
70      <pickup>
71        <HealthPickup template=crazyhealthpickup />
72      </pickup>
73    </PickupSpawner>
74
75    <!-- Speed pickups -->
76
77    <PickupSpawner position="-25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
78      <pickup>
79        <SpeedPickup template=smallspeedpickup />
80      </pickup>
81    </PickupSpawner>
82
83    <PickupSpawner position="0,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
84      <pickup>
85        <SpeedPickup template=mediumspeedpickup />
86      </pickup>
87    </PickupSpawner>
88
89    <PickupSpawner position="25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
90      <pickup>
91        <SpeedPickup template=hugespeedpickup />
92      </pickup>
93    </PickupSpawner>
94
95    <PickupSpawner position="50,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
96      <pickup>
97        <SpeedPickup template=smalljumppickup />
98      </pickup>
99    </PickupSpawner>
100
101    <!-- Invisible pickups -->
102
103    <PickupSpawner position="-25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
104      <pickup>
105        <InvisiblePickup template=smallinvisiblepickup />
106      </pickup>
107    </PickupSpawner>
108
109    <PickupSpawner position="0,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
110      <pickup>
111        <InvisiblePickup template=mediuminvisiblepickup />
112      </pickup>
113    </PickupSpawner>
114
115    <PickupSpawner position="25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
116      <pickup>
117        <InvisiblePickup template=hugeinvisiblepickup />
118      </pickup>
119    </PickupSpawner>
120
121    <!-- Meta pickups -->
122
123    <PickupSpawner position="-25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
124      <pickup>
125        <MetaPickup metaType="use" />
126      </pickup>
127    </PickupSpawner>
128
129    <PickupSpawner position="0,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
130      <pickup>
131        <MetaPickup metaType="drop" />
132      </pickup>
133    </PickupSpawner>
134
135    <!-- Pickup Collection pickups -->
136
137    <PickupSpawner position="-50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
138      <pickup>
139        <PickupCollection template=triplehealthspeedinvisibilitypickup />
140      </pickup>
141    </PickupSpawner>
142
143        <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
144    <PickupRepresentation
145      pickupName = "Medium Health Pack"
146      pickupDescription = "Once used adds a medium amout of health to the ship."
147      spawnerTemplate = "mediumhealthpickupRepresentation"
148      inventoryRepresentation = "MediumHealth"
149    >
150      <pickup>
151        <HealthPickup health=50 activationType="onUse" durationType="once" />
152      </pickup>
153    </PickupRepresentation>
154
155    <PickupSpawner position="-50,25,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
156      <pickup>
157        <HealthPickup health=50 activationType=onUse durationType=continuous />
158      </pickup>
159    </PickupSpawner>
160
161  </Scene>
162</Level>
Note: See TracBrowser for help on using the repository browser.