Changeset 8932
- Timestamp:
- Nov 13, 2011, 11:21:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamecontent/data/levels/missionOne.oxw
r8923 r8932 248 248 <QuestDescription title="Navigation" description="The next goal is to find and move towards the test targets for your weaponsystem. The three arrows that just appeared down in the right corner of your screen indicate in which direction you have to turn your spacefighter to find your next targets. 249 249 250 Alternative navigation: There's a thegreen circle in the left corner - the radar. The red dots on the radar represent your targets. If you manage to move your spaceship in a way such that a dot is at the center of the radar, you will be able to see the concerning object straight ahead." failmessage="" completeMessage="" />250 Alternative navigation: There's a green circle in the left corner - the radar. The red dots on the radar represent your targets. If you manage to move your spaceship in a way such that a dot is at the center of the radar, you will be able to see the concerning object straight ahead." failmessage="" completeMessage="" /> 251 251 <complete-effects> 252 252 <AddQuest questId="missionOne.weaponsystemI" /> … … 381 381 </events> 382 382 </SimpleNotification> 383 383 384 <!-- QUEST-Trigger && Message Trigger: navigationend is activated after flying4 was triggered --> 384 385 <DistanceTrigger name="navigationend" position="0,0,0" distance=950 target="SpaceShip" stayActive="false" delay=1.1> … … 405 406 406 407 <!-------------------------------------- PART ONE : Destroy boxes ---------------------------------------> 407 <DistanceTrigger name="spawndelaytrigger1" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=9 /> 408 <SimpleNotification message="Destroy the four boxes."> 408 <!-- @ triggers: spawndelaytriggerX: textoutput only if no box was destroyed --> 409 <Trigger name="spawndelaytrigger1" mode="and" stayActive="true"> 410 <DistanceTrigger position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=9 /> 411 <EventTrigger activations="1" invert="true"> 412 <events> 413 <trigger> 414 <EventListener event="boxtrigger1" /> 415 </trigger> 416 </events> 417 </EventTrigger> 418 </Trigger> 419 420 <Trigger name="spawndelaytrigger2" mode="and" stayActive="true"> 421 <DistanceTrigger position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=13 /> 422 <EventTrigger activations="1" invert="true"> 423 <events> 424 <trigger> 425 <EventListener event="boxtrigger1" /> 426 </trigger> 427 </events> 428 </EventTrigger> 429 </Trigger> 430 431 <Trigger name="spawndelaytrigger3" mode="and" stayActive="true"> 432 <DistanceTrigger position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=17 /> 433 <EventTrigger activations="1" invert="true"> 434 <events> 435 <trigger> 436 <EventListener event="boxtrigger1" /> 437 </trigger> 438 </events> 439 </EventTrigger> 440 </Trigger> 441 442 <!-- @Text: How to shoot--> 443 <SimpleNotification message="Destroy the four boxes." broadcast="true"> 409 444 <events> 410 445 <trigger> … … 414 449 </SimpleNotification> 415 450 416 <DistanceTrigger name="spawndelaytrigger2" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=13 /> 417 <SimpleNotification message=" 1. Aim the a red cycle."> 451 <SimpleNotification message=" 1. Aim the a red cycle." broadcast="true"> 418 452 <events> 419 453 <trigger> … … 423 457 </SimpleNotification> 424 458 425 <DistanceTrigger name="spawndelaytrigger3" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=17 /> 426 <SimpleNotification message="2. Click! (hold the left mouse button)"> 459 <SimpleNotification message="2. Click! (hold the left mouse button)" broadcast="true"> 427 460 <events> 428 461 <trigger> … … 644 677 </DistanceTrigger> 645 678 646 <EventTrigger name="duball2" activations="1" stayactive="true" delay=4 > 647 <events> 648 <trigger> 649 <EventListener event="duball1" /> 650 </trigger> 651 </events> 652 </EventTrigger> 653 654 <EventTrigger name="duball3" activations="1" stayactive="true" delay=4 > 655 <events> 656 <trigger> 657 <EventListener event="duball2" /> 658 </trigger> 659 </events> 660 </EventTrigger> 679 <Trigger name="duball2" mode="and" stayActive="true"> 680 <EventTrigger activations="1" stayactive="true" delay=4 > 681 <events> 682 <trigger> 683 <EventListener event="duball1" /> 684 </trigger> 685 </events> 686 </EventTrigger> 687 <EventTrigger activations="1" invert="true"> 688 <events> 689 <trigger> 690 <EventListener event="toHydroFarmer" /> 691 </trigger> 692 </events> 693 </EventTrigger> 694 </Trigger> 695 696 <Trigger name="duball3" mode="and" stayActive="true"> 697 <EventTrigger activations="1" stayactive="true" delay=4 > 698 <events> 699 <trigger> 700 <EventListener event="duball2" /> 701 </trigger> 702 </events> 703 </EventTrigger> 704 <EventTrigger activations="1" invert="true"> 705 <events> 706 <trigger> 707 <EventListener event="toHydroFarmer" /> 708 </trigger> 709 </events> 710 </EventTrigger> 711 </Trigger> 712 661 713 662 714 <SimpleNotification message="Welcome to the Duball Space Station!"> … … 837 889 838 890 <!-------------------------------------- PART FOUR : Get Help ---------------------------------------> 839 <DistanceTrigger name="famer1" position="-48200,100,0" target="Pawn" distance=650 stayActive="true" delay=0 /> 891 <!-- TODO: cruiserKilled --> 892 <Trigger name="famer1" mode="and" stayActive="true"> 893 <DistanceTrigger position="-48200,100,0" target="Pawn" distance=650 stayActive="true" delay=0 /> 894 <EventTrigger name="notGameEnd" activations="1" invert="true"> 895 <events> 896 <trigger> 897 <EventListener event="gameEnd" /> 898 </trigger> 899 </events> 900 </EventTrigger> 901 </Trigger> 902 903 <Trigger name="famer2" mode="and" stayActive="true"> 904 <DistanceTrigger position="-48200,100,0" target="Pawn" distance=650 stayActive="true" delay=4 /> 905 <EventTrigger activations="1" invert="true"> 906 <events> 907 <trigger> 908 <EventListener event="gameEnd" /> 909 </trigger> 910 </events> 911 </EventTrigger> 912 </Trigger> 913 840 914 <SimpleNotification message="We just received a message from DuBall."> 841 915 <events> … … 846 920 </SimpleNotification> 847 921 848 <DistanceTrigger name="famer2" position="-48200,100,0" target="Pawn" distance=650 stayActive="true" delay=4 /> 922 849 923 <SimpleNotification message="We will lend you our strongest ship."> 850 924 <events> … … 857 931 858 932 <!-- @Objects: HYDROGEN FARMER & DOCKING --> 859 <SpaceShip position="-48900,100,0" roll=90 yaw=0 pitch=20 mass=10000 health=100000 name="HydroFarmer"> 933 <SpaceShip 934 position="-48900,100,0" 935 roll=90 yaw=0 pitch=20 936 mass=10000 937 health=100000 initialhealth=100000 maxhealth="100000" 938 name="HydroFarmer"> 860 939 <attached> 861 940 <!-- Docking --> … … 912 991 <EventListener event="dockMe" /> 913 992 </execute> 993 <activity> 994 <EventListener event=notGameEnd /> 995 </activity> 914 996 </events> 915 997 <attached> … … 918 1000 /> 919 1001 </attached> 1002 920 1003 </Dock> 921 1004 922 1005 <!--@Objects: SpaceCruiser as docking target --> 923 <SpaceShip template="spaceshipspacecruiser" position="-48900,800,0" orientation="-0.14, 0.68, 0.68, 0.223" health="300" maxhealth="400" initialhealth="300" name="cruiser" > 1006 <SpaceShip 1007 template = "spaceshipspacecruiser" 1008 position = "-48900,800,0" 1009 orientation = "-0.14, 0.68, 0.68, 0.223" 1010 health = "400" 1011 initialhealth = "400" 1012 maxhealth = "500" 1013 shieldhealth = "80" 1014 initialshieldhealth = "80" 1015 maxshieldhealth = "120" 1016 shieldabsorption = "0.8" 1017 reloadrate = "1" 1018 reloadwaittime = "1" 1019 name = "cruiser" > 924 1020 <attached> 925 1021 <DockingTarget name="spaceShip" /> … … 928 1024 929 1025 1026 <!-- cruiserKilled: if cuiser is killed & player hasn't taken control of spacecrusier --> 930 1027 <Trigger name="cruiserKilled" mode="and" stayActive="true"> 931 1028 <EventTrigger stayActive="true"> … … 946 1043 947 1044 1045 <!-- triggers when either hydrofarmer or cruiser is killed --> 1046 <Trigger mode=or name="gameEnd"> 1047 <EventTrigger activations="1"> 1048 <events> 1049 <trigger> 1050 <EventListener event="HydroFarmer" /> 1051 </trigger> 1052 </events> 1053 </EventTrigger> 1054 <EventTrigger activations="1"> 1055 <events> 1056 <trigger> 1057 <EventListener event="cruiserKilled" /> 1058 </trigger> 1059 </events> 1060 </EventTrigger> 1061 </Trigger> 1062 1063 <!-- triggers delayed when either hydrofarmer or cruiser is killed --> 948 1064 <EventTrigger delay=4 name="earlyEnd"> 949 1065 <events> 950 1066 <trigger> 951 <EventListener event=" cruiserKilled" />1067 <EventListener event="gameEnd" /> 952 1068 </trigger> 953 1069 </events> … … 958 1074 </events> 959 1075 </EventTrigger> 960 961 <EventTrigger delay=4 name="earlyEnd">962 <events>963 <trigger>964 <EventListener event="HydroFarmer" />965 </trigger>966 </events>967 <events>968 <activity>969 <EventListener event="movingpirates2" />970 </activity>971 </events>972 </EventTrigger>973 974 1076 975 1077 … … 1058 1160 attack <-> second portal usage --> 1059 1161 1060 <DistanceTrigger name="attack" position="-1400,-500,800" target="Pawn" distance=100 stayActive="true" >1162 <DistanceTrigger name="attack" position="-1400,-500,800" target="Pawn" distance=100 stayActive="true" mode="and"> 1061 1163 <EventTrigger name="ondock" activations="1" stayactive="true" delay=6> 1062 1164 <events> … … 1065 1167 </trigger> 1066 1168 </events> 1067 <DistanceTrigger name="toHydroFarmer" position="-47000,-1000,1300" target="Pawn" distance=100 stayActive="true" /> 1169 <Trigger mode=and> 1170 <DistanceTrigger name="toHydroFarmer" position="-47000,-1000,1300" target="Pawn" distance=100 stayActive="true" /> 1171 <EventTrigger activations="1" invert="true"> 1172 <events> 1173 <trigger> 1174 <EventListener event="gameEnd" /> 1175 </trigger> 1176 </events> 1177 </EventTrigger> 1178 </Trigger> 1179 </EventTrigger> 1180 <EventTrigger activations="1" invert="true"> 1181 <events> 1182 <trigger> 1183 <EventListener event="earlyEnd" /> 1184 </trigger> 1185 </events> 1068 1186 </EventTrigger> 1069 1187 </DistanceTrigger> … … 1086 1204 1087 1205 1088 1089 1206 <!-- @Objects: 6 pirates, heading towards DuBall, attacking --> 1207 <!-- TODO: re-hide pirates on early end--> 1090 1208 <!-- 1 --> 1091 1209 <SpaceShip position="3000,-4000,4000" lookat="-1300,-600,900" name="attacker"visible="true"> … … 1232 1350 </controller> 1233 1351 </SpaceShip> 1352 1234 1353 1235 1354 <!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,6] --> … … 1309 1428 </events> 1310 1429 </SimpleNotification> 1430 1311 1431 <SimpleNotification message="One enemy left!" broadcast="true"> 1312 1432 <events> … … 1316 1436 </events> 1317 1437 </SimpleNotification> 1438 1318 1439 <SimpleNotification message="Well done. You finished this tutorial." broadcast="true"> 1319 1440 <events> … … 1325 1446 1326 1447 <!-- @Triggers: postAttack <-> delayed attacktrigger6 --> 1327 <EventTrigger name="postAttack1" activations="1" stayactive="true" delay= 3>1448 <EventTrigger name="postAttack1" activations="1" stayactive="true" delay=4.1> 1328 1449 <events> 1329 1450 <trigger> … … 1333 1454 </EventTrigger> 1334 1455 1335 <EventTrigger name="postAttack2" activations="1" stayactive="true" delay= 6>1456 <EventTrigger name="postAttack2" activations="1" stayactive="true" delay=8.2> 1336 1457 <events> 1337 1458 <trigger> … … 1359 1480 <!-------------------------------------- |Bonus Part| ---------------------------------------> 1360 1481 <!-- @Triggers: "bonusX" <-> delayed "attacktrigger6" --> 1361 <EventTrigger name="bonus1" activations="1" stayactive="true" delay=1 0>1482 <EventTrigger name="bonus1" activations="1" stayactive="true" delay=12.3> 1362 1483 <events> 1363 1484 <trigger> … … 1366 1487 </events> 1367 1488 </EventTrigger> 1368 <EventTrigger name="bonus2" activations="1" stayactive="true" delay=16 >1489 <EventTrigger name="bonus2" activations="1" stayactive="true" delay=16.4> 1369 1490 <events> 1370 1491 <trigger> … … 1380 1501 </events> 1381 1502 </EventTrigger> 1382 <EventTrigger name="bonus4" activations="1" stayactive="true" delay=28 >1503 <EventTrigger name="bonus4" activations="1" stayactive="true" delay=28.1> 1383 1504 <events> 1384 1505 <trigger> … … 1387 1508 </events> 1388 1509 </EventTrigger> 1389 <EventTrigger name="bonus5" activations="1" stayactive="true" delay=32. 1>1510 <EventTrigger name="bonus5" activations="1" stayactive="true" delay=32.3> 1390 1511 <events> 1391 1512 <trigger> … … 1394 1515 </events> 1395 1516 </EventTrigger> 1396 <EventTrigger name="bonus6" activations="1" stayactive="true" delay=36. 2>1517 <EventTrigger name="bonus6" activations="1" stayactive="true" delay=36.5> 1397 1518 <events> 1398 1519 <trigger> … … 1401 1522 </events> 1402 1523 </EventTrigger> 1403 <EventTrigger name="bonus7" activations="1" stayactive="true" delay=4 >1524 <EventTrigger name="bonus7" activations="1" stayactive="true" delay=4.1> 1404 1525 <events> 1405 1526 <trigger> … … 1487 1608 </Level> 1488 1609 <!-- TODO: 1489 - Story & more precise Questmessages; more quest hints; 1610 - Story & more precise Questmessages; more quest hints; fail-quest; 1490 1611 - Colouring: Show who is friend or foe via the colour 1491 1612 - Waypoints: show the player the way 1492 - Foolproof text messages (e.g. verspätete Nachrichten unterdrücken )1613 - Foolproof text messages (e.g. verspätete Nachrichten unterdrücken ~done ) 1493 1614 - End Tutorial, if either the Hydrogen Farmer or the SpaceCruiser gets destroyed. (~done) 1494 1615 -->
Note: See TracChangeset
for help on using the changeset viewer.