Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2014, 3:07:30 PM (9 years ago)
Author:
sujataj
Message:

finalised level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/leveljoemeHS14/data/levels/AnihilationThreat.oxw

    r10148 r10162  
    55        screenshot= "screenshot.png"
    66/>
    7 
     7<!--########################  ALL INCLUSIONS #############################-->
    88
    99 <?lua
     
    7474       
    7575  <SpawnPoint
    76         team=0 position="9500,9500,9500"
     76        team=0 position="0,0,0"
    7777        lookat="0,1,0"
    7878        spawnclass=SpaceShip
     
    9191                               
    9292   
    93                 <!----------------Objects------------------>
     93
     94
     95
     96
     97<!--########################  Billboards and Pickups #############################-->
    9498   
    9599   
     
    106110<Billboard position=" 8500,8500, 8500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> 
    107111<Billboard position=" 9500,9500, 9500" material="Examples/Flare" colour="1.0, 1.0, 0.0" /> 
     112<Billboard position=" 16700,16700,16700" material="Examples/Flare" colour="0.8, 0.2, 1.0" /> 
    108113
    109114
     
    121126                       
    122127                       
    123                          <!------------On-screen texts---------->
     128            <!--########################  On screen notifications and distance triggers #############################-->
    124129                         
    125130
     
    227232</SimpleNotification>
    228233
    229 
    230 <SimpleNotification message="Congratulations! You saved humanity!">
    231         <EventTrigger  stayActive="true">
    232               <events>
    233                 <trigger>
    234                   <EventListener event="endboss"/>
    235                 </trigger>
    236               </events>
    237             </EventTrigger>
     234<DistanceTrigger name="flying12" position="13050,13050,13050" target="Pawn" distance=200 stayActive="true" delay=1/>
     235<SimpleNotification message="Don't fotget to loot the final boss">
     236    <events>
     237        <trigger>
     238            <EventListener event="flying12" />
     239        </trigger>
     240    </events>
    238241</SimpleNotification>
    239242
    240 
    241 
    242 <!-- Meteoriten, die sich bewegen -->
     243<SimpleNotification message="Congratulations! You saved humanity!" broadcast="true">
     244    <events>
     245        <trigger>
     246            <EventListener event="endboss" />
     247        </trigger>
     248    </events>
     249</SimpleNotification>
     250
     251<DistanceTrigger name="endMissio" position="16700,16700,16700" target="Pawn" distance=50 stayActive="true" delay=1/>
     252
     253
     254
     255
     256<!--######################## Meteoriten #############################-->
     257
    243258   <?lua
    244259      for i = 1, 800, 1
     
    276291 <!--Enemy team-->
    277292 
    278  <!--*****Spaceship 1******* -->
     293 <!--########################  spaceships within the asteroid field #############################-->
     294
    279295       
    280296  <SpaceShip position="1900,1500,1500" lookat="2050,0,-1000" name="allied" health="200" maxhealth="200" initialhealth="200" >
     
    296312  </SpaceShip>
    297313     
    298      
    299       <!--*****Spaceship 2 and 3******* -->
    300      
     314           
    301315      <SpaceShip position="2900,2500,2500" lookat="2050,0,-1000" name="allied" health="200" maxhealth="200" initialhealth="200" >
    302316          <templates>
     
    336350      </SpaceShip>
    337351 
    338       <!--######################## Spaceship 4 ####################-->
    339352      <SpaceShip position="3520,3520, 3500" lookat="2050,0,-1000" name="allied" health="150" maxhealth="150" initialhealth="150" >
    340353                  <templates>
     
    355368                 
    356369           </SpaceShip>
     370     
    357371        <!--****************************After the Asteroid Field***************************-->
    358372       
     
    364378
    365379       
    366 <!--####################################### too many allied  ################################################
    367 
    368                <SpaceShip position="10000,10000,10000" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" >
    369                   <templates>
    370                          <Template link=spaceshipassff />
    371                    </templates>
    372                     <controller>
    373                                   <WaypointPatrolController alertnessradius=2000 team=0 >
    374                                <events>
    375                                           <activity>
    376                                               <EventListener event="afterPortal" />
    377                                            </activity>
    378                                       </events>
    379                                                 <waypoints>
    380                                                   <Model mesh="cube.mesh" scale=0 position="15000,15000,15000" />
    381 
    382                                </waypoints>
    383                                                                
    384                            </WaypointPatrolController>
    385                     </controller>
    386              </SpaceShip>
    387 
    388 
    389              <SpaceShip position="10150,10000,9850" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" >
    390                   <templates>
    391                        <Template link=spaceshipassff />
    392                  </templates>
    393                   <controller>
    394                      <WaypointPatrolController alertnessradius=2000 team=0 >
    395                          <events>
    396                                     <activity>
    397                                         <EventListener event="afterPortal" />
    398                                      </activity>
    399                                 </events>
    400                                         <waypoints>
    401                                           <Model mesh="cube.mesh" scale=0 position="15150,15000,14850" />
    402 
    403                          </waypoints>
    404                                                        
    405                      </WaypointPatrolController>
    406 
    407                   </controller>
    408              </SpaceShip>
    409 
    410              
     380<!--####################################### allied team  ################################################-->
     381
     382
    411383             
    412384             
     
    433405             </SpaceShip>
    434406
    435 ############################################################-->
    436407     
    437408      <SpaceShip position="10300,10000,10300" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" >
     
    564535<!--Creating player's team END  -->
    565536
    566 <!--#########################################Creating enemy's team END #################################  -->
     537<!--#########################################Creating enemy team END #################################  -->
    567538       
    568539
    569 <SpaceShip position="15500,15500,15500" lookat="2050,0,-1000" name="enemy" health="400" maxhealth="400" initialhealth="400" >
     540<SpaceShip position="15500,15500,15500" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" >
    570541                                          <templates>
    571542                                            <Template link=spaceshipghost />
     
    584555     
    585556     
    586       <SpaceShip position="15750,15500,15750" lookat="2050,0,-1000" name="enemy" health="400" maxhealth="400" initialhealth="400" >
     557      <SpaceShip position="15750,15500,15750" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" >
    587558                                                  <templates>
    588559                                                      <Template link=spaceshipghost />
     
    599570                                                 </controller>
    600571                                            </SpaceShip>
    601       <SpaceShip position="16000,15500,16000" lookat="2050,0,-1000" name="enemy" health="400" maxhealth="400" initialhealth="400" >
     572      <SpaceShip position="16000,15500,16000" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" >
    602573                                                  <templates>
    603574                                                   <Template link=spaceshipghost />
     
    702673                                                                </SpaceShip>
    703674     
    704                
     675      <!-- ##################### End the Mission (success) ##########################################-->
     676     
     677
     678     
     679     
     680      <Script code="Mission endMission true" onLoad="false">
     681          <events>
     682              <trigger>
     683                  <EventListener event="endMissio" />
     684              </trigger>
     685          </events>
     686      </Script>
    705687         
    706                  <!------------Quest---------->
     688      <!--########################  Quests #############################-->
    707689
    708690
Note: See TracChangeset for help on using the changeset viewer.