Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5528


Ignore:
Timestamp:
May 23, 2009, 3:44:34 AM (16 years ago)
Author:
landauf
Message:

Cleaned up level directory.

Levels (*.oxw): /levels/
Includes (*.oxi): /levels/includes/ (for example weaponsettings1.oxi)
Templates (*.oxt): /levels/templates/ (formerly spaceshiptemplates_*)
Huds (*.oxo): /overlay/ (moved from /levels/ to /overlay/)

Old level files and other stuff was moved to /levels/old/. This directory is not used, but serves as an archive.

For the weapons branch (and the trunk after weapons will be merged), change line 37 in /levels/templates/spaceship_assff.oxt from weaponsettings1 to weaponsettings2 to be able to shoot again.

Location:
data/media
Files:
12 added
16 deleted
10 edited
11 moved

Legend:

Unmodified
Added
Removed
  • data/media/levels/empty_level.oxw

    • Property svn:eol-style set to native
    r5499 r5528  
    11<?lua
    2   include("levels/hudtemplates.oxw")
     2  include("overlay/stats.oxo")
     3  include("overlay/hudtemplates3.oxo")
    34?>
    45
    56<?lua
    6   include("levels/spaceshiptemplates.oxw")
    7   include("levels/spaceshiptemplates_pirate.oxw")
     7  include("levels/templates/spaceship_assff.oxt")
     8  include("levels/templates/spaceship_pirate.oxt")
    89?>
    910
  • data/media/levels/gametype_asteroids.oxw

    • Property svn:eol-style set to native
    r5521 r5528  
    11<?lua
    2   include("levels/hudtemplates3.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33  include("overlay/stats.oxo")
    4   include("levels/spaceshiptemplates_presentation.oxw")
     4  include("levels/templates/spaceship_assff.oxt")
    55?>
    66
     
    2323<!--
    2424<?lua
    25 for i = 1, 500, 1 
     25for i = 1, 500, 1
    2626do
    2727j = math.random()
    2828?>
    29    
    30     <MovableEntity position="<?lua print(math.random()* 10000 - 5000) ?>,<?lua print(math.random() * 10000 - 5000) ?>,<?lua print(math.random() * 10000 - 5000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=<?lua print(j * 150 + 30) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() *100) ?>" > 
     29
     30    <MovableEntity position="<?lua print(math.random()* 10000 - 5000) ?>,<?lua print(math.random() * 10000 - 5000) ?>,<?lua print(math.random() * 10000 - 5000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=<?lua print(j * 150 + 30) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() *100) ?>" >
    3131      <attached>
    3232        <Model position="0,0,0" scale=<?lua print(j * 10) ?> mass=<?lua print(j * 30) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
     
    3636      </collisionShapes>
    3737    </MovableEntity>
    38 <?lua 
     38<?lua
    3939end
    4040?>
     
    4242
    4343
    44 <MovableEntity position="0,0,0" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=5 collisiondamage=1 enablecollisiondamage=true> 
     44<MovableEntity position="0,0,0" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=5 collisiondamage=1 enablecollisiondamage=true>
    4545  <attached>
    4646    <Model position="0,0,0" scale=10 mass=100 mesh="ast1.mesh" />
     
    5555  <attached>
    5656    <ParticleEmitter source="Orxonox/ForceFieldPurple" startdelay=0 />
    57   </attached>         
     57  </attached>
    5858 </ForceField>
    59  
     59
    6060
    6161 <ForceField position="1000,-500,0" direction="0,1,1" diameter=500 velocity=30>
    6262  <attached>
    6363    <ParticleEmitter source="Orxonox/ForceFieldGreen" startdelay=0 />
    64   </attached>         
     64  </attached>
    6565 </ForceField>
    66  
     66
    6767 <ForceField position="1800,-300,-300" direction="0,0,1" diameter=800 velocity=100>
    6868  <attached>
    6969    <ParticleEmitter source="Orxonox/ForceFieldBlue" startdelay=0 />
    70   </attached>         
     70  </attached>
    7171 </ForceField>
    7272
  • data/media/levels/gametype_underattack.oxw

    • Property svn:eol-style set to native
    r5518 r5528  
    11<?lua
    2   include("levels/hudtemplates3.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33  include("overlay/stats.oxo")
    4   include("levels/spaceshiptemplates_presentation.oxw")
     4  include("levels/templates/spaceship_assff.oxt")
    55?>
    66
     
    1717
    1818    <?lua for i = 1, 30, 1 do ?>
    19         <MovableEntity 
     19        <MovableEntity
    2020            position="<?lua print(math.random() * 10000 - 5000) ?>, <?lua print(math.random() * 10000 - 5000) ?>, <?lua print(math.random() * 10000 - 5000) ?>"
    2121            velocity="<?lua print(math.random() * 500 - 250) ?>, <?lua print(math.random() * 500 - 250) ?>, <?lua print(math.random() * 500 - 250) ?>"
     
    2424                <Model
    2525                    <?lua x = math.random() * 150 + 30 ?>
    26                     scale="<?lua print(x) ?>" 
    27                     mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" 
     26                    scale="<?lua print(x) ?>"
     27                    mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"
    2828                    position="0,0,0"
    2929                />
     
    3434        </MovableEntity>
    3535    <?lua end ?>
    36        
     36
    3737    <Destroyer
    3838        position          = "100,150,0"
     
    4242        angularDamping    = 0.9999999
    4343        health            = 10000
    44         maxhealth         = 10000         
     44        maxhealth         = 10000
    4545        initialhealth     = 10000
    4646    >
    4747
    4848        <attached>
    49             <TeamSpawnPoint team=1 position="150,0,7" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />           
    50             <TeamSpawnPoint team=1 position="0,0,7" lookat="-1,0,0" roll="90"  yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />           
    51             <TeamSpawnPoint team=1 position="-50,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />           
    52             <TeamSpawnPoint team=1 position="100,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />           
     49            <TeamSpawnPoint team=1 position="150,0,7" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
     50            <TeamSpawnPoint team=1 position="0,0,7" lookat="-1,0,0" roll="90"  yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
     51            <TeamSpawnPoint team=1 position="-50,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
     52            <TeamSpawnPoint team=1 position="100,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
    5353            <TeamSpawnPoint team=1 position="50,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
    5454            <?lua for i = 1, 100, 1 do ?>
    55                 <TeamSpawnPoint 
    56                     team=0 
    57                     position="<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>" 
    58                     lookat="0,0,0" 
    59                     spawnclass=SpaceShip 
    60                     pawndesign=spaceshipassff 
     55                <TeamSpawnPoint
     56                    team=0
     57                    position="<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>"
     58                    lookat="0,0,0"
     59                    spawnclass=SpaceShip
     60                    pawndesign=spaceshipassff
    6161                />
    6262
    63                 <!--more spawnpoints for team1-->             
     63                <!--more spawnpoints for team1-->
    6464                <!--
    65                 <TeamSpawnPoint 
    66                     team=1 position="<?lua print((math.random() * 500 + 500)) ?>,<?lua print((math.random() * 500 + 500) ) ?>,<?lua print((math.random() * 500 + 500)) ?>" 
    67                     lookat="0,0,0" 
    68                     spawnclass=SpaceShip 
    69                     pawndesign=spaceshipassff 
     65                <TeamSpawnPoint
     66                    team=1 position="<?lua print((math.random() * 500 + 500)) ?>,<?lua print((math.random() * 500 + 500) ) ?>,<?lua print((math.random() * 500 + 500)) ?>"
     67                    lookat="0,0,0"
     68                    spawnclass=SpaceShip
     69                    pawndesign=spaceshipassff
    7070                />-->
    7171            <?lua end ?>
    72          
     72
    7373            <Model mesh="Carrier.mesh" scale="5" />
    74             <Backlight 
    75                 mainstate=activity 
    76                 active=false 
    77                 scale=0.4 
    78                 name=bltest 
    79                 position=" 7.6, 0, 6" 
    80                 colour="0.2, 0.65, 1.0, 1.0" 
    81                 width=15 
    82                 length=1500 
    83                 lifetime=2 
    84                 elements=50 
    85                 trailmaterial="Trail/backlighttrail" 
    86                 turnontime=1 
    87                 turnofftime=1 
    88                 material="Flares/ThrusterFlare1" 
     74            <Backlight
     75                mainstate=activity
     76                active=false
     77                scale=0.4
     78                name=bltest
     79                position=" 7.6, 0, 6"
     80                colour="0.2, 0.65, 1.0, 1.0"
     81                width=15
     82                length=1500
     83                lifetime=2
     84                elements=50
     85                trailmaterial="Trail/backlighttrail"
     86                turnontime=1
     87                turnofftime=1
     88                material="Flares/ThrusterFlare1"
    8989            />
    9090            <?lua for i=0,8,1 do ?>
    91                 <BlinkingBillboard 
    92                     position="<?lua print(200-270/8*i)?> ,15,2" 
    93                     material="Examples/Flare" 
    94                     colour="1.0, 0.5, 0.3" 
    95                     phase=<?lua print(-360/8*i)?> 
    96                     amplitude=0.1 
    97                     frequency=0.5 
    98                     quadratic=1 
     91                <BlinkingBillboard
     92                    position="<?lua print(200-270/8*i)?> ,15,2"
     93                    material="Examples/Flare"
     94                    colour="1.0, 0.5, 0.3"
     95                    phase=<?lua print(-360/8*i)?>
     96                    amplitude=0.1
     97                    frequency=0.5
     98                    quadratic=1
    9999                />
    100100
    101                 <BlinkingBillboard 
    102                     position="<?lua print(200-270/8*i)?>,-15,2" 
    103                     material="Examples/Flare" 
    104                     colour="1.0, 0.5, 0.3" 
    105                     phase=<?lua print(-360/8*i)?> 
    106                     amplitude=0.1 
    107                     frequency=0.5 
    108                     quadratic=1 
     101                <BlinkingBillboard
     102                    position="<?lua print(200-270/8*i)?>,-15,2"
     103                    material="Examples/Flare"
     104                    colour="1.0, 0.5, 0.3"
     105                    phase=<?lua print(-360/8*i)?>
     106                    amplitude=0.1
     107                    frequency=0.5
     108                    quadratic=1
    109109                />
    110110            <?lua end ?>
    111111
    112             <Backlight 
    113                 scale=1 
    114                 position=" 169, 75, -15" 
    115                 colour="1, 0.85, 0.5, 0.5" 
    116                 width=40 
    117                 length=1000 
    118                 lifetime=5 
    119                 elements=15 
    120                 trailmaterial="Trail/backlighttrail" 
    121                 material="Examples/Flare" 
     112            <Backlight
     113                scale=1
     114                position=" 169, 75, -15"
     115                colour="1, 0.85, 0.5, 0.5"
     116                width=40
     117                length=1000
     118                lifetime=5
     119                elements=15
     120                trailmaterial="Trail/backlighttrail"
     121                material="Examples/Flare"
    122122            />
    123             <Backlight 
    124                 scale=1 
    125                 position=" 169, -75, -15" 
    126                 colour="1, 0.85, 0.5, 0.5" 
    127                 width=40 
    128                 length=1000 
    129                 lifetime=5 
    130                 elements=15 
    131                 trailmaterial="Trail/backlighttrail" 
     123            <Backlight
     124                scale=1
     125                position=" 169, -75, -15"
     126                colour="1, 0.85, 0.5, 0.5"
     127                width=40
     128                length=1000
     129                lifetime=5
     130                elements=15
     131                trailmaterial="Trail/backlighttrail"
    132132                material="Examples/Flare" />
    133         </attached>     
     133        </attached>
    134134        <collisionShapes>
    135135            <BoxCollisionShape position="70,0,-25"      halfExtents="150, 50, 25" />
  • data/media/levels/old/CuboidSpaceStation.oxw

    r5527 r5528  
    11<?lua
    2         include("levels/hudtemplates.oxw")
     2        include("overlay/hudtemplates3.oxo")
    33?>
    44
    55<?lua
    6         include("levels/spaceshiptemplates.oxw")
     6        include("levels/templates/spaceship_assff.oxt")
    77?>
    88
     
    2020<!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
    2121<?lua
    22         dofile("../../media/levels/CuboidSpaceStation.lua")
     22        dofile("../../media/levels/includes/CuboidSpaceStation.lua")
    2323?>
    2424
  • data/media/levels/old/physicstest2.oxw

    r5527 r5528  
    11<?lua
    2   include("levels/spaceshiptemplates_physics.oxw")
     2  include("levels/old/spaceshiptemplates_physics.oxw")
    33?>
    44<?lua
    5   include("levels/hudtemplates.oxw")
     5  include("overlay/hudtemplates3.oxo")
    66?>
    77
     
    2020    <SpawnPoint position="0,   0, -700" yaw  =180 spawnclass=SpaceShip pawndesign=spaceshipassff />
    2121    <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /-->
    22        
     22
    2323        <!-- axes in ogre's origin of coordinate system for phsics engine testing purposes-->
    2424        <StaticEntity
     
    3636      </collisionShapes>
    3737        </StaticEntity>
    38        
     38
    3939        <!-- red sphere for phsics engine testing purposes-->
    4040        <!--StaticEntity position="40,0,0">
     
    5050      </attached>
    5151        </StaticEntity-->
    52    
     52
    5353    <MovableEntity
    5454     name            = "blubb"
     
    6666        </StaticEntity>
    6767      </attached>
    68      
     68
    6969      <!--attached>
    7070        <SphereCollisionShape name = "secondSphere" radius=0.4 position="1,1,1"/>
     
    7474      </attached-->
    7575    </MovableEntity>
    76  
     76
    7777    <MovableEntity
    7878     name            = "blubb2"
     
    8989      </collisionShapes>
    9090    </MovableEntity>
    91    
     91
    9292    <StaticEntity
    9393     name            = "blubbStatic"
     
    103103      </collisionShapes>
    104104    </StaticEntity>
    105    
     105
    106106    <!--SpawnPoint position="0,   0,  100"           spawnclass=SpaceShip pawndesign=spaceshipassff />
    107107    <SpawnPoint position="0,   0, -700" yaw  =180 spawnclass=SpaceShip pawndesign=spaceshipassff />
    108108    <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /-->
    109  
     109
    110110    <MovableEntity
    111111     name            = "apple1"
     
    122122      </collisionShapes>
    123123    </MovableEntity>
    124  
     124
    125125    <MovableEntity
    126126     name            = "apple2"
     
    138138      </collisionShapes>
    139139    </MovableEntity>
    140  
     140
    141141    <MovableEntity
    142142     name            = "apple3"
  • data/media/levels/old/planettest.oxw

    r5527 r5528  
    11<?lua
    2   include("levels/hudtemplates.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33?>
    44
    55<?lua
    6   include("levels/spaceshiptemplates.oxw")
     6  include("levels/templates/spaceship_assff.oxt")
    77?>
    88
  • data/media/levels/old/presentation_physics.oxw

    r5527 r5528  
    11<?lua
    2   include("levels/hudtemplates3.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33  include("overlay/stats.oxo")
    4   include("levels/spaceshiptemplates_presentation.oxw")
     4  include("levels/templates/spaceship_assff.oxt")
    55  math.randomseed(344)
    66?>
     
    3131      </collisionShapes>
    3232        </StaticEntity>
    33    
     33
    3434        <MovableEntity
    3535     position        = "0,250,500"
     
    4747        <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
    4848        <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 />
    49        
     49
    5050        <!--Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" />
    5151        <Model position="0,0,0" scale3D="10, 3, 5" mesh="cube.mesh" />
     
    6565      </collisionShapes>
    6666        </MovableEntity>
    67    
     67
    6868    <?lua
    6969    for i = -20, 20, 8
  • data/media/levels/old/princessaeryn.oxw

    r5527 r5528  
    11<?lua
    2   include("levels/hudtemplates3.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33  include("overlay/stats.oxo")
    4   include("levels/spaceshiptemplates_presentation.oxw")
     4  include("levels/templates/spaceship_assff.oxt")
    55?>
    66
    77<?lua
    8         dofile("../../media/levels/CuboidSpaceStation.lua")
     8        dofile("../../media/levels/includes/CuboidSpaceStation.lua")
    99?>
    1010
     
    9797            </subquests>
    9898        </GlobalQuest>
    99    
     99
    100100        <!-- Create spaceship spawner: -->
    101101        <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
     
    187187                </attached>
    188188            </StaticEntity>
    189      
    190      
    191      
     189
     190
     191
    192192            <!-- Spacestations -->
    193      
     193
    194194            <!-- Serenity Station -->
    195195            <StaticEntity scale=1 position="0,0,5000" yaw=30>
     
    260260                </attached>
    261261            </StaticEntity>
    262              
     262
    263263            <!-- Trail -->
    264264            <EventDispatcher>
     
    275275                </events>
    276276            </EventDispatcher>
    277        
     277
    278278            <?lua
    279                 for i = 1, 25 
     279                for i = 1, 25
    280280                do
    281281            ?>
     
    284284                end
    285285            ?>
    286        
     286
    287287            <!-- Hideout -->
    288288            <StaticEntity position="5000,5000,5000" >
  • data/media/levels/old/questsystem.oxw

    r5527 r5528  
    11<?lua
    2   include("levels/hudtemplates3.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33  include("overlay/stats.oxo")
    4   include("levels/spaceshiptemplates_presentation.oxw")
     4  include("levels/templates/spaceship_assff.oxt")
    55?>
    66
     
    2828            </hints>
    2929        </GlobalQuest>
    30        
     30
    3131                                <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
    3232                                  <events>
  • data/media/levels/old/sample4.oxw

    r5527 r5528  
    11<?lua
    2   include("levels/hudtemplates.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33?>
    44
    55<?lua
    6   include("levels/spaceshiptemplates2.oxw")
     6  include("levels/templates/spaceship_assff.oxt")
    77?>
    88
  • data/media/levels/pickuptest.oxw

    • Property svn:eol-style set to native
    r5526 r5528  
    11<?lua
    2   include("levels/hudtemplates3.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33  include("overlay/stats.oxo")
    4   include("levels/spaceshiptemplates_presentation.oxw")
     4  include("levels/templates/spaceship_assff.oxt")
    55?>
    66
     
    1313   skybox       = "Orxonox/skypanoramagen1"
    1414  >
    15    
     15
    1616    <Template name="jumpTest" baseclass="Jump">
    1717        <Jump velocity="0,0,500" jumpsAvailable="1" guiImage="decal.jpg" guiText="TEST" />
     
    2525        </attached>
    2626    </PickupSpawner>
    27    
     27
    2828    <SpawnPoint position="200,200,200" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    2929
  • data/media/levels/presentation.oxw

    r5436 r5528  
    11<?lua
    2   include("levels/hudtemplates3.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33  include("overlay/stats.oxo")
    4   include("levels/spaceshiptemplates_presentation.oxw")
     4  include("levels/templates/spaceship_assff.oxt")
    55?>
    66
     
    1919    <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /-->
    2020
    21        
     21
    2222        <!-- axes in ogre's origin of coordinate system for phsics engine testing purposes-->
    2323        <!--StaticEntity position="0,0,0">
     
    2626                </attached>
    2727        </StaticEntity -->
    28        
     28
    2929        <!-- red sphere for phsics engine testing purposes-->
    3030        <!--StaticEntity position="40,0,0">
  • data/media/levels/presentation_dm.oxw

    r5525 r5528  
    11<?lua
    2   include("levels/hudtemplates3.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33  include("overlay/stats.oxo")
    4   include("levels/spaceshiptemplates_presentation.oxw")
    5   include("levels/spaceship_H2.oxw")
     4  include("levels/templates/spaceship_assff.oxt")
     5  include("levels/templates/spaceship_H2.oxt")
    66?>
    77
     
    2121
    2222<?lua
    23 for i = 1, 10, 1 
     23for i = 1, 10, 1
    2424do ?>
    2525    <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    26 <?lua 
     26<?lua
    2727end
    2828?>
     
    4040
    4141<?lua
    42 for i = 1, 50, 1 
     42for i = 1, 50, 1
    4343do
    4444j = math.random()
    4545?>
    46    
    47     <MovableEntity position="<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> 
     46
     47    <MovableEntity position="<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    4848      <attached>
    4949        <Model position="0,0,0" scale=<?lua print(j * 10) ?> mass=<?lua print(j * 30) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
     
    5353      </collisionShapes>
    5454    </MovableEntity>
    55 <?lua 
     55<?lua
    5656end
    5757?>
     
    5959<!--
    6060<?lua
    61 for i = 1, 70, 1 
     61for i = 1, 70, 1
    6262do ?>
    6363  <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 1000 + 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
     
    9393    </attached>
    9494  </MovableEntity>
    95 <?lua 
     95<?lua
    9696end
    9797?>
  • data/media/levels/presentation_pong.oxw

    r5448 r5528  
    11<?lua
    2   include("levels/hudtemplates3.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33  include("overlay/stats.oxo")
    4   include("levels/ponghud.oxw")
     4  include("overlay/ponghud.oxo")
    55?>
    66
     
    4949
    5050<?lua
    51 for i = 1, 10, 1 
     51for i = 1, 10, 1
    5252do ?>
    5353    <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" />
    54 <?lua 
     54<?lua
    5555end
    5656?>
     
    9191
    9292  <?lua
    93     dofile("../../media/levels/CuboidSpaceStation.lua")
     93    dofile("../../media/levels/includes/CuboidSpaceStation.lua")
    9494  ?>
    9595
     
    142142
    143143<?lua
    144 for i = 1, 10, 1 
     144for i = 1, 10, 1
    145145do ?>
    146146  <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * 100 + 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
     
    176176    </attached>
    177177  </MovableEntity>
    178 <?lua 
     178<?lua
    179179end
    180180?>
  • data/media/levels/teambasematchlevel.oxw

    • Property svn:eol-style set to native
    r5486 r5528  
    11<?lua
    2   include("levels/hudtemplates3.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33  include("overlay/stats.oxo")
    4   include("levels/spaceshiptemplates_presentation.oxw")
     4  include("levels/templates/spaceship_assff.oxt")
    55?>
    66
     
    2020
    2121    <TeamBaseMatchBase
    22      name              = "base 1" 
     22     name              = "base 1"
    2323     position          = "1200, 0, 0"
    2424
     
    2929     collisionType     = "dynamic"
    3030     mass              = 10000
    31      linearDamping     = 0.9   
     31     linearDamping     = 0.9
    3232     angularDamping    = 0.99999
    3333    >
     
    4242
    4343    <TeamBaseMatchBase
    44      name              = "base 2" 
     44     name              = "base 2"
    4545     position          = "-1200, 0, 0"
    4646
     
    6464
    6565    <TeamBaseMatchBase
    66      name              = "base 3" 
     66     name              = "base 3"
    6767     position          = "0, 0, 1200"
    6868
     
    8585
    8686    <TeamBaseMatchBase
    87      name              = "base 4" 
     87     name              = "base 4"
    8888     position          = "0, 0, -1200"
    8989
     
    107107
    108108    <TeamBaseMatchBase
    109      name              = "base 5" 
     109     name              = "base 5"
    110110     position          = "0, 0, 0"
    111111
  • data/media/levels/tutorial.oxw

    r5519 r5528  
    11<?lua
    2   include("levels/hudtemplates3.oxw")
     2  include("overlay/hudtemplates3.oxo")
    33  include("overlay/stats.oxo")
    4   include("levels/spaceshiptemplates_presentation.oxw")
     4  include("levels/templates/spaceship_assff.oxt")
    55?>
    66
     
    3030
    3131<?lua
    32 for i = 1, 10, 1 
     32for i = 1, 10, 1
    3333do ?>
    3434    <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    35 <?lua 
     35<?lua
    3636end
    3737?>
     
    5252<!--
    5353<?lua
    54 for i = 1, 70, 1 
     54for i = 1, 70, 1
    5555do ?>
    5656  <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 1000 + 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
     
    8686    </attached>
    8787  </MovableEntity>
    88 <?lua 
     88<?lua
    8989end
    9090?>
  • data/media/overlay/OrxonoxLoading.overlay

    • Property svn:eol-style set to native
Note: See TracChangeset for help on using the changeset viewer.