Changeset 9894
- Timestamp:
- Dec 12, 2013, 4:13:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelMichael/data/levels/Spacefight.oxw
r9892 r9894 6 6 - If possible, do the spion with DistanceTriggerBeacon 7 7 - Place the explosion right (time and place) 8 - also place the docking-Trigger9 8 - bigger explosion? 10 9 - collisionShape for mainship … … 87 86 88 87 <!-- SPAWNTRIGGER --> 89 <!-- StartPoint -->90 <SpawnPoint team=0 position=" 0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -->88 <!-- StartPoint (0, 0, 0), lookat=(100, 0, 0) --> 89 <SpawnPoint team=0 position="-12350, -21950, 25500" lookat="-12350, -21950, 25300" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --> 91 90 <events> 92 91 <activity> … … 104 103 </EventTrigger> 105 104 106 <!-- Second Spawnpoint (after first guard) -- >107 <SpawnPoint team=0 position="13500, 2500, 10500" lookat="18000,5000,18000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -- >105 <!-- Second Spawnpoint (after first guard) -- 106 <SpawnPoint team=0 position="13500, 2500, 10500" lookat="18000,5000,18000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -- 108 107 <events> 109 108 <activity> … … 126 125 </SpawnPoint> 127 126 128 <!-- Thirth Spawnpoint (when reached Captain Hood) -- >129 <SpawnPoint team=0 position="-4000, -18000, 19000" lookat="-12000, -22000, 25000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -- >127 <!-- Thirth Spawnpoint (when reached Captain Hood) -- 128 <SpawnPoint team=0 position="-4000, -18000, 19000" lookat="-12000, -22000, 25000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -- 130 129 <events> 131 130 <activity> … … 148 147 </SpawnPoint> 149 148 150 <!-- Distance-Spawn-Trigger -->151 <DistanceTrigger name=spawntrigger2 position=" 0, 0,0" target="SpaceShip" distance=10 stayActive="true" delay=0 />149 <!-- Distance-Spawn-Trigger (0, 0, 0) --> 150 <DistanceTrigger name=spawntrigger2 position="-12350, -21950, 25500" target="SpaceShip" distance=10 stayActive="true" delay=0 /> 152 151 153 152 <!-- Drone pickup --> 154 153 <PickupSpawner pickup=dronepickup position="9750, -5350, 5650" triggerDistance="100" respawnTime="30" maxSpawnedItems="2" /> 155 154 156 <!-- QUEST DESCRIPTION -- 155 <!-- QUEST DESCRIPTION --> 157 156 <LocalQuest id="spacefight.guard1"> 158 157 <QuestDescription … … 165 164 failMessage="You've lost all your ships!" 166 165 completeMessage="Well done!" /> 167 <complete-effects>168 <AddQuest questId="spacefight.guard2" />169 </complete-effects>170 166 </LocalQuest> 171 167 … … 189 185 completeMessage="" /> 190 186 </LocalQuest> 191 187 <!-- 192 188 <LocalQuest id="spacefight.escape"> 193 189 <QuestDescription … … 309 305 </events> 310 306 </SimpleNotification> 311 312 307 313 308 <BlinkingBillboard position="11000, 1000, 7000" colour="0.0, 1.0, 0.0" frequency=0.5 amplitude=10 material="Examples/Flare" > … … 350 345 <events> 351 346 <execute> 352 <EventListener event="drone" /> 347 <EventListener event="drone1" /> 348 </execute> 349 </events> 350 </QuestEffectBeacon> 351 352 <QuestEffectBeacon times=0> 353 <effects> 354 <CompleteQuest questId="spacefight.upgrade1" /> 355 </effects> 356 <events> 357 <execute> 358 <EventListener event="victory" /> 353 359 </execute> 354 360 </events> … … 358 364 <QuestEffectBeacon times=0> 359 365 <effects> 366 <AddQuest questId="spacefight.guard2" /> 367 </effects> 368 <events> 369 <execute> 370 <EventListener event="droneTrigger" /> 371 </execute> 372 </events> 373 </QuestEffectBeacon> 374 375 <QuestEffectBeacon times=0> 376 <effects> 360 377 <CompleteQuest questId="spacefight.guard2" /> 361 378 </effects> 362 379 <events> 363 380 <execute> 364 <EventListener event="flying2 2" />381 <EventListener event="flying2" /> 365 382 </execute> 366 383 </events> … … 497 514 </SimpleNotification> 498 515 499 500 501 502 503 504 505 516 <EventTrigger name="droneTriggerDelay" stayactive="true" delay=5 > 517 <events> 518 <trigger> 519 <EventListener event="droneTrigger" /> 520 </trigger> 521 </events> 522 </EventTrigger> 506 523 507 524 <SimpleNotification message="Search the drone!" broadcast="true" > … … 532 549 </EventTrigger> 533 550 534 <SimpleNotification message="Fly back to the light..." broadcast="true">551 <SimpleNotification message="Fly back to the green light." broadcast="true"> 535 552 <events> 536 553 <trigger> … … 539 556 </events> 540 557 </SimpleNotification> 558 559 <Trigger name="secondDroneTrigger" mode="and" stayActive="true"> 560 <DistanceTrigger name="droneTrigger" position="11000, 1000, 7000" target="SpaceShip" distance=1000 stayActive="true" delay=0.1 /> 561 <EventTrigger> 562 <events> 563 <trigger> 564 <EventListener event="drone1" /> 565 </trigger> 566 </events> 567 </EventTrigger> 568 </Trigger> 569 570 <SimpleNotification message="The red light shows you the direction." broadcast="true"> 571 <events> 572 <trigger> 573 <EventListener event="secondDroneTrigger" /> 574 </trigger> 575 </events> 576 </SimpleNotification> 577 578 <BlinkingBillboard position="11500, 1500, 10000" colour="1.0, 0.0, 0.0" frequency=0.5 amplitude=5 material="Examples/Flare" > 579 <events> 580 <visibility> 581 <EventTrigger> 582 <EventTrigger invert=true> 583 <events> 584 <trigger> 585 <EventListener event="guard2trigger1" /> 586 </trigger> 587 </events> 588 </EventTrigger> 589 <events> 590 <trigger> 591 <EventListener event="secondDroneTrigger" /> 592 </trigger> 593 </events> 594 </EventTrigger> 595 </visibility> 596 </events> 597 </BlinkingBillboard> 541 598 542 599 <!-- Helper-Trigger for second guard --> … … 600 657 </EventTrigger> 601 658 602 <SimpleNotification message="Before he reachs the light..." broadcast="true" >659 <SimpleNotification message="Before he reachs the red light..." broadcast="true" > 603 660 <events> 604 661 <trigger> … … 847 904 </EventTrigger> 848 905 849 <SimpleNotification message="For that you will get the golden medal of the united space armies." broadcast="true"> 850 <events> 851 <trigger> 852 <EventListener event="victoryDelay1" /> 853 </trigger> 854 </events> 855 </SimpleNotification> 856 857 <EventTrigger name="victoryDelay2" delay=5 > 906 <EventTrigger name="victoryDelay1.1" delay=5.1 > 858 907 <events> 859 908 <trigger> 860 <EventListener event="victory Delay1" />909 <EventListener event="victory" /> 861 910 </trigger> 862 911 </events> 863 912 </EventTrigger> 864 913 865 <SimpleNotification message="Now dock at the mainship and free the Commander!" broadcast="true"> 914 <SimpleNotification message="For that you will get the golden medal" broadcast="true"> 915 <events> 916 <trigger> 917 <EventListener event="victoryDelay1.1" /> 918 </trigger> 919 </events> 920 </SimpleNotification> 921 922 <SimpleNotification message="of the united space armies." broadcast="true"> 923 <events> 924 <trigger> 925 <EventListener event="victoryDelay1" /> 926 </trigger> 927 </events> 928 </SimpleNotification> 929 930 <EventTrigger name="victoryDelay2" delay=5 > 931 <events> 932 <trigger> 933 <EventListener event="victoryDelay1.1" /> 934 </trigger> 935 </events> 936 </EventTrigger> 937 938 <EventTrigger name="victoryDelay2.1" delay=5.1 > 939 <events> 940 <trigger> 941 <EventListener event="victoryDelay1.1" /> 942 </trigger> 943 </events> 944 </EventTrigger> 945 946 <SimpleNotification message="Now dock at the mainship and" broadcast="true"> 947 <events> 948 <trigger> 949 <EventListener event="victoryDelay2.1" /> 950 </trigger> 951 </events> 952 </SimpleNotification> 953 954 <SimpleNotification message="free the Commander!" broadcast="true"> 866 955 <events> 867 956 <trigger> … … 888 977 889 978 <!-- Rescue the commander --> 890 <BlinkingBillboard position="-1 1800, -22090, 24900" colour="0.0, 0.0, 1.0" frequency=0.5 amplitude=5 material="Examples/Flare" >979 <BlinkingBillboard position="-12470, -21870, 25200" colour="0.0, 0.0, 1.0" frequency=0.5 amplitude=5 material="Examples/Flare" > 891 980 <events> 892 981 <visibility> … … 901 990 <events> 902 991 <trigger> 903 <EventListener event= "victory" />992 <EventListener event=spawntrigger2 /> <!-- "victory" --> 904 993 </trigger> 905 994 </events> … … 909 998 </BlinkingBillboard> 910 999 911 <DistanceTrigger name="dock" position="-1 1800, -22090, 24900" target="SpaceShip" distance=50 stayActive="true" delay=0 />1000 <DistanceTrigger name="dock" position="-12470, -21870, 25200" target="SpaceShip" distance=50 stayActive="true" delay=0 /> 912 1001 <SimpleNotification message="The Commander is on board!" broadcast="true"> 913 1002 <events> … … 1040 1129 1041 1130 <!-- For Escape --> 1042 <EventTrigger name="spion5" activations="1" stayactive="true" delay=0.1>1131 <EventTrigger name="spion5" stayactive="true" > 1043 1132 <events> 1044 1133 <trigger> … … 1046 1135 </trigger> 1047 1136 </events> 1048 </EventTrigger> 1137 </EventTrigger> 1049 1138 1050 1139 <!-- For last fight --> … … 1346 1435 <WaypointPatrolController alertnessradius=2000 team=1 active=false> 1347 1436 <waypoints> 1348 <Model mesh="cube.mesh" scale=10 position="- 10000, -22000, 24000" /> <!-- -12000, -22000, 25000 -4000, -18000, 19000 -->1349 <Model mesh="cube.mesh" scale=10 position="-1 1000, -22000, 23000" />1437 <Model mesh="cube.mesh" scale=10 position="-9500, -22000, 24000" /> <!-- -12000, -22000, 25000 -4000, -18000, 19000 --> 1438 <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23000" /> 1350 1439 <Model mesh="cube.mesh" scale=10 position="-11000, -20000, 23000" /> 1351 1440 <Model mesh="cube.mesh" scale=10 position="-10000, -20000, 24000" /> … … 1372 1461 <WaypointPatrolController alertnessradius=2000 team=1 active=false> 1373 1462 <waypoints> 1374 <Model mesh="cube.mesh" scale=10 position="-1 1000, -22000, 23000" />1463 <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23000" /> 1375 1464 <Model mesh="cube.mesh" scale=10 position="-11000, -20000, 23000" /> 1376 1465 <Model mesh="cube.mesh" scale=10 position="-10000, -20000, 24000" /> 1377 <Model mesh="cube.mesh" scale=10 position="- 10000, -22000, 24000" />1466 <Model mesh="cube.mesh" scale=10 position="-9500, -22000, 24000" /> 1378 1467 </waypoints> 1379 1468 <events> … … 1400 1489 <Model mesh="cube.mesh" scale=10 position="-11000, -20000, 23000" /> 1401 1490 <Model mesh="cube.mesh" scale=10 position="-10000, -20000, 24000" /> 1402 <Model mesh="cube.mesh" scale=10 position="- 10000, -22000, 24000" />1403 <Model mesh="cube.mesh" scale=10 position="-1 1000, -22000, 23000" />1491 <Model mesh="cube.mesh" scale=10 position="-9500, -22000, 24000" /> 1492 <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23000" /> 1404 1493 </waypoints> 1405 1494 <events> … … 1425 1514 <waypoints> 1426 1515 <Model mesh="cube.mesh" scale=10 position="-10000, -20000, 24000" /> 1427 <Model mesh="cube.mesh" scale=10 position="- 10000, -22000, 24000" />1428 <Model mesh="cube.mesh" scale=10 position="-1 1000, -22000, 23000" />1516 <Model mesh="cube.mesh" scale=10 position="-9500, -22000, 24000" /> 1517 <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23000" /> 1429 1518 <Model mesh="cube.mesh" scale=10 position="-11000, -20000, 23000" /> 1430 1519 </waypoints> … … 1451 1540 <WaypointPatrolController alertnessradius=2000 team=1 active=false> 1452 1541 <waypoints> 1453 <Model mesh="cube.mesh" scale=10 position="- 10000, -21000, 24000" />1454 <Model mesh="cube.mesh" scale=10 position="-10 500, -22000, 23500" />1455 <Model mesh="cube.mesh" scale=10 position="-1 1000, -21000, 23000" />1542 <Model mesh="cube.mesh" scale=10 position="-9750, -21000, 24000" /> 1543 <Model mesh="cube.mesh" scale=10 position="-10000, -22000, 23500" /> 1544 <Model mesh="cube.mesh" scale=10 position="-10750, -21000, 23000" /> 1456 1545 <Model mesh="cube.mesh" scale=10 position="-10500, -20000, 23500" /> 1457 1546 </waypoints> … … 1477 1566 <WaypointPatrolController alertnessradius=2000 team=1 active=false> 1478 1567 <waypoints> 1479 <Model mesh="cube.mesh" scale=10 position="-1 1000, -21000, 23000" />1568 <Model mesh="cube.mesh" scale=10 position="-10750, -21000, 23000" /> 1480 1569 <Model mesh="cube.mesh" scale=10 position="-10500, -20000, 23500" /> 1481 <Model mesh="cube.mesh" scale=10 position="- 10000, -21000, 24000" />1482 <Model mesh="cube.mesh" scale=10 position="-10 500, -22000, 23500" />1570 <Model mesh="cube.mesh" scale=10 position="-9750, -21000, 24000" /> 1571 <Model mesh="cube.mesh" scale=10 position="-10000, -22000, 23500" /> 1483 1572 </waypoints> 1484 1573 <events> … … 1516 1605 </SpaceShip> 1517 1606 1518 <BlinkingBillboard position="10000, 2000, 17000" colour=" 0.0, 0.0, 1.0" frequency=0.5 amplitude=20 material="Examples/Flare" >1607 <BlinkingBillboard position="10000, 2000, 17000" colour="1.0, 1.0, 0.0" frequency=0.5 amplitude=20 material="Examples/Flare" > 1519 1608 <events> 1520 1609 <visibility> … … 1664 1753 team = 1 1665 1754 position = "-12000, -22000, 25000" 1666 mass = 10000 1755 mass = 10000000000 1667 1756 health = 100000 initialhealth=100000 maxhealth="100000" 1668 1757 name = "Mainship" … … 1681 1770 <attached> 1682 1771 <Model scale=200 mesh="drone.mesh" position = "0,0,0" lookat="40000, 4000, 27000" /> 1683 <!-- <Model mesh="cube.mesh" mass=10 position="-560,0,0" scale3D="115,100,245"/>1684 <Model mesh="cube.mesh" mass=10 position=" 290,0,-480" scale3D="115,100,245" yaw=-120 />1685 <Model mesh="cube.mesh" mass=10 position=" 290,0,480" scale3D="115,100,245" yaw=-240/>1686 <Model mesh="cube.mesh" mass=10 position="- 280,0,0" scale3D="163,50,50"/>1687 <Model mesh="cube.mesh" mass=10 position=" 140,0,-240" scale3D="163,50,50" yaw=-120/>1688 <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D=" 163,50,50" yaw=-240/>1689 1772 <Model mesh="cube.mesh" mass=10 position="-445,110,120" scale3D="45,45,150" yaw=56 pitch=-4 roll=0 /> 1773 <Model mesh="cube.mesh" mass=10 position="-295,125,220" scale3D="28,28,28" yaw=56 pitch=-4 roll=0 /> 1774 <Model mesh="cube.mesh" mass=10 position="-400,350,-200" scale3D="80,280,800" yaw=56 pitch=-4 roll=5 /> 1775 <Model mesh="cube.mesh" mass=10 position="-300,630,-100" scale3D="250,50,500" yaw=56 pitch=-4 roll=5 /> 1776 <Model mesh="cube.mesh" mass=10 position="-150,-150,-550" scale3D="80,280,800" yaw=56 pitch=-4 roll=65 /> 1777 <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="250,50,500" yaw=0 pitch=0 roll=0 /> 1778 <!-- <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" /> 1690 1779 <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-120/> 1691 1780 <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-240/> … … 1696 1785 <Model mesh="cube.mesh" mass=10 position="-100,264,0" scale3D="26,105,43" roll=-49/> 1697 1786 <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/> 1698 <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/> 1787 <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/> --> 1699 1788 </attached> 1700 1789 <collisionShapes> 1701 <!-- <BoxCollisionShape position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes -- 1702 1790 <BoxCollisionShape position="-560,0,0" halfExtents="115,100,245" /> <!-- Three lower boxes --> 1791 <!-- <BoxCollisionShape position="290,0,-480" halfExtents="115,100,245" yaw=-120 /> 1703 1792 <BoxCollisionShape position="290,0,480" halfExtents="115,100,245" yaw=-240 /> 1704 <BoxCollisionShape position="-280,0,0" halfExtents="163,50,50" /> <!-- Three lower connections --1793 <BoxCollisionShape position="-280,0,0" halfExtents="163,50,50" /> <!-- Three lower connections -- 1705 1794 <BoxCollisionShape position="140,0,-240" halfExtents="163,50,50" yaw=-120 /> 1706 1795 <BoxCollisionShape position="140,0,240" halfExtents="163,50,50" yaw=-240 /> 1707 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" /> <!-- Upper Tower --1796 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" /> <!-- Upper Tower -- 1708 1797 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-120 /> 1709 1798 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-240 /> 1710 <BoxCollisionShape position="0,400,0" halfExtents="43,110,26" yaw=-30 /> <!-- Middle one--1711 <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /> <!--Three lower legs --1799 <BoxCollisionShape position="0,400,0" halfExtents="43,110,26" yaw=-30 /> <!-- Middle one-- 1800 <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /> <!--Three lower legs -- 1712 1801 <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=-30 /> 1713 1802 <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=30 /> 1714 <BoxCollisionShape position="-100,264,0" halfExtents="26,105,43" roll=-49 /> <!--Three upper legs --1803 <BoxCollisionShape position="-100,264,0" halfExtents="26,105,43" roll=-49 /> <!--Three upper legs -- 1715 1804 <BoxCollisionShape position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 /> 1716 <BoxCollisionShape position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 /> -->1805 <BoxCollisionShape position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 /> --> 1717 1806 </collisionShapes> 1718 1807 <events>
Note: See TracChangeset
for help on using the changeset viewer.