Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8134


Ignore:
Timestamp:
Mar 27, 2011, 7:35:01 PM (14 years ago)
Author:
rgrieder
Message:

Fixed planets.oxw. LevelInfo is still missing though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib/data/levels/planets.oxw

    r8129 r8134  
    11<?lua
    2   include("hudtemplates3.oxo")
     2  include("HUDTemplates3.oxo")
    33  include("stats.oxo")
    4   include("templates/lodinformation.oxt")
    5   include("templates/spaceship_swallow.oxt")
    6   include("templates/spaceship_pirate.oxt")
     4  include("templates/lodInformation.oxt")
     5  include("templates/spaceshipSwallow.oxt")
     6  include("templates/spaceshipPirate.oxt")
    77?>
    88
     
    2323  >
    2424   
    25 <AmbientSound ambientSource="AlphaCentauri.ogg" looping="true" playOnLoad="true" />
     25<WorldAmbientSound ambientSource="AlphaCentauri.ogg" looping="true" playOnLoad="true" />
    2626<Light type=directional position="-10000,-10000,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" />
    2727
     
    5050    <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> 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) ?>">
    5151      <attached>
    52         <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
     52        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
    5353      </attached>
    5454      <?lua if i == 5 then ?><collisionShapes>
Note: See TracChangeset for help on using the changeset viewer.