Changeset 7089
- Timestamp:
- Jun 2, 2010, 9:12:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/data/levels/Quest_PirateAttack.oxw
r7072 r7089 21 21 22 22 <NotificationQueue 23 24 25 26 27 28 23 name = "notification" 24 position = "0.40, 0.05" 25 font = "VeraMono" 26 textsize = 0.020 27 length = 3 28 width = 50 29 29 /> 30 31 32 30 31 32 33 33 <Level 34 34 name="Dani's Testlevel" … … 45 45 skybox = "Orxonox/skypanoramagen1" 46 46 > 47 48 49 50 51 <QuestDescription title="Fight for freedom" 52 53 failmessage="You are a loser, now the whole universe will be controlled by the pirates!" 54 55 56 57 58 <QuestDescription title="The stolen stick..." 59 60 a very important memory stick with secret infos (military locations etc.), the holy stick. You must get it back! Otherwise the humans are in great danger..." 61 failmessage="" 62 completeMessage="Unbelievable, you annihilated all pirates and got the stolen memory stick. 63 But wait... this isn't the memory stick you looked for, this stick is one from a pirate... anyway, it's helpful: There is a map saved on it, which leads you to a pirate - base. Perhaps you'll find more 64 65 66 67 68 69 70 71 72 73 74 <QuestDescription title="3 Ways?" 75 description="The different ways leads you to the possible positions where the base could be. The problem is that the map is encrypted and your on board system is not 76 77 78 79 80 81 82 83 84 85 86 87 88 <QuestDescription title="The Base" 89 description="Yeah, you found the Base... now let's check if there is the important holy stick..." 90 failmessage="" 91 92 93 94 95 <QuestDescription title="Find out more about the pirates" 96 97 98 99 But back to your mission. The mining company has it's own security. Ask some of their security staff if they know more about the pirates... it's actually your only hope to get more infos. 100 101 failmessage="" 102 103 104 105 <QuestDescription title="Interesting..." 106 107 108 failmessage="" 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 </QuestEffectBeacon> 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 </QuestEffectBeacon> 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 <!--Security Man found--> 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 <!--Navigation System which shows possiple positions of base--> 293 47 <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" /> 48 49 50 <GlobalQuest id="dbd02b4c-ab7c-46fd-bdaf-fd4c19ac1551"> 51 <QuestDescription title="Fight for freedom" 52 description="Just a few hours ago, a group of pirates attacked an killed all your squad members. Now you are very angry and you want to take revenge. Find the pirates and kill them!" 53 failmessage="You are a loser, now the whole universe will be controlled by the pirates!" 54 completeMessage="Yeah, you did it! You,ve eliminated the enemies. But why attacked them the Humans here? For tousands of years, there was peace in this sun system. 55 You have to find out what happened exactly and why the pirates attacked..."/> 56 <subquests> 57 <GlobalQuest id="3159b4d4-bc86-4190-ba1d-4530668dfe31"> 58 <QuestDescription title="The stolen stick..." 59 description="Now you can see it: There are more pirates... the pirates you killed were only a small part of the whole fleet. You recieved a message from your Headquarter: The pirates have stolen 60 a very important memory stick with secret infos (military locations etc.), the holy stick. You must get it back! Otherwise the humans are in great danger..." 61 failmessage="" 62 completeMessage="Unbelievable, you annihilated all pirates and got the stolen memory stick. 63 But wait... this isn't the memory stick you looked for, this stick is one from a pirate... anyway, it's helpful: There is a map saved on it, which leads you to a pirate - base. Perhaps you'll find more 64 about their plans there..."/> 65 </GlobalQuest> 66 <GlobalQuest id="8d8ed3a6-74a6-4491-9172-26155cff151d"> 67 <QuestDescription title="Find the Base" 68 description="Now you are in possession of the map and it should be easy to find the base. Because you are a Member of an elite-fight-squad, your ship has been pimped before you started your mission. 69 They installed a very modern navigation system, which leads you precisely to your desired destination. Use it to find the pirate - base." 70 failmessage="" 71 completeMessage="The navigation system worked very well and now you should be near a pirate -base." /> 72 <hints> 73 <QuestHint id="965101b3-26ce-4fcf-bc71-17cc2a87d2e9"> 74 <QuestDescription title="3 Ways?" 75 description="The different ways leads you to the possible positions where the base could be. The problem is that the map is encrypted and your on board system is not 76 able to decrypt it exactly. Therefore you have to try 3 possible ways...Tha base is Huge, but it could be that it's invisible when ou are in longer distance (some Big Ships 77 have a special shield aroud them which make them invisible at longer range)."/> 78 </QuestHint> 79 </hints> 80 </GlobalQuest> 81 <GlobalQuest id="9930a598-98bc-4ff8-8cc0-31311a6ccaaa"> 82 <QuestDescription title=":(" description="Here isn't the base you look for... try another way."/> 83 </GlobalQuest> 84 <GlobalQuest id="9930a598-98bc-4ff8-8cc0-31311a6ccaab"> 85 <QuestDescription title=":(" description="Here isn't the base you look for... try another way."/> 86 </GlobalQuest> 87 <GlobalQuest id="8a62408b-c47b-4e02-bd3d-06bb9ec0b363"> 88 <QuestDescription title="The Base" 89 description="Yeah, you found the Base... now let's check if there is the important holy stick..." 90 failmessage="" 91 completeMessage="There it is, the Holy stick. Yes, you're right. It looks like a rocket because there are so many rockets in the universe, that it's nearly impossible to find the holy stick between them. 92 Anyway, the pirates found the stick... another part which is confusing. Why did they know where the holy stick is? Perpaps they know more about the humans than you think."/> 93 </GlobalQuest> 94 <GlobalQuest id="85380d05-b791-45d1-82e9-01f0bc930367"> 95 <QuestDescription title="Find out more about the pirates" 96 description= "Now, the Holy stick is back in your possession. Your new mission is to get some more infos about the pirates. You've got an info about a near mining company 97 which delivers Hydrogen out of special asteroids. Hydrogen is a very rare ressource on earth and is delivered by a few great mining companys. There is no oil anymore on earth since many years. 98 Therefore hydrogen became the most important energy source for all humans. 99 But back to your mission. The mining company has it's own security. Ask some of their security staff if they know more about the pirates... it's actually your only hope to get more infos. 100 You'll find the mining company at the near planet with the asteroid belt." 101 failmessage="" 102 completeMessage=""/> 103 </GlobalQuest> 104 <GlobalQuest id="d8afe2eb-b3b9-4c98-8ed7-cc1a2a8e3734"> 105 <QuestDescription title="Interesting..." 106 description= "You're very lucky. The first security man has interesting infos about the pirates. He said that they made a few attacks in de last few weeks and they intensified the attacks in the last days... 107 Shit, they attack one more time. Fight them back!" 108 failmessage="" 109 completeMessage=""/> 110 </GlobalQuest> 111 </subquests> 112 <hints> 113 <QuestHint id="2b85f32c-2433-4f1a-bdd4-f24d20c9403c"> 114 <QuestDescription title="Useful to know" description="Pirates like to hide themselves behind asteroids."/> 115 </QuestHint> 116 </hints> 117 <fail-effects> 118 </fail-effects> 119 <complete-effects> 120 </complete-effects> 121 </GlobalQuest> 122 123 <ParticleSpawner position="0,0,0" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0> 124 <events> 125 <spawn> 126 <EventTrigger delay=1> 127 <events> 128 <trigger> 129 <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassffplayer name=spawnpoint1 team=0 active=true/> 130 </trigger> 131 </events> 132 </EventTrigger> 133 </spawn> 134 </events> 135 <attached> 136 <QuestEffectBeacon position="0,0,0" times=1> 137 <effects> 138 <AddQuest questId="dbd02b4c-ab7c-46fd-bdaf-fd4c19ac1551" /> 139 </effects> 140 <events> 141 <execute> 142 <EventListener event=questbeacon1 /> 143 </execute> 144 </events> 145 <attached> 146 <DistanceTrigger name=questbeacon1 position="0,0,0" distance=100 target=DistanceTriggerBeacon targetname=Me/> 147 </attached> 148 </QuestEffectBeacon> 149 </attached> 150 </ParticleSpawner> 151 152 <SpawnPoint position="600,300,-6000" spawnclass=SpaceShip pawndesign=spaceshipassffplayer name=spawnpoint2 active=false/> 153 154 155 156 <!-- Add second Quest--> 157 <QuestEffectBeacon position="250,-300,-1500" times=1> 158 <attached> 159 <Billboard position="0,0,0" scale=3 colour="1.0,1.0,0" material="Examples/Flare" /> 160 <DistanceTrigger name=questbeacon2 targetname=Me position="0,0,0" target=DistanceTriggerBeacon distance=400 /> 161 </attached> 162 <effects> 163 <AddQuest questId="3159b4d4-bc86-4190-ba1d-4530668dfe31" /> 164 </effects> 165 <events> 166 <execute> 167 <EventListener event=questbeacon2 /> 168 </execute> 169 </events> 170 </QuestEffectBeacon> 171 172 <!-- Hint to first Quest--> 173 <QuestEffectBeacon position="0,0,0" times=1> 174 <attached> 175 <DistanceTrigger name=questbeacon3 position="0,0,0" distance=300 target=DistanceTriggerBeacon targetname=Me delay="5" /> 176 </attached> 177 <effects> 178 <AddQuestHint hintId="2b85f32c-2433-4f1a-bdd4-f24d20c9403c" /> 179 </effects> 180 <events> 181 <execute> 182 <EventListener event=questbeacon3 /> 183 </execute> 184 </events> 185 </QuestEffectBeacon> 186 187 188 <!--Pirates killed... navi leads you to possible Base stations--> 189 <QuestEffectBeacon position="600,300,-6000" times=1> 190 <attached> 191 <Billboard position="0,0,0" scale=3 colour="0,1.0,0" material="Examples/Flare" /> 192 <DistanceTrigger name=questbeacon4 position="0,0,0" distance=200 target=DistanceTriggerBeacon targetname=Me /> 193 </attached> 194 195 <effects> 196 <CompleteQuest questId="3159b4d4-bc86-4190-ba1d-4530668dfe31" /> 197 <AddQuest questId="8d8ed3a6-74a6-4491-9172-26155cff151d" /> 198 <AddQuestHint hintId="965101b3-26ce-4fcf-bc71-17cc2a87d2e9" /> 199 </effects> 200 <events> 201 <execute> 202 <EventListener event=questbeacon4 /> 203 </execute> 204 </events> 205 </QuestEffectBeacon> 206 207 208 <!-- Wrong way 1--> 209 <QuestEffectBeacon position="7600,300,-8000" times=1> 210 <attached> 211 <DistanceTrigger name=questbeacon5 position="0,0,0" distance=300 target=DistanceTriggerBeacon targetname=Me /> 212 </attached> 213 <effects> 214 <AddQuest questId="9930a598-98bc-4ff8-8cc0-31311a6ccaaa" /> 215 </effects> 216 <events> 217 <execute> 218 <EventListener event=questbeacon5 /> 219 </execute> 220 </events> 221 </QuestEffectBeacon> 222 223 <!-- Wrong way 2--> 224 <QuestEffectBeacon position="1600,2300,-10000" times=1> 225 <attached> 226 <DistanceTrigger name=questbeacon8 position="0,0,0" distance=300 target=DistanceTriggerBeacon targetname=Me /> 227 </attached> 228 <effects> 229 <AddQuest questId="9930a598-98bc-4ff8-8cc0-31311a6ccaab" /> 230 </effects> 231 <events> 232 <execute> 233 <EventListener event=questbeacon8 /> 234 </execute> 235 </events> 236 </QuestEffectBeacon> 237 238 <!-- Base found!--> 239 <QuestEffectBeacon position="4600,5300,-11000" times=1> 240 <attached> 241 <DistanceTrigger name=questbeacon6 position="0,0,0" distance=600 target=DistanceTriggerBeacon targetname=Me /> 242 </attached> 243 <effects> 244 <CompleteQuest questId="8d8ed3a6-74a6-4491-9172-26155cff151d" /> 245 <AddQuest questId="8a62408b-c47b-4e02-bd3d-06bb9ec0b363" /> 246 <CompleteQuest questId="9930a598-98bc-4ff8-8cc0-31311a6ccaaa" /> 247 <CompleteQuest questId="9930a598-98bc-4ff8-8cc0-31311a6ccaab" /> 248 249 </effects> 250 <events> 251 <execute> 252 <EventListener event=questbeacon6 /> 253 </execute> 254 </events> 255 </QuestEffectBeacon> 256 <!--Stick found--> 257 <QuestEffectBeacon position="4800,5785,-10725" times=1> 258 <attached> 259 <DistanceTrigger name=questbeacon7 position="0,0,0" distance=30 target=DistanceTriggerBeacon targetname=Me /> 260 </attached> 261 <effects> 262 <CompleteQuest questId="8a62408b-c47b-4e02-bd3d-06bb9ec0b363" /> 263 <AddQuest questId="85380d05-b791-45d1-82e9-01f0bc930367" /> 264 265 </effects> 266 <events> 267 <execute> 268 <EventListener event=questbeacon7 /> 269 </execute> 270 </events> 271 </QuestEffectBeacon> 272 273 274 <!--Security Man found--> 275 <QuestEffectBeacon position="4000,4000,-20000" times=1> 276 <attached> 277 <Billboard position="0,0,0" scale=3 colour="0,0,1.0" material="Examples/Flare" /> 278 <DistanceTrigger name=questbeacon9 position="0,0,0" distance=500 target=DistanceTriggerBeacon targetname=Me /> 279 </attached> 280 <effects> 281 <CompleteQuest questId="85380d05-b791-45d1-82e9-01f0bc930367" /> 282 <AddQuest questId="d8afe2eb-b3b9-4c98-8ed7-cc1a2a8e3734" /> 283 284 </effects> 285 <events> 286 <execute> 287 <EventListener event=questbeacon9 /> 288 </execute> 289 </events> 290 </QuestEffectBeacon> 291 292 <!--Navigation System which shows possiple positions of base--> 293 <EventDispatcher> 294 294 <targets> 295 295 <EventTarget target=Navi /> … … 309 309 do 310 310 ?> 311 312 313 311 <Billboard position="<?lua print(i*1000/30+600) ?>,<?lua print(i*2000/30+300) ?>,<?lua print(-i*4000/30-6000) ?>" colour="1.0,0,0" scale=1 material="Examples/Flare" name=Navi visible=false/><!--endpos:1600,2300,-10000--> 312 <Billboard position="<?lua print(i*7000/30+600) ?>,<?lua print(i*0/30+300) ?>,<?lua print(-i*2000/30-6000) ?>" colour="0,1.0,0" scale=1 material="Examples/Flare" name=Navi visible=false/><!--endpos:7600,300,-8000--> 313 <Billboard position="<?lua print(i*4000/30+600) ?>,<?lua print(i*5000/30+300) ?>,<?lua print(-i*5000/30-6000) ?>" colour="0,0,1.0" scale=1 material="Examples/Flare" name=Navi visible=false/><!--endpos:4600,5300,-11000--> 314 314 <?lua 315 315 end 316 316 ?> 317 318 <!--Base&Stick spawn*****************************************************************--> 319 317 318 <!--Base&Stick spawn*****************************************************************--> 319 <StaticEntity scale=1 position="4650,5350,-11050" name=base visible=true active=true yaw=60> 320 320 <attached> 321 321 <?lua … … 324 324 </attached> 325 325 </StaticEntity> 326 327 328 329 326 327 <ParticleSpawner position="4650,5350,-11050" source="Orxonox/explosion1" name=base visible=false active=false loop=0/> 328 <Model position="4800,5785,-10725" scale=3 mesh="Rocket.mesh" visible=true active=true name=base /> 329 <EventDispatcher> 330 330 <targets> 331 331 <EventTarget target=base /> 332 333 332 <EventTarget target=navipirate1 /> 333 <EventTarget target=navipirate2 /> 334 334 </targets> 335 335 <events> 336 336 <visibility> 337 338 339 340 341 342 343 337 <EventTrigger invert=true> 338 <events> 339 <trigger> 340 <QuestListener questId="dbd02b4c-ab7c-46fd-bdaf-fd4c19ac1551" mode="start" /> 341 </trigger> 342 </events> 343 </EventTrigger> 344 344 </visibility> 345 345 <activity> 346 347 348 346 <EventTrigger invert=true> 347 <events> 348 <trigger> 349 349 <QuestListener questId="dbd02b4c-ab7c-46fd-bdaf-fd4c19ac1551" mode="start" /> 350 351 352 353 </activity> 354 </events> 355 </EventDispatcher> 356 357 358 350 </trigger> 351 </events> 352 </EventTrigger> 353 </activity> 354 </events> 355 </EventDispatcher> 356 357 358 <EventDispatcher> 359 359 <targets> 360 360 <EventTarget target=base /> … … 369 369 </events> 370 370 </EventDispatcher> 371 372 <!--Base&Stick spawn********end*****************************************************--> 373 374 375 371 372 <!--Base&Stick spawn********end*****************************************************--> 373 374 <!--Change spawnoint--> 375 <EventDispatcher> 376 376 <targets> 377 377 <EventTarget target=spawnpoint1 /> … … 379 379 <events> 380 380 <activity> 381 382 383 381 <EventTrigger invert=true> 382 <events> 383 <trigger> 384 384 <QuestListener questId="3159b4d4-bc86-4190-ba1d-4530668dfe31" mode="complete" /> 385 386 387 388 </activity> 389 </events> 390 391 </EventDispatcher> 392 385 </trigger> 386 </events> 387 </EventTrigger> 388 </activity> 389 </events> 390 391 </EventDispatcher> 392 <EventDispatcher> 393 393 <targets> 394 394 <EventTarget target=spawnpoint2/> … … 400 400 </events> 401 401 </EventDispatcher> 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 <!-- Pirates at the end of wrong Navi line (get visible when you get near them)--> 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 402 <!--Change spawnoint end--> 403 404 <!-- pirates --> 405 <?lua 406 for i = 1,1, 1 407 do 408 ?> 409 <SpaceShip position="<?lua print(math.random()*100)?>,<?lua print(math.random()*100)?>,<?lua print(math.random()*100-2000)?>"> 410 <templates> 411 <Template link=spaceshippirate /> 412 </templates> 413 <controller> 414 <WaypointPatrolController alertnessradius=1000 active=true team=1> 415 <waypoints> 416 <StaticEntity position="0,<?lua print(math.random()*50)?> ,<?lua print(i*50 -2000) ?>" /> 417 </waypoints> 418 </WaypointPatrolController> 419 </controller> 420 </SpaceShip> 421 <?lua 422 end 423 ?> 424 425 <?lua 426 for i = 1,2, 1 427 do 428 ?> 429 <SpaceShip position="600,300,-6000"> 430 <templates> 431 <Template link=spaceshippirate /> 432 </templates> 433 <controller> 434 <WaypointPatrolController alertnessradius=1000 active=true team=1> 435 <waypoints> 436 <StaticEntity position="600,300,-6000" /> 437 </waypoints> 438 </WaypointPatrolController> 439 </controller> 440 </SpaceShip> 441 <?lua 442 end 443 ?> 444 445 <!-- Pirates at the end of wrong Navi line (get visible when you get near them)--> 446 <SpaceShip position="1600,2300,-10000" active=true visible=true name=navipirate1> 447 <templates> 448 <Template link=spaceshippirate /> 449 </templates> 450 <controller> 451 <WaypointPatrolController alertnessradius=1000 name=navipirate1 active=true team=1> 452 <waypoints> 453 <StaticEntity position="1600,2300,-10000" /> 454 </waypoints> 455 </WaypointPatrolController> 456 </controller> 457 </SpaceShip> 458 459 <SpaceShip position="7600,300,-8000" active=true visible=true name=navipirate2> 460 <templates> 461 <Template link=spaceshippirate /> 462 </templates> 463 <controller> 464 <WaypointPatrolController alertnessradius=1000 name=navipirate2 active=true team=1> 465 <waypoints> 466 <StaticEntity position="7600,300,-8000" /> 467 </waypoints> 468 </WaypointPatrolController> 469 </controller> 470 </SpaceShip> 471 472 473 <EventDispatcher> 474 474 <targets> 475 475 <EventTarget target=navipirate1 /> … … 484 484 </events> 485 485 </EventDispatcher> 486 487 486 487 <EventDispatcher> 488 488 <targets> 489 489 <EventTarget target=navipirate2 /> … … 498 498 </events> 499 499 </EventDispatcher> 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 500 <!-- Pirates at the end of wrong Navi line **** end--> 501 502 <!--Security man from mining corp.--> 503 <SpaceShip position="4000,4000,-20000"> 504 <templates> 505 <Template link=spaceshipassff/> 506 </templates> 507 <controller> 508 <WaypointPatrolController alertnessradius=1000 team=0 active=false> 509 <waypoints> 510 <StaticEntity position="4000,4000,-20000" /> 511 </waypoints> 512 </WaypointPatrolController> 513 </controller> 514 </SpaceShip> 515 516 <!-- Asteroid field--> 517 517 <StaticEntity position="-400,2000,-7000"> 518 518 <attached> … … 528 528 end 529 529 ?> 530 531 532 533 534 535 536 537 538 539 540 541 do 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 530 </attached> 531 </StaticEntity> 532 <!--Planet with asteroid belt--> 533 <Planet mesh="iceplanet.mesh" position="2600,4300,-20000" scale=1000 atmosphere="atmosphere1" atmospheresize=224.0f imagesize=1024.0f/> 534 <StaticEntity position="2600,4300,-20000" collisionType=static> 535 <collisionShapes> 536 <SphereCollisionShape radius="1000" /> 537 </collisionShapes> 538 <attached> 539 <?lua 540 for i = 1, 100 541 do 542 k=(math.random() * 2600 -1300) 543 if math.random()<0.5 then 544 l=(1300^2-k^2)^(0.5) 545 else 546 l=-(1300^2-k^2)^(0.5) 547 end 548 ?> 549 550 <MovableEntity position="<?lua print(k) ?>,<?lua print(l) ?>, <?lua print(math.random() * 100) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.abs(math.random() * 30 -10)) ?>"> 551 552 <attached> 553 <Model scale="<?lua print(math.random() * 25) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> 554 </attached> 555 </MovableEntity> 556 <?lua 557 end 558 ?> 559 559 </attached> 560 561 562 560 </StaticEntity> 561 562 </Scene> 563 563 </Level>
Note: See TracChangeset
for help on using the changeset viewer.