[Orxonox-commit 3448] r8134 - code/branches/kicklib/data/levels

rgrieder at orxonox.net rgrieder at orxonox.net
Sun Mar 27 19:35:02 CEST 2011


Author: rgrieder
Date: 2011-03-27 19:35:01 +0200 (Sun, 27 Mar 2011)
New Revision: 8134

Modified:
   code/branches/kicklib/data/levels/planets.oxw
Log:
Fixed planets.oxw. LevelInfo is still missing though.

Modified: code/branches/kicklib/data/levels/planets.oxw
===================================================================
--- code/branches/kicklib/data/levels/planets.oxw	2011-03-26 23:21:55 UTC (rev 8133)
+++ code/branches/kicklib/data/levels/planets.oxw	2011-03-27 17:35:01 UTC (rev 8134)
@@ -1,9 +1,9 @@
 <?lua
-  include("hudtemplates3.oxo")
+  include("HUDTemplates3.oxo")
   include("stats.oxo")
-  include("templates/lodinformation.oxt")
-  include("templates/spaceship_swallow.oxt")
-  include("templates/spaceship_pirate.oxt")
+  include("templates/lodInformation.oxt")
+  include("templates/spaceshipSwallow.oxt")
+  include("templates/spaceshipPirate.oxt")
 ?>
 
 
@@ -22,7 +22,7 @@
    skybox       = "Orxonox/skypanoramagen1"
   >
     
-<AmbientSound ambientSource="AlphaCentauri.ogg" looping="true" playOnLoad="true" />
+<WorldAmbientSound ambientSource="AlphaCentauri.ogg" looping="true" playOnLoad="true" />
 <Light type=directional position="-10000,-10000,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" />
 
 <?lua
@@ -49,7 +49,7 @@
 
     <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) ?>">
       <attached>
-        <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
+        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
       </attached>
       <?lua if i == 5 then ?><collisionShapes>
         <SphereCollisionShape radius="<?lua print(j * 70) ?>" />




More information about the Orxonox-commit mailing list