Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9988


Ignore:
Timestamp:
Jan 19, 2014, 11:05:20 PM (11 years ago)
Author:
jo
Message:

Making the level more interesting. Now the player can actually fail to accomplish the Mission, when the time runs out. There is a nasty trigger problem, that could be circumvented though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/levels/iJohnVane_TriptoArea51.oxw

    r9987 r9988  
    6666        </events>
    6767    </TeamSpawnPoint>
     68   <!-- HELPER FOR LEVEL DESIGNERS: go directly to the racing part of the level -->
    6869   <!--TeamSpawnPoint team=0 position="0,94000,0" lookat="0,118000,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage/-->
    6970
     
    306307
    307308   <LocalQuest id="Level_Kaan.portals">
    308       <QuestDescription title="Portals" description="Now you've got a Spaceship with more health and weapons. Your next goal is to pass through the portal and find there the         wormhole to Area 51" failmessage="" completeMessage="" />
     309      <QuestDescription title="Portals" description="Now you've got a Spaceship that is suited for your Mission.
     310It is faster, has more health and is equipped with stronger weapons.
     311Your next goal is to pass through the portal and find there the wormhole to Area 51" failmessage="" completeMessage="" />
    309312      <complete-effects>
    310313         <AddQuest questId="Level_Kaan.asteroids" />
     
    325328
    326329 <LocalQuest id="Level_Kaan.asteroids">
    327       <QuestDescription title="Asteroids" description="The wormhole is at the end of the asteroid shower. Find your way through the asteroids without hitting the rocks and reach Area 51. " failmessage="" completeMessage="" />
     330      <QuestDescription title="Asteroids" description="The wormhole is at the end of the asteroid shower.
     331Find your way through the asteroids without hitting the rocks and reach Area 51.
     332You have to get there in time - the wormhole cannot be forced open forever.
     333Your Mission is to fly straight through the wormhole." failmessage="" completeMessage="" />
    328334   </LocalQuest>
    329335
     
    506512    <OverlayGroup name="spacefightHUD" scale = "1, 1">
    507513      <CountDown
    508          position    = "0.51, 0.05"
     514         position    = "0.9, 0.02"
    509515         pickpoint   = "0.0, 0.0"
    510516         font        = "ShareTechMono"
    511517         textsize    = "0.1"
    512          colour      = "1.0, 1.0, 1.0, 1.0"
     518         colour      = "1.0, 0.2, 0.2, 0.8"
    513519         align       = "center"                 
    514520         counter     = "110.0"
     
    522528        </events>
    523529      </CountDown>
     530      <!--OverlayText
     531       position  = "0.05, 0.02"
     532       pickpoint = "0.0, 0.0"
     533       font      = "ShareTechMono"
     534       textsize  = "0.1"
     535       colour    = "1.0, 0.2, 0.2, 0.8"
     536       align     = "left"
     537       caption   = "Wormhole closing in:"
     538       active    = "false"
     539      >
     540        <events>
     541          <activity>
     542            <EventListener event="portal4" />
     543          </activity>
     544        </events>
     545      </OverlayText-->
    524546    </OverlayGroup>
    525547
    526   <DistanceTrigger name="HACKgameOver" position="0,94000,0" distance=100000 target="SpaceShip" stayActive="true" delay=2.0>
    527     <EventTrigger name="gameOver" activations="1" stayactive="true" delay=0.1>
    528       <events>
    529         <trigger>
    530           <EventListener event="portal4" />
    531         </trigger>
    532       </events>
    533     </EventTrigger>
    534   </DistanceTrigger>
    535 
    536 
    537 
    538 
    539 
    540 
    541   <!--DistanceTrigger name="HACKgameOver" position="0,94000,0" target="SpaceShip" distance=100000 stayActive="true" >
    542     <EventTrigger name="gameOver" stayActive="true" delay=10 >
    543       <events>
    544         <trigger>
    545           <EventListener event=portal4 />
    546         </trigger>
    547       </events>
    548     </EventTrigger>
    549   </DistanceTrigger-->
    550     <SimpleNotification message="GAMEOVER !">
    551         <events>
    552             <trigger>
    553                 <EventListener event="HACKgameOver" />
    554             </trigger>
    555         </events>
    556     </SimpleNotification>
    557     <SimpleNotification message="GAMEOVER simple">
    558         <events>
    559             <trigger>
    560                 <EventListener event="gameOver" />
    561             </trigger>
    562         </events>
    563     </SimpleNotification>
    564 
     548
     549  <DistanceTrigger name="portaldelaytrigger" position="0,94000,0" target="Pawn" distance=500 stayActive="true" delay=116 />
    565550   <Script code="Mission endMission false" onLoad="false" times="1" >
    566551        <events>
    567552            <trigger>
    568                 <EventListener event="HACKgameOver" />
     553                <EventListener event="portaldelaytrigger" />
    569554            </trigger>
    570555        </events>
     
    599584
    600585   <DistanceTrigger name="portal6" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=13/>
    601    <SimpleNotification message="Houston: Make sure to reach the wormhole in time!">
     586   <SimpleNotification message="Houston: Reach the wormhole in time!" >
    602587      <events>
    603588         <trigger>
     
    608593
    609594
    610    <!--DistanceTrigger name="portal7" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=17/>
    611    <SimpleNotification message="Houston: Is it black?">
     595   <DistanceTrigger name="portal7" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=17/>
     596   <SimpleNotification message="Houston: We cannot keep it open much longer.">
    612597      <events>
    613598         <trigger>
     
    618603
    619604   <DistanceTrigger name="portal8" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=21/>
    620    <SimpleNotification message="John: Yes">
     605   <SimpleNotification message="Houston: Fly though the black hole, if you can.">
    621606      <events>
    622607         <trigger>
Note: See TracChangeset for help on using the changeset viewer.