Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 23, 2009, 3:44:34 AM (15 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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?>
Note: See TracChangeset for help on using the changeset viewer.