Changeset 9791
- Timestamp:
- Nov 18, 2013, 4:10:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelMichael/data/levels/Spacefight.oxw
r9788 r9791 63 63 64 64 <!-- Spawntrigger --> 65 <SpawnPoint team=0 position=" 13500, 2500, 11500" lookat="0,0,20000" spawnclass=SpaceShip pawndesign=spaceshipswallow /> <!-- pawndesign=spaceshipcollateraldamage -->65 <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow /> <!-- pawndesign=spaceshipcollateraldamage --> 66 66 67 67 <EventMultiTrigger name=spawntrigger> 68 68 <events> 69 69 <trigger> 70 <SpawnPoint team=0 position=" 13500, 2500, 11500" lookat="0,0,20000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -->70 <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --> 71 71 <EventTrigger invert=true> 72 72 <events> … … 82 82 83 83 <!-- Second Spawntrigger --> 84 <DistanceTrigger name=spawntrigger2 position=" 13500, 2500, 11500" target="SpaceShip" distance=10 stayActive="true" delay=0 />84 <DistanceTrigger name=spawntrigger2 position="0, 0, 0" target="SpaceShip" distance=10 stayActive="true" delay=0 /> 85 85 86 86 <!-- Drone pickup --> … … 88 88 89 89 <!-- QUEST DESCRIPTION--> 90 <LocalQuest id="spacefight.flying1">91 <QuestDescription92 title="To the first guard!"93 description="Reach the station ahead."94 completeMessage="Well done!" />95 <complete-effects>96 <AddQuest questId="spacefight.guard1" />97 </complete-effects>98 </LocalQuest>99 100 90 <LocalQuest id="spacefight.guard1"> 101 91 <QuestDescription … … 109 99 completeMessage="Well done!" /> 110 100 <complete-effects> 111 <AddQuest questId="spacefight.upgrade1" />112 101 <AddQuest questId="spacefight.flying2" /> 113 102 </complete-effects> … … 129 118 title="To the second guard!" 130 119 description="There is another sentry on the way to the big mainship. 131 unfortunately, we also have to destroy this one." 120 unfortunately, we also have to destroy this one. 121 122 The blinking light shows you the way to the sentry" 132 123 failMessage="You've lost all your ships!" 133 124 completeMessage="" /> 134 125 <complete-effects> 135 126 <AddQuest questId="spacefight.guard2" /> 136 <AddQuest questId="spacefight.escape" />137 127 </complete-effects> 138 128 </LocalQuest> … … 229 219 <QuestEffectBeacon times=0> 230 220 <effects> 231 <AddQuest questId="spacefight. flying1" />221 <AddQuest questId="spacefight.guard1" /> 232 222 </effects> 233 223 <events> … … 238 228 </QuestEffectBeacon> 239 229 240 <!-- Guard 1 -->241 230 <QuestEffectBeacon times=0> 242 <effects>243 <CompleteQuest questId="spacefight.flying1" />244 </effects>245 231 <events> 246 232 <execute> 247 233 <EventListener event="flying1" /> 248 </execute>249 </events>250 </QuestEffectBeacon>251 252 <QuestEffectBeacon times=0>253 <events>254 <execute>255 <EventListener event="flying2" /> <!-- eigentlich "guard1trigger4", aber funkt. nicht! -->256 234 </execute> 257 235 </events> … … 268 246 <events> 269 247 <trigger> 270 <EventListener event= spawntrigger2 /> <!-- "guard1trigger4" -->248 <EventListener event="flying1" /> 271 249 </trigger> 272 250 </events> … … 279 257 <QuestEffectBeacon times=0> 280 258 <effects> 259 <AddQuest questId="spacefight.upgrade1" /> 260 </effects> 261 <events> 262 <execute> 263 <EventListener event="droneTrigger" /> 264 </execute> 265 </events> 266 </QuestEffectBeacon> 267 268 <QuestEffectBeacon times=0> 269 <effects> 281 270 <CompleteQuest questId="spacefight.upgrade1" /> 282 271 </effects> … … 290 279 <!-- Guard 2 --> 291 280 292 <!-- zum testen! -->281 <!-- zum testen! 293 282 <QuestEffectBeacon times=0> 294 283 <effects> … … 301 290 </events> 302 291 </QuestEffectBeacon> 303 <!---->292 --> 304 293 305 294 <QuestEffectBeacon times=0> … … 423 412 424 413 <!-- ---------------------------------------------------------------------- --> 425 <!--Helper-Trigger for first guard --> 426 <DistanceTrigger name="flying1" position="4000,0,0" target="SpaceShip" distance=2000 stayActive="true" delay=0 /> 414 <!-- Helper-Trigger for first guard --> 415 <DistanceTrigger name="flying1" position="9000, 0, 0" target="SpaceShip" distance=7000 stayActive="true" delay=0.1 > 416 <EventTrigger> 417 <events> 418 <trigger> 419 <EventListener event="guard1trigger4" /> 420 </trigger> 421 </events> 422 </EventTrigger> 423 </DistanceTrigger> 424 425 <!-- Trigger to activate the upgrade1-Quest --> 426 <DistanceTrigger name="droneTrigger" position="13500, 2500, 10500" target="SpaceShip" distance=7000 stayActive="true" delay=0 /> 427 <SimpleNotification message="search the drone!?" broadcast="true"> 428 <events> 429 <trigger> 430 <EventListener event="droneTrigger" /> 431 </trigger> 432 </events> 433 </SimpleNotification> 427 434 428 435 <!-- Helper-Trigger for second guard --> 429 <DistanceTrigger name="flying2" position="13500, 2500, 10500" target="SpaceShip" distance=7000 stayActive="true" delay=0 /> 430 <SimpleNotification message="search the drone!?" broadcast="true"> 436 <DistanceTrigger name="guard2" position="18000,5000,21000" target="SpaceShip" distance=7000 stayActive="true" delay=0.1 > 437 <EventTrigger> 438 <events> 439 <trigger> 440 <EventListener event="guard2trigger4" /> 441 </trigger> 442 </events> 443 </EventTrigger> 444 </DistanceTrigger> 445 446 447 448 <!-- Helper-Trigger for the drone(s) --> 449 <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=20 stayActive="true" delay=0 /> 450 <SimpleNotification message="Now your are prepared best!" broadcast="true"> 431 451 <events> 432 452 <trigger> 433 <EventListener event=" flying2" />453 <EventListener event="drone1" /> 434 454 </trigger> 435 455 </events> 436 456 </SimpleNotification> 437 457 438 458 <!-- Helper-Trigger for mainship --> 439 459 <DistanceTrigger name="flying3" position="11000, 3000, 21000" target="SpaceShip" distance=1000 stayActive="true" delay=0 /> … … 446 466 </SimpleNotification> 447 467 448 <!-- Helper-Trigger for the drone(s) -->449 <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=20 stayActive="true" delay=0 />450 <SimpleNotification message="Now your are prepared best!" broadcast="true">451 <events>452 <trigger>453 <EventListener event="drone1" />454 </trigger>455 </events>456 </SimpleNotification>457 458 468 <!-- <DistanceTrigger name="drone2" position="9750, -5350, 5650" target="SpaceShip" distance=20 stay Active="true" delay=0 /> --> 459 469 <SimpleNotification message="Now your are prepared best!" broadcast="true"> … … 476 486 </SimpleNotification> 477 487 478 <!-- 479 <Trigger name="destroyed" mode="and" stayActive="true"> --> 480 <DistanceTrigger name="destroyed" position="0,-10000,42000" target="DistanceTriggerBeacon" targetname="spionBeacon" distance=1000 stayActive="true" delay=0 beaconMode="exclude"/> 481 <!-- <EventTrigger> 482 <events> 483 <trigger> 484 <EventListener event="spionEvent" /> 485 </trigger> 486 </events> 487 </EventTrigger> 488 </Trigger> --> 489 488 <DistanceTrigger name="destroyed" position="0,-10000,42000" target="DistanceTriggerBeacon" targetname="spionBeacon" distance=1000 stayActive="true" delay=0 beaconMode="exclude"/> 490 489 <SimpleNotification message="spion destroyed!" broadcast="true"> 491 490 <events> … … 513 512 <!-- EVENTTRIGGER --> 514 513 515 <!-- for guard 1 --> 516 <SimpleNotification message="first" broadcast="true"> 517 <events> 518 <trigger> 519 <EventListener event="guard1trigger1" /> 520 </trigger> 521 </events> 522 </SimpleNotification> 523 524 <SimpleNotification message="second" broadcast="true"> 525 <events> 526 <trigger> 527 <EventListener event="guard1trigger2" /> 528 </trigger> 529 </events> 530 </SimpleNotification> 531 532 <SimpleNotification message="thirth" broadcast="true"> 533 <events> 534 <trigger> 535 <EventListener event="guard1trigger3" /> 536 </trigger> 537 </events> 538 </SimpleNotification> 539 540 <SimpleNotification message="all shot! Fly to the blinking light" broadcast="true"> 541 <events> 542 <trigger> 543 <EventListener event="guard1trigger4" /> 544 </trigger> 545 </events> 546 </SimpleNotification> 547 514 <!-- For Guard 1 --> 548 515 <!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,4] --> 549 516 <EventTrigger name="guard1trigger4" activations="1" stayactive="true" delay=0.1> … … 576 543 </EventTrigger> 577 544 578 579 <!-- for guard 2 --> 580 <SimpleNotification message="first" broadcast="true"> 545 <SimpleNotification message="Fly to the blinking light!" broadcast="true"> 581 546 <events> 582 547 <trigger> 583 <EventListener event="guard 2trigger1" />548 <EventListener event="guard1trigger4" /> 584 549 </trigger> 585 550 </events> 586 551 </SimpleNotification> 587 552 588 <SimpleNotification message="second" broadcast="true"> 589 <events> 590 <trigger> 591 <EventListener event="guard2trigger2" /> 592 </trigger> 593 </events> 594 </SimpleNotification> 595 596 <SimpleNotification message="thirth" broadcast="true"> 597 <events> 598 <trigger> 599 <EventListener event="guard2trigger3" /> 600 </trigger> 601 </events> 602 </SimpleNotification> 603 604 <SimpleNotification message="all shot! Catch the spion!" broadcast="true"> 605 <events> 606 <trigger> 607 <EventListener event="guard2" /> 608 </trigger> 609 </events> 610 </SimpleNotification> 611 553 554 <!-- For Guard 2 --> 612 555 <!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,4] --> 613 556 <EventTrigger name="guard2trigger4" activations="1" stayactive="true" delay=0.1> … … 640 583 </EventTrigger> 641 584 642 <EventTrigger name="guard2" stayactive="true" delay=0.1>643 644 645 <EventListener event="guard2trigger4" />646 647 648 </EventTrigger>585 <SimpleNotification message="Catch the spion" broadcast="true"> 586 <events> 587 <trigger> 588 <EventListener event="guard1trigger4" /> 589 </trigger> 590 </events> 591 </SimpleNotification> 649 592 650 593 <!-- For Escape --> 651 <EventTrigger name="spionEvent" activations="1" stayactive="true" delay=0>652 <events>653 <trigger>654 <EventListener event="spion" />655 </trigger>656 </events>657 </EventTrigger>658 594 659 595 660 596 <!-- For last fight --> 661 <EventTrigger name="guard3trigger 5" activations="1" stayactive="true" delay=0.1 >597 <EventTrigger name="guard3trigger6" activations="1" stayactive="true" delay=0.1 > 662 598 <events> 663 599 <trigger>
Note: See TracChangeset
for help on using the changeset viewer.