Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/pickups.oxw @ 7700

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

Renaming levelfiles (and some other) according to our new naming conventions which is using camelCase, without '_' or spaces.

  • Property svn:eol-style set to native
File size: 5.9 KB
RevLine 
[7648]1<LevelInfo
2 name = "Pickups showcase"
3 description = "Level to test and showcase pickups."
4 tags = "test, showcase"
5/>
6
[6512]7<?lua
8  include("stats.oxo")
[7679]9  include("HUDTemplates3.oxo")
[6512]10?>
11
12<?lua
[7679]13  include("templates/spaceshipAssff.oxt")
14  include("templates/pickupRepresentationTemplates.oxt")
15  include("templates/lodInformation.oxt")
[6512]16?>
17
18<Level
19 name         = "Sample"
20 description  = "Just a few tests"
21>
[7036]22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
[7083]25
[6512]26  <Scene
27    ambientlight = "0.8, 0.8, 0.8"
28    skybox       = "Orxonox/Starbox"
29  >
30
[7007]31    <?lua
32      include("includes/pickups.oxi")
33    ?>
34
[6712]35    <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" />
36    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
[6512]37
[6998]38    <!-- Shield pickups -->
[7007]39
40    <PickupSpawner position="-25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
41      <pickup>
42        <ShieldPickup template=smallshieldpickup />
43      </pickup>
[6998]44    </PickupSpawner>
45
[7007]46    <PickupSpawner position="0,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
47      <pickup>
48        <ShieldPickup template=mediumshieldpickup />
49      </pickup>
[6998]50    </PickupSpawner>
51
[7007]52    <PickupSpawner position="25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
53      <pickup>
54        <ShieldPickup template=hugeshieldpickup />
55      </pickup>
[6998]56    </PickupSpawner>
[7007]57
[6712]58    <!-- Health pickups -->
[7007]59
60    <PickupSpawner position="-25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
61      <pickup>
62        <HealthPickup template=smallhealthpickup />
63      </pickup>
[6512]64    </PickupSpawner>
[7007]65
66    <PickupSpawner position="0,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
67      <pickup>
68        <HealthPickup template=mediumhealthpickup />
69      </pickup>
[6512]70    </PickupSpawner>
[7007]71
72    <PickupSpawner position="25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
73      <pickup>
74        <HealthPickup template=hugehealthpickup />
75      </pickup>
[6512]76    </PickupSpawner>
[7007]77
78    <PickupSpawner position="50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
79      <pickup>
80        <HealthPickup template=crazyhealthpickup />
81      </pickup>
[6512]82    </PickupSpawner>
[7007]83
[6712]84    <!-- Speed pickups -->
[7007]85
86    <PickupSpawner position="-25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
87      <pickup>
88        <SpeedPickup template=smallspeedpickup />
89      </pickup>
[6519]90    </PickupSpawner>
[6512]91
[7007]92    <PickupSpawner position="0,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
93      <pickup>
94        <SpeedPickup template=mediumspeedpickup />
95      </pickup>
[6711]96    </PickupSpawner>
[6512]97
[7007]98    <PickupSpawner position="25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
99      <pickup>
100        <SpeedPickup template=hugespeedpickup />
101      </pickup>
[6712]102    </PickupSpawner>
103
[7007]104    <PickupSpawner position="50,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
105      <pickup>
106        <SpeedPickup template=smalljumppickup />
107      </pickup>
[6712]108    </PickupSpawner>
[7007]109
[6712]110    <!-- Invisible pickups -->
[7007]111
112    <PickupSpawner position="-25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
113      <pickup>
114        <InvisiblePickup template=smallinvisiblepickup />
115      </pickup>
[6712]116    </PickupSpawner>
117
[7007]118    <PickupSpawner position="0,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
119      <pickup>
120        <InvisiblePickup template=mediuminvisiblepickup />
121      </pickup>
[6712]122    </PickupSpawner>
123
[7007]124    <PickupSpawner position="25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
125      <pickup>
126        <InvisiblePickup template=hugeinvisiblepickup />
127      </pickup>
[6712]128    </PickupSpawner>
[7007]129
[6712]130    <!-- Meta pickups -->
[7007]131
132    <PickupSpawner position="-25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
133      <pickup>
134        <MetaPickup metaType="use" />
135      </pickup>
[6712]136    </PickupSpawner>
137
[7007]138    <PickupSpawner position="0,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
139      <pickup>
140        <MetaPickup metaType="drop" />
141      </pickup>
[6712]142    </PickupSpawner>
[7007]143
[7162]144    <PickupSpawner position="25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
145      <pickup>
146        <MetaPickup metaType="destroy" />
147      </pickup>
148    </PickupSpawner>
149
150    <PickupSpawner position="50,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
151      <pickup>
152        <MetaPickup metaType="destroyCarrier" />
153      </pickup>
154    </PickupSpawner>
155
[6712]156    <!-- Pickup Collection pickups -->
[7007]157
[7008]158    <PickupSpawner position="-50,25,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
[7007]159      <pickup>
160        <PickupCollection template=triplehealthspeedinvisibilitypickup />
161      </pickup>
[6901]162    </PickupSpawner>
[7038]163   
164    <!-- Drone pickup -->
165   
166    <PickupSpawner position="-50,50,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
167      <pickup>
168        <DronePickup template=dronepickup />
169      </pickup>
170    </PickupSpawner>
171   
172    <!-- Other pickups -->
[7007]173
[7008]174    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
[7007]175    <PickupRepresentation
176      pickupName = "Medium Health Pack"
177      pickupDescription = "Once used adds a medium amout of health to the ship."
178      spawnerTemplate = "mediumhealthpickupRepresentation"
179      inventoryRepresentation = "MediumHealth"
180    >
181      <pickup>
[7162]182        <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous />
[7007]183      </pickup>
184    </PickupRepresentation>
185
[7008]186    <PickupSpawner position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
[7007]187      <pickup>
[7162]188        <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous />
[7007]189      </pickup>
190    </PickupSpawner>
191
[6512]192  </Scene>
193</Level>
Note: See TracBrowser for help on using the repository browser.