1 | <?lua |
---|
2 | include("overlay/hudtemplates3.oxo") |
---|
3 | include("overlay/stats.oxo") |
---|
4 | include("levels/templates/spaceship_assff.oxt") |
---|
5 | ?> |
---|
6 | |
---|
7 | <?lua |
---|
8 | dofile("../../media/levels/includes/CuboidSpaceStation.lua") |
---|
9 | ?> |
---|
10 | |
---|
11 | <NotificationQueue |
---|
12 | name = "notification" |
---|
13 | position = "1.0, 1.0" |
---|
14 | targets = "questsystem" |
---|
15 | /> |
---|
16 | |
---|
17 | <Level |
---|
18 | name = "The Tale of Princess Aeryn" |
---|
19 | description = "The Tale of Princess Aeryn" |
---|
20 | > |
---|
21 | <Scene |
---|
22 | ambientlight = "0.3, 0.3, 0.3" |
---|
23 | skybox = "Orxonox/skypanoramagen1" |
---|
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 | |
---|
27 | <Template name=turboitem baseclass=Turbo> |
---|
28 | <Turbo |
---|
29 | playerclass=SpaceShip |
---|
30 | duration=15 |
---|
31 | /> |
---|
32 | </Template> |
---|
33 | |
---|
34 | <ParticleSpawner position="200,0,-500" source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0> |
---|
35 | <events> |
---|
36 | <spawn> |
---|
37 | <PickupSpawner position="200,0,-500" distance=50 respawntimer=25 item=turboitem> |
---|
38 | <attached> |
---|
39 | <Model mesh="sphere.mesh" scale=3 /> |
---|
40 | <Billboard material="Examples/Flare" colour="0.5, 1.0, 0.3" scale=0.5 /> |
---|
41 | </attached> |
---|
42 | </PickupSpawner> |
---|
43 | </spawn> |
---|
44 | </events> |
---|
45 | </ParticleSpawner> |
---|
46 | |
---|
47 | <Template name=turboequipment baseclass=Turbo> |
---|
48 | <Turbo |
---|
49 | playerclass=SpaceShip |
---|
50 | duration=0 |
---|
51 | /> |
---|
52 | </Template> |
---|
53 | |
---|
54 | <ParticleSpawner position="400,0,-1000" source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0> |
---|
55 | <events> |
---|
56 | <spawn> |
---|
57 | <PickupSpawner position="400,0,-1000" distance=50 respawntimer=25 item=turboequipment> |
---|
58 | <attached> |
---|
59 | <Model mesh="sphere.mesh" scale=3 /> |
---|
60 | <Billboard material="Examples/Flare" colour="1.0, 0.5, 0.3" scale=0.5 /> |
---|
61 | </attached> |
---|
62 | </PickupSpawner> |
---|
63 | </spawn> |
---|
64 | </events> |
---|
65 | </ParticleSpawner> |
---|
66 | |
---|
67 | <!-- Quest: --> |
---|
68 | <GlobalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34"> |
---|
69 | <QuestDescription title="The Tale of Princess Aeryn" description="Princess Aeryn has been kidnapped by evil Mr. M and you were just a little too late to save her.\nYou have to find and save her from her captors." failMessage="You cannot fail, how did you?" completeMessage="You did it John. You're a hero. Princess Aeryn however will still not marry you." /> |
---|
70 | <subquests> |
---|
71 | <GlobalQuest id="43766602-7e2f-4d24-976a-3f9de1474d5b"> |
---|
72 | <QuestDescription title="Find Aeryn's S.H.O.E.S." description="Oh, the kidnappers must have been in a hurry because they overlooked princess Aeryns S.H.O.E.S. (Super Heavily Organized Escape Ship) hidden in the asteroid field over there.\nFind it and look there for clues to Princess Aeryns whereabouts." completeMessage="You did it, Looking through her stuff you find an odd looking device - Could this be the receiver of Princess Aeryns locator beacon? - But it must be broken, the screen remains blank." /> |
---|
73 | <complete-effects> |
---|
74 | <AddQuest questId="50845552-c8af-4091-947c-76bd850b224e" /> |
---|
75 | </complete-effects> |
---|
76 | </GlobalQuest> |
---|
77 | <GlobalQuest id="50845552-c8af-4091-947c-76bd850b224e"> |
---|
78 | <QuestDescription title="Repair the receiver." description="There is a space station called 'Serenity Station' near here. An engineer called Nathan Stark who shoud be able to help you lives there." completeMessage="'Yeah Nathan lives here, he'll shurely help you.'\nAnd he does, apparenty the device was just low on batteries so you're now able to locate your beloved Princess Aeryn." /> |
---|
79 | <hints> |
---|
80 | <QuestHint id="b9b10841-b045-4797-b1d3-cfce760e1de6"> |
---|
81 | <QuestDescription title="The Katratzi Station" description="'We ain't buying!'\n'What do you want?'\n'No there lives no Nathan here.'\n'Fuck off.''" /> |
---|
82 | </QuestHint> |
---|
83 | <QuestHint id="1ee785f8-b71d-4b51-b080-42cec5be8e3c"> |
---|
84 | <QuestDescription title="The Pegasus Station" description="'Hello friend.'\n'How can we help you?'\n'A Mr. Stark you say? Sorry no man with such a name lives here.'" /> |
---|
85 | </QuestHint> |
---|
86 | </hints> |
---|
87 | <complete-effects> |
---|
88 | <AddQuest questId="97628524-b243-492c-b7b6-498f325b21d4" /> |
---|
89 | </complete-effects> |
---|
90 | </GlobalQuest> |
---|
91 | <GlobalQuest id="97628524-b243-492c-b7b6-498f325b21d4"> |
---|
92 | <QuestDescription title="Follow the dots" description="Just follow the dots, they'll lead you right to her." completeMessage="You found Princess Aeryn. Her captors give up at the shere sight ou you." /> |
---|
93 | <complete-effects> |
---|
94 | <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> |
---|
95 | </complete-effects> |
---|
96 | </GlobalQuest> |
---|
97 | </subquests> |
---|
98 | </GlobalQuest> |
---|
99 | |
---|
100 | <!-- Create spaceship spawner: --> |
---|
101 | <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0> |
---|
102 | <events> |
---|
103 | <spawn> |
---|
104 | <EventTrigger delay=1> |
---|
105 | <events> |
---|
106 | <trigger> |
---|
107 | <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
108 | </trigger> |
---|
109 | </events> |
---|
110 | </EventTrigger> |
---|
111 | </spawn> |
---|
112 | </events> |
---|
113 | <attached> |
---|
114 | <QuestEffectBeacon position="0,0,0" times=1> |
---|
115 | <effects> |
---|
116 | <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> |
---|
117 | <AddQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" /> |
---|
118 | </effects> |
---|
119 | <events> |
---|
120 | <execute> |
---|
121 | <EventListener event=questbeacon1 /> |
---|
122 | </execute> |
---|
123 | </events> |
---|
124 | <attached> |
---|
125 | <DistanceTrigger name=questbeacon1 position="0,0,0" distance=10 target="ControllableEntity" /> |
---|
126 | </attached> |
---|
127 | </QuestEffectBeacon> |
---|
128 | </attached> |
---|
129 | </ParticleSpawner> |
---|
130 | |
---|
131 | <!-- Create world --> |
---|
132 | |
---|
133 | <!-- Kidnapper flying away --> |
---|
134 | <MovableEntity position="200,0,0" velocity="-140,0,-140" yaw=45> |
---|
135 | <attached> |
---|
136 | <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" /> |
---|
137 | <ParticleSpawner position="0,0,10" source="Orxonox/fire3" lifetime=2.0 loop=0 autostart=1 /> |
---|
138 | <QuestEffectBeacon position="0,0,0" times=1 active=false name=trail > |
---|
139 | <effects> |
---|
140 | <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> |
---|
141 | </effects> |
---|
142 | <events> |
---|
143 | <execute> |
---|
144 | <EventListener event=questbeacon7 /> |
---|
145 | </execute> |
---|
146 | </events> |
---|
147 | <attached> |
---|
148 | <DistanceTrigger name=questbeacon7 position="0,0,0" distance=10 target="ControllableEntity" /> |
---|
149 | </attached> |
---|
150 | </QuestEffectBeacon> |
---|
151 | </attached> |
---|
152 | </MovableEntity> |
---|
153 | |
---|
154 | <!-- Asteroid field --> |
---|
155 | <StaticEntity position="-500,0,-3000"> |
---|
156 | <attached> |
---|
157 | <?lua |
---|
158 | for i = 1, 200 |
---|
159 | do ?> |
---|
160 | <MovableEntity position="<?lua print(math.random() * 2000 - 1000)?>, <?lua print(math.random() * 2000 - 1000) ?>, <?lua print(math.random() * 2000 - 1000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.abs(math.random() * 30 -10)) ?>"> |
---|
161 | <attached> |
---|
162 | <Model scale="<?lua print(math.random() * 50) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
163 | </attached> |
---|
164 | </MovableEntity> |
---|
165 | <?lua |
---|
166 | end |
---|
167 | ?> |
---|
168 | <!-- S.H.O.E.S --> |
---|
169 | <StaticEntity position="-300,0,0"> |
---|
170 | <attached> |
---|
171 | <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="assff.mesh" /> |
---|
172 | <QuestEffectBeacon position="0,0,0" times=-1> |
---|
173 | <effects> |
---|
174 | <CompleteQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" /> |
---|
175 | </effects> |
---|
176 | <events> |
---|
177 | <execute> |
---|
178 | <EventListener event=questbeacon2 /> |
---|
179 | </execute> |
---|
180 | </events> |
---|
181 | <attached> |
---|
182 | <DistanceTrigger name=questbeacon2 position="0,0,0" distance=50 target="ControllableEntity" /> |
---|
183 | </attached> |
---|
184 | </QuestEffectBeacon> |
---|
185 | </attached> |
---|
186 | </StaticEntity> |
---|
187 | </attached> |
---|
188 | </StaticEntity> |
---|
189 | |
---|
190 | |
---|
191 | |
---|
192 | <!-- Spacestations --> |
---|
193 | |
---|
194 | <!-- Serenity Station --> |
---|
195 | <StaticEntity scale=1 position="0,0,5000" yaw=30> |
---|
196 | <attached> |
---|
197 | <?lua |
---|
198 | createSpaceStationPar(65461,2,1,2,1,2,1,100) |
---|
199 | ?> |
---|
200 | <QuestEffectBeacon position="0,450,0" times=1> |
---|
201 | <effects> |
---|
202 | <CompleteQuest questId="50845552-c8af-4091-947c-76bd850b224e" /> |
---|
203 | </effects> |
---|
204 | <events> |
---|
205 | <execute> |
---|
206 | <EventListener event=questbeacon3 /> |
---|
207 | </execute> |
---|
208 | </events> |
---|
209 | <attached> |
---|
210 | <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" /> |
---|
211 | <DistanceTrigger name=questbeacon3 position="0,0,0" distance=100 target="ControllableEntity" /> |
---|
212 | </attached> |
---|
213 | </QuestEffectBeacon> |
---|
214 | </attached> |
---|
215 | </StaticEntity> |
---|
216 | |
---|
217 | <!-- Katratzi Station --> |
---|
218 | <StaticEntity scale=1 position="0,5000,300" yaw=60> |
---|
219 | <attached> |
---|
220 | <?lua |
---|
221 | createSpaceStationPar(9851,2,1,2,1,2,1,100) |
---|
222 | ?> |
---|
223 | <QuestEffectBeacon position="0,450,0" times=1> |
---|
224 | <effects> |
---|
225 | <AddQuestHint hintId="b9b10841-b045-4797-b1d3-cfce760e1de6" /> |
---|
226 | </effects> |
---|
227 | <events> |
---|
228 | <execute> |
---|
229 | <EventListener event=questbeacon4 /> |
---|
230 | </execute> |
---|
231 | </events> |
---|
232 | <attached> |
---|
233 | <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" /> |
---|
234 | <DistanceTrigger name=questbeacon4 position="0,0,0" distance=100 target="ControllableEntity" /> |
---|
235 | </attached> |
---|
236 | </QuestEffectBeacon> |
---|
237 | </attached> |
---|
238 | </StaticEntity> |
---|
239 | |
---|
240 | <!-- Pegasus Station --> |
---|
241 | <StaticEntity scale=1 position="-5000,100,1000" roll=30> |
---|
242 | <attached> |
---|
243 | <?lua |
---|
244 | createSpaceStationPar(3574,2,1,2,1,2,1,100) |
---|
245 | ?> |
---|
246 | <QuestEffectBeacon position="200,450,0" times=1> |
---|
247 | <effects> |
---|
248 | <AddQuestHint hintId="1ee785f8-b71d-4b51-b080-42cec5be8e3c" /> |
---|
249 | </effects> |
---|
250 | <events> |
---|
251 | <execute> |
---|
252 | <EventListener event=questbeacon5 /> |
---|
253 | </execute> |
---|
254 | </events> |
---|
255 | <attached> |
---|
256 | <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" /> |
---|
257 | <DistanceTrigger name=questbeacon5 position="0,0,0" distance=100 target="ControllableEntity" /> |
---|
258 | </attached> |
---|
259 | </QuestEffectBeacon> |
---|
260 | </attached> |
---|
261 | </StaticEntity> |
---|
262 | |
---|
263 | <!-- Trail --> |
---|
264 | <EventDispatcher> |
---|
265 | <targets> |
---|
266 | <EventTarget name=trail /> |
---|
267 | </targets> |
---|
268 | <events> |
---|
269 | <visibility> |
---|
270 | <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" mode="complete" /> |
---|
271 | </visibility> |
---|
272 | <activity> |
---|
273 | <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" mode="complete" /> |
---|
274 | </activity> |
---|
275 | </events> |
---|
276 | </EventDispatcher> |
---|
277 | |
---|
278 | <?lua |
---|
279 | for i = 1, 25 |
---|
280 | do |
---|
281 | ?> |
---|
282 | <Billboard position="<?lua print(i*5000/25) ?>,<?lua print(450+i*(5000-450)/25) ?>,5000" colour="1.0,0,0" material="Examples/Flare" name=trail visible=false/> |
---|
283 | <?lua |
---|
284 | end |
---|
285 | ?> |
---|
286 | |
---|
287 | <!-- Hideout --> |
---|
288 | <StaticEntity position="5000,5000,5000" > |
---|
289 | <attached> |
---|
290 | <Model scale="100" mesh="ast2.mesh" shadow=false /> |
---|
291 | </attached> |
---|
292 | </StaticEntity> |
---|
293 | |
---|
294 | <StaticEntity position="5400,5400,5000" visible=false name=trail > |
---|
295 | <attached> |
---|
296 | <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" visible=false name=trail /> |
---|
297 | <QuestEffectBeacon position="0,0,0" times=1 active=false name=trail > |
---|
298 | <effects> |
---|
299 | <CompleteQuest questId="97628524-b243-492c-b7b6-498f325b21d4" /> |
---|
300 | </effects> |
---|
301 | <events> |
---|
302 | <execute> |
---|
303 | <EventListener event=questbeacon6 /> |
---|
304 | </execute> |
---|
305 | </events> |
---|
306 | <attached> |
---|
307 | <DistanceTrigger name=questbeacon6 position="0,0,0" distance=100 target="ControllableEntity" /> |
---|
308 | </attached> |
---|
309 | </QuestEffectBeacon> |
---|
310 | </attached> |
---|
311 | </StaticEntity> |
---|
312 | |
---|
313 | </Scene> |
---|
314 | </Level> |
---|
315 | |
---|