Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 7058 was 7046, checked in by scheusso, 14 years ago

using lod templates in this level
renamed the filename

  • Property svn:eol-style set to native
File size: 3.2 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,-50,-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="50,-50,-500" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
61      <pickup>
62        <SpeedPickup template=hugespeedpickup />
63      </pickup>
64    </PickupSpawner>
65
66    <PickupSpawner position="50,-75,-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="25,-75,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
75      <pickup>
76        <InvisiblePickup template=hugeinvisiblepickup />
77      </pickup>
78    </PickupSpawner>
79
80    <!-- Pickup Collection pickups -->
81
82    <PickupSpawner position="0,-75,-500" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
83      <pickup>
84        <PickupCollection template=triplehealthspeedinvisibilitypickup />
85      </pickup>
86    </PickupSpawner>
87
88    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
89    <PickupRepresentation
90      pickupName = "Medium Health Pack"
91      pickupDescription = "Once used adds a medium amout of health to the ship."
92      spawnerTemplate = "mediumhealthpickupRepresentation"
93      inventoryRepresentation = "MediumHealth"
94    >
95      <pickup>
96        <HealthPickup health=50 activationType="onUse" durationType="once" />
97      </pickup>
98    </PickupRepresentation>
99
100    <PickupSpawner position="25,-50,-500" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
101      <pickup>
102        <HealthPickup health=50 activationType=onUse durationType=once />
103      </pickup>
104    </PickupSpawner>
105
106  </Scene>
107</Level>
Note: See TracBrowser for help on using the repository browser.