Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ppspickups3/data/levels/pickup.oxw @ 6893

Last change on this file since 6893 was 6884, checked in by benedict, 15 years ago

did the shield pickup. upload for testing

File size: 4.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="-50,50,-100" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
32        <pickup>
33            <ShieldPickup template=supershieldpickup />
34        </pickup>
35    </PickupSpawner>
36   
37    <!-- Health pickups -->
38   
39    <PickupSpawner position="-25,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
40        <pickup>
41            <HealthPickup template=smallhealthpickup />
42        </pickup>
43    </PickupSpawner>
44   
45    <PickupSpawner position="0,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
46        <pickup>
47            <HealthPickup template=mediumhealthpickup />
48        </pickup>
49    </PickupSpawner>
50   
51    <PickupSpawner position="25,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
52        <pickup>
53            <HealthPickup template=hugehealthpickup />
54        </pickup>
55    </PickupSpawner>
56   
57    <PickupSpawner position="50,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
58        <pickup>
59            <HealthPickup template=crazyhealthpickup />
60        </pickup>
61    </PickupSpawner>
62   
63    <!-- Speed pickups -->
64   
65    <PickupSpawner position="-25,25,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
66        <pickup>
67            <SpeedPickup template=smallspeedpickup />
68        </pickup>
69    </PickupSpawner>
70
71    <PickupSpawner position="0,25,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
72        <pickup>
73            <SpeedPickup template=mediumspeedpickup />
74        </pickup>
75    </PickupSpawner>
76
77    <PickupSpawner position="25,25,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
78        <pickup>
79            <SpeedPickup template=hugespeedpickup />
80        </pickup>
81    </PickupSpawner>
82
83    <PickupSpawner position="50,25,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
84        <pickup>
85            <SpeedPickup template=smalljumppickup />
86        </pickup>
87    </PickupSpawner>
88   
89    <!-- Invisible pickups -->
90   
91    <PickupSpawner position="-25,50,-100" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
92        <pickup>
93            <InvisiblePickup template=smallinvisiblepickup />
94        </pickup>
95    </PickupSpawner>
96
97    <PickupSpawner position="0,50,-100" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
98        <pickup>
99            <InvisiblePickup template=mediuminvisiblepickup />
100        </pickup>
101    </PickupSpawner>
102
103    <PickupSpawner position="25,50,-100" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
104        <pickup>
105            <InvisiblePickup template=hugeinvisiblepickup />
106        </pickup>
107    </PickupSpawner>
108   
109    <!-- Meta pickups -->
110   
111    <PickupSpawner position="-25,75,-100" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
112        <pickup>
113            <MetaPickup metaType="use" />
114        </pickup>
115    </PickupSpawner>
116
117    <PickupSpawner position="0,75,-100" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
118        <pickup>
119            <MetaPickup metaType="drop" />
120        </pickup>
121    </PickupSpawner>
122   
123    <!-- Pickup Collection pickups -->
124   
125    <!--PickupSpawner position="0,-25,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
126        <pickup>
127            <PickupCollection template=triplehealthspeedinvisibilitypickup />
128        </pickup>
129    </PickupSpawner-->
130   
131  </Scene>
132</Level>
Note: See TracBrowser for help on using the repository browser.