Changeset 8854 for code/branches/output/data
- Timestamp:
- Aug 21, 2011, 11:56:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/data/levels/presentationDM.oxw
r8822 r8854 47 47 for i = 1, 100, 1 do 48 48 j = math.random() 49 scale = j * 50 + 5 49 50 ?> 50 <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 * 50) ?>" 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) ?>">51 <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(scale) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> 51 52 <attached> 52 <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />53 <Model scale="<?lua print(scale) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 53 54 </attached> 54 55 <collisionShapes> 55 <SphereCollisionShape radius="<?lua print( j * 70) ?>" />56 <SphereCollisionShape radius="<?lua print(scale * 2.5) ?>" /> 56 57 </collisionShapes> 57 58 </MovableEntity>
Note: See TracChangeset
for help on using the changeset viewer.