Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9909 for code/branches


Ignore:
Timestamp:
Dec 16, 2013, 2:37:00 PM (11 years ago)
Author:
skaan
Message:

Bug test

Location:
code/branches/levelKaan/data/levels
Files:
1 deleted
1 edited

Legend:

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

    r9880 r9909  
    22
    33<LevelInfo
    4    name = "Level_Kaan"
    5    description = "A level with absolutely nothing in it."
     4   name = "John Vane and the trip to Area 51"
     5   description = "First Mission of John Vane"
    66   tags = "mission"
    7    screenshot = "emptylevel.png"
     7   screenshot = "JohnVane.png"
    88/>
    99
     
    6161   <TeamSpawnPoint team=0 position="0,94000,0" direction="1,1,1" spawnclass=SpaceShip pawndesign=spaceshipescort> <!--spaceshipescort-->
    6262        <events>
    63             <activity>
    64                 <EventListener event="start" />
    65             </activity>
    66         </events>
    67     </TeamSpawnPoint>
    68 
    69    <TeamSpawnPoint team=0 position="0,94000,0" direction="0,1,0" spawnclass=SpaceShip pawndesign=spaceshipescort active=false>
    70       <events>
    7163            <activity>
    7264                <EventListener event="start" />
     
    274266    </SimpleNotification>
    275267
    276 <QuestEffectBeacon times=1>
    277             <effects>
     268   <QuestEffectBeacon times=1>
     269      <effects>
    278270                <AddQuest questId="Level_Kaan.docking" />
    279                 <!--AddQuestHint hintId ="quest1hint3" /-->
    280             </effects>
     271      </effects>
    281272            <events>
    282273                <execute>
     
    284275                </execute>
    285276            </events>
    286         </QuestEffectBeacon>
    287 
    288 <LocalQuest id="Level_Kaan.docking">
    289         <QuestDescription title="Docking" description="Fly to the Main Station and get a better Spaceship
    290 
    291 Further flying moves:
    292 break (S)
    293 roll     (Q) and (E)
    294 boost (Space)
    295 
    296 Whenever a new quest is added you can view it by pressing (F3). Quit this menu via (Esc)." failmessage="" completeMessage="" />
    297 
    298     </LocalQuest>
    299 
    300 <QuestEffectBeacon times=1>
     277   </QuestEffectBeacon>
     278
     279   <QuestEffectBeacon times=1>
    301280            <effects>
    302                 <AddQuest questId="Level_Kaan.portals" />
    303                 <!--AddQuestHint hintId ="quest1hint3" /-->
     281                <CompleteQuest questId="Level_Kaan.docking" />
    304282            </effects>
    305283            <events>
    306284                <execute>
    307                     <EventListener event=dockMe />
     285                    <EventListener event="dockMe" />
    308286                </execute>
    309287            </events>
    310         </QuestEffectBeacon>
     288   </QuestEffectBeacon>
     289
     290   <LocalQuest id="Level_Kaan.docking">
     291      <QuestDescription title="Docking" description="Our Commander got kidnapped in Area 51. Fly to the Main Station and get a better Spaceship to rescue him.
     292
     293        Flying moves:
     294        break (S)
     295        roll     (Q) and (E)
     296        boost (Space)
     297
     298        Whenever a new quest is added you can view it by pressing (F3). Quit this menu via (Esc)." failmessage="" completeMessage="" />
     299      <complete-effects>
     300         <AddQuest questId="Level_Kaan.portals" />
     301      </complete-effects>
     302   </LocalQuest>
     303
     304   <LocalQuest id="Level_Kaan.portals">
     305      <QuestDescription title="Portals" description="Now you've got a Spaceship with more health and weapons. Your next goal is to pass through the portal and find there the           wormhole to Area 51" failmessage="" completeMessage="" />
     306      <complete-effects>
     307         <AddQuest questId="Level_Kaan.asteroids" />
     308      </complete-effects>
     309   </LocalQuest>
     310
     311
     312   <QuestEffectBeacon times=1>
     313      <effects>
     314         <CompleteQuest questId="Level_Kaan.portals" />
     315      </effects>
     316      <events>
     317         <execute>
     318            <EventListener event=start />
     319         </execute>
     320      </events>
     321   </QuestEffectBeacon>
     322
     323 <LocalQuest id="Level_Kaan.asteroids">
     324      <QuestDescription title="Asteroids" description="The wormhole is at the end of the asteroid shower. Find your way through the asteroids without hitting the rocks and reach Area 51. " failmessage="" completeMessage="" />
     325   </LocalQuest>
     326
     327 <QuestEffectBeacon times=1>
     328      <effects>
     329         <CompleteQuest questId="Level_Kaan.asteroids" />
     330      </effects>
     331      <events>
     332         <execute>
     333            <EventListener event=endOfLevel />
     334         </execute>
     335      </events>
     336   </QuestEffectBeacon>
    311337
    312338<!----------------------------------------------------------------------------------------------------->
     
    317343<!------------------------------------- OBJECTS IN THIS PART ------------------------------------------>
    318344
    319    <Model position="4000, 2800, 4000" yaw="90" pitch="-90" roll="90" scale="3" mesh="satellite.mesh" />
    320 
    321345   <Template name=PortalDefault>
    322346      <PortalEndPoint>
    323347         <attached>
    324             <Model mesh="Spacegate.mesh" yaw="90"/>
     348            <Model mesh="Spacegate.mesh" />
    325349         </attached>
    326350      </PortalEndPoint>
     
    343367
    344368   <MovableEntity       
    345       position = "<?lua print(math.random()* 1500-750) ?>,<?lua print(math.random() * 10000 + 95000) ?>,<?lua print(math.random() * 1500-750) ?>"
     369      position = "<?lua print(math.random()* 1500-750) ?>,<?lua print(math.random() * 9500 + 100000) ?>,<?lua print(math.random() * 1500-750) ?>"
    346370      scale = "<?lua print(j * 40)?>"
    347       velocity = "<?lua print(x*100-50)?>, <?lua print(y*60-160)?>, <?lua print(z*100-50)?>"
     371      velocity = "<?lua print(x*70-35)?>, <?lua print(y*50-130)?>, <?lua print(z*70-35)?>"
    348372      collisionType = dynamic
    349373      collisiondamage = 0.05
    350374      enablecollisiondamage = true
    351       active = false
    352    >
    353       <events>
    354          <activity>
    355             <EventListener event="startAsteroids" />
    356          </activity>
    357       </events>
    358       <attached>
    359          <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
    360          <ParticleEmitter position="0,0,0" source="Orxonox/fire3" />
    361       </attached>
     375   > 
    362376         <collisionShapes>
    363377            <SphereCollisionShape radius="<?lua print(j * 50) ?>" />
     
    369383   ?>
    370384
     385<BlinkingBillboard position="5000,5800,5000" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05">
     386          <events>
     387            <visibility>
     388              <EventTrigger invert=true>
     389                <events>
     390                  <trigger>
     391                    <EventListener event=portal2 />
     392                  </trigger>
     393                </events>
     394              </EventTrigger>
     395            </visibility>
     396          </events>
     397</BlinkingBillboard>
     398<Billboard position="5000,5800,5000" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">
     399          <events>
     400            <visibility>
     401              <EventTrigger>
     402                <events>
     403                  <trigger>
     404                    <EventListener event=portal2 />
     405                  </trigger>
     406                </events>
     407              </EventTrigger>
     408            </visibility>
     409          </events>
     410</Billboard>
     411
    371412<DistanceTrigger name="start" position="0,94000,0" target="SpaceShip" beaconMode="exclude" targetname="bcnDestroyer" distance=20 stayActive="true" delay=0 />
    372             <EventTrigger active=false name=startAsteroids  stayActive="true">
    373               <events>
    374                 <trigger>
    375                   <EventListener event="start" />
    376                 </trigger>
    377               </events>
    378             </EventTrigger>
    379413
    380414<DistanceTrigger name="portal2" position="5000,5800,5000" target="Pawn" distance=20 stayActive="true" delay=3/>
     
    387421    </SimpleNotification>
    388422
    389  <SimpleNotification message="Start wurde ausgeloest!">
    390         <events>
    391             <trigger>
    392                 <EventListener event="start" />
    393             </trigger>
    394         </events>
    395     </SimpleNotification>
     423
    396424
    397425<!----------------------------------------------------------------------------------------------------->
     
    401429  <SpaceShip
    402430        team      = 0
    403         position  = "0,106000,0"
     431        position  = "0,110000,0"
    404432        roll      = 0   yaw=90  pitch=0
    405433        mass      = 10000
    406434        health    = 100000 initialhealth=100000 maxhealth="100000"
    407435        name      = "wormhole"
    408         radarname = "Wormhole to District 69" >
     436        radarname = "Wormhole to Area 51" >
    409437      <attached>
    410438         <DistanceTriggerBeacon name="bcnDestroyer" />
     
    477505   </SimpleNotification>
    478506
     507   <DistanceTrigger name="portal6" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=13/>
     508   <SimpleNotification message="John: I see the wormhole station on the radar">
     509      <events>
     510         <trigger>
     511            <EventListener event="portal6" />
     512         </trigger>
     513      </events>
     514   </SimpleNotification>
     515
     516
     517   <DistanceTrigger name="portal7" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=17/>
     518   <SimpleNotification message="Houston: Is it black?">
     519      <events>
     520         <trigger>
     521            <EventListener event="portal7" />
     522         </trigger>
     523      </events>
     524   </SimpleNotification>
     525
     526   <DistanceTrigger name="portal8" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=21/>
     527   <SimpleNotification message="John: Yes">
     528      <events>
     529         <trigger>
     530            <EventListener event="portal8" />
     531         </trigger>
     532      </events>
     533   </SimpleNotification>
     534
     535
     536   <DistanceTrigger name="portal9" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=25/>
     537   <SimpleNotification message="Houston: It should really look like a black hole.">
     538      <events>
     539         <trigger>
     540            <EventListener event="portal9" />
     541         </trigger>
     542      </events>
     543   </SimpleNotification>
     544
     545   <DistanceTrigger name="portal10" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=29/>
     546   <SimpleNotification message="John: It does... ">
     547      <events>
     548         <trigger>
     549            <EventListener event="portal10" />
     550         </trigger>
     551      </events>
     552   </SimpleNotification>
     553
     554   <DistanceTrigger name="portal11" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=33/>
     555   <SimpleNotification message="Houston: Hahaha ">
     556      <events>
     557         <trigger>
     558            <EventListener event="portal11" />
     559         </trigger>
     560      </events>
     561   </SimpleNotification>
    479562
    480563
Note: See TracChangeset for help on using the changeset viewer.