Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ppspickups4/data/levels/pickup.oxw @ 7215

Last change on this file since 7215 was 6998, checked in by dafrick, 15 years ago

Merged pickup branch into presentation3 branch.
Seems to be working just fine so not much changes at all. (Except for some representations that had the parameters 'name' instead of 'pickupName' and 'description' instead of 'pickupDescription').

File size: 4.4 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,-100" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
32        <pickup>
33            <ShieldPickup template=smallshieldpickup />
34        </pickup>
35    </PickupSpawner>
36
37    <PickupSpawner position="0,-25,-100" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
38        <pickup>
39            <ShieldPickup template=mediumshieldpickup />
40        </pickup>
41    </PickupSpawner>
42
43    <PickupSpawner position="25,-25,-100" 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,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
52        <pickup>
53            <HealthPickup template=smallhealthpickup />
54        </pickup>
55    </PickupSpawner>
56   
57    <PickupSpawner position="0,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
58        <pickup>
59            <HealthPickup template=mediumhealthpickup />
60        </pickup>
61    </PickupSpawner>
62   
63    <PickupSpawner position="25,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
64        <pickup>
65            <HealthPickup template=hugehealthpickup />
66        </pickup>
67    </PickupSpawner>
68   
69    <PickupSpawner position="50,0,-100" 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,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
78        <pickup>
79            <SpeedPickup template=smallspeedpickup />
80        </pickup>
81    </PickupSpawner>
82
83    <PickupSpawner position="0,25,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
84        <pickup>
85            <SpeedPickup template=mediumspeedpickup />
86        </pickup>
87    </PickupSpawner>
88
89    <PickupSpawner position="25,25,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
90        <pickup>
91            <SpeedPickup template=hugespeedpickup />
92        </pickup>
93    </PickupSpawner>
94
95    <PickupSpawner position="50,25,-100" 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,-100" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
104        <pickup>
105            <InvisiblePickup template=smallinvisiblepickup />
106        </pickup>
107    </PickupSpawner>
108
109    <PickupSpawner position="0,50,-100" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
110        <pickup>
111            <InvisiblePickup template=mediuminvisiblepickup />
112        </pickup>
113    </PickupSpawner>
114
115    <PickupSpawner position="25,50,-100" 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,-100" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
124        <pickup>
125            <MetaPickup metaType="use" />
126        </pickup>
127    </PickupSpawner>
128
129    <PickupSpawner position="0,75,-100" 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="0,100,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
138        <pickup>
139            <PickupCollection template=triplehealthspeedinvisibilitypickup />
140        </pickup>
141    </PickupSpawner>
142   
143  </Scene>
144</Level>
Note: See TracBrowser for help on using the repository browser.