Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9758


Ignore:
Timestamp:
Nov 8, 2013, 12:19:17 PM (11 years ago)
Author:
schlaem
Message:

some more detail for the drone-special.
Problem with the EventTrigger from a destroyed Object is still existing

File:
1 edited

Legend:

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

    r9757 r9758  
    8181    <!-- Drone pickup -->
    8282   
    83     <PickupSpawner pickup=dronepickup position="50,0,0" triggerDistance="10" respawnTime="0" maxSpawnedItems="2" />
     83    <PickupSpawner pickup=dronepickup position="9750, -5350, 5650" triggerDistance="20" respawnTime="30" maxSpawnedItems="2" />
    8484
    8585<!-- QUEST DESCRIPTION-->
     
    113113        <LocalQuest id="spacefight.upgrade1">
    114114                <QuestDescription
    115                         title="Prepare for the fight."
     115                        title="Prepare for the fight (optional)"
    116116                        description="Your friends has an arsenal left behind near by your position.
    117                                 perhaps you find something useful there..."
     117                                perhaps you find something useful there...
     118                                Hint: look for a big asteroid."
    118119                        failMessage="You've lost all your ships!"
    119                         completeMessage="Your ship is prepared best for the second and last guard on the way to the mainship." />
     120                        completeMessage="" />
    120121        </LocalQuest>
    121122
     
    211212        </QuestEffectBeacon>
    212213
    213         <!-- guard 1 -->
     214        <!-- Guard 1 -->
    214215        <QuestEffectBeacon times=0>
    215216                <effects>
     
    236237                </attached>
    237238        </QuestEffectBeacon>
     239
     240        <!-- Drone (optional) -->
     241        <QuestEffectBeacon times=0>
     242                <effects>
     243                        <CompleteQuest questId="spacefight.upgrade1" />
     244                </effects>
     245                <events>
     246                        <execute>
     247                                <EventListener event="drone" />
     248                        </execute>
     249                </events>
     250        </QuestEffectBeacon>
    238251       
    239         <!-- guard 2 -->
     252        <!-- Guard 2 -->
    240253        <QuestEffectBeacon times=0>
    241254                <effects>
     
    252265                <effects>
    253266                        <CompleteQuest questId="spacefight.guard2" />
     267                        <CompleteQuest questId="spacefight.upgrade1" />
    254268                </effects>
    255269                <events>
     
    269283
    270284  <DistanceTrigger name="flying2" position="13500, 2500, 10500" target="SpaceShip" distance=7000 stayActive="true" delay=0 />
    271   <SimpleNotification message="guard 2 in Sicht!"  broadcast="true">
     285  <SimpleNotification message="search the drone!?"  broadcast="true">
    272286      <events>
    273287          <trigger>
     
    282296          <trigger>
    283297              <EventListener event="flying3" />
     298          </trigger>
     299      </events>
     300  </SimpleNotification>
     301
     302<!-- Helper-Trigger for the drone(s) -->
     303  <DistanceTrigger name="drone2" position="9750, -5350, 5650" target="SpaceShip" distance=20 stayActive="true" delay=30 >
     304    <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=20 stayActive="true" delay=0.1 />
     305  </DistanceTrigger>
     306
     307  <SimpleNotification message="Your ship is prepared best for the second and last guard on the way to the mainship.
     308                                Now attack the second guard!"  broadcast="true">
     309      <events>
     310          <trigger>
     311              <EventListener event="drone1" />
     312          </trigger>
     313      </events>
     314  </SimpleNotification>
     315
     316  <SimpleNotification message="Your ship is prepared best for the final fight at the mainship."  broadcast="true">
     317      <events>
     318          <trigger>
     319              <EventListener event="drone2" />
    284320          </trigger>
    285321      </events>
     
    638674    <SpawnPoint team=0 position="0,0,0" lookat="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow />
    639675   
    640  <!-- triple large belt around the planet  -->
    641     <?lua
    642         dofile("includes/asteroidField.lua")
    643         asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1)
    644     ?>
    645     <?lua
    646         dofile("includes/asteroidField.lua")
    647         asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 10000, 11000, 300, 1)
    648     ?>
    649     <?lua
    650         dofile("includes/asteroidField.lua")
    651         asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1)
    652     ?>
     676<!-- ASTEROIDS & ASTEROID-FIELDS -->
     677
     678<!-- Asteroids -->
     679
     680      <Model position="9800, -5000, 5700" yaw="90" pitch="-90" roll="0" scale="300" mesh="asteroid_ice.mesh" />
     681
     682<!-- triple large belt around the planet  -->
     683        <?lua
     684                dofile("includes/asteroidField.lua")
     685                asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1)
     686        ?>
     687
     688        <?lua
     689                dofile("includes/asteroidField.lua")
     690                asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 10000, 11000, 300, 1)
     691        ?>
     692
     693        <?lua
     694                dofile("includes/asteroidField.lua")
     695                asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1)
     696        ?>
    653697
    654698<!-- other asteroid fileds -->
    655699
    656         <!-- links vor guard 1 -->     
     700        <!-- left before guard 1 -->   
    657701        <?lua
    658702                dofile("includes/asteroidField.lua")
     
    660704        ?>
    661705
    662         <!-- links hinter guard 1 -->
     706        <!-- left behind guard 1 -->
    663707        <?lua
    664708                dofile("includes/asteroidField.lua")
     
    666710        ?>
    667711
    668         <!-- zwischen guard 2 & mainship -->
    669         <!-- Kern -->   
     712        <!-- between guard 2 & mainship -->
     713        <!-- Core -->   
    670714        <?lua
    671715                dofile("includes/asteroidField.lua")
     
    684728        ?>
    685729
    686 
    687   <Planet position="2000,-250,9000" scale=5000 pitch=1 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="0.5" atmospheresize=224.0f imagesize=1024.0f />
    688 
    689 <!--
    690 <Model position="1000,  0,40" yaw="90" pitch="-90" roll="5" scale="50" mesh="ast1.mesh" />
    691 --> 
     730<!-- PLANETS -->
     731
     732  <Planet       position="2000,-250,9000"
     733                scale=5000
     734                pitch=1
     735                mesh="iceplanet.mesh"
     736                atmosphere="atmosphere1"
     737                rotationaxis="1,1,0"
     738                rotationrate="0.5"
     739                atmospheresize=224.0f
     740                imagesize=1024.0f />
     741
    692742
    693743<!-- ----------------Rotating SpaceStation--------------- -->
     
    710760
    711761<!-- ------------------------- Mainship ------------------ -->
     762
    712763<StaticEntity position="-12000, -22000, 25000" yaw=112 pitch=67>
    713764        <attached>
Note: See TracChangeset for help on using the changeset viewer.