Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 6612 was 6524, checked in by dafrick, 15 years ago

Merged pickup branch into trunk. Yay. Persisting bugs will be fixed, very soon.

File size: 2.7 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    <PickupSpawner position="-100,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
26        <pickup>
27            <MetaPickup metaType="drop" />
28        </pickup>
29    </PickupSpawner>
30   
31    <PickupSpawner position="-75,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
32        <pickup>
33            <MetaPickup metaType="use" />
34        </pickup>
35    </PickupSpawner>
36
37    <PickupSpawner position="-50,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
38        <pickup>
39            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=immediate healthType=permanent />
40        </pickup>
41    </PickupSpawner>
42   
43    <PickupSpawner position="-25,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
44        <pickup>
45            <HealthPickup template=smallhealthpickup />
46        </pickup>
47    </PickupSpawner>
48   
49    <PickupSpawner position="0,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
50        <pickup>
51            <HealthPickup template=mediumhealthpickup />
52        </pickup>
53    </PickupSpawner>
54   
55    <PickupSpawner position="25,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
56        <pickup>
57            <HealthPickup template=hugehealthpickup />
58        </pickup>
59    </PickupSpawner>
60   
61    <PickupSpawner position="50,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
62        <pickup>
63            <HealthPickup template=crazyhealthpickup />
64        </pickup>
65    </PickupSpawner>
66   
67    <PickupSpawner position="75,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
68        <pickup>
69            <PickupCollection template=doublepickup />
70        </pickup>
71    </PickupSpawner>
72
73    <!--PickupSpawner position="100,100,100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
74        <pickup>
75            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=immediate healthType=limited />
76        </pickup>
77    </PickupSpawner-->
78
79    <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" />
80    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
81  </Scene>
82</Level>
Note: See TracBrowser for help on using the repository browser.