Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 11, 2009, 4:02:34 PM (15 years ago)
Author:
jsmely
Message:

weapon updated

File:
1 edited

Legend:

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

    r5484 r5502  
    3232      </events>
    3333    </GlobalShader>
    34     <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
    35     <StaticEntity position="0,0,0" collisionType=static>
     34
     35<?lua
     36for i = 1, 50, 1
     37do
     38j = math.random()
     39?>
     40   
     41    <MovableEntity position="<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0.8 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) ?>">
     42      <attached>
     43        <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
     44      </attached>
    3645      <collisionShapes>
    37         <SphereCollisionShape radius="20" />
     46        <SphereCollisionShape radius="<?lua print(j * 70) ?>" />
    3847      </collisionShapes>
    39     </StaticEntity>
     48    </MovableEntity>
     49<?lua
     50end
     51?>
     52
    4053<!--
    4154<?lua
Note: See TracChangeset for help on using the changeset viewer.