[Orxonox-commit 6044] r10703 - code/branches/campaignHS15/data/levels

bhatiab at orxonox.net bhatiab at orxonox.net
Mon Oct 26 15:41:26 CET 2015


Author: bhatiab
Date: 2015-10-26 15:41:25 +0100 (Mon, 26 Oct 2015)
New Revision: 10703

Modified:
   code/branches/campaignHS15/data/levels/Campaign1.oxw
Log:
added asteroids

Modified: code/branches/campaignHS15/data/levels/Campaign1.oxw
===================================================================
--- code/branches/campaignHS15/data/levels/Campaign1.oxw	2015-10-26 13:35:28 UTC (rev 10702)
+++ code/branches/campaignHS15/data/levels/Campaign1.oxw	2015-10-26 14:41:25 UTC (rev 10703)
@@ -48,6 +48,7 @@
     <Scene
         ambientlight = "0.8, 0.8, 0.8"
         skybox = "Orxonox/Starbox"
+        hasPhysics = true
     >
 
     <SpawnPoint name="playerSpawn" team=1 position="0,-50,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
@@ -175,7 +176,7 @@
         </events>
     </EventMultiTrigger>
 
-    <DistanceTrigger name="reachedA" position="2494,-1667,0" distance=200 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true />
+    <DistanceTrigger name="reachedA" position="5000,-3000,0" distance=200 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true />
 
     <EventMultiTrigger name="wave1" activations="1" stayactive="true" >
         <events>
@@ -370,6 +371,12 @@
 
     <!--ELEMENTS -->
 
+    <?lua
+        dofile("includes/asteroidField.lua")
+        asteroidBelt(0,-2000, 0, 30, 0, 5, 20, 40, 500, 3300, 75, 0)
+    ?>
+    
+
     <!-- 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