Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ai/data/levels/pickup.oxw @ 7048

Last change on this file since 7048 was 6918, checked in by gasserlu, 15 years ago

drone follows in realistic matter

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
26    <PickupSpawner position="-100,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
27        <pickup>
28            <DronePickup droneTemplate=droneTemplate />
29        </pickup>
30    </PickupSpawner>
31
32    <PickupSpawner position="-75,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
33        <pickup>
34            <MetaPickup metaType="use" />
35        </pickup>
36    </PickupSpawner>
37
38    <PickupSpawner position="-50,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
39        <pickup>
40            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=immediate healthType=permanent />
41        </pickup>
42    </PickupSpawner>
43   
44    <PickupSpawner position="-25,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
45        <pickup>
46            <HealthPickup template=smallhealthpickup />
47        </pickup>
48    </PickupSpawner>
49   
50    <PickupSpawner position="0,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
51        <pickup>
52            <HealthPickup template=mediumhealthpickup />
53        </pickup>
54    </PickupSpawner>
55   
56    <PickupSpawner position="25,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
57        <pickup>
58            <HealthPickup template=hugehealthpickup />
59        </pickup>
60    </PickupSpawner>
61   
62    <PickupSpawner position="50,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
63        <pickup>
64            <HealthPickup template=crazyhealthpickup />
65        </pickup>
66    </PickupSpawner>
67   
68    <PickupSpawner position="75,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
69        <pickup>
70            <PickupCollection template=doublepickup />
71        </pickup>
72    </PickupSpawner>
73
74    <!--PickupSpawner position="100,100,100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
75        <pickup>
76            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=immediate healthType=limited />
77        </pickup>
78    </PickupSpawner-->
79
80    <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" />
81    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
82  </Scene>
83</Level>
Note: See TracBrowser for help on using the repository browser.