Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10138


Ignore:
Timestamp:
Nov 26, 2014, 4:07:45 PM (9 years ago)
Author:
kecks
Message:

Level file changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/keckslevelHS14/data/levels/kecks.oxw

    r10130 r10138  
    2525
    2626<Level>
     27
    2728  <templates>
    2829    <Template link=lodtemplate_default />
    2930  </templates>
    3031 
    31 
    32  
    3332  <?lua include("includes/notifications.oxi") ?>
    3433
    3534  <Scene
    3635    ambientlight = "0.8, 0.8, 0.8"
    37     skybox       = "Orxonox/skyBoxMoreNebula"
     36    skybox       = "Orxonox/skyBoxBasic"
    3837  >
     38<!--Quest Versuch
     39<GlobalQuest id="quest0">
     40            <QuestDescription title="Quest 0" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor. Donec posuere scelerisque purus, et porttitor ipsum dictum ac. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non turpis non eros porttitor dignissim. Phasellus at elit vel diam gravida malesuada ut a lorem. Etiam vel lacus massa. In arcu neque, ultrices at placerat in, facilisis a metus. Curabitur erat nunc, molestie sed pretium ac, ullamcorper eget tellus. Vivamus tortor magna, mollis ut vulputate vel, lacinia nec neque. Integer a nisl odio, in iaculis tortor. Nam erat erat, commodo quis tincidunt et, congue at quam. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
     41
     42            Ut consequat leo ut quam congue semper et eget nibh. Nunc sit amet velit eu lorem pretium adipiscing eu ut ante. Nulla facilisi. Pellentesque interdum, neque nec consectetur vulputate, mauris risus feugiat nunc, ac sollicitudin neque quam ut tellus. Morbi elit velit, tincidunt et hendrerit eget, rutrum at erat. Duis eros nulla, faucibus vitae blandit vitae, pharetra sollicitudin justo." failMessage="Fail message 0" completeMessage="Complete message 0" />
     43        </GlobalQuest>
     44<AddQuest questId="quest0" />
     45-->
    3946
    4047    <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"/>
    4148
    42     <SpawnPoint position="0,0,4000" lookat="0, 100, 0" spawnclass=SpaceShip pawndesign=spaceshipHXY team=0 active="true" />
     49    <SpawnPoint position="0,50000,0" lookat="0, 100000, 0" spawnclass=SpaceShip pawndesign=spaceshipHXY team=0 active="true" />
    4350   
    4451   
    45     <!--Asteroiden-Guertel-
     52    <!--Asteroiden-Guertel
    4653    <?lua
    4754        for i = 1, 3, 1
     
    5461        end
    5562        ?>
    56     ---->
     63    -->
    5764
    5865    <?lua
     
    6269        ?>
    6370
    64 
     71<!-- Beschuetzer und Wegweiser Innen-->         
    6572               
    6673<?lua
     
    7178               
    7279
    73 <SpaceShip position="<?lua print(150*math.sin(i)) ?>, <?lua print(150*math.cos(i)) ?>,0" lookat="<?lua print(1500*math.sin(i)) ?>,  <?lua print(1500*math.cos(i)) ?>,0" maxhealt="200" initialhealth="200" roll="<?lua print(180-i*180/math.pi)?>"  >
     80<SpaceShip position="<?lua print(250*math.sin(i)) ?>, <?lua print(250*math.cos(i)) ?>,0" lookat="<?lua print(1500*math.sin(i)) ?>,  <?lua print(1500*math.cos(i)) ?>,0" maxhealt="200" initialhealth="200" roll="<?lua print(180-i*180/math.pi)?>"  >
    7481    <templates>
    75         <Template link=spaceshipassff2 /> <!--spaceshipTransporter -->
    76         </templates>
    77               <controller>
    78                          <WaypointPatrolController alertnessradius=1500 active=true team=0>
    79                            <waypoints>
    80                              <StaticEntity position="0,0,0"/>
    81                            </waypoints>
    82                          </WaypointPatrolController>
    83                            </controller>
    84    
     82          <Template link=spaceshipassff2 /> <!--spaceshipTransporter -->
     83        </templates>
     84          <controller>
     85                 <WaypointPatrolController alertnessradius=1500 active=true team=0>
     86                   <waypoints>
     87                         <StaticEntity position="50,10250,0"/>
     88                   </waypoints>
     89                 </WaypointPatrolController>
     90          </controller>
    8591</SpaceShip>
    8692     
     
    8995end
    9096?>
    91 
     97             
     98<!-- ENDE Beschuetzer und Wegweiser Innen-->   
     99
     100<!-- Gegner Innen-->           
    92101
    93102 <?lua
     
    99108<SpaceShip position="<?lua print(1500*math.sin(i)) ?>,<?lua print(1500*math.cos(i)) ?>,0" roll="<?lua print(180-i*180/math.pi)?>" lookat="0, 0, 0">
    100109
    101               <templates>
    102             <Template link=spaceshippirate />
    103               </templates>
    104               <controller>
    105             <WaypointPatrolController alertnessradius=1500 active=true team=1>
    106               <waypoints>
    107                 <StaticEntity position="0,0,0"/>
    108               </waypoints>
    109             </WaypointPatrolController>
    110               </controller>
     110  <templates>
     111          <Template link=spaceshippirate />
     112  </templates>
     113          <controller>
     114        <WaypointPatrolController alertnessradius=1500 active=true team=1>
     115          <waypoints>
     116                <StaticEntity position="0,0,0"/>
     117          </waypoints>
     118        </WaypointPatrolController>
     119          </controller>
    111120</SpaceShip>
    112121                                 
     
    114123end
    115124?>
     125             
     126<!-- ENDE Gegner Innen-->
    116127             
    117                
     128<!-- Gegnerische Patrouille -->
    118129         
    119130<?lua
    120         for i = 0, (7*math.pi/4), (math.pi/4)
     131        for i = 0, (5*math.pi/3), (math.pi/3)
    121132                do
    122133?>
     
    126137                   do
    127138         ?>
    128                 <SpaceShip position="<?lua print((600+3200)*j*math.sin(i)) ?>,<?lua print((600+3200)*j*math.cos(i)) ?>,0" roll="<?lua print(180-i*180/math.pi)?>" lookat="0, 0, 0">
     139                <SpaceShip position="<?lua print((600+3200*j)*math.sin(i)) ?>,<?lua print((600+3200*j)*math.cos(i)) ?>,0" roll="<?lua print(180-i*180/math.pi)?>" lookat="0, 0, 0" >
    129140
    130141                   <templates>
     
    135146                   <waypoints>
    136147                                   <?lua
    137                                          for k = 0, (29*math.pi/30), (math.pi/30)
    138                                                    do
     148                                         for k = 0, (59*math.pi/30), (math.pi/30)
     149                                                   do 
    139150                                        ?> 
    140151                           
     
    156167?>
    157168
    158    
     169<!-- ENDE Gegnerische Patrouille -->                                                       
     170                                                   
     171<!-- Gegnerische Flotte/ Totenkopfflotte-->                                               
     172
     173<?lua
     174        for j = 0, 1, 1
     175                do
     176?>
     177        <?lua
     178                for i = 0, 4, 1
     179                        do
     180        ?>
     181        <SpaceShip position="<?lua print (40*i)?>, 52000 ,<?lua print (-200*j)?>" lookat="0, 0, 0">
     182          <templates>
     183                  <Template link=spaceshippirate />
     184          </templates>
     185                  <controller>
     186                <WaypointPatrolController alertnessradius=10 active=true team=1>
     187                  <waypoints>
     188                        <StaticEntity position="0,0,0"/>
     189                  </waypoints>
     190                </WaypointPatrolController>
     191                  </controller>
     192        </SpaceShip>                   
     193        <?lua
     194        end
     195        ?>
     196<?lua
     197end
     198?>
     199                       
     200<?lua
     201        for j = 0, 1, 1
     202                do
     203?>
     204        <?lua
     205                        for i = 0, 6, 1
     206                                do
     207        ?>
     208                <SpaceShip position="<?lua print (40*i-40)?>, 52000 ,<?lua print (-40-80*j)?>" lookat="0, 0, 0">
     209                  <templates>
     210                          <Template link=spaceshippirate />
     211                  </templates>
     212                          <controller>
     213                        <WaypointPatrolController alertnessradius=10 active=true team=1>
     214                          <waypoints>
     215                                <StaticEntity position="0,0,0"/>
     216                          </waypoints>
     217                        </WaypointPatrolController>
     218                          </controller>
     219                </SpaceShip>                   
     220        <?lua
     221        end
     222        ?>
     223<?lua
     224end
     225?>
     226
     227<?lua
     228        for i = 0, 6, 3
     229                do
     230?>
     231                <SpaceShip position="<?lua print (40*i-40)?>, 52000 ,-80" lookat="0, 0, 0">
     232                  <templates>
     233                          <Template link=spaceshippirate />
     234                  </templates>
     235                          <controller>
     236                        <WaypointPatrolController alertnessradius=10 active=true team=1>
     237                          <waypoints>
     238                                <StaticEntity position="0,0,0"/>
     239                          </waypoints>
     240                        </WaypointPatrolController>
     241                          </controller>
     242                </SpaceShip>                   
     243<?lua
     244end
     245?>
     246               
     247
     248<?lua
     249        for i = 0, 6, 1
     250                do
     251?>
     252               
     253                <SpaceShip position="<?lua print (40*i-40)?>, 52000 ,-160" lookat="0, 0, 0">
     254                  <templates>
     255                          <Template link=spaceshippirate />
     256                  </templates>
     257                          <controller>
     258                        <WaypointPatrolController alertnessradius=10 active=true team=1>
     259                          <waypoints>
     260                                <StaticEntity position="0,0,0"/>
     261                          </waypoints>
     262                        </WaypointPatrolController>
     263                          </controller>
     264                </SpaceShip>                   
     265<?lua
     266end
     267?>
     268       
     269<?lua
     270        for i = 1, 5, 2
     271                do
     272?>
     273               
     274                <SpaceShip position="<?lua print (40*i-40)?>, 52000 ,-240" lookat="0, 0, 0">
     275                  <templates>
     276                          <Template link=spaceshippirate />
     277                  </templates>
     278                          <controller>
     279                        <WaypointPatrolController alertnessradius=10 active=true team=1>
     280                          <waypoints>
     281                                <StaticEntity position="0,0,0"/>
     282                          </waypoints>
     283                        </WaypointPatrolController>
     284                          </controller>
     285                </SpaceShip>                   
     286<?lua
     287end
     288?>
     289               
     290<!-- ENDE Gegnerische Flotte/ Totenkopfflotte-->       
     291               
     292<!--Portal-->
     293        <Template name=PortalDefault>
     294                <PortalEndPoint>
     295                        <attached>
     296                                <Model mesh="Spacegate.mesh" />
     297                        </attached>
     298                </PortalEndPoint>
     299        </Template>
     300
     301        <PortalEndPoint position="0,100000,0" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/>
     302        <PortalEndPoint position="50,10250,0" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/>
     303        <PortalLink fromID="1" toID="2" />
     304        <PortalLink fromID="2" toID="1" />
     305<!--ENDE Portal-->
     306   
     307<!--Heimatplanet-->
     308        <Planet
     309          position="0,111000,0"
     310          scale="10000"
     311          collisionType="dynamic"
     312          linearDamping="0.8"
     313          angularDamping="0"
     314          mass="5000000"
     315          pitch="0"
     316          yaw="0"
     317          roll="0"
     318          mesh="planets/earth.mesh"
     319          atmosphere="atmosphere1"
     320          rotationaxis="0,0,1"
     321          rotationrate="5.0"
     322          atmospheresize="80.0f"
     323          imagesize="1024.0f"
     324          collisiondamage = 2
     325          enablecollisiondamage = true
     326          >
     327          <attached>
     328                  <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" />
     329                </attached>
     330                <collisionShapes>
     331                  <SphereCollisionShape radius="10000" position="0,0,0" />
     332                </collisionShapes>
     333          </Planet>     
     334<!--ENDE Heimatplanet-->       
     335
    159336  </Scene>
     337                                                   
    160338</Level>
    161339
Note: See TracChangeset for help on using the changeset viewer.