Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 6698 was 6675, checked in by dafrick, 15 years ago

Lua bugs fixed.
Renamed name and description in PickupRepresentation to pickupName and pickupDescription to avoid problems.
More work on PickupInventory.

File size: 2.9 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="-50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
44        <pickup>
45            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=onUse healthType=permanent />
46        </pickup>
47    </PickupSpawner>
48   
49    <PickupSpawner position="-25,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
50        <pickup>
51            <HealthPickup template=smallhealthpickup />
52        </pickup>
53    </PickupSpawner>
54   
55    <PickupSpawner position="0,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
56        <pickup>
57            <HealthPickup template=mediumhealthpickup />
58        </pickup>
59    </PickupSpawner>
60   
61    <PickupSpawner position="25,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
62        <pickup>
63            <HealthPickup template=hugehealthpickup />
64        </pickup>
65    </PickupSpawner>
66   
67    <PickupSpawner position="50,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
68        <pickup>
69            <HealthPickup template=crazyhealthpickup />
70        </pickup>
71    </PickupSpawner>
72   
73    <PickupSpawner position="75,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
74        <pickup>
75            <PickupCollection template=doublepickup />
76        </pickup>
77    </PickupSpawner>
78
79    <!--PickupSpawner position="100,100,100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
80        <pickup>
81            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=immediate healthType=limited />
82        </pickup>
83    </PickupSpawner-->
84
85    <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" />
86    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
87  </Scene>
88</Level>
Note: See TracBrowser for help on using the repository browser.