[Orxonox-commit 334] r2113 - media/levels

Aurelian at orxonox.net Aurelian at orxonox.net
Mon May 4 17:29:42 CEST 2009


Author: Aurelian
Date: 2009-05-04 17:29:42 +0200 (Mon, 04 May 2009)
New Revision: 2113

Modified:
   media/levels/gametype_asteroids.oxw
Log:
ForceField not working jet, but no errors...

Modified: media/levels/gametype_asteroids.oxw
===================================================================
--- media/levels/gametype_asteroids.oxw	2009-05-04 14:36:38 UTC (rev 2112)
+++ media/levels/gametype_asteroids.oxw	2009-05-04 15:29:42 UTC (rev 2113)
@@ -14,17 +14,30 @@
    skybox       = "Orxonox/Starbox"
   >
 
+<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" />
 
 
-<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 position="-300,300,0" lookat="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
 
 
-<SpawnPoint position="0,0,0" lookat="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
+<!--
+<?lua
+for i = 1, 50, 1 
+do ?>
+    <Model scale="<?lua print(math.random() * 50 + 3) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" position="<?lua print(math.random() * 10000 + 5000) ?>,<?lua print(math.random() * 10000 + 5000) ?>,<?lua print(math.random() * 10000 + 5000) ?>" />
+<?lua 
+end
+?>
+-->
 
-<CheckPoint name=trigger1 position="0,0,200" isdestination=false stayactive=true distance=20 />
 
+<ForceField position="0,-500,0" direction="0,1,0" />
 
-<CheckPoint name=trigger2 position="0,0,400" isdestination=false stayactive=true distance=20 >
+
+<CheckPoint name=trigger1 position="-200,300,0" isdestination=false stayactive=true distance=20 />
+
+
+<CheckPoint name=trigger2 position="0,250,0" isdestination=false stayactive=true distance=20 >
   <events>
     <activity>
       <EventListener event=trigger1 />
@@ -33,7 +46,7 @@
 </CheckPoint>
 
 
-<CheckPoint name=trigger3 position="0,0,600" isdestination=true stayactive=true distance=20 >
+<CheckPoint name=trigger3 position="200,350,0" stayactive=true distance=20 >
   <events>
     <activity>
       <EventListener event=trigger2 />
@@ -41,7 +54,22 @@
   </events>
 </CheckPoint>
 
+<CheckPoint name=trigger4 position="600,150,0" stayactive=true distance=20 >
+  <events>
+    <activity>
+      <EventListener event=trigger3 />
+    </activity>
+  </events>
+</CheckPoint>
 
+<CheckPoint name=trigger5 position="1000,200,0" isdestination=true stayactive=true distance=20 >
+  <events>
+    <activity>
+      <EventListener event=trigger4 />
+    </activity>
+  </events>
+</CheckPoint>
 
+
   </Scene>
 </Level>




More information about the Orxonox-commit mailing list