Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1680


Ignore:
Timestamp:
Aug 29, 2008, 2:17:53 AM (16 years ago)
Author:
landauf
Message:

added AI ships to the levelfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/bin/levels/sample.oxw

    r1625 r1680  
    99  </audio-->
    1010
    11 <Ambient colourvalue="1.0, 1.0, 1.0" />
     11<Ambient colourvalue="0.8, 0.8, 0.8, 1.0" />
    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" />
Note: See TracChangeset for help on using the changeset viewer.