[Orxonox-commit 1620] r6338 - code/branches/presentation2/data/levels

youngk at orxonox.net youngk at orxonox.net
Sun Dec 13 17:02:09 CET 2009


Author: youngk
Date: 2009-12-13 17:02:08 +0100 (Sun, 13 Dec 2009)
New Revision: 6338

Modified:
   code/branches/presentation2/data/levels/presentationHS09b.oxw
Log:
Added a little sound to the presentation level.

Modified: code/branches/presentation2/data/levels/presentationHS09b.oxw
===================================================================
--- code/branches/presentation2/data/levels/presentationHS09b.oxw	2009-12-13 16:01:18 UTC (rev 6337)
+++ code/branches/presentation2/data/levels/presentationHS09b.oxw	2009-12-13 16:02:08 UTC (rev 6338)
@@ -58,7 +58,6 @@
 x = math.random() * 100 + i*100
 y = math.random() * 3000 - 1500
 z = math.random() * 3000 - 1500 + (i-100) * 10
-s = math.rando 
 ?>
 
  <ParticleSpawner position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" source="Orxonox/Steam" lifetime=3.0 loop=1 />
@@ -110,6 +109,13 @@
 <?lua 
 end
 ?>
+    <AmbientSound ambientSource="Earth.ogg" loop="true" play="false">
+       <events>
+          <activity>
+	     <DistanceTrigger position="2000,0,0" distance=500 target="Camera" />
+          </activity>
+       </events>
+    </AmbientSound>
 
     <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipHXY  />
   </Scene>




More information about the Orxonox-commit mailing list