Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation3/data/levels/PresentationFS10.oxw @ 7042

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

Updates in presentation level.

  • Property svn:eol-style set to native
File size: 3.1 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    <Billboard position="12.5, -30, -500" material="Banners/Pickups" scale="0.5"/>
29    <Billboard position="500, -30, -500" material="Banners/Drone" scale="0.5"/>
30
31    <PickupSpawner position="500,-50,-500" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
32      <pickup>
33        <DronePickup template=dronepickup />
34      </pickup>
35    </PickupSpawner>
36
37    <!-- Shield pickups -->
38
39    <PickupSpawner position="-25,-50,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
40      <pickup>
41        <ShieldPickup template=hugeshieldpickup />
42      </pickup>
43    </PickupSpawner>
44
45    <!-- Health pickups -->
46
47    <PickupSpawner position="0,-50,-500" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
48      <pickup>
49        <HealthPickup template=hugehealthpickup />
50      </pickup>
51    </PickupSpawner>
52
53    <!-- Speed pickups -->
54
55    <PickupSpawner position="50,-50,-500" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
56      <pickup>
57        <SpeedPickup template=hugespeedpickup />
58      </pickup>
59    </PickupSpawner>
60
61    <PickupSpawner position="50,-75,-500" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
62      <pickup>
63        <SpeedPickup template=smalljumppickup />
64      </pickup>
65    </PickupSpawner>
66
67    <!-- Invisible pickups -->
68
69    <PickupSpawner position="25,-75,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
70      <pickup>
71        <InvisiblePickup template=hugeinvisiblepickup />
72      </pickup>
73    </PickupSpawner>
74
75    <!-- Pickup Collection pickups -->
76
77    <PickupSpawner position="0,-75,-500" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
78      <pickup>
79        <PickupCollection template=triplehealthspeedinvisibilitypickup />
80      </pickup>
81    </PickupSpawner>
82
83    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
84    <PickupRepresentation
85      pickupName = "Medium Health Pack"
86      pickupDescription = "Once used adds a medium amout of health to the ship."
87      spawnerTemplate = "mediumhealthpickupRepresentation"
88      inventoryRepresentation = "MediumHealth"
89    >
90      <pickup>
91        <HealthPickup health=50 activationType="onUse" durationType="once" />
92      </pickup>
93    </PickupRepresentation>
94
95    <PickupSpawner position="25,-50,-500" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
96      <pickup>
97        <HealthPickup health=50 activationType=onUse durationType=once />
98      </pickup>
99    </PickupSpawner>
100
101  </Scene>
102</Level>
Note: See TracBrowser for help on using the repository browser.