Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2008, 1:15:25 AM (15 years ago)
Author:
landauf
Message:

SpaceShip HUD

File:
1 edited

Legend:

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

    r5285 r5286  
    165165    <Model position="0,300,-100" pitch=-90 roll=-90 scale=4 mesh="spacecruiser.mesh" /-->
    166166
     167
     168<?lua
     169for i = 1, 0, 1
     170do ?>
     171  <MovableEntity position="<?lua print(math.random() * 3000 - 1500)?>, <?lua print(math.random() * 3000 - 1500) ?>, <?lua print(math.random() * 3000 - 1500) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
     172    <attached>
     173      <Model scale="<?lua print(math.random() * 20) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
     174    </attached>
     175  </MovableEntity>
     176<?lua
     177end
     178?>
     179
    167180  </Scene>
    168181</Level>
Note: See TracChangeset for help on using the changeset viewer.