Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 12, 2013, 4:13:05 PM (11 years ago)
Author:
schlaem
Message:

some more details…

File:
1 edited

Legend:

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

    r9892 r9894  
    66- If possible, do the spion with DistanceTriggerBeacon
    77- Place the explosion right (time and place)
    8 - also place the docking-Trigger
    98- bigger explosion?
    109- collisionShape for mainship
     
    8786
    8887<!-- SPAWNTRIGGER -->
    89         <!-- StartPoint -->
    90         <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -->
     88        <!-- StartPoint (0, 0, 0), lookat=(100, 0, 0) -->
     89        <SpawnPoint team=0 position="-12350, -21950, 25500" lookat="-12350, -21950, 25300" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -->
    9190          <events>
    9291            <activity>
     
    104103        </EventTrigger>
    105104
    106         <!-- Second Spawnpoint (after first guard) -->
    107         <SpawnPoint team=0 position="13500, 2500, 10500" lookat="18000,5000,18000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -->
     105        <!-- Second Spawnpoint (after first guard) --
     106        <SpawnPoint team=0 position="13500, 2500, 10500" lookat="18000,5000,18000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --
    108107          <events>
    109108            <activity>
     
    126125        </SpawnPoint>
    127126       
    128         <!-- Thirth Spawnpoint (when reached Captain Hood) -->
    129         <SpawnPoint team=0 position="-4000, -18000, 19000" lookat="-12000, -22000, 25000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -->
     127        <!-- Thirth Spawnpoint (when reached Captain Hood) --
     128        <SpawnPoint team=0 position="-4000, -18000, 19000" lookat="-12000, -22000, 25000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --
    130129          <events>
    131130            <activity>
     
    148147        </SpawnPoint>
    149148
    150         <!-- Distance-Spawn-Trigger -->
    151         <DistanceTrigger name=spawntrigger2 position="0, 0, 0" target="SpaceShip" distance=10 stayActive="true" delay=0 />
     149        <!-- Distance-Spawn-Trigger (0, 0, 0) -->
     150        <DistanceTrigger name=spawntrigger2 position="-12350, -21950, 25500" target="SpaceShip" distance=10 stayActive="true" delay=0 />
    152151
    153152        <!-- Drone pickup -->
    154153        <PickupSpawner pickup=dronepickup position="9750, -5350, 5650" triggerDistance="100" respawnTime="30" maxSpawnedItems="2" />
    155154
    156 <!-- QUEST DESCRIPTION --
     155<!-- QUEST DESCRIPTION -->
    157156        <LocalQuest id="spacefight.guard1">
    158157                <QuestDescription
     
    165164                        failMessage="You've lost all your ships!"
    166165                        completeMessage="Well done!" />
    167                 <complete-effects>
    168                         <AddQuest questId="spacefight.guard2" />
    169                 </complete-effects>
    170166        </LocalQuest>
    171167
     
    189185                        completeMessage="" />
    190186        </LocalQuest>
    191 
     187<!--
    192188        <LocalQuest id="spacefight.escape">
    193189                <QuestDescription
     
    309305                </events>
    310306        </SimpleNotification>
    311 
    312307
    313308        <BlinkingBillboard position="11000, 1000, 7000" colour="0.0, 1.0, 0.0" frequency=0.5 amplitude=10 material="Examples/Flare" >
     
    350345                <events>
    351346                        <execute>
    352                                 <EventListener event="drone" />
     347                                <EventListener event="drone1" />
     348                        </execute>
     349                </events>
     350        </QuestEffectBeacon>
     351
     352        <QuestEffectBeacon times=0>
     353                <effects>
     354                        <CompleteQuest questId="spacefight.upgrade1" />
     355                </effects>
     356                <events>
     357                        <execute>
     358                                <EventListener event="victory" />
    353359                        </execute>
    354360                </events>
     
    358364        <QuestEffectBeacon times=0>
    359365                <effects>
     366                        <AddQuest questId="spacefight.guard2" />
     367                </effects>
     368                <events>
     369                        <execute>
     370                                <EventListener event="droneTrigger" />
     371                        </execute>             
     372                </events>
     373        </QuestEffectBeacon>
     374
     375        <QuestEffectBeacon times=0>
     376                <effects>
    360377                        <CompleteQuest questId="spacefight.guard2" />
    361378                </effects>
    362379                <events>
    363380                        <execute>
    364                                 <EventListener event="flying22" />
     381                                <EventListener event="flying2" />
    365382                        </execute>             
    366383                </events>
     
    497514        </SimpleNotification>
    498515
    499                 <EventTrigger name="droneTriggerDelay" stayactive="true" delay=5 >
    500                         <events>
    501                                 <trigger>
    502                                         <EventListener event="droneTrigger" />
    503                                 </trigger>
    504                         </events>
    505                 </EventTrigger>
     516        <EventTrigger name="droneTriggerDelay" stayactive="true" delay=5 >
     517                <events>
     518                        <trigger>
     519                                <EventListener event="droneTrigger" />
     520                        </trigger>
     521                </events>
     522        </EventTrigger>
    506523
    507524        <SimpleNotification message="Search the drone!"  broadcast="true" >
     
    532549        </EventTrigger>
    533550
    534         <SimpleNotification message="Fly back to the light..."  broadcast="true">
     551        <SimpleNotification message="Fly back to the green light."  broadcast="true">
    535552                <events>
    536553                        <trigger>
     
    539556                </events>
    540557        </SimpleNotification>
     558
     559        <Trigger name="secondDroneTrigger" mode="and" stayActive="true">
     560          <DistanceTrigger name="droneTrigger" position="11000, 1000, 7000" target="SpaceShip" distance=1000 stayActive="true" delay=0.1 />
     561          <EventTrigger>
     562            <events>
     563              <trigger>
     564                <EventListener event="drone1" />
     565              </trigger>
     566            </events>
     567          </EventTrigger>
     568        </Trigger>
     569
     570        <SimpleNotification message="The red light shows you the direction."  broadcast="true">
     571                <events>
     572                        <trigger>
     573                                <EventListener event="secondDroneTrigger" />
     574                        </trigger>
     575                </events>
     576        </SimpleNotification>
     577
     578        <BlinkingBillboard position="11500, 1500, 10000" colour="1.0, 0.0, 0.0" frequency=0.5 amplitude=5 material="Examples/Flare" >
     579          <events>
     580            <visibility>
     581              <EventTrigger>
     582                <EventTrigger invert=true>
     583                  <events>
     584                    <trigger>
     585                      <EventListener event="guard2trigger1" />
     586                    </trigger>
     587                  </events>
     588                </EventTrigger>
     589                <events>
     590                  <trigger>
     591                    <EventListener event="secondDroneTrigger" />
     592                  </trigger>
     593                </events>
     594              </EventTrigger>
     595            </visibility>
     596          </events>
     597        </BlinkingBillboard>
    541598
    542599        <!-- Helper-Trigger for second guard -->
     
    600657        </EventTrigger>
    601658
    602         <SimpleNotification message="Before he reachs the light..."  broadcast="true" >
     659        <SimpleNotification message="Before he reachs the red light..."  broadcast="true" >
    603660                <events>
    604661                        <trigger>
     
    847904        </EventTrigger>
    848905
    849         <SimpleNotification message="For that you will get the golden medal of the united space armies."  broadcast="true">
    850                 <events>
    851                         <trigger>
    852                                 <EventListener event="victoryDelay1" />
    853                         </trigger>
    854                 </events>
    855         </SimpleNotification>
    856 
    857         <EventTrigger name="victoryDelay2" delay=5 >
     906        <EventTrigger name="victoryDelay1.1" delay=5.1 >
    858907          <events>
    859908            <trigger>
    860               <EventListener event="victoryDelay1" />
     909              <EventListener event="victory" />
    861910            </trigger>
    862911          </events>
    863912        </EventTrigger>
    864913
    865         <SimpleNotification message="Now dock at the mainship and free the Commander!"  broadcast="true">
     914        <SimpleNotification message="For that you will get the golden medal"  broadcast="true">
     915                <events>
     916                        <trigger>
     917                                <EventListener event="victoryDelay1.1" />
     918                        </trigger>
     919                </events>
     920        </SimpleNotification>
     921
     922        <SimpleNotification message="of the united space armies."  broadcast="true">
     923                <events>
     924                        <trigger>
     925                                <EventListener event="victoryDelay1" />
     926                        </trigger>
     927                </events>
     928        </SimpleNotification>
     929
     930        <EventTrigger name="victoryDelay2" delay=5 >
     931          <events>
     932            <trigger>
     933              <EventListener event="victoryDelay1.1" />
     934            </trigger>
     935          </events>
     936        </EventTrigger>
     937
     938        <EventTrigger name="victoryDelay2.1" delay=5.1 >
     939          <events>
     940            <trigger>
     941              <EventListener event="victoryDelay1.1" />
     942            </trigger>
     943          </events>
     944        </EventTrigger>
     945
     946        <SimpleNotification message="Now dock at the mainship and"  broadcast="true">
     947                <events>
     948                        <trigger>
     949                                <EventListener event="victoryDelay2.1" />
     950                        </trigger>
     951                </events>
     952        </SimpleNotification>
     953
     954        <SimpleNotification message="free the Commander!"  broadcast="true">
    866955                <events>
    867956                        <trigger>
     
    888977
    889978        <!-- Rescue the commander -->
    890         <BlinkingBillboard position="-11800, -22090, 24900" colour="0.0, 0.0, 1.0" frequency=0.5 amplitude=5 material="Examples/Flare" >
     979        <BlinkingBillboard position="-12470, -21870, 25200" colour="0.0, 0.0, 1.0" frequency=0.5 amplitude=5 material="Examples/Flare" >
    891980          <events>
    892981            <visibility>
     
    901990                <events>
    902991                  <trigger>
    903                     <EventListener event="victory" />
     992                    <EventListener event=spawntrigger2 /> <!-- "victory" -->
    904993                  </trigger>
    905994                </events>
     
    909998        </BlinkingBillboard>
    910999       
    911         <DistanceTrigger name="dock" position="-11800, -22090, 24900" target="SpaceShip" distance=50 stayActive="true" delay=0 />
     1000        <DistanceTrigger name="dock" position="-12470, -21870, 25200" target="SpaceShip" distance=50 stayActive="true" delay=0 />
    9121001        <SimpleNotification message="The Commander is on board!"  broadcast="true">
    9131002                <events>
     
    10401129
    10411130<!-- For Escape -->
    1042         <EventTrigger name="spion5" activations="1" stayactive="true" delay=0.1 >
     1131        <EventTrigger name="spion5" stayactive="true" >
    10431132          <events>
    10441133            <trigger>
     
    10461135            </trigger>
    10471136          </events>
    1048         </EventTrigger> 
     1137        </EventTrigger>
    10491138
    10501139<!-- For last fight -->
     
    13461435    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    13471436      <waypoints>
    1348         <Model mesh="cube.mesh" scale=10 position="-10000, -22000, 24000" /> <!-- -12000, -22000, 25000    -4000, -18000, 19000 -->
    1349         <Model mesh="cube.mesh" scale=10 position="-11000, -22000, 23000" />
     1437        <Model mesh="cube.mesh" scale=10 position="-9500, -22000, 24000" /> <!-- -12000, -22000, 25000    -4000, -18000, 19000 -->
     1438        <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23000" />
    13501439        <Model mesh="cube.mesh" scale=10 position="-11000, -20000, 23000" />
    13511440        <Model mesh="cube.mesh" scale=10 position="-10000, -20000, 24000" />
     
    13721461    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    13731462      <waypoints>
    1374         <Model mesh="cube.mesh" scale=10 position="-11000, -22000, 23000" />
     1463        <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23000" />
    13751464        <Model mesh="cube.mesh" scale=10 position="-11000, -20000, 23000" />
    13761465        <Model mesh="cube.mesh" scale=10 position="-10000, -20000, 24000" />       
    1377         <Model mesh="cube.mesh" scale=10 position="-10000, -22000, 24000" />
     1466        <Model mesh="cube.mesh" scale=10 position="-9500, -22000, 24000" />
    13781467      </waypoints>
    13791468      <events>
     
    14001489        <Model mesh="cube.mesh" scale=10 position="-11000, -20000, 23000" />
    14011490        <Model mesh="cube.mesh" scale=10 position="-10000, -20000, 24000" />       
    1402         <Model mesh="cube.mesh" scale=10 position="-10000, -22000, 24000" />
    1403         <Model mesh="cube.mesh" scale=10 position="-11000, -22000, 23000" />
     1491        <Model mesh="cube.mesh" scale=10 position="-9500, -22000, 24000" />
     1492        <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23000" />
    14041493      </waypoints>
    14051494      <events>
     
    14251514      <waypoints>
    14261515        <Model mesh="cube.mesh" scale=10 position="-10000, -20000, 24000" />       
    1427         <Model mesh="cube.mesh" scale=10 position="-10000, -22000, 24000" />
    1428         <Model mesh="cube.mesh" scale=10 position="-11000, -22000, 23000" />
     1516        <Model mesh="cube.mesh" scale=10 position="-9500, -22000, 24000" />
     1517        <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23000" />
    14291518        <Model mesh="cube.mesh" scale=10 position="-11000, -20000, 23000" />
    14301519      </waypoints>
     
    14511540    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    14521541      <waypoints>
    1453         <Model mesh="cube.mesh" scale=10 position="-10000, -21000, 24000" />
    1454         <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23500" />
    1455         <Model mesh="cube.mesh" scale=10 position="-11000, -21000, 23000" />
     1542        <Model mesh="cube.mesh" scale=10 position="-9750, -21000, 24000" />
     1543        <Model mesh="cube.mesh" scale=10 position="-10000, -22000, 23500" />
     1544        <Model mesh="cube.mesh" scale=10 position="-10750, -21000, 23000" />
    14561545        <Model mesh="cube.mesh" scale=10 position="-10500, -20000, 23500" />
    14571546      </waypoints>
     
    14771566    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    14781567      <waypoints>
    1479         <Model mesh="cube.mesh" scale=10 position="-11000, -21000, 23000" />
     1568        <Model mesh="cube.mesh" scale=10 position="-10750, -21000, 23000" />
    14801569        <Model mesh="cube.mesh" scale=10 position="-10500, -20000, 23500" />
    1481         <Model mesh="cube.mesh" scale=10 position="-10000, -21000, 24000" />
    1482         <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23500" />
     1570        <Model mesh="cube.mesh" scale=10 position="-9750, -21000, 24000" />
     1571        <Model mesh="cube.mesh" scale=10 position="-10000, -22000, 23500" />
    14831572      </waypoints>
    14841573      <events>
     
    15161605</SpaceShip>
    15171606
    1518 <BlinkingBillboard position="10000, 2000, 17000" colour="0.0, 0.0, 1.0" frequency=0.5 amplitude=20 material="Examples/Flare" >
     1607<BlinkingBillboard position="10000, 2000, 17000" colour="1.0, 1.0, 0.0" frequency=0.5 amplitude=20 material="Examples/Flare" >
    15191608  <events>
    15201609    <visibility>
     
    16641753        team      = 1
    16651754        position  = "-12000, -22000, 25000"
    1666         mass      = 10000
     1755        mass      = 10000000000
    16671756        health    = 100000 initialhealth=100000 maxhealth="100000"
    16681757        name      = "Mainship"
     
    16811770      <attached>
    16821771        <Model scale=200 mesh="drone.mesh" position = "0,0,0" lookat="40000, 4000, 27000" />
    1683    <!-- <Model mesh="cube.mesh" mass=10 position="-560,0,0" scale3D="115,100,245" />
    1684         <Model mesh="cube.mesh" mass=10 position="290,0,-480" scale3D="115,100,245" yaw=-120 />
    1685         <Model mesh="cube.mesh" mass=10 position="290,0,480" scale3D="115,100,245" yaw=-240 />
    1686         <Model mesh="cube.mesh" mass=10 position="-280,0,0" scale3D="163,50,50" />
    1687         <Model mesh="cube.mesh" mass=10 position="140,0,-240" scale3D="163,50,50"  yaw=-120/>
    1688         <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="163,50,50" yaw=-240/>
    1689         <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" />
     1772        <Model mesh="cube.mesh" mass=10 position="-445,110,120" scale3D="45,45,150"  yaw=56 pitch=-4 roll=0 />
     1773        <Model mesh="cube.mesh" mass=10 position="-295,125,220" scale3D="28,28,28" yaw=56 pitch=-4 roll=0 />
     1774        <Model mesh="cube.mesh" mass=10 position="-400,350,-200" scale3D="80,280,800" yaw=56 pitch=-4 roll=5 />
     1775        <Model mesh="cube.mesh" mass=10 position="-300,630,-100" scale3D="250,50,500" yaw=56 pitch=-4 roll=5 />
     1776        <Model mesh="cube.mesh" mass=10 position="-150,-150,-550" scale3D="80,280,800"  yaw=56 pitch=-4 roll=65 />
     1777        <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="250,50,500" yaw=0 pitch=0 roll=0 />
     1778<!--    <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" />
    16901779        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-120/>
    16911780        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-240/>
     
    16961785        <Model mesh="cube.mesh" mass=10 position="-100,264,0" scale3D="26,105,43" roll=-49/>
    16971786        <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/>
    1698         <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/>     -->
     1787        <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/> -->
    16991788      </attached>
    17001789      <collisionShapes>
    1701   <!--  <BoxCollisionShape  position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes --
    1702         <BoxCollisionShape  position="290,0,-480" halfExtents="115,100,245" yaw=-120 />
     1790        <BoxCollisionShape  position="-560,0,0" halfExtents="115,100,245" /> <!-- Three lower boxes -->
     1791<!--    <BoxCollisionShape  position="290,0,-480" halfExtents="115,100,245" yaw=-120 />
    17031792        <BoxCollisionShape  position="290,0,480" halfExtents="115,100,245" yaw=-240 />
    1704         <BoxCollisionShape  position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections --
     1793        <BoxCollisionShape  position="-280,0,0" halfExtents="163,50,50" /> <!-- Three lower connections --
    17051794        <BoxCollisionShape  position="140,0,-240" halfExtents="163,50,50" yaw=-120 />
    17061795        <BoxCollisionShape  position="140,0,240" halfExtents="163,50,50" yaw=-240 />
    1707         <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower --
     1796        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" /> <!-- Upper Tower --
    17081797        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-120 />
    17091798        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-240 />
    1710         <BoxCollisionShape  position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one--
    1711         <BoxCollisionShape  position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs --
     1799        <BoxCollisionShape  position="0,400,0" halfExtents="43,110,26" yaw=-30 /> <!-- Middle one--
     1800        <BoxCollisionShape  position="-200,100,0" halfExtents="26,50,43" /> <!--Three lower legs --
    17121801        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=-30 />
    17131802        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=30 />
    1714         <BoxCollisionShape  position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs --
     1803        <BoxCollisionShape  position="-100,264,0" halfExtents="26,105,43" roll=-49 /> <!--Three upper legs --
    17151804        <BoxCollisionShape  position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 />
    1716         <BoxCollisionShape  position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 /> -->
     1805        <BoxCollisionShape  position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 />  -->
    17171806      </collisionShapes>
    17181807      <events>
Note: See TracChangeset for help on using the changeset viewer.