Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5286


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

SpaceShip HUD

Location:
data/media
Files:
1 added
3 edited

Legend:

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

    r5267 r5286  
    5252     correctAspect = true
    5353     size          = "0.17, 0.17"
    54      position      = "0.5, 1.0"
    55      pickPoint     = "0.5, 1.0"
     54     position      = "1.0, 1.0"
     55     pickPoint     = "1.0, 1.0"
    5656     rotation      = 0
    5757     sensitivity   = 1.0
  • 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>
  • data/media/levels/spaceshiptemplates3.oxw

    r5285 r5286  
    11<Template name=spaceshipassff>
    22  <SpaceShip
     3   hudtemplate            = spaceshiphud
    34   camerapositiontemplate = spaceshipassffcameras
    45   engine                 = spaceshipassffengine
Note: See TracChangeset for help on using the changeset viewer.