Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pickup4/data/levels/pickup.oxw @ 6714

Last change on this file since 6714 was 6701, checked in by dafrick, 15 years ago

Added a new health pickup.

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=onUse 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,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
74        <pickup>
75              <HealthPickup
76    health = 100
77    healthType = "limited"
78    activationType = "onUse"
79    durationType = "once"
80  />
81        </pickup>
82    </PickupSpawner>
83
84    <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" />
85    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
86  </Scene>
87</Level>
Note: See TracBrowser for help on using the repository browser.