Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/pickup.oxw @ 6786

Last change on this file since 6786 was 6731, checked in by dafrick, 15 years ago

PickupCollection is broken for now because to make it work drastic changes would have to be made. I wil fix it at a later date, though.

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