Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5166


Ignore:
Timestamp:
Sep 10, 2008, 11:33:35 AM (16 years ago)
Author:
rgrieder
Message:

added fabians AI ships

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/Media/levels/sample.oxw

    r5162 r5166  
    99  </audio-->
    1010
    11 <Ambient colourvalue="1.0, 1.0, 1.0" />
     11<Ambient colourvalue="0.8, 0.8, 0.8" />
    1212<Skybox src="Orxonox/Starbox" />
    1313<SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="0,0,0" mesh="assff.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />
     
    2222<NPC position="0,-200,450" scale="1" mesh="razor.mesh"/>
    2323<NPC position="100,0,400" scale="1" mesh="razor.mesh"/>
     24
     25<?lua
     26for i = 1, 10, 1
     27do ?>
     28  <SpaceShipAI position="<?lua print(math.random() * 6000 - 3000) ?>,<?lua print(math.random() * 6000 - 3000) ?>,<?lua print(math.random() * 6000 - 3000) ?>" scale="10" yawpitchroll="0,0,0" mesh="assff.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />
     29<?lua
     30end
     31?>
    2432
    2533<!--Model name="starship" position="200,0,500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
     
    4250
    4351<?lua
    44 for i = 1, 226, 1
     52for i = 1, 1, 1
    4553do ?>
    4654  <Model position="<?lua print(math.random() * 40000 - 20000)?>, <?lua print(math.random() * 40000 - 20000) ?>, <?lua print(math.random() * 40000 - 20000) ?>" scale="<?lua print(math.random() * 250 + 20) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" rotationAxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationRate="<?lua print(math.random() * 30 + 15) ?>" />
Note: See TracChangeset for help on using the changeset viewer.