Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2013, 1:50:05 PM (11 years ago)
Author:
skaan
Message:

error control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/levelKaan/data/levels/Level_01.oxw

    r9821 r9836  
    5959   <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>       
    6060
    61    <TeamSpawnPoint team=0 position="0,0,0" direction="-1,1,1" spawnclass=SpaceShip pawndesign=spaceshipescort/> <!--spaceshipescort-->
     61   <TeamSpawnPoint team=0 position="0,94000,0" direction="-1,1,1" spawnclass=SpaceShip pawndesign=spaceshipescort/> <!--spaceshipescort-->
    6262
    6363
     
    7373   <SpaceShip
    7474        team      = 0
    75         position  = "-4000,4100,4000"
     75        position  = "5000,5100,5000"
    7676        roll      = 90   yaw=0  pitch=20
    7777        mass      = 10000
    7878        health    = 100000 initialhealth=100000 maxhealth="100000"
    7979        name      = "HydroFarmer"
    80         radarname = "Hydrogen Farmer" >
     80        radarname = "Hydro Farmer" >
    8181      <attached>
    8282        <!-- Docking -->
     
    122122    </SpaceShip>
    123123
    124    <Dock position="-4000,4000,4000" roll=90 yaw=180 >
     124   <Dock position="5000,5000,5000" roll=90 yaw=180 >
    125125      <animations>
    126126         <MoveToDockingTarget target="destroyer" />
     
    149149        template            = "spaceshipcollateraldamage"
    150150        team                = "0"
    151         position            = "-4000,4800,4000"
     151        position            = "5000,5800,5000"
    152152        orientation         = "-0.14, 0.68, 0.68, 0.223"
    153153        health              = "400"
     
    167167    </SpaceShip>
    168168
    169 <BlinkingBillboard position="-3800,4800,4000" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05">
    170           <events>
    171             <visibility>
    172                     <EventListener event=dockMe />
    173             </visibility>
    174           </events>
    175 </BlinkingBillboard>
    176 
    177 <BlinkingBillboard position="-500,500,500" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05">
     169
     170<BlinkingBillboard position="1000,1000,1000" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05">
    178171          <events>
    179172            <visibility>
     
    188181          </events>
    189182</BlinkingBillboard>
    190 <Billboard position="-500,500,500" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">
     183<Billboard position="1000,1000,1000" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">
    191184          <events>
    192185            <visibility>
     
    202195</Billboard>
    203196
    204   <DistanceTrigger name="flying1" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=4/>
    205     <SimpleNotification message="Hey Rookie.. We got a new mission for you.">
     197  <DistanceTrigger name="flying1" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=1/>
     198    <SimpleNotification message="Housten: John Vane do you hear us">
    206199        <events>
    207200            <trigger>
     
    211204    </SimpleNotification>
    212205
    213   <DistanceTrigger name="flying2" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=8/>
    214     <SimpleNotification message="Go to the main station for more information.">
     206   <DistanceTrigger name="flying2" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=4/>
     207   <SimpleNotification message="Housten: We got a new mission for you">
    215208        <events>
    216209            <trigger>
     
    218211            </trigger>
    219212        </events>
    220     </SimpleNotification>
    221 
    222  <DistanceTrigger name="flying3" position="-500,500, 500" target="Pawn" distance=100 stayActive="true" delay=3/>
    223     <SimpleNotification message="Our Commander got kidnapped in District 69">
     213   </SimpleNotification>
     214
     215
     216  <DistanceTrigger name="flying3" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=7/>
     217    <SimpleNotification message="John: I hear you. What is it about">
    224218        <events>
    225219            <trigger>
     
    229223    </SimpleNotification>
    230224
    231  <DistanceTrigger name="flying4" position="-500,500, 500" target="Pawn" distance=100 stayActive="true" delay=7/>
    232     <SimpleNotification message="We need you to rescue him.">
     225 <DistanceTrigger name="flying4" position="1000,1000, 1000" target="Pawn" distance=100 stayActive="true" delay=1/>
     226    <SimpleNotification message="Housten: Our Commander got kidnapped in Area 51">
    233227        <events>
    234228            <trigger>
     
    238232    </SimpleNotification>
    239233
    240 <DistanceTrigger name="flying5" position="-500,500,500" target="Pawn" distance=100 stayActive="true" delay=11/>
    241     <SimpleNotification message="Dock on the station to get a better ship.">
     234 <DistanceTrigger name="flying5" position="1000,1000, 1000" target="Pawn" distance=100 stayActive="true" delay=4/>
     235    <SimpleNotification message="Housten: We need you to rescue him.">
     236        <events>
     237            <trigger>
     238                <EventListener event="flying5" />
     239            </trigger>
     240        </events>
     241    </SimpleNotification>
     242
     243<DistanceTrigger name="flying6" position="1000,1000, 1000" target="Pawn" distance=100 stayActive="true" delay=7/>
     244    <SimpleNotification message="John: I'm right on the way.">
     245        <events>
     246            <trigger>
     247                <EventListener event="flying6" />
     248            </trigger>
     249        </events>
     250    </SimpleNotification>
     251
     252
     253<DistanceTrigger name="flying5" position="1000,1000,1000" target="Pawn" distance=100 stayActive="true" delay=10/>
     254    <SimpleNotification message="Houston: First dock on the station">
    242255        <events>
    243256            <trigger>
     
    283296      position = "<?lua print(math.random()* 1500-750) ?>,<?lua print(math.random() * 10000 + 95000) ?>,<?lua print(math.random() * 1500-750) ?>"
    284297      scale = "<?lua print(j * 40)?>"
    285       velocity = "<?lua print(j*30)?>, <?lua print(j*30)?>-180, <?lua print(j*30)?>"
     298      velocity = "<?lua print(j*30)?>, <?lua print(-100, <?lua print(j*30)?>"
    286299      collisionType = dynamic
    287300      collisiondamage = 0.1
     
    314327
    315328<DistanceTrigger name="portal2" position="-4000,4000,4000" target="Pawn" distance=50 stayActive="true" delay=3/>
    316     <SimpleNotification message="Now go to the portal next to the satellite">
     329    <SimpleNotification message="Housten: Now go through the portal!">
    317330        <events>
    318331            <trigger>
     
    322335    </SimpleNotification>
    323336
    324 <DistanceTrigger name="portal3" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=3/>
    325     <SimpleNotification message="Reach the wormhole to District 69">
    326         <events>
    327             <trigger>
    328                 <EventListener event="portal3" />
    329             </trigger>
    330         </events>
    331     </SimpleNotification>
    332 
    333    <SimpleNotification message="Take the lead of the formation">
    334         <events>
    335             <trigger>
    336                 <EventListener event="endOfLevel" />
    337             </trigger>
    338         </events>
    339     </SimpleNotification>
     337
     338
    340339
    341340<!----------------------------------------------------------------------------------------------------->
     
    343342<!----------------------------------------------------------------------------------------------------->
    344343
    345 <?lua for i=0,2,1 do
     344<!--<?lua for i=0,2,1 do
    346345?>
    347346
     
    385384    </Script> <!-- !!! activates formation behaviour !!! -->
    386385
    387  <Script code="formationcontroller followme">
     386<!-- <Script code="formationcontroller followme">
    388387        <events>
    389388            <trigger>
     
    393392    </Script> <!-- !!! activates formation behaviour !!! -->
    394393
    395     <Script code="artificialcontroller setbotlevel 5" onLoad="false">
     394 <!--   <Script code="artificialcontroller setbotlevel 5" onLoad="false">
    396395        <events>
    397396            <trigger>
     
    399398            </trigger>
    400399        </events>
    401     </Script>
     400    </Script>  -->
    402401   
    403402   <SpaceShip
     
    410409        radarname = "Wormhole to District 69" >
    411410      <attached>
    412         <!-- Docking -->
    413411         <DistanceTriggerBeacon name="bcnDestroyer" />
    414412         <Billboard position="0,0,0" material="Portals/Default" />
     
    453451    </SpaceShip>
    454452
     453   <DistanceTrigger name="portal3" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=1/>
     454   <SimpleNotification message="Housten: Reach the wormhole to Area 51">
     455      <events>
     456         <trigger>
     457            <EventListener event="portal3"
     458         </trigger>
     459      </events>
     460   </SimpleNotification>
     461
     462   <DistanceTrigger name="portal4" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=4/>
     463   <SimpleNotification message="Housten: Hurry up John">
     464      <events>
     465         <trigger>
     466            <EventListener event="portal4"
     467         </trigger>
     468      </events>
     469   </SimpleNotification>
     470
     471   <DistanceTrigger name="portal5" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=7/>
     472   <SimpleNotification message="We ">
     473      <events>
     474         <trigger>
     475            <EventListener event="portal5"
     476         </trigger>
     477      </events>
     478   </SimpleNotification>
     479
     480
     481
    455482    <SimpleNotification message="End of game">
    456483        <events>
Note: See TracChangeset for help on using the changeset viewer.