Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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.

File:
1 edited

Legend:

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