- Timestamp:
- Dec 21, 2009, 1:28:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/levels/presentation_dm.oxw
r6387 r6388 18 18 19 19 <?lua 20 for i = 1, 10, 1 20 for i = 1, 10, 1 21 21 do ?> 22 22 <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> 23 <?lua 23 <?lua 24 24 end 25 25 ?> … … 35 35 36 36 <?lua 37 for i = 1, 100, 1 37 for i = 1, 100, 1 38 38 do 39 39 j = math.random() 40 40 ?> 41 41 42 <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) ?>"> 42 <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) ?>"> 43 43 <attached> 44 44 <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> … … 48 48 </collisionShapes> 49 49 </MovableEntity> 50 <?lua 50 <?lua 51 51 end 52 52 ?>
Note: See TracChangeset
for help on using the changeset viewer.