[Orxonox-commit 6083] r10741 - code/branches/campaignHS15/data/levels

bhatiab at orxonox.net bhatiab at orxonox.net
Sun Nov 1 14:26:38 CET 2015


Author: bhatiab
Date: 2015-11-01 14:26:37 +0100 (Sun, 01 Nov 2015)
New Revision: 10741

Modified:
   code/branches/campaignHS15/data/levels/Campaign1.oxw
Log:
Added a planet with a ring

Modified: code/branches/campaignHS15/data/levels/Campaign1.oxw
===================================================================
--- code/branches/campaignHS15/data/levels/Campaign1.oxw	2015-11-01 13:04:55 UTC (rev 10740)
+++ code/branches/campaignHS15/data/levels/Campaign1.oxw	2015-11-01 13:26:37 UTC (rev 10741)
@@ -565,6 +565,37 @@
         asteroidBelt(0,-2000, 0, 30, 0, 5, 20, 40, 500, 3300, 75, 0)
     ?>
 
+
+    <Planet
+        position="5000,0,0"
+        scale="1000"
+        collisionType="dynamic"
+        linearDamping="0.8"
+        angularDamping="0"
+        mass="5000000"
+        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="0,0,0" mode="sphere" diameter="2000" velocity="-500" />
+        </attached>
+          <collisionShapes>
+            <SphereCollisionShape radius="1000" position="0,0,0" />
+      </collisionShapes>
+    </Planet>
+
+    <?lua
+        dofile("includes/asteroidField.lua")
+        asteroidBelt(5000, 0, 0, 30, 0, 30, 5, 10, 1400, 1500, 200, 1)
+    ?>
+
     <!-- Enemies. Outer loop defines waves, inner loop defines enemies in every wave. -->
     <?lua
     for k = 1, waves, 1




More information about the Orxonox-commit mailing list