Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation3/data/levels/presentationFS10.oxw @ 7096

Last change on this file since 7096 was 7096, checked in by dafrick, 14 years ago

Some more attempts regarding pickups.
Also removed and reodered pickups in presentation level.

  • Property svn:eol-style set to native
File size: 3.0 KB
Line 
1<?lua
2  include("stats.oxo")
3  include("hudtemplates3.oxo")
4?>
5
6<?lua
7  include("templates/lodinformation.oxt")
8  include("templates/spaceship_assff.oxt")
9  include("templates/spaceship_pirate.oxt")
10  include("templates/pickup_representation_templates.oxt")
11?>
12
13<Level
14 name         = "Sample"
15 description  = "Just a few tests"
16>
17  <templates>
18    <Template link=lodtemplate_default />
19  </templates>
20
21  <Scene
22    ambientlight = "0.8, 0.8, 0.8"
23    skybox       = "Orxonox/Starbox"
24  >
25
26    <?lua
27      include("includes/pickups.oxi")
28    ?>
29
30    <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" />
31    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
32
33    <Billboard position="12.5, -30, -500" material="Banners/Pickups" scale="0.5"/>
34    <Billboard position="500, -30, -500" material="Banners/Drone" scale="0.5"/>
35
36    <PickupSpawner position="500,-50,-500" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
37      <pickup>
38        <DronePickup template=dronepickup />
39      </pickup>
40    </PickupSpawner>
41
42    <!-- Shield pickups -->
43
44    <PickupSpawner position="-25,-50,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
45      <pickup>
46        <ShieldPickup template=hugeshieldpickup />
47      </pickup>
48    </PickupSpawner>
49
50    <!-- Health pickups -->
51
52    <PickupSpawner position="0,-75,-500" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
53      <pickup>
54        <HealthPickup template=hugehealthpickup />
55      </pickup>
56    </PickupSpawner>
57
58    <!-- Speed pickups -->
59
60    <PickupSpawner position="25,-50,-500" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
61      <pickup>
62        <SpeedPickup template=hugespeedpickup />
63      </pickup>
64    </PickupSpawner>
65
66    <PickupSpawner position="50,-50,-500" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
67      <pickup>
68        <SpeedPickup template=smalljumppickup />
69      </pickup>
70    </PickupSpawner>
71
72    <!-- Invisible pickups -->
73
74    <PickupSpawner position="0,-50,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
75      <pickup>
76        <InvisiblePickup template=hugeinvisiblepickup />
77      </pickup>
78    </PickupSpawner>
79
80    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
81    <PickupRepresentation
82      pickupName = "Medium Health Pack"
83      pickupDescription = "Once used adds a medium amout of health to the ship."
84      spawnerTemplate = "mediumhealthpickupRepresentation"
85      inventoryRepresentation = "MediumHealth"
86    >
87      <pickup>
88        <HealthPickup health=50 activationType="onUse" durationType="once" />
89      </pickup>
90    </PickupRepresentation>
91
92    <PickupSpawner position="25,-75,-500" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
93      <pickup>
94        <HealthPickup health=50 activationType=onUse durationType=once />
95      </pickup>
96    </PickupSpawner>
97
98  </Scene>
99</Level>
Note: See TracBrowser for help on using the repository browser.