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 | include("templates/lodinformation.oxt") |
---|
11 | ?> |
---|
12 | |
---|
13 | <Level |
---|
14 | name = "Sample" |
---|
15 | description = "Just a few tests" |
---|
16 | > |
---|
17 | <templates> |
---|
18 | <Template link=lodtemplate_default /> |
---|
19 | </templates> |
---|
20 | <Scene |
---|
21 | ambientlight = "0.8, 0.8, 0.8" |
---|
22 | skybox = "Orxonox/Starbox" |
---|
23 | > |
---|
24 | |
---|
25 | <?lua |
---|
26 | include("includes/pickups.oxi") |
---|
27 | ?> |
---|
28 | |
---|
29 | <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" /> |
---|
30 | <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
31 | |
---|
32 | <!-- Drone pickup --> |
---|
33 | |
---|
34 | <PickupSpawner position="-100,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
35 | <pickup> |
---|
36 | <DronePickup droneTemplate=droneTemplate /> |
---|
37 | </pickup> |
---|
38 | </PickupSpawner> |
---|
39 | |
---|
40 | <!-- Shield pickups --> |
---|
41 | |
---|
42 | <PickupSpawner position="-25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
43 | <pickup> |
---|
44 | <ShieldPickup template=smallshieldpickup /> |
---|
45 | </pickup> |
---|
46 | </PickupSpawner> |
---|
47 | |
---|
48 | <PickupSpawner position="0,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
49 | <pickup> |
---|
50 | <ShieldPickup template=mediumshieldpickup /> |
---|
51 | </pickup> |
---|
52 | </PickupSpawner> |
---|
53 | |
---|
54 | <PickupSpawner position="25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
55 | <pickup> |
---|
56 | <ShieldPickup template=hugeshieldpickup /> |
---|
57 | </pickup> |
---|
58 | </PickupSpawner> |
---|
59 | |
---|
60 | <!-- Health pickups --> |
---|
61 | |
---|
62 | <PickupSpawner position="-25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
63 | <pickup> |
---|
64 | <HealthPickup template=smallhealthpickup /> |
---|
65 | </pickup> |
---|
66 | </PickupSpawner> |
---|
67 | |
---|
68 | <PickupSpawner position="0,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
69 | <pickup> |
---|
70 | <HealthPickup template=mediumhealthpickup /> |
---|
71 | </pickup> |
---|
72 | </PickupSpawner> |
---|
73 | |
---|
74 | <PickupSpawner position="25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
75 | <pickup> |
---|
76 | <HealthPickup template=hugehealthpickup /> |
---|
77 | </pickup> |
---|
78 | </PickupSpawner> |
---|
79 | |
---|
80 | <PickupSpawner position="50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
81 | <pickup> |
---|
82 | <HealthPickup template=crazyhealthpickup /> |
---|
83 | </pickup> |
---|
84 | </PickupSpawner> |
---|
85 | |
---|
86 | <!-- Speed pickups --> |
---|
87 | |
---|
88 | <PickupSpawner position="-25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
89 | <pickup> |
---|
90 | <SpeedPickup template=smallspeedpickup /> |
---|
91 | </pickup> |
---|
92 | </PickupSpawner> |
---|
93 | |
---|
94 | <PickupSpawner position="0,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
95 | <pickup> |
---|
96 | <SpeedPickup template=mediumspeedpickup /> |
---|
97 | </pickup> |
---|
98 | </PickupSpawner> |
---|
99 | |
---|
100 | <PickupSpawner position="25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
101 | <pickup> |
---|
102 | <SpeedPickup template=hugespeedpickup /> |
---|
103 | </pickup> |
---|
104 | </PickupSpawner> |
---|
105 | |
---|
106 | <PickupSpawner position="50,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
107 | <pickup> |
---|
108 | <SpeedPickup template=smalljumppickup /> |
---|
109 | </pickup> |
---|
110 | </PickupSpawner> |
---|
111 | |
---|
112 | <!-- Invisible pickups --> |
---|
113 | |
---|
114 | <PickupSpawner position="-25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
115 | <pickup> |
---|
116 | <InvisiblePickup template=smallinvisiblepickup /> |
---|
117 | </pickup> |
---|
118 | </PickupSpawner> |
---|
119 | |
---|
120 | <PickupSpawner position="0,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
121 | <pickup> |
---|
122 | <InvisiblePickup template=mediuminvisiblepickup /> |
---|
123 | </pickup> |
---|
124 | </PickupSpawner> |
---|
125 | |
---|
126 | <PickupSpawner position="25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
127 | <pickup> |
---|
128 | <InvisiblePickup template=hugeinvisiblepickup /> |
---|
129 | </pickup> |
---|
130 | </PickupSpawner> |
---|
131 | |
---|
132 | <!-- Meta pickups --> |
---|
133 | |
---|
134 | <PickupSpawner position="-25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
135 | <pickup> |
---|
136 | <MetaPickup metaType="use" /> |
---|
137 | </pickup> |
---|
138 | </PickupSpawner> |
---|
139 | |
---|
140 | <PickupSpawner position="0,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
141 | <pickup> |
---|
142 | <MetaPickup metaType="drop" /> |
---|
143 | </pickup> |
---|
144 | </PickupSpawner> |
---|
145 | |
---|
146 | <!-- Pickup Collection pickups --> |
---|
147 | |
---|
148 | <PickupSpawner position="-50,25,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
149 | <pickup> |
---|
150 | <PickupCollection template=triplehealthspeedinvisibilitypickup /> |
---|
151 | </pickup> |
---|
152 | </PickupSpawner> |
---|
153 | |
---|
154 | <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi --> |
---|
155 | <PickupRepresentation |
---|
156 | pickupName = "Medium Health Pack" |
---|
157 | pickupDescription = "Once used adds a medium amout of health to the ship." |
---|
158 | spawnerTemplate = "mediumhealthpickupRepresentation" |
---|
159 | inventoryRepresentation = "MediumHealth" |
---|
160 | > |
---|
161 | <pickup> |
---|
162 | <HealthPickup health=50 activationType="onUse" durationType="once" /> |
---|
163 | </pickup> |
---|
164 | </PickupRepresentation> |
---|
165 | |
---|
166 | <PickupSpawner position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> |
---|
167 | <pickup> |
---|
168 | <HealthPickup health=50 activationType=onUse durationType=once /> |
---|
169 | </pickup> |
---|
170 | </PickupSpawner> |
---|
171 | |
---|
172 | </Scene> |
---|
173 | </Level> |
---|