Changeset 6388 for code/branches/presentation2/data/levels/test_ghost.oxw
- Timestamp:
- Dec 21, 2009, 1:28:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/levels/test_ghost.oxw
r6387 r6388 24 24 max = 20 25 25 for i = 1, max, 1 26 do 26 do 27 27 x = math.sin(i/max*6)*40000 28 28 y = math.cos(i/max*6)*40000 … … 30 30 ?> 31 31 <?lua 32 for k = 1, 25, 1 32 for k = 1, 25, 1 33 33 do 34 34 j = math.random() 35 35 ?> 36 36 37 <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> 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) ?>"> 37 <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> 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) ?>"> 38 38 <attached> 39 39 <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> … … 43 43 </collisionShapes> <?lua end ?> 44 44 </MovableEntity> 45 <?lua 45 <?lua 46 46 end 47 47 ?>
Note: See TracChangeset
for help on using the changeset viewer.