Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2013, 4:43:47 PM (11 years ago)
Author:
schlaem
Message:

Quest-Problem already exists…

File:
1 edited

Legend:

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

    r9822 r9826  
    66- visibility of light only for a little time
    77- If possible, do the spion with DistanceTriggerBeacon
     8- More health for spacestations
    89-->
    910<LevelInfo
     
    6566
    6667<!-- Spawntrigger -->   
    67 <!--    <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --
     68        <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -->
    6869          <events>
    6970            <activity>
     
    8081          </events>
    8182        </EventTrigger>
    82 -->
    83 
    84         <SpawnPoint team=0 position="13500, 2500, 11000" lookat="18000,5000,21000" spawnclass=SpaceShip pawndesign=spaceshipswallow delay=0.1><!-- pawndesign=spaceshipcollateraldamage --
     83
     84
     85        <SpawnPoint team=0 position="-10000, -22000, 25000" lookat="18000,5000,21000" spawnclass=SpaceShip pawndesign=spaceshipswallow delay=0.1><!-- pawndesign=spaceshipcollateraldamage -->
    8586          <events>
    8687            <activity>
     
    9091        </SpawnPoint>
    9192
    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 />
    95 
     93<!-- ZUM TESTEN ("-12000, -22000, 25000") 13500, 2500, 11000--
     94        <DistanceTrigger name=spawntrigger2 position="-10000, -22000, 25000" target="SpaceShip" distance=10 stayActive="true" delay=0 />
     95        <DistanceTrigger name="flying1" position="-10000, -22000, 25000" target="SpaceShip" distance=10 stayActive="true" delay=0 />
     96-->
    9697        <!-- Distance-Spawn-Trigger -->
    9798        <DistanceTrigger name=spawntrigger2 position="0, 0, 0" target="SpaceShip" distance=10 stayActive="true" delay=0 />
     
    100101        <PickupSpawner pickup=dronepickup position="9750, -5350, 5650" triggerDistance="20" respawnTime="30" maxSpawnedItems="2" />
    101102
    102 <!-- QUEST DESCRIPTION-->
     103<!-- QUEST DESCRIPTION --
    103104        <LocalQuest id="spacefight.guard1">
    104105                <QuestDescription
     
    147148        </LocalQuest>
    148149
    149 <!-- 2 different possibilitys -->
    150         <!-- Spion is destroyed -->
     150<!-- 2 different possibilitys --
     151        <!-- Spion is destroyed --
    151152        <LocalQuest id="spacefight.mainfight(min)" >
    152153                <QuestDescription
     
    164165                        <!--
    165166                        <BlinkingBillboard position="-12100, -22000, 25000" color="1.0,1.0,1.0" frequency=0.6 amplitude=2 material="Examples/Flare" visibility="true" />
    166                         -->
     167                        --
    167168                </complete-effects>
    168169        </LocalQuest>
    169170
    170         <!-- Spion isn't destroyed -->
     171        <!-- Spion isn't destroyed --
    171172        <LocalQuest id="spacefight.mainfight(max)" >
    172173                <QuestDescription
     
    184185                        <!--
    185186                        <BlinkingBillboard position="-12100, -22000, 25000" color="1.0,1.0,1.0" frequency=0.6 amplitude=2 material="Examples/Flare" visibility="true" />
    186                         -->
     187                        --
    187188                </complete-effects>
    188189        </LocalQuest>
    189 <!-- -->
     190<!-- --
    190191
    191192        <LocalQuest id="spacefight.rescue" >
     
    210211        <!-- GRAND EXPLOSION IF POSSIBLE -->
    211212        <!-- Next Part -->
    212 
     213-->
    213214       
    214215<!-- ---------------------------------------------------------------------- -->
     
    451452                </EventTrigger>
    452453        </DistanceTrigger>
     454        <SimpleNotification message="flying1"  broadcast="true">
     455                <events>
     456                        <trigger>
     457                                <EventListener event="flying1" />
     458                        </trigger>
     459                </events>
     460        </SimpleNotification>   
    453461
    454462        <!-- Trigger to activate the upgrade1-Quest -->
     
    460468                        </trigger>
    461469                </events>
    462         </SimpleNotification>   
     470        </SimpleNotification>
     471                       
    463472
    464473        <!-- Helper-Trigger for the drone(s) -->
     
    473482
    474483        <!-- Helper-Trigger for second guard -->
    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 
    493484        <DistanceTrigger name="flying2" position="18000, 5000, 21000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 >
    494485                <EventTrigger>
     
    519510                </EventTrigger>
    520511        </DistanceTrigger>
     512        <SimpleNotification message="escape10"  broadcast="true">
     513                <events>
     514                        <trigger>
     515                                <EventListener event="escape10" />
     516                        </trigger>
     517                </events>
     518        </SimpleNotification>   
     519
     520
     521
     522        <!-- DistanceTrigger for spion -->
     523        <DistanceTrigger name="spionTrigger" position="15000,4000,19000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />
     524        <SimpleNotification message="spion is arrived!"  broadcast="true">
     525                <events>
     526                        <trigger>
     527                                <EventListener event="spionTrigger" />
     528                        </trigger>
     529                </events>
     530        </SimpleNotification>   
    521531
    522532        <!-- Helper-Trigger for mainship -->
     
    526536                        <trigger>
    527537                                <EventListener event="flying3" />
    528                         </trigger>
    529                 </events>
    530         </SimpleNotification>
    531 
    532         <!-- <DistanceTrigger name="drone2" position="9750, -5350, 5650" target="SpaceShip" distance=20 stay Active="true" delay=0.1 /> -->
    533         <SimpleNotification message="Now your are prepared best!"  broadcast="true">
    534                 <events>
    535                         <trigger>
    536                                 <EventListener event="drone2" />
    537                         </trigger>
    538                 </events>
    539         </SimpleNotification>
    540 
    541         <!-- DistanceTrigger for spion -->
    542         <DistanceTrigger name="spionTrigger" position="15000,4000,19000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />
    543         <SimpleNotification message="spion is arrived!"  broadcast="true">
    544                 <events>
    545                         <trigger>
    546                                 <EventListener event="spionTrigger" />
    547538                        </trigger>
    548539                </events>
     
    799790  <events>
    800791    <visibility>
    801       <EventListener event=spawntrigger2 /> <!-- guard1trigger4 -->
     792      <EventListener event="guard1trigger4" /> <!-- guard1trigger4 -->
    802793    </visibility>
    803794  </events>
     
    829820  <events>
    830821    <visibility>
    831       <EventListener event=spawntrigger2 /> <!-- guard1trigger4 -->
     822      <EventListener event="guard1trigger4" /> <!-- guard1trigger4 -->
    832823    </visibility>
    833824  </events>
     
    859850  <events>
    860851    <visibility>
    861       <EventListener event=spawntrigger2 /> <!-- guard1trigger4 -->
     852      <EventListener event="guard1trigger4" /> <!-- guard1trigger4 -->
    862853    </visibility>
    863854  </events>
     
    889880  <events>
    890881    <visibility>
    891       <EventListener event=spawntrigger2 /> <!-- guard1trigger4 -->
     882      <EventListener event="guard1trigger4" /> <!-- guard1trigger4 -->
    892883    </visibility>
    893884  </events>
     
    951942  <events>
    952943    <visibility>
    953       <EventListener event="guard2trigger4" />
     944      <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
    954945    </visibility>
    955946  </events>
     
    971962      <events>
    972963        <activity>
    973           <EventListener event="guard2trigger4" />
     964          <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
    974965        </activity>
    975966      </events>
     
    981972  <events>
    982973    <visibility>
    983       <EventListener event="guard2trigger4" />
     974      <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
    984975    </visibility>
    985976  </events>
     
    1001992      <events>
    1002993        <activity>
    1003           <EventListener event="guard2trigger4" />
     994          <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
    1004995        </activity>
    1005996      </events>
     
    10111002  <events>
    10121003    <visibility>
    1013       <EventListener event="guard2trigger4" />
     1004      <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
    10141005    </visibility>
    10151006  </events>
     
    10311022      <events>
    10321023        <activity>
    1033           <EventListener event="guard2trigger4" />
     1024          <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
    10341025        </activity>
    10351026      </events>
     
    10411032  <events>
    10421033    <visibility>
    1043       <EventListener event="guard2trigger4" />
     1034      <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
    10441035    </visibility>
    10451036  </events>
     
    10611052      <events>
    10621053        <activity>
    1063           <EventListener event="guard2trigger4" />
     1054          <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
    10641055        </activity>
    10651056      </events>
     
    10721063  <events>
    10731064    <visibility>
    1074       <EventListener event="escaped" />
     1065      <EventListener event=spawntrigger2 /> <!-- escaped -->
    10751066    </visibility>
    10761067  </events>
     
    10921083      <events>
    10931084        <activity>
    1094           <EventListener event="escaped" />
     1085          <EventListener event=spawntrigger2 /> <!-- escaped -->
    10951086        </activity>
    10961087      </events>
     
    11021093  <events>
    11031094    <visibility>
    1104       <EventListener event="escaped" />
     1095      <EventListener event=spawntrigger2 /> <!-- escaped -->
    11051096    </visibility>
    11061097  </events>
     
    11221113      <events>
    11231114        <activity>
    1124           <EventListener event="escaped" />
     1115          <EventListener event=spawntrigger2 /> <!-- escaped -->
    11251116        </activity>
    11261117      </events>
     
    12301221
    12311222        <!-- first guard -->
    1232     <Pawn team=1 health=50000 position="9000,0,0" direction="0,-1,0" yaw=112 pitch=67 collisionType=dynamic mass=100000 name=station1 radarname="Guard 1" >
     1223        <StaticEntity position="9000,0,0" collisionType=static yaw=112 pitch=67 >
     1224          <attached>
     1225            <?lua
     1226              createSpaceStationPar(0,2,1,2,1,4,1,50)
     1227            ?>
     1228          </attached>
     1229        </StaticEntity>
     1230
     1231        <!-- second guard -->
     1232        <StaticEntity position="18000,5000,18000" collisionType=static yaw=12 pitch=75 >
     1233          <attached>
     1234            <?lua
     1235              createSpaceStationPar(0,2,1,2,1,4,1,50)
     1236            ?>
     1237          </attached>
     1238        </StaticEntity>
     1239
     1240<!-- ------------------------- Mainship ------------------ -->
     1241    <Pawn team=1 health=50000 position="-12000, -22000, 25000" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Mainship" yaw=112 pitch=67>
    12331242        <events>
    12341243          <visibility>
     
    12461255    </Pawn>
    12471256
    1248         <!-- second guard -->
    1249         <StaticEntity position="18000,5000,18000" yaw=12 pitch=75>
    1250                 <attached>
    1251                         <?lua
    1252                                 createSpaceStationPar(0,2,1,2,1,4,1,50)
    1253                         ?>
    1254                 </attached>
    1255         </StaticEntity>
    1256 
    1257 <!-- ------------------------- Mainship ------------------ -->
    1258     <Pawn team=1 health=50000 position="13500, 2500, 13000" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Mainship" yaw=112 pitch=67>
    1259         <events>
    1260           <visibility>
    1261             <EventListener event=spawntrigger2 />
    1262           </visibility>
    1263         </events>
    1264         <attached>
    1265                 <?lua
    1266                         createSpaceStationPar(0,2,1,2,1,4,1,50)
    1267                 ?>
    1268         </attached>
    1269         <collisionShapes>
    1270             <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
    1271         </collisionShapes>
    1272     </Pawn>
    1273 
    12741257
    12751258<!-- "-12000, -22000, 25000" -->
Note: See TracChangeset for help on using the changeset viewer.