Changeset 10907
- Timestamp:
- Nov 30, 2015, 10:25:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/data/levels/shuttleRetaliation.oxw
r10906 r10907 209 209 <hints> 210 210 <QuestHint id="quest4.1hint1"> 211 <QuestDescription title="Choosing" description="To make this choice, kill one ofthe remaining enemy ships. The divisions will follow your decision." />211 <QuestDescription title="Choosing" description="To make this choice, kill the remaining enemy ships. The divisions will follow your decision." /> 212 212 </QuestHint> 213 213 </hints> … … 217 217 <hints> 218 218 <QuestHint id="quest4.2hint1"> 219 <QuestDescription title="Choosing" description="To make this choice, fly away from the remaining enemy ships. The divisions will follow your decision." />219 <QuestDescription title="Choosing" description="To make this choice, fly out of the sector. The divisions will follow your decision." /> 220 220 </QuestHint> 221 221 </hints> … … 302 302 </EventTrigger> 303 303 </Trigger> 304 </Trigger> 304 </Trigger> 305 305 </activity> 306 306 </events> … … 366 366 <events> 367 367 <trigger> 368 <Trigger mode=or> 369 <?lua 370 for i = 1, enemies, 1 371 do 372 ?> 373 <EventTrigger active=false> 374 <events> 375 <activity> 376 <EventTrigger> 377 <events> 378 <trigger> 379 <EventListener event="oneUnitLeft" /> 380 </trigger> 381 </events> 382 </EventTrigger> 383 </activity> 384 <trigger> 385 <EventListener event="enemy<?lua print(i) ?>" /> <!--TODO: trigger this with something that comes up when an enemy dies WITHOUT breaking the rest --> 386 </trigger> 387 </events> 388 </EventTrigger> 389 <?lua end ?> 390 </Trigger> 391 </trigger> 392 </events> 368 <EventListener event="allUnitsDown" /> 369 </trigger> 370 </events> 371 </EventMultiTrigger> 372 373 <EventMultiTrigger name="enemyPlanetMulti"> 374 <events> 375 <trigger> 376 <EventListener event="enemyPlanet" /> 377 </trigger> 378 </events> 393 379 </EventMultiTrigger> 394 380 … … 473 459 <events> 474 460 <trigger> 475 <EventListener event="unit<?lua print( i) ?>Down" />461 <EventListener event="unit<?lua print(k) ?>Down" /> 476 462 </trigger> 477 463 </events> … … 485 471 <!--TODO: Complete the DistanceTriggers for completing/succeeding correctly! --> 486 472 487 <DistanceTrigger active=false name="missionComplete" position="2000,0,0" distance=100 target="SpaceShip" stayactive=true>473 <DistanceTrigger active=false invert=true name="almostLeft" position="<?lua printC(cSector) ?>" distance="<?lua print(radSector-200) ?>" target="SpaceShip" beaconMode="identify" targetname="Commander" stayactive=true> 488 474 <events> 489 475 <activity> 490 <EventListener event="missionCompletePrereq" /> 476 <Trigger mode=and> 477 <EventTrigger> 478 <events> 479 <trigger> 480 <EventListener event="oneUnitLeft" /> 481 </trigger> 482 </events> 483 </EventTrigger> 484 <EventTrigger invert=true> 485 <events> 486 <trigger> 487 <EventListener event="enemyPlanetMulti" /> 488 </trigger> 489 </events> 490 </EventTrigger> 491 </Trigger> 491 492 </activity> 492 493 </events> 493 494 </DistanceTrigger> 494 495 496 <DistanceTrigger active=false invert=true name="leftSector" position="<?lua printC(cSector) ?>" distance="<?lua print(radSector) ?>" target="SpaceShip" beaconMode="identify" targetname="Commander" stayactive=true> 497 <events> 498 <activity> 499 <EventListener event="oneUnitLeft" /> 500 </activity> 501 </events> 502 </DistanceTrigger> 503 495 504 <Script code="Mission endMission true" onLoad="false"> 496 505 <events> 497 506 <trigger> 498 <EventListener event="missionComplete" /> 499 </trigger> 500 </events> 501 </Script> 502 503 <DistanceTrigger active=false name="missionFailed" position="2000,0,0" distance=100 target="SpaceShip" stayactive=true> 504 <events> 505 <activity> 506 <EventListener event="missionFailedPrereq" /> 507 </activity> 508 </events> 509 </DistanceTrigger> 510 511 <Script code="Mission endMission fail" onLoad="false"> 512 <events> 513 <trigger> 514 <EventListener event="failMission" /> 507 <EventListener event="leftSector" /> 515 508 </trigger> 516 509 </events> … … 804 797 </SimpleNotification> 805 798 806 <SimpleNotification broadcast="true" message=" Well done, Commander. You got rid of the alien scum.">799 <SimpleNotification broadcast="true" message="Roger that, Commander. We destroy their planet."> 807 800 <events> 808 801 <trigger> … … 812 805 </SimpleNotification> 813 806 814 <SimpleNotification broadcast="true" message="Roger that, Commander. We kill them."> 815 <events> 816 <trigger> 817 <EventListener event="noMercy" /> 807 <SimpleNotification broadcast="true" message="Well done, Commander! Now exfiltrate the sector!"> 808 <events> 809 <trigger> 810 <EventListener event="enemyPlanetMulti" /> 811 </trigger> 812 </events> 813 </SimpleNotification> 814 815 <SimpleNotification broadcast="true" message="This will have dire consequences, Commander!"> 816 <events> 817 <trigger> 818 <EventListener event="almostLeft" /> 818 819 </trigger> 819 820 </events> … … 901 902 <ForceField position="0,0,0" mode="sphere" diameter="6000" velocity="-500" /> 902 903 </attached> 903 904 <collisionShapes> 904 905 <SphereCollisionShape radius="3000" position="0,0,0" /> 905 906 </collisionShapes> … … 965 966 > 966 967 <attached> 967 <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-500" />968 <ForceField position="0,0,0" rotationaxis="0.1,1,0.1"mode="sphere" diameter="10000" velocity="-500" /> 968 969 </attached> 969 970 <events> 970 971 <activity> 971 <EventListener event="enemyPlanetVisible" /> 972 <Trigger name="enemyPlanetVisible" mode=and> 973 <EventTrigger> 974 <events> 975 <trigger> 976 <EventListener event="cloakBeacon" /> 977 </trigger> 978 </events> 979 </EventTrigger> 980 <EventTrigger invert=true> 981 <events> 982 <trigger> 983 <EventListener event="enemyPlanetMulti" /> 984 </trigger> 985 </events> 986 </EventTrigger> 987 </Trigger> 972 988 </activity> 973 989 <visibility> 974 <EventListener event="enemyPlanetVisible" /> 990 <Trigger name="enemyPlanetVisible" mode=and> 991 <EventTrigger> 992 <events> 993 <trigger> 994 <EventListener event="cloakBeacon" /> 995 </trigger> 996 </events> 997 </EventTrigger> 998 <EventTrigger invert=true> 999 <events> 1000 <trigger> 1001 <EventListener event="enemyPlanetMulti" /> 1002 </trigger> 1003 </events> 1004 </EventTrigger> 1005 </Trigger> 975 1006 </visibility> 976 1007 </events> 1008 <collisionShapes> 1009 <SphereCollisionShape position="0,0,0" radius=5000/> 1010 </collisionShapes> 977 1011 </Planet> 978 1012 979 <EventMultiTrigger name="enemyPlanetMulti">980 <events>981 <trigger>982 <EventListener event="enemyPlanet" />983 </trigger>984 </events>985 </EventMultiTrigger>986 987 <EventMultiTrigger name="enemyPlanetVisible">988 <events>989 <trigger>990 <Trigger mode=and>991 <EventTrigger>992 <events>993 <trigger>994 <EventListener event="cloakBeacon" />995 </trigger>996 </events>997 </EventTrigger>998 <EventTrigger invert=true>999 <events>1000 <trigger>1001 <EventListener event="enemyPlanetMulti" />1002 </trigger>1003 </events>1004 </EventTrigger>1005 </Trigger>1006 </trigger>1007 </events>1008 </EventMultiTrigger>1009 1010 1013 <!-- Pawn that represents the planet during destruction --> 1011 1014 1012 <Pawn team=1 health=300 name="enemyPlanet" position="<?lua printC(cEnemyBasePlanet) ?>" collisionType=dynamic mass=5000000 radarname="Enemy home planet"> 1015 <Pawn team=1 visible=false active=false scale=5000 health=500 name="enemyPlanet" position="<?lua printC(cEnemyBasePlanet) ?>" collisionType=dynamic mass=5000000 radarname="Enemy home planet"> 1016 <events> 1017 <activity> 1018 <EventListener event="allUnitsDown" /> 1019 </activity> 1020 <visibility> 1021 <EventListener event="allUnitsDown" /> 1022 </visibility> 1023 </events> 1013 1024 <collisionShapes> 1014 <SphereCollisionShape position="0,0,0" radius=5 500/>1025 <SphereCollisionShape position="0,0,0" radius=5005/> 1015 1026 </collisionShapes> 1016 1027 </Pawn>
Note: See TracChangeset
for help on using the changeset viewer.