Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 18, 2013, 4:10:21 PM (11 years ago)
Author:
schlaem
Message:

in progress…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/levelMichael/data/levels/Spacefight.oxw

    r9788 r9791  
    6363
    6464<!-- Spawntrigger -->   
    65         <SpawnPoint team=0 position="13500, 2500, 11500" lookat="0,0,20000" spawnclass=SpaceShip pawndesign=spaceshipswallow /> <!-- pawndesign=spaceshipcollateraldamage -->
     65        <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow /> <!-- pawndesign=spaceshipcollateraldamage -->
    6666       
    6767        <EventMultiTrigger name=spawntrigger>
    6868          <events>
    6969            <trigger>
    70               <SpawnPoint team=0 position="13500, 2500, 11500" lookat="0,0,20000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -->
     70              <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -->
    7171                <EventTrigger invert=true>
    7272                  <events>
     
    8282
    8383        <!-- Second Spawntrigger -->
    84         <DistanceTrigger name=spawntrigger2 position="13500, 2500, 11500" target="SpaceShip" distance=10 stayActive="true" delay=0 />
     84        <DistanceTrigger name=spawntrigger2 position="0, 0, 0" target="SpaceShip" distance=10 stayActive="true" delay=0 />
    8585
    8686        <!-- Drone pickup -->
     
    8888
    8989<!-- QUEST DESCRIPTION-->
    90         <LocalQuest id="spacefight.flying1">
    91                 <QuestDescription
    92                         title="To the first guard!"
    93                         description="Reach the station ahead."
    94                         completeMessage="Well done!" />
    95                 <complete-effects>
    96                         <AddQuest questId="spacefight.guard1" />
    97                 </complete-effects>
    98         </LocalQuest>
    99        
    10090        <LocalQuest id="spacefight.guard1">
    10191                <QuestDescription
     
    10999                        completeMessage="Well done!" />
    110100                <complete-effects>
    111                         <AddQuest questId="spacefight.upgrade1" />
    112101                        <AddQuest questId="spacefight.flying2" />
    113102                </complete-effects>
     
    129118                        title="To the second guard!"
    130119                        description="There is another sentry on the way to the big mainship.
    131                                 unfortunately, we also have to destroy this one."
     120                                unfortunately, we also have to destroy this one.
     121
     122                                The blinking light shows you the way to the sentry"
    132123                        failMessage="You've lost all your ships!"
    133124                        completeMessage="" />
    134125                <complete-effects>
    135126                        <AddQuest questId="spacefight.guard2" />
    136                         <AddQuest questId="spacefight.escape" />
    137127                </complete-effects>
    138128        </LocalQuest>
     
    229219        <QuestEffectBeacon times=0>
    230220                <effects>
    231                         <AddQuest questId="spacefight.flying1" />
     221                        <AddQuest questId="spacefight.guard1" />
    232222                </effects>
    233223                <events>
     
    238228        </QuestEffectBeacon>
    239229
    240         <!-- Guard 1 -->
    241230        <QuestEffectBeacon times=0>
    242                 <effects>
    243                         <CompleteQuest questId="spacefight.flying1" />
    244                 </effects>
    245231                <events>
    246232                        <execute>
    247233                                <EventListener event="flying1" />
    248                         </execute>             
    249                 </events>
    250         </QuestEffectBeacon>
    251 
    252         <QuestEffectBeacon times=0>
    253                 <events>
    254                         <execute>
    255                                 <EventListener event="flying2" /> <!-- eigentlich "guard1trigger4", aber funkt. nicht! -->
    256234                        </execute>
    257235                </events>
     
    268246                <events>
    269247                  <trigger>
    270                     <EventListener event=spawntrigger2 /> <!-- "guard1trigger4" -->
     248                    <EventListener event="flying1" />
    271249                  </trigger>
    272250                </events>
     
    279257        <QuestEffectBeacon times=0>
    280258                <effects>
     259                        <AddQuest questId="spacefight.upgrade1" />
     260                </effects>
     261                <events>
     262                        <execute>
     263                                <EventListener event="droneTrigger" />
     264                        </execute>
     265                </events>
     266        </QuestEffectBeacon>   
     267
     268        <QuestEffectBeacon times=0>
     269                <effects>
    281270                        <CompleteQuest questId="spacefight.upgrade1" />
    282271                </effects>
     
    290279        <!-- Guard 2 -->
    291280
    292         <!-- zum testen! -->
     281        <!-- zum testen!
    293282        <QuestEffectBeacon times=0>
    294283                <effects>
     
    301290                </events>
    302291        </QuestEffectBeacon>
    303         <!-- -->
     292        -->
    304293
    305294        <QuestEffectBeacon times=0>
     
    423412
    424413<!-- ---------------------------------------------------------------------- -->
    425         <!--Helper-Trigger for first guard -->
    426         <DistanceTrigger name="flying1" position="4000,0,0" target="SpaceShip" distance=2000 stayActive="true" delay=0 />
     414        <!-- Helper-Trigger for first guard -->
     415        <DistanceTrigger name="flying1" position="9000, 0, 0" target="SpaceShip" distance=7000 stayActive="true" delay=0.1 >
     416                <EventTrigger>
     417                        <events>
     418                                <trigger>
     419                                        <EventListener event="guard1trigger4" />
     420                                </trigger>
     421                        </events>
     422                </EventTrigger>
     423        </DistanceTrigger>
     424
     425        <!-- Trigger to activate the upgrade1-Quest -->
     426        <DistanceTrigger name="droneTrigger" position="13500, 2500, 10500" target="SpaceShip" distance=7000 stayActive="true" delay=0 />
     427        <SimpleNotification message="search the drone!?"  broadcast="true">
     428                <events>
     429                        <trigger>
     430                                <EventListener event="droneTrigger" />
     431                        </trigger>
     432                </events>
     433        </SimpleNotification>
    427434
    428435        <!-- Helper-Trigger for second guard -->
    429         <DistanceTrigger name="flying2" position="13500, 2500, 10500" target="SpaceShip" distance=7000 stayActive="true" delay=0 />
    430         <SimpleNotification message="search the drone!?"  broadcast="true">
     436        <DistanceTrigger name="guard2" position="18000,5000,21000" target="SpaceShip" distance=7000 stayActive="true" delay=0.1 >
     437                <EventTrigger>
     438                        <events>
     439                                <trigger>
     440                                        <EventListener event="guard2trigger4" />
     441                                </trigger>
     442                        </events>
     443                </EventTrigger>
     444        </DistanceTrigger>
     445       
     446
     447
     448        <!-- Helper-Trigger for the drone(s) -->
     449        <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=20 stayActive="true" delay=0 />
     450        <SimpleNotification message="Now your are prepared best!"  broadcast="true">
    431451                <events>
    432452                        <trigger>
    433                                 <EventListener event="flying2" />
     453                                <EventListener event="drone1" />
    434454                        </trigger>
    435455                </events>
    436456        </SimpleNotification>
    437        
     457
    438458        <!-- Helper-Trigger for mainship -->
    439459        <DistanceTrigger name="flying3" position="11000, 3000, 21000" target="SpaceShip" distance=1000 stayActive="true" delay=0 />
     
    446466        </SimpleNotification>
    447467
    448         <!-- Helper-Trigger for the drone(s) -->
    449         <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=20 stayActive="true" delay=0 />
    450         <SimpleNotification message="Now your are prepared best!"  broadcast="true">
    451                 <events>
    452                         <trigger>
    453                                 <EventListener event="drone1" />
    454                         </trigger>
    455                 </events>
    456         </SimpleNotification>
    457 
    458468        <!-- <DistanceTrigger name="drone2" position="9750, -5350, 5650" target="SpaceShip" distance=20 stay Active="true" delay=0 /> -->
    459469        <SimpleNotification message="Now your are prepared best!"  broadcast="true">
     
    476486        </SimpleNotification>
    477487
    478         <!--   
    479         <Trigger name="destroyed" mode="and" stayActive="true"> -->
    480                 <DistanceTrigger name="destroyed" position="0,-10000,42000" target="DistanceTriggerBeacon" targetname="spionBeacon" distance=1000 stayActive="true" delay=0 beaconMode="exclude"/>
    481                 <!-- <EventTrigger>
    482                         <events>
    483                                 <trigger>
    484                                         <EventListener event="spionEvent" />
    485                                 </trigger>
    486                         </events>
    487                 </EventTrigger>
    488         </Trigger> -->
    489 
     488        <DistanceTrigger name="destroyed" position="0,-10000,42000" target="DistanceTriggerBeacon" targetname="spionBeacon" distance=1000 stayActive="true" delay=0 beaconMode="exclude"/>
    490489        <SimpleNotification message="spion destroyed!"  broadcast="true">
    491490                <events>
     
    513512<!-- EVENTTRIGGER -->
    514513   
    515     <!-- for guard 1 -->
    516     <SimpleNotification message="first"  broadcast="true">
    517         <events>
    518             <trigger>
    519                 <EventListener event="guard1trigger1" />
    520             </trigger>
    521         </events>
    522     </SimpleNotification>
    523 
    524     <SimpleNotification message="second"  broadcast="true">
    525         <events>
    526             <trigger>
    527                 <EventListener event="guard1trigger2" />
    528             </trigger>
    529         </events>
    530     </SimpleNotification>
    531 
    532     <SimpleNotification message="thirth"  broadcast="true">
    533         <events>
    534             <trigger>
    535                 <EventListener event="guard1trigger3" />
    536             </trigger>
    537         </events>
    538     </SimpleNotification>
    539 
    540     <SimpleNotification message="all shot! Fly to the blinking light"  broadcast="true">
    541         <events>
    542             <trigger>
    543                 <EventListener event="guard1trigger4" />
    544             </trigger>
    545         </events>
    546     </SimpleNotification>
    547 
     514<!-- For Guard 1 -->
    548515<!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,4] -->
    549516    <EventTrigger name="guard1trigger4" activations="1" stayactive="true" delay=0.1>
     
    576543    </EventTrigger>
    577544
    578 
    579 <!-- for guard 2 -->
    580     <SimpleNotification message="first"  broadcast="true">
     545    <SimpleNotification message="Fly to the blinking light!"  broadcast="true">
    581546        <events>
    582547            <trigger>
    583                 <EventListener event="guard2trigger1" />
     548                <EventListener event="guard1trigger4" />
    584549            </trigger>
    585550        </events>
    586551    </SimpleNotification>
    587552
    588     <SimpleNotification message="second"  broadcast="true">
    589         <events>
    590             <trigger>
    591                 <EventListener event="guard2trigger2" />
    592             </trigger>
    593         </events>
    594     </SimpleNotification>
    595 
    596     <SimpleNotification message="thirth"  broadcast="true">
    597         <events>
    598             <trigger>
    599                 <EventListener event="guard2trigger3" />
    600             </trigger>
    601         </events>
    602     </SimpleNotification>
    603 
    604     <SimpleNotification message="all shot! Catch the spion!"  broadcast="true">
    605         <events>
    606             <trigger>
    607                 <EventListener event="guard2" />
    608             </trigger>
    609         </events>
    610     </SimpleNotification>
    611 
     553
     554<!-- For Guard 2 -->
    612555<!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,4] -->
    613556    <EventTrigger name="guard2trigger4" activations="1" stayactive="true" delay=0.1>
     
    640583    </EventTrigger>
    641584
    642         <EventTrigger name="guard2" stayactive="true" delay=0.1 >
    643                 <events>
    644                         <trigger>
    645                                 <EventListener event="guard2trigger4" />
    646                         </trigger>
    647                 </events>
    648         </EventTrigger>
     585    <SimpleNotification message="Catch the spion"  broadcast="true">
     586        <events>
     587            <trigger>
     588                <EventListener event="guard1trigger4" />
     589            </trigger>
     590        </events>
     591    </SimpleNotification>
    649592
    650593<!-- For Escape -->
    651         <EventTrigger name="spionEvent" activations="1" stayactive="true" delay=0>
    652                 <events>
    653                         <trigger>
    654                                 <EventListener event="spion" />
    655                         </trigger>
    656                 </events>
    657         </EventTrigger>
    658594       
    659595
    660596<!-- For last fight -->
    661     <EventTrigger name="guard3trigger5" activations="1" stayactive="true" delay=0.1 >
     597    <EventTrigger name="guard3trigger6" activations="1" stayactive="true" delay=0.1 >
    662598      <events>
    663599        <trigger>
Note: See TracChangeset for help on using the changeset viewer.