[Orxonox-commit 4336] r9007 - code/branches/presentation2011/data/levels

smerkli at orxonox.net smerkli at orxonox.net
Tue Dec 20 21:29:10 CET 2011


Author: smerkli
Date: 2011-12-20 21:29:09 +0100 (Tue, 20 Dec 2011)
New Revision: 9007

Modified:
   code/branches/presentation2011/data/levels/asteroidField.oxw
Log:
Added a planet with orbitting space trash to level.

Modified: code/branches/presentation2011/data/levels/asteroidField.oxw
===================================================================
--- code/branches/presentation2011/data/levels/asteroidField.oxw	2011-12-19 23:03:21 UTC (rev 9006)
+++ code/branches/presentation2011/data/levels/asteroidField.oxw	2011-12-20 20:29:09 UTC (rev 9007)
@@ -34,11 +34,66 @@
     <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"/>
     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
 
+
+
+
+    <!-- Belt that's far away -->
     <!-- Generate asteroid field and asteroid belt -->    
     <?lua
     	dofile("includes/asteroidField.lua")
     	asteroidBelt(0, 0, 0, -48, -34, 70, 100, 200, 219900, 210000, 900, 1)
     ?>
+
+
+
+
+    <!-- Belts around the planet -->
+    <?lua
+    	dofile("includes/asteroidField.lua")
+    	asteroidBelt(3000, 0, 0, -100, -134, 80, 10, 20, 2190, 1800, 100, 1)
+    ?>
+    <?lua
+    	dofile("includes/asteroidField.lua")
+    	asteroidBelt(3000, 0, 0, -190, -134, 80, 10, 20, 2190, 1800, 100, 1)
+    ?>
+    <?lua
+    	dofile("includes/asteroidField.lua")
+    	asteroidBelt(3000, 0, 0, -270, -134, 80, 10, 20, 2190, 1800, 100, 1)
+    ?>
+
+
+
+    <!-- Planet close to spawn point -->
+    <Planet
+      position="3000,0,0"
+      scale="1000"
+      collisionType="dynamic"
+      linearDamping="0.8"
+      angularDamping="0"
+      mass="10000000"
+      pitch="0"
+      mesh="planets/muunilinst.mesh"
+      atmosphere="atmosphere1"
+      rotationaxis="1,0,0"
+      rotationrate="1.0"
+      atmospheresize="80.0f"
+      imagesize="1024.0f"
+      collisiondamage = 2
+      enablecollisiondamage = true
+    >
+      <attached>
+        <ForceField position="5000,0,0" mode="sphere" diameter="10000" velocity="-50" />
+      </attached>
+      <collisionShapes>
+        <SphereCollisionShape radius="1000" position="0,0,0" />
+      </collisionShapes>
+    </Planet>
+
+
+
+
+
+
     
   </Scene>
 </Level>




More information about the Orxonox-commit mailing list