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 | <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" /> |
---|
26 | <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
27 | |
---|
28 | <Billboard position="12.5, -30, -500" material="Banners/Pickups" scale="0.5"/> |
---|
29 | <Billboard position="500, -30, -500" material="Banners/Drone" scale="0.5"/> |
---|
30 | |
---|
31 | <!-- Shield pickups --> |
---|
32 | |
---|
33 | <PickupSpawner position="-25,-50,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
34 | <pickup> |
---|
35 | <ShieldPickup template=hugeshieldpickup /> |
---|
36 | </pickup> |
---|
37 | </PickupSpawner> |
---|
38 | |
---|
39 | <!-- Health pickups --> |
---|
40 | |
---|
41 | <PickupSpawner position="0,-50,-500" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
42 | <pickup> |
---|
43 | <HealthPickup template=hugehealthpickup /> |
---|
44 | </pickup> |
---|
45 | </PickupSpawner> |
---|
46 | |
---|
47 | <PickupSpawner position="25,-50,-500" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
48 | <pickup> |
---|
49 | <HealthPickup template=crazyhealthpickup /> |
---|
50 | </pickup> |
---|
51 | </PickupSpawner> |
---|
52 | |
---|
53 | <!-- Speed pickups --> |
---|
54 | |
---|
55 | <PickupSpawner position="50,-50,-500" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
56 | <pickup> |
---|
57 | <SpeedPickup template=hugespeedpickup /> |
---|
58 | </pickup> |
---|
59 | </PickupSpawner> |
---|
60 | |
---|
61 | <PickupSpawner position="50,-75,-500" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
62 | <pickup> |
---|
63 | <SpeedPickup template=smalljumppickup /> |
---|
64 | </pickup> |
---|
65 | </PickupSpawner> |
---|
66 | |
---|
67 | <!-- Invisible pickups --> |
---|
68 | |
---|
69 | <PickupSpawner position="25,-75,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
70 | <pickup> |
---|
71 | <InvisiblePickup template=hugeinvisiblepickup /> |
---|
72 | </pickup> |
---|
73 | </PickupSpawner> |
---|
74 | |
---|
75 | <!-- Meta pickups --> |
---|
76 | |
---|
77 | <PickupSpawner position="0,-75,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
78 | <pickup> |
---|
79 | <MetaPickup metaType="use" /> |
---|
80 | </pickup> |
---|
81 | </PickupSpawner> |
---|
82 | |
---|
83 | <PickupSpawner position="-25,-75,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
84 | <pickup> |
---|
85 | <MetaPickup metaType="drop" /> |
---|
86 | </pickup> |
---|
87 | </PickupSpawner> |
---|
88 | |
---|
89 | <!-- Pickup Collection pickups --> |
---|
90 | |
---|
91 | <PickupSpawner position="0,-100,-500" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
92 | <pickup> |
---|
93 | <PickupCollection template=triplehealthspeedinvisibilitypickup /> |
---|
94 | </pickup> |
---|
95 | </PickupSpawner> |
---|
96 | |
---|
97 | <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi --> |
---|
98 | <PickupRepresentation |
---|
99 | pickupName = "Medium Health Pack" |
---|
100 | pickupDescription = "Once used adds a medium amout of health to the ship." |
---|
101 | spawnerTemplate = "mediumhealthpickupRepresentation" |
---|
102 | inventoryRepresentation = "MediumHealth" |
---|
103 | > |
---|
104 | <pickup> |
---|
105 | <HealthPickup health=50 activationType="onUse" durationType="once" /> |
---|
106 | </pickup> |
---|
107 | </PickupRepresentation> |
---|
108 | |
---|
109 | <PickupSpawner position="25,-100,-500" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> |
---|
110 | <pickup> |
---|
111 | <HealthPickup health=50 activationType=onUse durationType=once /> |
---|
112 | </pickup> |
---|
113 | </PickupSpawner> |
---|
114 | |
---|
115 | </Scene> |
---|
116 | </Level> |
---|