- Timestamp:
- May 29, 2010, 8:41:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/data/levels/presentation09.oxw
r6417 r7007 15 15 skybox = "Orxonox/skypanoramagen1" 16 16 > 17 17 18 <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" /> 18 19 19 20 20 <SpawnPoint position="<?lua print(math.sin(1.5) *40000) ?>,<?lua print(math.cos(1.5) *40000) ?>,<?lua print(500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />21 <SpawnPoint position="<?lua print(math.sin(1.5) *40000) ?>,<?lua print(math.cos(1.5) *40000) ?>,<?lua print(500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> 21 22 22 23 23 <?lua24 max = 2025 for i = 1, max, 126 do27 x = math.sin(i/max*6)*4000028 y = math.cos(i/max*6)*4000029 z = i*10024 <?lua 25 max = 20 26 for i = 1, max, 1 27 do 28 x = math.sin(i/max*6)*40000 29 y = math.cos(i/max*6)*40000 30 z = i*100 30 31 ?> 31 <?lua32 for k = 1, 25, 133 do34 j = math.random()35 ?>32 <?lua 33 for k = 1, 25, 1 34 do 35 j = math.random() 36 ?> 36 37 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 <attached>39 <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />40 </attached>41 <?lua if i == 5 then ?><collisionShapes>42 <SphereCollisionShape radius="<?lua print(j * 70) ?>" />43 </collisionShapes> <?lua end ?>44 </MovableEntity>45 <?lua 46 end 47 ?>48 <?lua end ?> 38 <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) ?>"> 39 <attached> 40 <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 41 </attached> 42 <?lua if i == 5 then ?><collisionShapes> 43 <SphereCollisionShape radius="<?lua print(j * 70) ?>" /> 44 </collisionShapes> <?lua end ?> 45 </MovableEntity> 46 47 <?lua end ?> 48 <?lua end ?> 49 49 50 <Planet position="0,0,0" scale=10000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f /> 50 51
Note: See TracChangeset
for help on using the changeset viewer.