Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 17, 2016, 3:57:55 PM (4 years ago)
Author:
marvinh
Message:

initial upload

Location:
code/branches/StoryModeMap_HS16/data/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/StoryModeMap_HS16/data/levels/Invaders.oxw

    r10624 r11234  
    66/>
    77<?lua
    8   include("stats.oxo")
    9   include("templates/lodInformation.oxt")
     8        include("stats.oxo")
     9        include("templates/lodInformation.oxt")
    1010?>
    1111
    1212<?lua
    13   include("templates/spaceshipAssff2.oxt")
    14   include("templates/spaceshipPirate.oxt")
    15   include("templates/spaceshipInvader.oxt")
    16   include("templates/enemyInvader.oxt")
    17   include("overlays/InvaderHUD.oxo")
     13        include("templates/spaceshipAssff2.oxt")
     14        include("templates/spaceshipPirate.oxt")
     15        include("templates/spaceshipInvader.oxt")
     16        include("templates/enemyInvader.oxt")
     17        include("overlays/InvaderHUD.oxo")
    1818?>
    1919
    2020<Level
    21   plugins = invader
    22   gametype = Invader
     21        plugins = invader
     22        gametype = Invader
    2323>
    24   <templates>
    25     <Template link=lodtemplate_default />
    26   </templates>
    27   <?lua include("includes/notifications.oxi") ?>
     24        <templates>
     25                <Template link=lodtemplate_default />
     26        </templates>
     27        <?lua include("includes/notifications.oxi") ?>
    2828
    29     <!-- ambientlight = "0.8, 0.8, 0.8"
    30     skybox       = "Orxonox/Starbox" -->
    31   <Scene
    32     ambientlight = "0.8, 0.7, 0.4"
    33     skybox     = "Orxonox/skyBoxBasic"
    34   >
     29                <!-- ambientlight = "0.8, 0.8, 0.8"
     30                skybox       = "Orxonox/Starbox" -->
     31        <Scene
     32                ambientlight = "0.8, 0.7, 0.4"
     33                skybox     = "Orxonox/skyBoxBasic"
     34        >
    3535
    36   <WorldAmbientSound
    37     source="Earth.ogg"
    38     looping="true"
    39     playOnLoad="true"
    40   />
     36        <WorldAmbientSound
     37                source="Earth.ogg"
     38                looping="true"
     39                playOnLoad="true"
     40        />
    4141
    42     <!-- <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"/> -->
    43     <Light type=directional position="1100, 11000, -7000" lookat="0, 0, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
    44     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=InvaderShip pawndesign=spaceshipinvader />
     42                <!-- <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"/> -->
     43                <Light type=directional position="1100, 11000, -7000" lookat="0, 0, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
     44                <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=InvaderShip pawndesign=spaceshipinvader />
    4545
    46     <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 />
     46                <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 />
    4747
    4848
    49     <InvaderCenterPoint name=invadercenter />
    50    
    51     <?lua
    52       for i = 1, 300, 1 do
    53         j = math.random()
    54     ?>
     49                <InvaderCenterPoint name=invadercenter />
     50               
     51                <?lua
     52                        for i = 1, 300, 1 do
     53                                j = math.random()
     54                ?>
    5555
    56     <MovableEntity
    57       position = "<?lua print(math.random()* 40000 + 1000) ?>,-1000,<?lua print(math.random() * 4000 - 2000) ?>"
    58       collisionType = dynamic
    59       linearDamping = 0.8
    60       angularDamping = 0
    61       scale = "<?lua print(j * 150)?>"
    62       collisiondamage = 0
    63       enablecollisiondamage = true
    64     >
    65       <attached>
    66         <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
    67       </attached>
    68       <collisionShapes>
    69         <SphereCollisionShape radius="<?lua print(j * 350) ?>" />
    70       </collisionShapes>
    71     </MovableEntity>
     56                <MovableEntity
     57                        position = "<?lua print(math.random()* 40000 + 1000) ?>,-1000,<?lua print(math.random() * 4000 - 2000) ?>"
     58                        collisionType = dynamic
     59                        linearDamping = 0.8
     60                        angularDamping = 0
     61                        scale = "<?lua print(j * 150)?>"
     62                        collisiondamage = 0
     63                        enablecollisiondamage = true
     64                >
     65                        <attached>
     66                                <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
     67                        </attached>
     68                        <collisionShapes>
     69                                <SphereCollisionShape radius="<?lua print(j * 350) ?>" />
     70                        </collisionShapes>
     71                </MovableEntity>
    7272
    73     <?lua
    74       end
    75     ?>
    76    
    77   </Scene>
     73                <?lua
     74                        end
     75                ?>
     76               
     77        </Scene>
    7878</Level>
    7979
  • code/branches/StoryModeMap_HS16/data/levels/emptyLevel.oxw

    r11229 r11234  
    2828
    2929    <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"/>
    30     test for commit
     30   
    3131    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
    3232   
Note: See TracChangeset for help on using the changeset viewer.