[Orxonox-commit 4010] r8684 - code/branches/presentation/data/levels

dafrick at orxonox.net dafrick at orxonox.net
Mon May 30 11:14:07 CEST 2011


Author: dafrick
Date: 2011-05-30 11:14:06 +0200 (Mon, 30 May 2011)
New Revision: 8684

Modified:
   code/branches/presentation/data/levels/presentationFS11.oxw
Log:
Adding some sound.


Modified: code/branches/presentation/data/levels/presentationFS11.oxw
===================================================================
--- code/branches/presentation/data/levels/presentationFS11.oxw	2011-05-30 08:55:17 UTC (rev 8683)
+++ code/branches/presentation/data/levels/presentationFS11.oxw	2011-05-30 09:14:06 UTC (rev 8684)
@@ -52,6 +52,23 @@
 
     <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"/>
 
+    <!-- SOUND -->
+    <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" />
+    <WorldAmbientSound source="Mars.ogg" looping="true">
+        <events>
+            <activity>
+                <DistanceTrigger position="-72369,803,2" distance=1700 target="Camera" />
+            </activity>
+        </events>
+    </WorldAmbientSound>
+    <WorldAmbientSound source="Jupiter.ogg" looping="true">
+        <events>
+            <activity>
+                <DistanceTrigger position="-73450,5067,-351" distance=800 target="Camera" />
+            </activity>
+        </events>
+    </WorldAmbientSound>
+
     <!-- EARTH ORBIT -->
 
     <DistanceTrigger name="spawntrigger" position="0,0,0" target="Pawn" distance=10 stayActive="true" />
@@ -380,7 +397,6 @@
             <DistanceTrigger position="10,-202, -42" distance="800" target="Pawn"
                 beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
             />
-            <Billboard position="10,-202,-42" material="Examples/Flare" colour="1.0, 0, 0" />
         </attached>
     </Dock>
 




More information about the Orxonox-commit mailing list