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