Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9809


Ignore:
Timestamp:
Nov 25, 2013, 3:06:25 PM (11 years ago)
Author:
schlaem
Message:

Quest-Problems

File:
1 edited

Legend:

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

    r9806 r9809  
    6565
    6666<!-- Spawntrigger -->   
    67         <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -->
    68           <EventTrigger invert="true" >
    69             <events>
    70               <trigger>
    71                 <EventListener event="flying1" />
    72               </trigger>
    73             </events>
    74           </EventTrigger>
     67<!--    <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --
     68          <events>
     69            <activity>
     70              <EventListener event="flying12" />
     71            </activity>
     72          </events>
    7573        </SpawnPoint>
    7674
    77 
    78         <SpawnPoint team=0 position="13500, 2500, 11000" lookat="18000,5000,21000" spawnclass=SpaceShip pawndesign=spaceshipswallow delay=0.1><!-- pawndesign=spaceshipcollateraldamage -->
    79           <EventTrigger>
    80             <events>
    81               <trigger>
    82                 <EventListener event="flying1" />
    83               </trigger>
    84             </events>
    85           </EventTrigger>
     75        <EventTrigger name="flying12" invert="true" >
     76          <events>
     77            <trigger>
     78              <EventListener event="flying1" />
     79            </trigger>
     80          </events>
     81        </EventTrigger>
     82-->
     83
     84        <SpawnPoint team=0 position="13500, 2500, 11000" lookat="18000,5000,21000" spawnclass=SpaceShip pawndesign=spaceshipswallow delay=0.1><!-- pawndesign=spaceshipcollateraldamage --
     85          <events>
     86            <activity>
     87              <EventListener event="flying1" />
     88            </activity>
     89          </events> -->
    8690        </SpawnPoint>
     91
     92<!-- ZUM TESTEN -->
     93        <DistanceTrigger name=spawntrigger2 position="13500, 2500, 11000" target="SpaceShip" distance=10 stayActive="true" delay=0 />
     94        <DistanceTrigger name="flying1" position="13500, 2500, 11000" target="SpaceShip" distance=10 stayActive="true" delay=0 />
    8795
    8896        <!-- Distance-Spawn-Trigger -->
     
    290298                <events>
    291299                        <execute>
    292                                 <EventListener event="flying2" />
     300                                <EventListener event="flying22" />
    293301                        </execute>             
    294302                </events>
    295303        </QuestEffectBeacon>
    296 
     304<!--
    297305        <SimpleNotification message="Well done! Catch the spion!"  broadcast="true">
    298306                <events>
     
    302310                </events>
    303311        </SimpleNotification>
    304 
     312-->
    305313        <!-- ESCAPE -->
    306314        <SimpleNotification message="A spion is startet to the mainship!"  broadcast="true">
     
    318326                <events>
    319327                        <execute>
    320                                 <EventListener event="escape" />
     328                                <EventListener event="escape10" />
    321329                        </execute>
    322330                </events>
    323331        </QuestEffectBeacon>
     332
     333        <BlinkingBillboard position="13500, 2500, 10500" color="1.0, 1.0, 0.05" frequency=0.6 amplitude=10 material="Examples/Flare" >
     334          <events>
     335            <visibility>
     336              <EventTrigger>
     337                <EventTrigger invert=true>
     338                  <events>
     339                    <trigger>
     340                      <EventListener event="flying2" />
     341                    </trigger>
     342                  </events>
     343                </EventTrigger>
     344                <events>
     345                  <trigger>
     346                    <EventListener event="flying1" />
     347                  </trigger>
     348                </events>
     349              </EventTrigger>
     350            </visibility>
     351          </events>
     352        </BlinkingBillboard>
    324353       
    325354        <!-- ESCAPE ENDING -->
     
    337366        </QuestEffectBeacon>
    338367
     368        <!-- TEST -->
     369        <QuestEffectBeacon>
     370                <effects>
     371                        <AddQuest questId="spacefight.escape" />
     372                </effects>
     373                <events>
     374                        <execute>
     375                                <EventListener event=spawntrigger2 />
     376                        </execute>
     377                </events>
     378        </QuestEffectBeacon>
     379
    339380        <!-- Spion destroyed -->
    340381        <QuestEffectBeacon>
     
    345386                <events>
    346387                        <execute>
    347                                 <EventListener event="destroyed" />
     388                                <EventListener event="spion5" />
    348389                        </execute>
    349390                </events>
     
    412453
    413454        <!-- Trigger to activate the upgrade1-Quest -->
    414         <DistanceTrigger name="droneTrigger" position="13500, 2500, 10500" target="SpaceShip" distance=2000 stayActive="true" delay=0 />
     455        <DistanceTrigger name="droneTrigger" position="13500, 2500, 10500" target="SpaceShip" distance=2000 stayActive="true" delay=0.1 />
    415456        <SimpleNotification message="Search the drone!?"  broadcast="true">
    416457                <events>
     
    422463
    423464        <!-- Helper-Trigger for the drone(s) -->
    424         <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=20 stayActive="true" delay=0 />
     465        <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=20 stayActive="true" delay=0.1 />
    425466        <SimpleNotification message="Now your are prepared best!"  broadcast="true">
    426467                <events>
     
    432473
    433474        <!-- Helper-Trigger for second guard -->
    434         <DistanceTrigger name="flying2" position="18000,5000,21000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 >
     475        <DistanceTrigger name="flying22" position="18000, 5000, 21000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1>
     476                <EventTrigger>
     477                        <events>
     478                                <trigger>
     479                                        <EventListener event="flying2" />
     480                                </trigger>
     481                        </events>
     482                </EventTrigger>
     483        </DistanceTrigger>
     484
     485        <SimpleNotification message="flying2.2"  broadcast="true">
     486                <events>
     487                        <trigger>
     488                                <EventListener event="flying22" />
     489                        </trigger>
     490                </events>
     491        </SimpleNotification>
     492
     493        <DistanceTrigger name="flying2" position="18000, 5000, 21000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 >
    435494                <EventTrigger>
    436495                        <events>
     
    441500                </EventTrigger>
    442501        </DistanceTrigger>
     502
     503        <SimpleNotification message="flying2"  broadcast="true">
     504                <events>
     505                        <trigger>
     506                                <EventListener event="flying2" />
     507                        </trigger>
     508                </events>
     509        </SimpleNotification>
    443510       
    444511        <!-- Helper-Trigger for the Escape-Quest -->
    445         <DistanceTrigger name="escape" position="18000,5000,21000" target="SpaceShip" distance=10000 stayActive="true" delay=0 >
     512        <DistanceTrigger name="escape10" position="18000,5000,21000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 >
    446513                <EventTrigger>
    447514                        <events>
    448                                 <trigger>
    449                                         <EventListener event="guard2trigger1" />
    450                                 </trigger>
    451                         </events>
     515                                <trigger>
     516                                        <EventListener event="guard2trigger1" />
     517                                </trigger>
     518                        </events>
    452519                </EventTrigger>
    453520        </DistanceTrigger>
    454521
    455 
    456 
    457 
    458522        <!-- Helper-Trigger for mainship -->
    459         <DistanceTrigger name="flying3" position="11000, 3000, 21000" target="SpaceShip" distance=1000 stayActive="true" delay=0 />
     523        <DistanceTrigger name="flying3" position="11000, 3000, 21000" target="SpaceShip" distance=1000 stayActive="true" delay=0.1 />
    460524        <SimpleNotification message="Mainship sighted!"  broadcast="true">
    461525                <events>
     
    466530        </SimpleNotification>
    467531
    468         <!-- <DistanceTrigger name="drone2" position="9750, -5350, 5650" target="SpaceShip" distance=20 stay Active="true" delay=0 /> -->
     532        <!-- <DistanceTrigger name="drone2" position="9750, -5350, 5650" target="SpaceShip" distance=20 stay Active="true" delay=0.1 /> -->
    469533        <SimpleNotification message="Now your are prepared best!"  broadcast="true">
    470534                <events>
     
    476540
    477541        <!-- DistanceTrigger for spion -->
    478         <DistanceTrigger name="spionTrigger" position="0,-10000,42000" target="SpaceShip" distance=50 stayActive="true" delay=0 />
     542        <DistanceTrigger name="spionTrigger" position="0,-10000,42000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />
    479543        <SimpleNotification message="spion is arrived!"  broadcast="true">
    480544                <events>
     
    485549        </SimpleNotification>
    486550
    487         <DistanceTrigger name="destroyed" position="8500,-3000,32000" target="SpaceShip" distance=100000 stayActive="true" delay=0 >
     551        <!-- If spion destroyed -->
     552        <DistanceTrigger name="destroyed" position="8500,-3000,32000" target="SpaceShip" distance=100000 stayActive="true" delay=0.1 >
    488553                <EventTrigger>
    489554                        <events>
     
    574639    </EventTrigger>
    575640
    576         <SimpleNotification message="first"  broadcast="true">
    577                 <events>
    578                         <trigger>
    579                                 <EventListener event="guard2trigger1" />
    580                         </trigger>
    581                 </events>
    582         </SimpleNotification>
     641
    583642
    584643<!-- For Escape -->
     
    589648            </trigger>
    590649          </events>
    591         </EventTrigger>
     650        </EventTrigger>
     651
     652        <SimpleNotification message="spion5"  broadcast="true">
     653                <events>
     654                        <trigger>
     655                                <EventListener event="spion5" />
     656                        </trigger>
     657                </events>
     658        </SimpleNotification>
    592659
    593660<!-- For last fight -->
     
    732799  <events>
    733800    <visibility>
    734       <EventListener event="guard1trigger4" />
     801      <EventListener event=spawntrigger2 /> <!-- guard1trigger4 -->
    735802    </visibility>
    736803  </events>
     
    762829  <events>
    763830    <visibility>
    764       <EventListener event="guard1trigger4" />
     831      <EventListener event=spawntrigger2 /> <!-- guard1trigger4 -->
    765832    </visibility>
    766833  </events>
     
    792859  <events>
    793860    <visibility>
    794       <EventListener event="guard1trigger4" />
     861      <EventListener event=spawntrigger2 /> <!-- guard1trigger4 -->
    795862    </visibility>
    796863  </events>
     
    822889  <events>
    823890    <visibility>
    824       <EventListener event="guard1trigger4" />
     891      <EventListener event=spawntrigger2 /> <!-- guard1trigger4 -->
    825892    </visibility>
    826893  </events>
Note: See TracChangeset for help on using the changeset viewer.