Changeset 10802 for code/branches/campaignHS15
- Timestamp:
- Nov 14, 2015, 4:31:10 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/data/levels/Campaign1.oxw
r10792 r10802 73 73 > 74 74 75 <SpawnPoint name="playerSpawn" team=0 position="<?lua printC(cSpawn) ?>" lookat="<?lua printC(c Center) ?>" spawnclass=SpaceShip pawndesign=spaceshipescort />75 <SpawnPoint name="playerSpawn" team=0 position="<?lua printC(cSpawn) ?>" lookat="<?lua printC(cA) ?>" spawnclass=SpaceShip pawndesign=spaceshipescort /> 76 76 77 77 <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" /> … … 151 151 152 152 <GlobalQuest id="quest6"> 153 <QuestDescription title="Get back to the Transporter" description="Undock from Station C and get into your Spaceship!" failMessage="" completeMessage="" />153 <QuestDescription title="Get back for the Showdown" description="Undock from Station C and get into your Spaceship!" failMessage="" completeMessage="" /> 154 154 <hints> 155 155 </hints> … … 314 314 </EventMultiTrigger> 315 315 316 <EventMultiTrigger name="readyAfterWave2" activations="1" delay=2 stayactive=true> 317 <events> 318 <trigger> 319 <Trigger mode=and> 320 <EventTrigger> 321 <events> 322 <trigger> 323 <EventListener event="undockC" /> 324 </trigger> 325 </events> 326 </EventTrigger> 327 <EventTrigger> 328 <events> 329 <trigger> 330 <EventListener event="waveClear2" /> 331 </trigger> 332 </events> 333 </EventTrigger> 334 </Trigger> 335 </trigger> 336 </events> 337 </EventMultiTrigger> 338 339 <!-- See the DistanceTrigger attached to the shuttle here! !--> 340 341 <EventMultiTrigger name="wave3" activations="1" delay=12> 342 <events> 343 <trigger> 344 <EventListener event="reachedShuttle" /> 345 </trigger> 346 </events> 347 </EventMultiTrigger> 348 316 349 <!-- FIXME: This trigger needs fixing, as endMission can only be called by a Pawn Distance Trigger. Herpaderp. 317 350 Also, the fix proposed in MissionOne does not work anymore... --> … … 424 457 </QuestEffectBeacon> 425 458 459 <QuestEffectBeacon times=1> 460 <effects> 461 <CompleteQuest questId="quest6.1" /> 462 </effects> 463 <events> 464 <execute> 465 <EventListener event="gotPickups" /> 466 </execute> 467 </events> 468 </QuestEffectBeacon> 469 470 <QuestEffectBeacon times=1> 471 <effects> 472 <CompleteQuest questId="quest6.2" /> 473 <CompleteQuest questId="quest6" /> 474 </effects> 475 <events> 476 <execute> 477 <EventListener event="reachedShuttle" /> 478 </execute> 479 </events> 480 </QuestEffectBeacon> 481 426 482 <!--NOTIFICATIONS --> 427 483 … … 498 554 </SimpleNotification> 499 555 500 <SimpleNotification broadcast="true" message="Howdy Commander! Ready to kick alien ass?">556 <SimpleNotification broadcast="true" message="Howdy Commander! Ready to kick some alien ass?"> 501 557 <events> 502 558 <trigger> … … 557 613 </trigger> 558 614 </events> 559 </SimpleNotification> 615 </SimpleNotification> 560 616 561 617 <SimpleNotification broadcast="true" message="It should deal with those pesky invaders!"> … … 577 633 <trigger> 578 634 <EventListener event="waveClear2" /> 635 </trigger> 636 </events> 637 </SimpleNotification> 638 639 <SimpleNotification broadcast="true" message="Here's some supplies for you. Shoot that crate!"> 640 <events> 641 <trigger> 642 <EventListener event="readyAfterWave2" /> 643 </trigger> 644 </events> 645 </SimpleNotification> 646 647 <SimpleNotification broadcast="true" message="Our Intelligence reports one more wave..."> 648 <events> 649 <trigger> 650 <EventListener event="reachedShuttle" /> 651 </trigger> 652 </events> 653 </SimpleNotification> 654 655 <SimpleNotification broadcast="true" message="Ready to be a hero, Commander?"> 656 <events> 657 <trigger> 658 <EventTrigger stayactive="true" delay=4 > 659 <events> 660 <trigger> 661 <EventListener event="reachedShuttle" /> 662 </trigger> 663 </events> 664 </EventTrigger> 579 665 </trigger> 580 666 </events> … … 756 842 <Model position="0,0,0" mesh="crate.mesh" scale3D="80,5,80" /> 757 843 <Billboard position="320,50,320" material="Flares/ringflare2" colour="0.2,0.4,0.8" /> 758 <DistanceTrigger position="320,50,320" distance="50" target="Pawn" beaconMode="identify" targetname="fpsPlayer" name="undockC" />844 <DistanceTrigger position="320,50,320" distance="50" target="Pawn" beaconMode="identify" targetname="fpsPlayer" name="undockC" stayactive=true /> 759 845 <ForceField active=false position="0,0,0" mode="homogen" diameter="600" forcedirection = "0,-500,0" /> 760 846 <!-- TODO: Invisible boundaries to prevent falling off platform --> … … 837 923 ?> 838 924 925 <!-- Box with Pickups. TODO: Pickups! --> 926 <Pawn team=0 name="gotPickups" health=30 position="<?lua print((cC[1]+600) .. ',' .. cC[2] .. ',' .. (cC[3]-600)) ?>" direction="0,-1,0" collisionType=dynamic mass=1000 radarname="Supplies" > 927 <events> 928 <visibility> 929 <EventListener event="readyAfterWave2" /> 930 </visibility> 931 <activity> 932 <EventListener event="readyAfterWave2" /> 933 </activity> 934 </events> 935 <attached> 936 <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" /> 937 </attached> 938 <collisionShapes> 939 <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> 940 </collisionShapes> 941 </Pawn> 942 943 <!-- TODO: these pickups do not work somehow?? their templates are not recognized... 944 945 <PickupSpawner pickup=hugehealthpickup position="<?lua print((cC[1]+600) .. ',' .. cC[2] .. ',' .. (cC[3]-600)) ?>" triggerDistance="10" maxSpawnedItems="1" visible="true"> 946 <events> 947 <visibility> 948 <EventListener event="gotPickups" /> 949 </visibility> 950 </events> 951 </PickupSpawner> 952 953 <PickupSpawner pickup=mediumspeedpickup position="<?lua print((cC[1]+600) .. ',' .. cC[2] .. ',' .. (cC[3]-600)) ?>" triggerDistance="10" maxSpawnedItems="1" visible="true"> 954 <events> 955 <visibility> 956 <EventListener event="gotPickups" /> 957 </visibility> 958 </events> 959 </PickupSpawner> 960 961 --> 962 839 963 <!-- Allies --> 840 964 <?lua … … 907 1031 </SpaceShip> 908 1032 <?lua end ?> 909 <?lua 1033 <?lua 910 1034 enemies = enemies + enemiesIncrease 911 1035 end ?> … … 918 1042 <attached> 919 1043 <DistanceTriggerBeacon name="NPC" /> 1044 <DistanceTrigger active=false name="reachedShuttle" position="0,0,0" distance=400 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true> 1045 <events> 1046 <activity> 1047 <EventListener event="readyAfterWave2" /> 1048 </activity> 1049 </events> 1050 </DistanceTrigger> 920 1051 </attached> 921 1052 <controller>
Note: See TracChangeset
for help on using the changeset viewer.