Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/chat2/data/levels/pickup.oxw @ 7002

Last change on this file since 7002 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
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    <!-- Health pickups -->
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>
53   
54    <!-- Speed pickups -->
55   
56    <PickupSpawner position="-25,25,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
57        <pickup>
58            <SpeedPickup template=smallspeedpickup />
59        </pickup>
60    </PickupSpawner>
61
62    <PickupSpawner position="0,25,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
63        <pickup>
64            <SpeedPickup template=mediumspeedpickup />
65        </pickup>
66    </PickupSpawner>
67
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   
116    <!--PickupSpawner position="0,-25,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
117        <pickup>
118            <PickupCollection template=triplehealthspeedinvisibilitypickup />
119        </pickup>
120    </PickupSpawner-->
121   
122  </Scene>
123</Level>
Note: See TracBrowser for help on using the repository browser.