Changeset 7163 for code/trunk/data/levels/presentation09.oxw
- Timestamp:
- Aug 11, 2010, 8:55:13 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/data/levels/presentation09.oxw
r6417 r7163 4 4 include("templates/spaceship_assff.oxt") 5 5 include("templates/spaceship_H2.oxt") 6 include("templates/lodinformation.oxt") 6 7 ?> 7 8 … … 11 12 12 13 > 14 <templates> 15 <Template link=lodtemplate_default /> 16 </templates> 17 13 18 <Scene 14 19 ambientlight = "0.5, 0.5, 0.5" 15 20 skybox = "Orxonox/skypanoramagen1" 16 21 > 22 17 23 <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 24 19 25 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 />26 <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 27 22 28 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*10029 <?lua 30 max = 20 31 for i = 1, max, 1 32 do 33 x = math.sin(i/max*6)*40000 34 y = math.cos(i/max*6)*40000 35 z = i*100 30 36 ?> 31 <?lua32 for k = 1, 25, 133 do34 j = math.random()35 ?>37 <?lua 38 for k = 1, 25, 1 39 do 40 j = math.random() 41 ?> 36 42 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 ?> 43 <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) ?>"> 44 <attached> 45 <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 46 </attached> 47 <?lua if i == 5 then ?><collisionShapes> 48 <SphereCollisionShape radius="<?lua print(j * 70) ?>" /> 49 </collisionShapes> <?lua end ?> 50 </MovableEntity> 51 52 <?lua end ?> 53 <?lua end ?> 54 49 55 <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 56
Note: See TracChangeset
for help on using the changeset viewer.