Changeset 9873 for code/branches/levelMichael
- Timestamp:
- Dec 6, 2013, 11:42:18 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelMichael/data/levels/Spacefight.oxw
r9872 r9873 3 3 <!-- 4 4 To Do: 5 - Bigger Way for guard 3 (sonst im Mainship) 6 - Spawnpoint 3 7 - Discuss between Player and Captain Hood 8 - Scout-way 5 9 - Different Colors of the light! 6 10 - If possible, do the spion with DistanceTriggerBeacon 7 - More health for spacestations 11 - Place the explosion right (time an place) 12 - also place the docking-Trigger 13 - bigger explosion? 14 - collisionShape for mainship 15 - DistanceTriggerBeacon for Captain Hood 8 16 --> 9 17 … … 61 69 <?lua include("includes/pickups.oxi") ?> 62 70 63 64 65 <CountDown66 position = "0. 49, 0.05"71 <Script code="showGUI NotificationLayer false true" needsGraphics="true" /> 72 <OverlayGroup name="spacefightHUD" scale = "1, 1"> 73 <CountDown 74 position = "0.51, 0.05" 67 75 pickpoint = "0.0, 0.0" 68 76 font = "ShareTechMono" 69 textsize = 0. 0677 textsize = 0.1 70 78 colour = "1.0, 1.0, 1.0, 1.0" 71 align = " right"79 align = "center" 72 80 counter = "10.0" 73 speedfactor = " 2.0"81 speedfactor = "1.0" 74 82 active = "false" 75 83 > 76 77 78 <EventListener event="spawntrigger2" />79 80 81 </CountDown>82 84 <events> 85 <activity> 86 <EventListener event="timer1" /> 87 </activity> 88 </events> 89 </CountDown> 90 </OverlayGroup> 83 91 84 92 <!-- SPAWNTRIGGER --> 85 86 <!-- Spawntrigger --> 87 <!-- StartPoint --> 93 <!-- StartPoint --> 88 94 <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --> 89 95 <events> … … 103 109 104 110 <!-- Second Spawnpoint (after first guard) --> 105 <SpawnPoint team=0 position="13500, 2500, 10500" lookat="18000,5000,18000" spawnclass=SpaceShip pawndesign=spaceshipswallow delay=0.1><!-- pawndesign=spaceshipcollateraldamage -->111 <SpawnPoint team=0 position="13500, 2500, 10500" lookat="18000,5000,18000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --> 106 112 <events> 107 113 <activity> 108 <EventListener event="flying1" /> 114 <EventTrigger> 115 <EventTrigger invert=true > 116 <events> 117 <trigger> 118 <EventListener event="reached" /> 119 </trigger> 120 </events> 121 </EventTrigger> 122 <events> 123 <trigger> 124 <EventListener event="flying1" /> 125 </trigger> 126 </events> 127 </EventTrigger> 109 128 </activity> 110 </events> -->129 </events> 111 130 </SpawnPoint> 112 131 113 <!-- Thirth Spawnpoint (when reached Captain Hood) -- >114 <SpawnPoint team=0 position="-4000, -18000, 19000" lookat="-12000, -22000, 25000" spawnclass=SpaceShip pawndesign=spaceshipswallow delay=0.1><!-- pawndesign=spaceshipcollateraldamage -->132 <!-- Thirth Spawnpoint (when reached Captain Hood) -- 133 <SpawnPoint team=0 position="-4000, -18000, 19000" lookat="-12000, -22000, 25000" spawnclass=SpaceShip pawndesign=spaceshipswallow /> <!-- pawndesign=spaceshipcollateraldamage -- 115 134 <events> 116 135 <activity> 117 136 <EventListener event="reached" /> 118 137 </activity> 119 </events> -->138 </events> 120 139 </SpawnPoint> 121 140 … … 540 559 541 560 <!-- Helper-Trigger for Captain Hood --> 542 <DistanceTrigger name="reached" position="10000, 2000, 17000" target="SpaceShip" distance=1000 stayActive="true" delay=0.1 /> 561 <DistanceTrigger name="reached" position="10000, 2000, 17000" target="SpaceShip" distance=1000 stayActive="true" delay=0.1 > 562 <EventTrigger> 563 <events> 564 <trigger> 565 <EventListener event="guard2trigger4" /> 566 </trigger> 567 </events> 568 </EventTrigger> 569 </DistanceTrigger> 570 543 571 <SimpleNotification message="Follow Captain Hood!" broadcast="true"> 544 572 <events> … … 600 628 </SimpleNotification> 601 629 630 <!-- End of Mainfight --> 631 <DistanceTrigger name="victory" position="-12000, -22000, 25000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 > 632 <EventTrigger> 633 <events> 634 <trigger> 635 <EventListener event="guard3trigger4" /> 636 </trigger> 637 </events> 638 </EventTrigger> 639 </DistanceTrigger> 640 602 641 <!-- Rescue the commander --> 603 <DistanceTrigger name="dock" position="-12100, -22000, 25000" target="SpaceShip" distance=100 stayActive="true" delay=0 /> 642 <BlinkingBillboard position="-11800, -22090, 24900" color="1.0, 1.0, 0.05" frequency=0.5 amplitude=5 material="Examples/Flare" > 643 <events> 644 <visibility> 645 <EventTrigger> 646 <EventTrigger invert=true> 647 <events> 648 <trigger> 649 <EventListener event="dock" /> 650 </trigger> 651 </events> 652 </EventTrigger> 653 <events> 654 <trigger> 655 <EventListener event="victory" /> 656 </trigger> 657 </events> 658 </EventTrigger> 659 </visibility> 660 </events> 661 </BlinkingBillboard> 662 663 <DistanceTrigger name="dock" position="-11800, -22090, 24900" target="SpaceShip" distance=50 stayActive="true" delay=0 /> 664 <SimpleNotification message="The Commander is on board!" broadcast="true"> 665 <events> 666 <trigger> 667 <EventListener event="dock" /> 668 </trigger> 669 </events> 670 </SimpleNotification> 671 672 <EventTrigger name="dockdelay1" activations="1" stayactive="true" delay=5 > 673 <events> 674 <trigger> 675 <EventListener event="dock" /> 676 </trigger> 677 </events> 678 </EventTrigger> 679 680 <EventTrigger name="dockdelay2" activations="1" stayactive="true" delay=5.1 > 681 <events> 682 <trigger> 683 <EventListener event="dock" /> 684 </trigger> 685 </events> 686 </EventTrigger> 687 688 <SimpleNotification message="You have 10 seconds to move away..." broadcast="true"> 689 <events> 690 <trigger> 691 <EventListener event="dockdelay1" /> 692 </trigger> 693 </events> 694 </SimpleNotification> 695 696 <SimpleNotification message="A bomb is placed in the mainship..." broadcast="true"> 697 <events> 698 <trigger> 699 <EventListener event="dockdelay2" /> 700 </trigger> 701 </events> 702 </SimpleNotification> 703 704 <!-- TIMER-EVENTS --> 705 <EventTrigger name="timer1" activations="1" stayactive="true" delay=5 > 706 <events> 707 <trigger> 708 <EventListener event="dockdelay2" /> 709 </trigger> 710 </events> 711 </EventTrigger> 712 713 <EventTrigger name="timerEnd" activations="1" stayactive="true" delay=10 > 714 <events> 715 <trigger> 716 <EventListener event="timer1" /> 717 </trigger> 718 </events> 719 </EventTrigger> 720 721 <EventTrigger name="negativeTimerEnd" invert="true" delay=0 > 722 <events> 723 <trigger> 724 <EventListener event="timerEnd" /> 725 </trigger> 726 </events> 727 </EventTrigger> 604 728 605 729 <!-- ----------------------------------------------------- --> … … 723 847 724 848 <!-- ----------------------------------------------------- --> 725 726 849 <!-- Passive Piraten: Guard 1 --> 727 728 850 <SpaceShip position="8000,1000,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol"> 729 851 <events> … … 766 888 767 889 <!-- Angreiffende Piraten: Guard 1 --> 768 769 890 <SpaceShip position="8000,-1000,1000" lookat="8000,1000,-1000" name="firstPatrol" visible="true" radarname="Patrol" > 770 891 <events> … … 819 940 <events> 820 941 <visibility> 821 <EventListener event="guard1trigger4" /> <!-- guard1trigger4 -->942 <EventListener event="guard1trigger4" /> 822 943 </visibility> 823 944 </events> … … 849 970 <events> 850 971 <visibility> 851 <EventListener event="guard1trigger4" /> <!-- guard1trigger4 -->972 <EventListener event="guard1trigger4" /> 852 973 </visibility> 853 974 </events> … … 879 1000 <events> 880 1001 <visibility> 881 <EventListener event="guard1trigger4" /> <!-- guard1trigger4 -->1002 <EventListener event="guard1trigger4" /> 882 1003 </visibility> 883 1004 </events> … … 909 1030 <events> 910 1031 <visibility> 911 <EventListener event="guard1trigger4" /> <!-- guard1trigger4 -->1032 <EventListener event="guard1trigger4" /> 912 1033 </visibility> 913 1034 </events> … … 1161 1282 <WaypointPatrolController alertnessradius=2000 team=0 active=false> 1162 1283 <waypoints> 1163 <Model mesh="cube.mesh" scale= 100 position="0, -1000, 18000" />1164 <Model mesh="cube.mesh" scale= 100 position="-4000, -18000, 19000" />1165 <Model mesh="cube.mesh" scale= 100 position="-11500, -22000, 25000" />1284 <Model mesh="cube.mesh" scale=0 position="0, -1000, 18000" /> 1285 <Model mesh="cube.mesh" scale=0 position="-4000, -18000, 19000" /> 1286 <Model mesh="cube.mesh" scale=0 position="-11500, -22000, 25000" /> 1166 1287 </waypoints> 1167 1288 <events> … … 1195 1316 </BlinkingBillboard> 1196 1317 1197 <SimpleNotification message="Your friend , Captain Hood,is dead..." broadcast="true">1318 <SimpleNotification message="Your friend Captain Hood is dead..." broadcast="true"> 1198 1319 <events> 1199 1320 <trigger> … … 1211 1332 </EventTrigger> 1212 1333 1213 <SimpleNotification message="He died in a fight ,like he wished it!" broadcast="true">1334 <SimpleNotification message="He died in a fight like he wished it!" broadcast="true"> 1214 1335 <events> 1215 1336 <trigger> … … 1221 1342 <!-- ----------------------------------------------------- --> 1222 1343 1223 <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"/> 1344 <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" /> 1345 1224 1346 1225 1347 … … 1318 1440 1319 1441 <!-- ------------------------- Mainship ------------------ --> 1320 <StaticEntity position="-12000, -22000, 25000" collisionType=static yaw=112 pitch=67 > 1321 <attached> 1322 <?lua 1323 createSpaceStationPar(0,2,1,2,1,4,1,50) 1324 ?> 1325 </attached> 1326 </StaticEntity> 1442 <SpaceShip 1443 team = 1 1444 position = "-12000, -22000, 25000" 1445 mass = 10000 1446 health = 100000 initialhealth=100000 maxhealth="100000" 1447 name = "Mainship" 1448 radarname = "Mainship" 1449 visible = "true" > 1450 <attached> 1451 <Model scale=250 mesh="drone.mesh" position = "0,0,0" lookat="40000, 4000, 27000" /> 1452 <!-- <Model mesh="cube.mesh" mass=10 position="-560,0,0" scale3D="115,100,245" /> 1453 <Model mesh="cube.mesh" mass=10 position="290,0,-480" scale3D="115,100,245" yaw=-120 /> 1454 <Model mesh="cube.mesh" mass=10 position="290,0,480" scale3D="115,100,245" yaw=-240 /> 1455 <Model mesh="cube.mesh" mass=10 position="-280,0,0" scale3D="163,50,50" /> 1456 <Model mesh="cube.mesh" mass=10 position="140,0,-240" scale3D="163,50,50" yaw=-120/> 1457 <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="163,50,50" yaw=-240/> 1458 <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" /> 1459 <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-120/> 1460 <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-240/> 1461 <Model mesh="cube.mesh" mass=10 position="0,400,0" scale3D="43,110,26" yaw=-30 /> 1462 <Model mesh="cube.mesh" mass=10 position="-200,100,0" scale3D="26,50,43" /> 1463 <Model mesh="cube.mesh" mass=10 position="100,100,-173" scale3D="43,50,26" yaw=-30/> 1464 <Model mesh="cube.mesh" mass=10 position="100,100,173" scale3D="43,50,26" yaw=30/> 1465 <Model mesh="cube.mesh" mass=10 position="-100,264,0" scale3D="26,105,43" roll=-49/> 1466 <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/> 1467 <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/> --> 1468 </attached> 1469 <collisionShapes> 1470 <!-- <BoxCollisionShape position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes -- 1471 <BoxCollisionShape position="290,0,-480" halfExtents="115,100,245" yaw=-120 /> 1472 <BoxCollisionShape position="290,0,480" halfExtents="115,100,245" yaw=-240 /> 1473 <BoxCollisionShape position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections -- 1474 <BoxCollisionShape position="140,0,-240" halfExtents="163,50,50" yaw=-120 /> 1475 <BoxCollisionShape position="140,0,240" halfExtents="163,50,50" yaw=-240 /> 1476 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower -- 1477 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-120 /> 1478 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-240 /> 1479 <BoxCollisionShape position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one-- 1480 <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs -- 1481 <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=-30 /> 1482 <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=30 /> 1483 <BoxCollisionShape position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs -- 1484 <BoxCollisionShape position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 /> 1485 <BoxCollisionShape position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 /> --> 1486 </collisionShapes> 1487 <events> 1488 <visibility> 1489 <EventListener event="negativeTimerEnd" /> 1490 </visibility> 1491 </events> 1492 </SpaceShip> 1493 1494 <!-- PARTICLE EFFECT --> 1495 1496 <ParticleSpawner position="-12000, -22000, 25000" source="Orxonox/RingExp" autostart="false" lifetime=500 loop=0 startdelay=2.5> 1497 <events> 1498 <spawn> 1499 <EventListener event="timerEnd" /> 1500 </spawn> 1501 </events> 1502 </ParticleSpawner> 1503 <ParticleSpawner position="-12000, -22000, 25000" source="Orxonox/RingExp2" autostart="false" lifetime=500 loop=0 startdelay=2> 1504 <events> 1505 <spawn> 1506 <EventListener event="timerEnd" /> 1507 </spawn> 1508 </events> 1509 </ParticleSpawner> 1510 <ParticleSpawner position="-12000, -22000, 25000" source="Orxonox/RingExp3" autostart="false" lifetime=500 loop=0 startdelay=2> 1511 <events> 1512 <spawn> 1513 <EventListener event="timerEnd" /> 1514 </spawn> 1515 </events> 1516 </ParticleSpawner> 1327 1517 1328 1518 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.