Changeset 9788 for code/branches
- Timestamp:
- Nov 18, 2013, 3:18:13 PM (11 years ago)
- Location:
- code/branches/levelMichael/data/levels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelMichael/data/levels/Spacefight.oxw
r9786 r9788 63 63 64 64 <!-- Spawntrigger --> 65 <SpawnPoint team=0 position=" 0,0,0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow />65 <SpawnPoint team=0 position="13500, 2500, 11500" lookat="0,0,20000" spawnclass=SpaceShip pawndesign=spaceshipswallow /> <!-- pawndesign=spaceshipcollateraldamage --> 66 66 67 67 <EventMultiTrigger name=spawntrigger> 68 68 <events> 69 69 <trigger> 70 <SpawnPoint team=0 position=" 0,0,0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow>70 <SpawnPoint team=0 position="13500, 2500, 11500" lookat="0,0,20000" 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=" 0,0,0" target="SpaceShip" distance=10 stayActive="true" delay=0 />84 <DistanceTrigger name=spawntrigger2 position="13500, 2500, 11500" target="SpaceShip" distance=10 stayActive="true" delay=0 /> 85 85 86 86 <!-- Drone pickup --> … … 134 134 <complete-effects> 135 135 <AddQuest questId="spacefight.guard2" /> 136 <AddQuest questId="spacefight.escape" /> 136 137 </complete-effects> 137 138 </LocalQuest> … … 143 144 failMessage="You've lost all your ships!" 144 145 completeMessage="" /> 145 <complete-effects>146 <AddQuest questId="spacefight.escape" />147 </complete-effects>148 146 </LocalQuest> 149 147 … … 263 261 </QuestEffectBeacon> 264 262 263 265 264 <BlinkingBillboard position="13500, 2500, 10500" color="1.0,1.0,1.0" frequency=0.6 amplitude=10 material="Examples/Flare" > 266 265 <events> … … 327 326 </QuestEffectBeacon> 328 327 329 <!-- E scape-->328 <!-- ESCAPE --> 330 329 <SimpleNotification message="A spion is startet to the mainship!" broadcast="true"> 331 330 <events> … … 342 341 <events> 343 342 <execute> 344 <EventListener event=" guard2trigger1" />343 <EventListener event="secondPatrol" /> 345 344 </execute> 346 345 </events> 347 346 </QuestEffectBeacon> 348 347 348 <!-- ESCAPE ENDING --> 349 <!-- Spion escaped --> 349 350 <QuestEffectBeacon times=0> 350 351 <effects> 351 352 <CompleteQuest questId="spacefight.escape" /> 352 < CompleteQuest questId="spacefight.mainfight(max)" />353 </effects> 354 <events> 355 <execute> 356 <EventListener event=" escaped" />353 <AddQuest questId="spacefight.mainfight(max)" /> 354 </effects> 355 <events> 356 <execute> 357 <EventListener event="spionTrigger" /> 357 358 </execute> 358 359 </events> 359 360 </QuestEffectBeacon> 360 361 362 <!-- Spion destroyed --> 361 363 <QuestEffectBeacon> 362 364 <effects> … … 366 368 <events> 367 369 <execute> 368 <EventListener event=" notEscaped" />370 <EventListener event="destroyed" /> 369 371 </execute> 370 372 </events> … … 463 465 </SimpleNotification> 464 466 465 <!-- Timer for the Escape-sequence 466 <Timer interval=120 bLoop="false" bKillAfterCall="true" executor="" > 467 --> 467 <!-- DistanceTrigger for spion --> 468 <DistanceTrigger name="spionTrigger" position="0,-10000,42000" target="DistanceTriggerBeacon" targetname="spionBeacon" distance=100 stayActive="true" delay=0 beaconMode="identify" /> 469 470 <SimpleNotification message="spion is arrived!" broadcast="true"> 471 <events> 472 <trigger> 473 <EventListener event="spionTrigger" /> 474 </trigger> 475 </events> 476 </SimpleNotification> 477 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 490 <SimpleNotification message="spion destroyed!" broadcast="true"> 491 <events> 492 <trigger> 493 <EventListener event="spion" /> 494 </trigger> 495 </events> 496 </SimpleNotification> 497 <SimpleNotification message="quest should be completed" broadcast="true"> 498 <events> 499 <trigger> 500 <EventListener event="destroyed" /> 501 </trigger> 502 </events> 503 </SimpleNotification> 504 505 <BlinkingBillboard position="0,-10000,42000" frequency=0.5 color="1.0,1.0,1.0" amplitude=10 material="Examples/Flare" /> 506 468 507 469 508 <!-- Rescue the commander --> … … 610 649 611 650 <!-- For Escape --> 612 <!-- If the spion is destroyed --> 613 <Trigger name="notEscaped" mode="xor" stayActive="true" > 614 <DistanceTrigger position="-7000,-10000,42000" target="SpaceShip" distance=100 stayActive="true" delay=0 /> 615 616 <!-- If the spion is escaped --> 617 <Trigger name="escaped" mode="xor" stayActive="true" > 618 <DistanceTrigger position="-7000,-10000,42000" target="SpaceShip" distance=100 stayActive="true" delay=0 /> 619 <EventTrigger activations="1" > 620 <events> 621 <trigger> 622 <EventListener event="spion" /> 623 </trigger> 624 </events> 625 </EventTrigger> 626 </Trigger> 627 </Trigger> 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 628 659 629 660 <!-- For last fight --> … … 885 916 </SpaceShip> 886 917 887 <!-- Escape-Ship -->918 <!-- Escape-Ship (Spion) --> 888 919 <SpaceShip position="17000,4000,22000" lookat="-12000, -22000, 25000" name="spion" visible="true" radarname="Spion" > 889 920 <events> 890 921 <visibility> 891 <EventListener event="guard 1trigger4" />922 <EventListener event="guard2trigger1" /> 892 923 </visibility> 893 924 </events> … … 898 929 <WaypointController team=1> 899 930 <waypoints> 900 <Model mesh="cube.mesh" scale=100 0 position="-7000,-10000,42000" />901 <Model mesh="cube.mesh" scale= 0 position="-12000, -22000, 25000" />931 <Model mesh="cube.mesh" scale=100 position="0,-10000,42000" /> <!-- "-7000,-10000,42000" --> 932 <Model mesh="cube.mesh" scale=100 position="-12000, -22000, 25000" /> 902 933 </waypoints> 903 934 <events> … … 908 939 </WaypointController> 909 940 </controller> 941 <attached> 942 <DistanceTriggerBeacon name="spionBeacon" /> 943 </attached> 910 944 </SpaceShip> 911 945 -
code/branches/levelMichael/data/levels/templates/spaceshipHXYSL.oxt
r8858 r9788 25 25 <attached> 26 26 <Model position="0,0,0" yaw=180 pitch=-90 roll=0 scale=4 mesh="HXY.mesh" /> 27 <DistanceTriggerBeacon name="player" /> 27 28 </attached> 28 29 <collisionShapes>
Note: See TracChangeset
for help on using the changeset viewer.