Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9735


Ignore:
Timestamp:
Nov 4, 2013, 1:24:59 PM (11 years ago)
Author:
schlaem
Message:

two new asteroid fields

File:
1 edited

Legend:

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

    r9727 r9735  
    8484        <LocalQuest id="spacefight.flying1">
    8585                <QuestDescription
    86                         title="To the first guard"
    87                         description="You've reached the enemys Station and they haven't seen you yet.
    88 
    89                                 Ahead you see the first little patrol.
    90                                 Attack them!"
    91                         failMessage="You've lost all your ships!"
     86                        title="To the first guard!"
     87                        description="Reach the station ahead."
    9288                        completeMessage="Well done!" />
    9389                <complete-effects>
     
    9894        <LocalQuest id="spacefight.guard1">
    9995                <QuestDescription
    100                         title="eliminate the first guard!"
    101                         description=""
     96                        title="Eliminate the first guard!"
     97                        description="You've reached the enemys Station and they haven't seen you yet.
     98
     99                                Ahead you see the first little patrol.
     100                                There are two little battleships and also two unarmed ships.
     101                                The unarmed could not attack you. So first destroy the battleships!"
    102102                        failMessage="You've lost all your ships!"
    103103                        completeMessage="Well done!" />
     
    113113                        description="Your friends has an arsenal left behind near by your position.
    114114                                perhaps you find something useful there..."
    115                         failMessage=""
     115                        failMessage="You've lost all your ships!"
    116116                        completeMessage="Your ship is prepared best for the second and last guard on the way to the mainship." />
    117117        </LocalQuest>
     
    119119        <LocalQuest id="spacefight.flying2">
    120120                <QuestDescription
    121                         title=""
    122                         description="(siehe flying1)"
     121                        title="To the second guard!"
     122                        description="There is another sentry on the way to the big mainship.
     123                                unfortunately, we also have to destroy this one."
    123124                        failMessage="You've lost all your ships!"
    124125                        completeMessage="" />
     
    130131        <LocalQuest id="spacefight.guard2">
    131132                <QuestDescription
    132                         title=""
    133                         description="(siehe guard1)"
     133                        title="The second guard!"
     134                        description="Destroy also this guard!"
    134135                        failMessage="You've lost all your ships!"
    135136                        completeMessage="" />
     
    141142        <LocalQuest id="spacefight.escape">
    142143                <QuestDescription
    143                         title=""
    144                         description=""
    145                         failMessage="You've lost all your ships!"
    146                         completeMessage="" />
     144                        title="Catch the messenger!"
     145                        description="A messenger is on the way to warn the troups of the mainship.
     146                                Destroy him before he is near by the mainship.
     147                                Else the fight against the enemys troups will be much more difficult."
     148                        failMessage="The messenger has reached the mainship.
     149                                Prepare to fight against a strong enmey!"
     150                        completeMessage="Well done! Now the element of surprise will be ours!" />
    147151                <complete-effects>
    148152                        <AddQuest questId="spacefight.flying3" />
     
    151155
    152156        <LocalQuest id="spacefight.flying3" >
     157                <QuestDescription
     158                        title="Prepared for the big fight?"
     159                        description=""
     160                        failMessage="You've lost all your ships!"
     161                        completeMessage="" />
     162        </LocalQuest>
     163
     164        <LocalQuest id="spacefight.mainfight" >
     165                <QuestDescription
     166                        title="The big fight!"
     167                        description="Now the time is come!
     168                                You've done all you can to prepare you for this spacebattle.
     169                                Let us see, if it was enough.
     170                               
     171                                ATTACK!!!"
     172                        failMessage="You've lost all your ships!"
     173                        completeMessage="YEEEHAAA!
     174                                You managed it! For that you will get the golden medal of the united space armies." />
     175        </LocalQuest>
     176
     177        <LocalQuest id="spacefight." >
    153178                <QuestDescription
    154179                        title=""
     
    158183        </LocalQuest>
    159184
     185        <LocalQuest id="" >
     186                <QuestDescription
     187                        title=""
     188                        description=""
     189                        failMessage=""
     190                        completeMessage="" />
     191        </LocalQuest>
     192
    160193       
    161194<!-- ---------------------------------------------------------------------- -->
     195
    162196        <QuestEffectBeacon times=0>
    163197                <effects>
     
    165199                </effects>
    166200                <events>
    167                   <execute>
    168                     <EventListener event=spawntrigger2 />
    169                   </execute>
     201                        <execute>
     202                                <EventListener event=spawntrigger2 />
     203                        </execute>
    170204                </events>
    171205                <attached>
    172                         <BlinkingBillboard position="5000,0,0" colour="1,0,0" frequency=0.5 amplitude=5 material="Examples/Flare" />
     206                        <BlinkingBillboard position="8000,0,0" colour="1,0,0" frequency=0.5 amplitude=5 material="Examples/Flare" />
    173207                </attached>
    174208        </QuestEffectBeacon>
     
    186220
    187221        <QuestEffectBeacon times=1>
    188             <effects>
    189                 <CompleteQuest questId="spacefight.guard1" />
    190             </effects>
    191             <events>
    192                 <execute>
    193                     <EventListener event="guard1trigger4" />
    194                 </execute>
    195             </events>
     222                <effects>
     223                        <CompleteQuest questId="spacefight.guard1" />
     224                </effects>
     225                <events>
     226                        <execute>
     227                                <EventListener event="guard1trigger4" />
     228                        </execute>
     229                </events>
    196230        </QuestEffectBeacon>
    197231
    198232<!-- ---------------------------------------------------------------------- -->
    199233
    200   <DistanceTrigger name="flying1" position="3000,0,0" target="SpaceShip" distance=1000 stayActive="true" delay=0 />
     234  <DistanceTrigger name="flying1" position="5000,0,0" target="SpaceShip" distance=1000 stayActive="true" delay=0 />
    201235
    202236  <DistanceTrigger name=spawntrigger2 position="0,0,0" target="SpaceShip" distance=10 stayActive="true" delay=0 />
     
    244278<!-- ----------------------------------------------------- -->
    245279
    246 <!-- Passive Piraten -->
    247 
    248 <SpaceShip position="5000,1000,0" lookat="-1,0,0" name=firstPatrol radarname="Patrol">
     280<!-- Passive Piraten: Guard 1 -->
     281
     282<SpaceShip position="8000,1000,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol">
    249283  <events>
    250284    <visibility>
     
    258292    <WaypointController team=1>
    259293      <waypoints>
    260         <Model mesh="cube.mesh" scale=8 position="5000,-1000,0" />
    261         <Model mesh="cube.mesh" scale=8 position="5000,1000,0" />
     294        <Model mesh="cube.mesh" scale=8 position="8000,-1000,0" />
     295        <Model mesh="cube.mesh" scale=8 position="8000,1000,0" />
    262296      </waypoints>
    263297    </WaypointController>
     
    265299</SpaceShip>
    266300
    267 <SpaceShip position="5000,0,0" lookat="-1,0,0" name=firstPatrol radarname="Patrol">
     301<SpaceShip position="8000,0,0" lookat="-1,0,0" name=firstPatrol radarname="Patrol">
    268302  <events>
    269303    <visibility>
     
    277311    <WaypointController team=1>
    278312      <waypoints>
    279         <Model mesh="cube.mesh" scale=8 position="5000,0,-1000" />
    280         <Model mesh="cube.mesh" scale=8 position="5000,0,1000" />
     313        <Model mesh="cube.mesh" scale=8 position="8000,0,-1000" />
     314        <Model mesh="cube.mesh" scale=8 position="8000,0,1000" />
    281315      </waypoints>
    282316    </WaypointController>
     
    285319
    286320
    287 <!-- Angreiffender Pirat 1 -->
    288 
    289 <SpaceShip position="5000,-1000,1000" lookat="5000,1000,-1000" name=firstPatrol visible="true" radarname="Patrol" >
     321<!-- Angreiffende Piraten: Guard 1 -->
     322
     323<SpaceShip position="8000,-1000,1000" lookat="8000,1000,-1000" name=firstPatrol visible="true" radarname="Patrol" >
    290324  <events>
    291325    <visibility>
     
    299333    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    300334      <waypoints>
    301         <Model mesh="cube.mesh" scale=8 position="5000,1000,-1000" />
    302         <Model mesh="cube.mesh" scale=8 position="5000,-1000,1000" />
     335        <Model mesh="cube.mesh" scale=8 position="8000,1000,-1000" />
     336        <Model mesh="cube.mesh" scale=8 position="8000,-1000,1000" />
    303337      </waypoints>
    304338      <events>
     
    311345</SpaceShip>
    312346
    313 <!-- Angreiffender Pirat 2 -->
    314 <SpaceShip position="5000,-500,-500" lookat="5000,1000,1000" name=firstPatrol visible="true" radarname="Patrol">
     347<SpaceShip position="8000,-500,-500" lookat="8000,1000,1000" name=firstPatrol visible="true" radarname="Patrol">
    315348  <events>
    316349    <visibility>
     
    324357    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    325358      <waypoints>
    326         <Model mesh="cube.mesh" scale=8 position="5000,1000,1000" />
    327         <Model mesh="cube.mesh" scale=8 position="5000,-1000,-1000" />
     359        <Model mesh="cube.mesh" scale=8 position="8000,1000,1000" />
     360        <Model mesh="cube.mesh" scale=8 position="8000,-1000,-1000" />
    328361      </waypoints>
    329362      <events>
     
    335368  </controller>
    336369</SpaceShip>
     370
     371<!-- Passive Piraten: Guard 2 -->
     372
     373<!-- Angreiffende Piraten: Guard 2 -->
    337374
    338375<!-- ----------------------------------------------------- -->
     
    356393    ?>
    357394
     395<!-- other asteroid fileds -->
     396
     397        <!-- links vor guard 1 -->     
     398        <?lua
     399                dofile("includes/asteroidField.lua")
     400                asteroidField(-5000, -5000, -20000, 100, 300, 10000, 50, 1)
     401        ?>
     402
     403        <!-- links hinter guard 1 -->
     404        <?lua
     405                dofile("includes/asteroidField.lua")
     406                asteroidField(20000, -10000, -10000, 50, 1000, 10000, 40, 0)
     407        ?>
     408
    358409
    359410  <Planet position="2000,-250,9000" scale=5000 pitch=1 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="3" atmospheresize=224.0f imagesize=1024.0f />
     
    362413<!-- ----------------Rotating SpaceStation--------------- -->
    363414
    364 <StaticEntity position="5500,0,0" yaw=112 pitch=67>
     415<StaticEntity position="9000,0,0" yaw=112 pitch=67>
    365416  <attached>
    366417    <?lua
     
    370421</StaticEntity>
    371422
     423<StaticEntity position="9000,20000,0" yaw=112 pitch=67>
     424  <attached>
     425    <?lua
     426      createSpaceStationPar(0,2,1,2,1,4,1,50)
     427    ?>
     428  </attached>
     429</StaticEntity>
     430
    372431
    373432  </Scene>
Note: See TracChangeset for help on using the changeset viewer.