[Orxonox-commit 4673] r9344 - code/branches/presentation2012merge/data/levels
jo at orxonox.net
jo at orxonox.net
Thu Aug 30 14:39:35 CEST 2012
Author: jo
Date: 2012-08-30 14:39:35 +0200 (Thu, 30 Aug 2012)
New Revision: 9344
Modified:
code/branches/presentation2012merge/data/levels/pong.oxw
Log:
Fixing pong's error message. Firstly the WorldSound's path wasn't correctly set. Secondly the file that should be played doesn't fit in to the context when it is called. A score sound would be nice here.
Modified: code/branches/presentation2012merge/data/levels/pong.oxw
===================================================================
--- code/branches/presentation2012merge/data/levels/pong.oxw 2012-08-30 09:53:01 UTC (rev 9343)
+++ code/branches/presentation2012merge/data/levels/pong.oxw 2012-08-30 12:39:35 UTC (rev 9344)
@@ -56,7 +56,6 @@
</templates>
<?lua include("includes/notifications.oxi") ?>
- <!--WorldAmbientSound source="Ganymede.ogg" playOnLoad=true looping=true /-->
<WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
<PongBot />
@@ -91,13 +90,15 @@
<ParticleSpawner name=scoreeffect_left position="-120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
<ParticleSpawner name=scoreeffect_left position="-120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
- <WorldSound name="scoreSound" position="0,0,0" source="Earth.ogg" >
+<!-- TODO: Create a Pong Score Sound and include it here.
+This WorldSound works, but doesn't make sense, since it is played together with ambient/moodDependedDirectory/Ganymede.ogg -->
+ <!--WorldSound name="scoreSound" position="0,0,0" source="ambient/default/Earth.ogg" >
<events>
<play>
<EventListener event=pongcenter />
</play>
</events>
- </WorldSound>
+ </WorldSound-->
<?lua
for i = 1, 15, 1 do
More information about the Orxonox-commit
mailing list