Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2010, 3:40:41 PM (15 years ago)
Author:
freicy
Message:

by Cyrill Frei

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/fps/data/levels/presentation_FS10.oxw

    r6908 r7052  
    2323  <Pawn health=100 position="600,35,0" direction="0,-1,0" collisionType=dynamic mass=100000>
    2424      <attached>
    25         <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" />
     25        <Model position="0,0,0" mesh="fish.mesh" scale3D="5,5,5" />
    2626      </attached>
    2727      <collisionShapes>
     
    8383      </collisionShapes>
    8484  </StaticEntity>
     85 
    8586<?lua
    8687for i = 1, 10, 1
     
    9192?>
    9293
    93 <!--
    94 <?lua
    95 for i = 1, 200, 1
    96 do
    97 j = math.random()
    98 ?>
    9994
    100     <MovableEntity position="<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 100) ?> 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) ?>" >
    101       <attached>
    102         <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
    103       </attached>
    104       <collisionShapes>
    105         <SphereCollisionShape radius="<?lua print(j * 100) ?>" />
    106       </collisionShapes>
    107     </MovableEntity>
    108 <?lua
    109 end
    110 ?>
    111 -->
    11295  </Scene>
    11396</Level>
Note: See TracChangeset for help on using the changeset viewer.