Changeset 9806
- Timestamp:
- Nov 25, 2013, 1:42:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelMichael/data/levels/Spacefight.oxw
r9791 r9806 3 3 <!-- 4 4 To Do: 5 5 - Different Colors of the light! 6 - visibility of light only for a little time 7 - If possible, do the spion with DistanceTriggerBeacon 6 8 --> 7 9 <LevelInfo … … 44 46 targets="simpleNotification" 45 47 size=3 46 displayTime= 3.948 displayTime=5.0 47 49 position="0.2, 0, 0.1, 0" 48 50 fontSize="23" … … 63 65 64 66 <!-- Spawntrigger --> 65 <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow /> <!-- pawndesign=spaceshipcollateraldamage --> 66 67 <EventMultiTrigger name=spawntrigger> 68 <events> 69 <trigger> 70 <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --> 71 <EventTrigger invert=true> 72 <events> 73 <trigger> 74 <EventListener event="spacefight.flying2" /> 75 </trigger> 76 </events> 77 </EventTrigger> 78 </SpawnPoint> 79 </trigger> 80 </events> 81 </EventMultiTrigger> 82 83 <!-- Second Spawntrigger --> 67 <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --> 68 <EventTrigger invert="true" > 69 <events> 70 <trigger> 71 <EventListener event="flying1" /> 72 </trigger> 73 </events> 74 </EventTrigger> 75 </SpawnPoint> 76 77 78 <SpawnPoint team=0 position="13500, 2500, 11000" lookat="18000,5000,21000" spawnclass=SpaceShip pawndesign=spaceshipswallow delay=0.1><!-- pawndesign=spaceshipcollateraldamage --> 79 <EventTrigger> 80 <events> 81 <trigger> 82 <EventListener event="flying1" /> 83 </trigger> 84 </events> 85 </EventTrigger> 86 </SpawnPoint> 87 88 <!-- Distance-Spawn-Trigger --> 84 89 <DistanceTrigger name=spawntrigger2 position="0, 0, 0" target="SpaceShip" distance=10 stayActive="true" delay=0 /> 85 90 … … 99 104 completeMessage="Well done!" /> 100 105 <complete-effects> 101 <AddQuest questId="spacefight. flying2" />106 <AddQuest questId="spacefight.guard2" /> 102 107 </complete-effects> 103 108 </LocalQuest> … … 114 119 </LocalQuest> 115 120 116 <LocalQuest id="spacefight.flying2">117 <QuestDescription118 title="To the second guard!"119 description="There is another sentry on the way to the big mainship.120 unfortunately, we also have to destroy this one.121 122 The blinking light shows you the way to the sentry"123 failMessage="You've lost all your ships!"124 completeMessage="" />125 <complete-effects>126 <AddQuest questId="spacefight.guard2" />127 </complete-effects>128 </LocalQuest>129 130 121 <LocalQuest id="spacefight.guard2"> 131 122 <QuestDescription 132 123 title="The second guard!" 133 description="Destroy also this guard!" 124 description="There is also a second guard. The blinking light shows you the direction. 125 Destroy also this guard!" 134 126 failMessage="You've lost all your ships!" 135 127 completeMessage="" /> … … 215 207 216 208 <!-- QuestEffectBeacon's --> 217 218 209 <!-- START --> 219 210 <QuestEffectBeacon times=0> … … 239 230 </QuestEffectBeacon> 240 231 241 242 <BlinkingBillboard position="13500, 2500, 10500" color="1.0,1.0,1.0" frequency=0.6 amplitude=10 material="Examples/Flare" > 232 <SimpleNotification message="The blinking light shows you the way!" broadcast="true"> 233 <events> 234 <trigger> 235 <EventListener event="flying1" /> 236 </trigger> 237 </events> 238 </SimpleNotification> 239 240 241 <BlinkingBillboard position="13500, 2500, 10500" color="1.0, 1.0, 0.05" frequency=0.6 amplitude=10 material="Examples/Flare" > 243 242 <events> 244 243 <visibility> 245 244 <EventTrigger> 245 <EventTrigger invert=true> 246 <events> 247 <trigger> 248 <EventListener event="flying2" /> 249 </trigger> 250 </events> 251 </EventTrigger> 246 252 <events> 247 253 <trigger> … … 278 284 279 285 <!-- Guard 2 --> 280 281 <!-- zum testen!282 286 <QuestEffectBeacon times=0> 283 287 <effects> 284 <AddQuest questId="spacefight.flying2" /> 285 </effects> 286 <events> 287 <execute> 288 <EventListener event=spawntrigger2 /> 289 </execute> 290 </events> 291 </QuestEffectBeacon> 292 --> 293 294 <QuestEffectBeacon times=0> 295 <effects> 296 <CompleteQuest questId="spacefight.flying2" /> 288 <CompleteQuest questId="spacefight.guard2" /> 297 289 </effects> 298 290 <events> … … 303 295 </QuestEffectBeacon> 304 296 305 <QuestEffectBeacon times=0> 306 <effects> 307 <CompleteQuest questId="spacefight.guard2" /> 308 <CompleteQuest questId="spacefight.upgrade1" /> 309 </effects> 310 <events> 311 <execute> 312 <EventListener event="guard2" /> <!-- eigentlich "guard2trigger4", aber funkt. nicht! --> 313 </execute> 314 </events> 315 </QuestEffectBeacon> 297 <SimpleNotification message="Well done! Catch the spion!" broadcast="true"> 298 <events> 299 <trigger> 300 <EventListener event="flying2" /> 301 </trigger> 302 </events> 303 </SimpleNotification> 316 304 317 305 <!-- ESCAPE --> … … 330 318 <events> 331 319 <execute> 332 <EventListener event=" secondPatrol" />320 <EventListener event="escape" /> 333 321 </execute> 334 322 </events> … … 413 401 <!-- ---------------------------------------------------------------------- --> 414 402 <!-- Helper-Trigger for first guard --> 415 <DistanceTrigger name="flying1" position="9000, 0, 0" target="SpaceShip" distance= 7000 stayActive="true" delay=0.1 >403 <DistanceTrigger name="flying1" position="9000, 0, 0" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 > 416 404 <EventTrigger> 417 405 <events> … … 424 412 425 413 <!-- 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">414 <DistanceTrigger name="droneTrigger" position="13500, 2500, 10500" target="SpaceShip" distance=2000 stayActive="true" delay=0 /> 415 <SimpleNotification message="Search the drone!?" broadcast="true"> 428 416 <events> 429 417 <trigger> … … 431 419 </trigger> 432 420 </events> 421 </SimpleNotification> 422 423 <!-- Helper-Trigger for the drone(s) --> 424 <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=20 stayActive="true" delay=0 /> 425 <SimpleNotification message="Now your are prepared best!" broadcast="true"> 426 <events> 427 <trigger> 428 <EventListener event="drone1" /> 429 </trigger> 430 </events> 433 431 </SimpleNotification> 434 432 435 433 <!-- Helper-Trigger for second guard --> 436 <DistanceTrigger name=" guard2" position="18000,5000,21000" target="SpaceShip" distance=7000 stayActive="true" delay=0.1 >434 <DistanceTrigger name="flying2" position="18000,5000,21000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 > 437 435 <EventTrigger> 438 436 <events> … … 444 442 </DistanceTrigger> 445 443 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"> 451 <events> 452 <trigger> 453 <EventListener event="drone1" /> 454 </trigger> 455 </events> 456 </SimpleNotification> 444 <!-- Helper-Trigger for the Escape-Quest --> 445 <DistanceTrigger name="escape" position="18000,5000,21000" target="SpaceShip" distance=10000 stayActive="true" delay=0 > 446 <EventTrigger> 447 <events> 448 <trigger> 449 <EventListener event="guard2trigger1" /> 450 </trigger> 451 </events> 452 </EventTrigger> 453 </DistanceTrigger> 454 455 456 457 457 458 458 <!-- Helper-Trigger for mainship --> 459 459 <DistanceTrigger name="flying3" position="11000, 3000, 21000" target="SpaceShip" distance=1000 stayActive="true" delay=0 /> 460 <SimpleNotification message=" Hauptschiff in Sicht!" broadcast="true">460 <SimpleNotification message="Mainship sighted!" broadcast="true"> 461 461 <events> 462 462 <trigger> … … 476 476 477 477 <!-- DistanceTrigger for spion --> 478 <DistanceTrigger name="spionTrigger" position="0,-10000,42000" target="DistanceTriggerBeacon" targetname="spionBeacon" distance=100 stayActive="true" delay=0 beaconMode="identify" /> 479 478 <DistanceTrigger name="spionTrigger" position="0,-10000,42000" target="SpaceShip" distance=50 stayActive="true" delay=0 /> 480 479 <SimpleNotification message="spion is arrived!" broadcast="true"> 481 480 <events> … … 486 485 </SimpleNotification> 487 486 488 <DistanceTrigger name="destroyed" position="0,-10000,42000" target="DistanceTriggerBeacon" targetname="spionBeacon" distance=1000 stayActive="true" delay=0 beaconMode="exclude"/> 489 <SimpleNotification message="spion destroyed!" broadcast="true"> 490 <events> 491 <trigger> 492 <EventListener event="spion" /> 493 </trigger> 494 </events> 495 </SimpleNotification> 496 <SimpleNotification message="quest should be completed" broadcast="true"> 487 <DistanceTrigger name="destroyed" position="8500,-3000,32000" target="SpaceShip" distance=100000 stayActive="true" delay=0 > 488 <EventTrigger> 489 <events> 490 <trigger> 491 <EventListener event="spion" /> 492 </trigger> 493 </events> 494 </EventTrigger> 495 </DistanceTrigger> 496 <SimpleNotification message="Spion destroyed!" broadcast="true"> 497 497 <events> 498 498 <trigger> … … 543 543 </EventTrigger> 544 544 545 <SimpleNotification message="Fly to the blinking light!" broadcast="true">546 <events>547 <trigger>548 <EventListener event="guard1trigger4" />549 </trigger>550 </events>551 </SimpleNotification>552 553 554 545 <!-- For Guard 2 --> 555 546 <!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,4] --> … … 583 574 </EventTrigger> 584 575 585 <SimpleNotification message="Catch the spion" broadcast="true">586 587 588 <EventListener event="guard1trigger4" />589 590 591 576 <SimpleNotification message="first" broadcast="true"> 577 <events> 578 <trigger> 579 <EventListener event="guard2trigger1" /> 580 </trigger> 581 </events> 582 </SimpleNotification> 592 583 593 584 <!-- For Escape --> 594 585 <EventTrigger name="spion5" activations="1" stayactive="true" delay=0.1 > 586 <events> 587 <trigger> 588 <EventListener event="spion" /> 589 </trigger> 590 </events> 591 </EventTrigger> 595 592 596 593 <!-- For last fight --> … … 735 732 <events> 736 733 <visibility> 737 <EventListener event=" flying2" /> <!-- "guard1trigger4" -->734 <EventListener event="guard1trigger4" /> 738 735 </visibility> 739 736 </events> … … 755 752 <events> 756 753 <activity> 757 <EventListener event=" flying2" /> <!-- "guard1trigger4" -->754 <EventListener event="guard1trigger4" /> 758 755 </activity> 759 756 </events> … … 765 762 <events> 766 763 <visibility> 767 <EventListener event=" flying2" /> <!-- "guard1trigger4" -->764 <EventListener event="guard1trigger4" /> 768 765 </visibility> 769 766 </events> … … 785 782 <events> 786 783 <activity> 787 <EventListener event=" flying2" /> <!-- "guard1trigger4" -->784 <EventListener event="guard1trigger4" /> 788 785 </activity> 789 786 </events> … … 795 792 <events> 796 793 <visibility> 797 <EventListener event=" flying2" /> <!-- "guard1trigger4" -->794 <EventListener event="guard1trigger4" /> 798 795 </visibility> 799 796 </events> … … 815 812 <events> 816 813 <activity> 817 <EventListener event=" flying2" /> <!-- "guard1trigger4" -->814 <EventListener event="guard1trigger4" /> 818 815 </activity> 819 816 </events> … … 825 822 <events> 826 823 <visibility> 827 <EventListener event=" flying2" /> <!-- "guard1trigger4" -->824 <EventListener event="guard1trigger4" /> 828 825 </visibility> 829 826 </events> … … 845 842 <events> 846 843 <activity> 847 <EventListener event=" flying2" /> <!-- "guard1trigger4" -->844 <EventListener event="guard1trigger4" /> 848 845 </activity> 849 846 </events> … … 865 862 <WaypointController team=1> 866 863 <waypoints> 867 <Model mesh="cube.mesh" scale= 100 position="0,-10000,42000" /> <!-- "-7000,-10000,42000" -->868 <Model mesh="cube.mesh" scale= 100 position="-12000, -22000, 25000" />864 <Model mesh="cube.mesh" scale=0 position="0,-10000,42000" /> <!-- "-7000,-10000,42000" --> 865 <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" /> 869 866 </waypoints> 870 867 <events> … … 875 872 </WaypointController> 876 873 </controller> 874 <!-- 877 875 <attached> 878 876 <DistanceTriggerBeacon name="spionBeacon" /> 879 877 </attached> 878 --> 880 879 </SpaceShip> 881 880 … … 885 884 <events> 886 885 <visibility> 887 <EventListener event= spawntrigger2 /> <!-- "guard2trigger4" -->886 <EventListener event="guard2trigger4" /> 888 887 </visibility> 889 888 </events> … … 905 904 <events> 906 905 <activity> 907 <EventListener event= spawntrigger2 /> <!-- "guard2trigger4" -->906 <EventListener event="guard2trigger4" /> 908 907 </activity> 909 908 </events> … … 915 914 <events> 916 915 <visibility> 917 <EventListener event= spawntrigger2 /> <!-- "guard2trigger4" -->916 <EventListener event="guard2trigger4" /> 918 917 </visibility> 919 918 </events> … … 935 934 <events> 936 935 <activity> 937 <EventListener event= spawntrigger2 /> <!-- "guard2trigger4" -->936 <EventListener event="guard2trigger4" /> 938 937 </activity> 939 938 </events> … … 945 944 <events> 946 945 <visibility> 947 <EventListener event= spawntrigger2 /> <!-- "guard2trigger4" -->946 <EventListener event="guard2trigger4" /> 948 947 </visibility> 949 948 </events> … … 965 964 <events> 966 965 <activity> 967 <EventListener event= spawntrigger2 /> <!-- "guard2trigger4" -->966 <EventListener event="guard2trigger4" /> 968 967 </activity> 969 968 </events> … … 975 974 <events> 976 975 <visibility> 977 <EventListener event= spawntrigger2 /> <!-- "guard2trigger4" -->976 <EventListener event="guard2trigger4" /> 978 977 </visibility> 979 978 </events> … … 995 994 <events> 996 995 <activity> 997 <EventListener event= spawntrigger2 /> <!-- "guard2trigger4" -->996 <EventListener event="guard2trigger4" /> 998 997 </activity> 999 998 </events> … … 1006 1005 <events> 1007 1006 <visibility> 1008 <EventListener event= spawntrigger2 /> <!-- "escaped" -->1007 <EventListener event="escaped" /> 1009 1008 </visibility> 1010 1009 </events> … … 1026 1025 <events> 1027 1026 <activity> 1028 <EventListener event= spawntrigger2 /> <!-- "escaped" -->1027 <EventListener event="escaped" /> 1029 1028 </activity> 1030 1029 </events> … … 1036 1035 <events> 1037 1036 <visibility> 1038 <EventListener event= spawntrigger2 /> <!-- "escaped" -->1037 <EventListener event="escaped" /> 1039 1038 </visibility> 1040 1039 </events> … … 1056 1055 <events> 1057 1056 <activity> 1058 <EventListener event= spawntrigger2 /> <!-- "escaped" -->1057 <EventListener event="escaped" /> 1059 1058 </activity> 1060 1059 </events>
Note: See TracChangeset
for help on using the changeset viewer.