Changeset 10823 for code/branches/campaignHS15/data/levels
- Timestamp:
- Nov 22, 2015, 3:07:53 PM (9 years ago)
- Location:
- code/branches/campaignHS15/data/levels
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/data/levels/Campaign1.oxw
r10812 r10823 1 <!--TODO: Rename screenshot as soon as it is in data_extern branch --> 2 <!--TODO: Shuttle and Stations --> 1 3 <LevelInfo 2 name = " CampaignHS15 1"3 description = " Protect the transporter!"4 name = "Shuttle under Attack" 5 description = "The newly discovered hostile alien species is attacking one of our outset stations, Andromeda! There is no protecting it; you have to escort the escape shuttle to a safer location." 4 6 tags = "mission" 5 7 screenshot = "missionOne.png" … … 83 85 84 86 <GlobalQuest id="quest1"> 85 <QuestDescription title="Reach the Station A!" description="You need to get in contact with your base! Word is enemies are preparing to attack our people and goods! Be quick!" failMessage="" completeMessage="" />87 <QuestDescription title="Reach Andromeda Station!" description="You need to get in contact with your base! Word is enemies are preparing to attack our people and goods! Be quick!" failMessage="" completeMessage="" /> 86 88 <hints> 87 89 </hints> … … 113 115 114 116 <GlobalQuest id="quest3"> 115 <QuestDescription title="Fight the first Wave" description="Five enemies are approaching you! There main target is the transporter though, so destroy them - before the destroy the transporter with the valuebals goods (and of course the people aboard)!" failMessage="Oh no! You have to be better, they destroyed the transporter!" completeMessage="Good Job!" />117 <QuestDescription title="Fight the first Wave" description="Five enemies are approaching you! There main target is the shuttle though, so destroy them - before the destroy the escape shuttle with the valuebals goods (and of course the people aboard)!" failMessage="Oh no! You have to be better, they destroyed the shuttle!" completeMessage="Good Job!" /> 116 118 <hints> 117 119 </hints> … … 129 131 <subquests> 130 132 <GlobalQuest id="quest4.1"> 131 <QuestDescription title="> Get to the Defense Station" description="Fly to Station C, we will repair your spaceship while you will fight them with the Cannons." failMessage="" completeMessage="" />133 <QuestDescription title="> Get to the Defense Station" description="Fly to the defense station, we will guard your spaceship while you will fight them with the Cannon Suit." failMessage="" completeMessage="" /> 132 134 </GlobalQuest> 133 135 <GlobalQuest id="quest4.2"> 134 <QuestDescription title="> Get into the Cannon Suit!" description="Dock to Station C, you will be able to contol the Cannonson top of the station, perfect for fighting off a hord of enemies!" failMessage="" completeMessage="" />136 <QuestDescription title="> Get into the Cannon Suit!" description="Dock to the defense station, you will be able to contol the Cannon Suit on top of the station, perfect for fighting off a hord of enemies!" failMessage="" completeMessage="" /> 135 137 </GlobalQuest> 136 138 </subquests> … … 152 154 153 155 <GlobalQuest id="quest6"> 154 <QuestDescription title="Get back for the Showdown" description="Undock from Station Cand get into your Spaceship!" failMessage="" completeMessage="" />156 <QuestDescription title="Get back for the Showdown" description="Undock from the defense station and get into your Spaceship!" failMessage="" completeMessage="" /> 155 157 <hints> 156 158 </hints> 157 159 <subquests> 158 160 <GlobalQuest id="quest6.1"> 159 <QuestDescription title="> Collect the local Pickups" description="There are pickups scattered around Spacestation C, you can collect them if you want to, but it is advised to do so. They will support your task in destroying the enemies and make your life easier." failMessage="" completeMessage="" />161 <QuestDescription title="> Collect the local Pickups" description="There is a box with pickups close to the station, you can collect them if you want to, but it is advised to do so. They will support your task in destroying the enemies and make your life easier." failMessage="" completeMessage="" /> 160 162 </GlobalQuest> 161 163 <GlobalQuest id="quest6.2"> 162 <QuestDescription title="> Get back to the Transporter" description="Fly to the transporter!" failMessage="" completeMessage="" />164 <QuestDescription title="> Get back to the Shuttle" description="Fly to the Shuttle!" failMessage="" completeMessage="" /> 163 165 </GlobalQuest> 164 166 </subquests> … … 188 190 --> 189 191 192 193 190 194 <EventMultiTrigger name="spawntrigger"> 191 195 <events> … … 198 202 <DistanceTrigger name="reachedA" position="<?lua printC(cA) ?>" distance=1000 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true /> 199 203 200 <!-- TODO: find out how tolink an event to the COMPLETION of a dock. How is this not possible?? -->204 <!-- HACK: just waited out 3sec for animation. Cannot link an event to the COMPLETION of a dock. How is this not possible?? --> 201 205 <EventMultiTrigger name="dockedA" activations="1" stayactive="true" delay=3> 202 206 <events> … … 258 262 <?lua end ?> 259 263 260 <!-- This controls the ally AI controller so it is only active when active enemies are around! 261 TODO: Find a way to control the allies in another case (Multiple controllers are not allowed). --> 264 <!-- This controls the ally AI controller so it is only active when active enemies are around! --> 262 265 <EventDispatcher name="allyControllerDispatcher"> 263 266 <targets> … … 298 301 </DistanceTrigger> 299 302 300 <!-- TODO: find out how to link an event to the COMPLETION of a dock. How is this not possible?? -->301 303 <EventMultiTrigger name="dockedC" activations="1" stayactive="true" delay=3> 302 304 <events> … … 364 366 </Script> 365 367 366 <!-- See the MissionFailed DistanceTrigger attached to the shuttle here! !--> 367 368 <DistanceTrigger name="missionNotFailed" position="0,0,0" distance=100000 target="SpaceShip" beaconMode="identify" targetname="transporter" /> 369 370 <!--FIXME: How does this work but the below does not?? --> 371 372 <SimpleNotification broadcast="true" message="TEST"> 373 <events> 374 <trigger> 375 <Trigger invert=true> 376 <EventTrigger> 377 <events> 378 <trigger> 379 <EventListener event="missionNotFailed" /> 380 </trigger> 381 </events> 382 </EventTrigger> 383 </Trigger> 384 </trigger> 385 </events> 386 </SimpleNotification> 368 <EventMultiTrigger name="missionFailed" activations="1" stayactive=true> 369 <events> 370 <trigger> 371 <EventListener event="transporter" /> 372 </trigger> 373 </events> 374 </EventMultiTrigger> 375 376 <EventMultiTrigger name="failMissionHelper" delay=4 stayactive=true> 377 <events> 378 <trigger> 379 <EventListener event="missionFailed" /> 380 </trigger> 381 </events> 382 </EventMultiTrigger> 383 384 <DistanceTrigger active=false name="failMission" position="<?lua printC(cA) ?>" distance=100 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true> 385 <events> 386 <activity> 387 <EventListener event="failMissionHelper" /> 388 </activity> 389 </events> 390 </DistanceTrigger> 391 392 <!--HACK: Ultimately settled on docking A to fail the mission... that makes a whole lot of sense. --> 387 393 388 394 <Script code="Mission endMission fail" onLoad="false"> 389 395 <events> 390 396 <trigger> 391 <Trigger invert=true> 392 <EventTrigger> 393 <events> 394 <trigger> 395 <EventListener event="missionNotFailed" /> 396 </trigger> 397 </events> 398 </EventTrigger> 399 </Trigger> 397 <EventListener event="failMission" /> 400 398 </trigger> 401 399 </events> … … 530 528 <!--NOTIFICATIONS --> 531 529 532 <SimpleNotification broadcast="true" message="Welcome, Commander. Please report at Station A.">530 <SimpleNotification broadcast="true" message="Welcome, Commander. Please report at Andromeda Station."> 533 531 <events> 534 532 <trigger> … … 572 570 </SimpleNotification> 573 571 574 <SimpleNotification broadcast="true" message="Welcome to Station A, Commander.">572 <SimpleNotification broadcast="true" message="Welcome to Andromeda, Commander."> 575 573 <events> 576 574 <trigger> … … 641 639 </SimpleNotification> 642 640 643 <SimpleNotification broadcast="true" message="But it's not over yet! Get to Station Cand dock!">641 <SimpleNotification broadcast="true" message="But it's not over yet! Get to the defense station and dock!"> 644 642 <events> 645 643 <trigger> … … 723 721 </SimpleNotification> 724 722 725 <SimpleNotification broadcast="true" message="Get over to Station Bto take a break.">723 <SimpleNotification broadcast="true" message="Get over to the safe base to take a break."> 726 724 <events> 727 725 <trigger> … … 737 735 </SimpleNotification> 738 736 739 <SimpleNotification broadcast="true" message="It's over... we failed. Retreat !">737 <SimpleNotification broadcast="true" message="It's over... we failed. Retreat to Andromeda!"> 740 738 <events> 741 739 <trigger> … … 776 774 777 775 <!-- A, Coordinates are approx. (cos(29pi/16), sin(29pi/16), 0)*3000 --> 778 <Pawn name="statA" team=0 radarname=" Station A" position="<?lua printC(cA) ?>" direction="<?lua printC(dStation) ?>" yaw=-50 initialhealth=10000 maxhealth=10000>776 <Pawn name="statA" team=0 radarname="Andromeda Station" position="<?lua printC(cA) ?>" direction="<?lua printC(dStation) ?>" yaw=-50 initialhealth=10000 maxhealth=10000> 779 777 <templates> 780 778 <Template link="station" /> … … 803 801 804 802 <!-- B, Coordinates are approx. (-cos(29pi/16), sin(29pi/16), 0)*3000 --> 805 <Pawn name="statB" team=0 radarname="S tation B" position="<?lua printC(cB) ?>" direction="<?lua printC(dStation) ?>" yaw=210 initialhealth=10000 maxhealth=10000>803 <Pawn name="statB" team=0 radarname="Safe Base" position="<?lua printC(cB) ?>" direction="<?lua printC(dStation) ?>" yaw=210 initialhealth=10000 maxhealth=10000> 806 804 <templates> 807 805 <Template link="station" /> … … 830 828 831 829 <!-- C --> 832 <Pawn name="statC" team=0 radarname=" Station C" position="<?lua printC(cC) ?>" direction="<?lua printC(dStation) ?>" initialhealth=10000 maxhealth=10000>830 <Pawn name="statC" team=0 radarname="Defense Station" position="<?lua printC(cC) ?>" direction="<?lua printC(dStation) ?>" initialhealth=10000 maxhealth=10000> 833 831 <templates> 834 832 <Template link="station" /> … … 914 912 <DistanceTrigger position="320,50,320" distance="50" target="Pawn" beaconMode="identify" targetname="fpsPlayer" name="undockC" stayactive=true /> 915 913 <ForceField active=false position="0,0,0" mode="homogen" diameter="600" forcedirection = "0,-500,0" /> 916 <!-- TODO: Invisible boundaries to prevent falling off platform -->917 914 </attached> 918 915 <collisionShapes> … … 993 990 ?> 994 991 995 <!-- Box with Pickups. TODO: Pickups! --> 996 <SpaceShip 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" > 992 <Pawn team=0 health=30 position="<?lua print((cC[1]+600) .. ',' .. cC[2] .. ',' .. (cC[3]-600)) ?>" direction="0,-1,0" collisionType=dynamic mass=1000 radarname="Supplies" name="gotPickups"> 997 993 <events> 998 994 <visibility> … … 1009 1005 <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" /> 1010 1006 </collisionShapes> 1011 </ SpaceShip>1007 </Pawn> 1012 1008 1013 1009 <?lua … … 1123 1119 1124 1120 <!-- Transporter, starting Point is near A, end Point near B, the circle parameters for the waypoints are: Center = (0, -887, 0), r = 2613 --> 1125 <SpaceShip position="<?lua printC(cA) ?>" lookat="<?lua printC(cB) ?>" team=0 name="transporter" radarname="Shuttle" >1121 <SpaceShip position="<?lua printC(cA) ?>" lookat="<?lua printC(cB) ?>" team=0 name="transporter" radarname="Shuttle" > 1126 1122 <templates> 1127 1123 <Template link="spaceshipShuttle" /> … … 1130 1126 <DistanceTriggerBeacon name="NPC" /> 1131 1127 <DistanceTriggerBeacon name="transporter" /> 1132 <DistanceTrigger active=false name="reachedShuttle" position="0,0,0" distance=400 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true >1128 <DistanceTrigger active=false name="reachedShuttle" position="0,0,0" distance=400 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true initialhealth=1000 maxhealth=1000> 1133 1129 <events> 1134 1130 <activity>
Note: See TracChangeset
for help on using the changeset viewer.