Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 1, 2015, 3:52:16 PM (9 years ago)
Author:
paulsc
Message:

Did some more work in quests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/data/levels/Campaign1.oxw

    r10741 r10743  
    6969            <AddQuest questId="quest2" />
    7070            <AddQuest questId="quest2.1" />
    71             <AddQuest questId="quest2.2" />
    7271        </complete-effects>
    7372    </GlobalQuest>
    7473
    7574    <GlobalQuest id="quest2">
    76         <QuestDescription title="Prepare to fight the Wave" description="" failMessage="" completeMessage="" />
     75        <QuestDescription title="Prepare to fight the Enemy" description="" failMessage="" completeMessage="" />
    7776        <hints>
    7877        </hints>
    7978        <subquests>
    8079            <GlobalQuest id="quest2.1">
    81                 <QuestDescription title="Get a better Spaceship" description="" failMessage="" completeMessage="" />
     80                <QuestDescription title="> Get a better Spaceship" description="" failMessage="" completeMessage="" />
     81                <complete-effects>
     82                    <AddQuest questId="quest2.2" />
     83                </complete-effects>
    8284            </GlobalQuest>
    8385            <GlobalQuest id="quest2.2">
    84                 <QuestDescription title="Meet your Unit" description="" failMessage="" completeMessage="" />
     86                <QuestDescription title="> Meet your Unit" description="" failMessage="" completeMessage="" />
    8587            </GlobalQuest>
    8688        </subquests>
     
    107109        <subquests>
    108110            <GlobalQuest id="quest4.1">
    109                 <QuestDescription title="Get to the Defense Station" description="" failMessage="" completeMessage="" />
     111                <QuestDescription title="> Get to the Defense Station" description="" failMessage="" completeMessage="" />
    110112            </GlobalQuest>
    111113            <GlobalQuest id="quest4.2">
    112                 <QuestDescription title="Find the turret" description="" failMessage="" completeMessage="" />
     114                <QuestDescription title="> Find the turret" description="" failMessage="" completeMessage="" />
    113115            </GlobalQuest>
    114116        </subquests>
     
    135137        <subquests>
    136138            <GlobalQuest id="quest6.1">
    137                 <QuestDescription title="Collect the local Pickups" description="" failMessage="" completeMessage="" />
     139                <QuestDescription title="> Collect the local Pickups" description="" failMessage="" completeMessage="" />
    138140            </GlobalQuest>
    139141            <GlobalQuest id="quest6.2">
    140                 <QuestDescription title="Use Portal to the Transporter" description="" failMessage="" completeMessage="" />
     142                <QuestDescription title="> Use Portal to the Transporter" description="" failMessage="" completeMessage="" />
    141143            </GlobalQuest>
    142144        </subquests>
     
    177179
    178180    <!-- TODO: find out how to link an event to the COMPLETION of a dock. How is this not possible?? -->
    179     <EventMultiTrigger name="dockedA" activations="1" stayactive="true" delay=2>
     181    <EventMultiTrigger name="dockedA" activations="1" stayactive="true" delay=3>
    180182        <events>
    181183            <trigger>
     
    186188
    187189    <!-- TODO: fictive unit; to be added later -->
    188     <DistanceTrigger name="joinedUnit" position="3500,-1500,0" distance=10 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true />
     190    <DistanceTrigger name="joinedUnit" position="3500,-1500,0" distance=100 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true />
    189191    <Billboard position="3500,-1500,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" />     <!-- For debugging puropses -->
    190192
     
    279281            <execute>
    280282                <EventListener event="dockedA" />
     283            </execute>
     284        </events>
     285    </QuestEffectBeacon>
     286
     287    <QuestEffectBeacon times=1>
     288        <effects>
     289            <CompleteQuest questId="quest2.2" />
     290            <CompleteQuest questId="quest2" />
     291        </effects>
     292        <events>
     293            <execute>
     294                <EventListener event="joinedUnit" />
    281295            </execute>
    282296        </events>
     
    566580    ?>
    567581
    568 
    569582    <Planet
    570583        position="5000,0,0"
Note: See TracChangeset for help on using the changeset viewer.