ShowMe Code
for
SOUND
in 3DML
<SPOT>
<HEAD>
<DEBUG />
<TITLE NAME="Tall Spot" />
<BLOCKSET HREF="http://blocksets.flatland.com/flatsets/basic.bset"/>
<MAP STYLE="single" DIMENSIONS="(9,9,3)" />
<SKY TEXTURE = "images/clouds.gif" BRIGHTNESS = "90%" />
<GROUND TEXTURE="images/dirt.gif" />
<AMBIENT_LIGHT BRIGHTNESS="100%" />
<AMBIENT_SOUND FILE = "sounds/waves.wav" VOLUME="65%" PLAYBACK="looped"/>
</HEAD>
<BODY>
<CREATE SYMBOL="~" BLOCK="SOUND">
<SOUND FILE="sounds/giggle.wav" VOLUME="75%" RADIUS="5"
FLOOD="yes" PLAYBACK="looped" />
</CREATE>
<CREATE SYMBOL="c" BLOCK="ceiling">
<PART NAME="top" TEXTURE="images/smiley.gif" />
<PART NAME="bottom" TEXTURE="@edgetop.gif" />
<SOUND FILE="sounds/guffaw.wav" VOLUME="100%"
PLAYBACK="random" DELAY="3..6" />
</CREATE>
<CREATE SYMBOL="A" BLOCK="curvein">
<PARAM ORIENT="east,0"/>
</CREATE>
<CREATE SYMBOL="B" BLOCK="curvein">
<PARAM ORIENT="west,0"/>
</CREATE>
<CREATE SYMBOL="C" BLOCK="curvein">
<PARAM ORIENT="north,90"/>
</CREATE>
<CREATE SYMBOL="D" BLOCK="curvein">
<PARAM ORIENT="270,90"/>
</CREATE>
<CREATE SYMBOL="#" BLOCK="full">
<PART NAME="n,s,e,w" TEXTURE="images/pinkmarble.gif"
/>
</CREATE>
<CREATE SYMBOL="-"
BLOCK="ceiling">
<PART NAME="bottom" TEXTURE="@edgetop.gif" />
</CREATE>
<LEVEL NUMBER="1">
###.@.###
#A.....B#
##......#
##......#
#K......#
#h......#
#k....@.#
#D.....C#
#########
</LEVEL>
<LEVEL NUMBER="2">
###---###
#c-----c#
#N------#
#.------#
#-------#
#-------#
#-------#
#c-----c#
#########
</LEVEL>
<LEVEL NUMBER="3">
.........
.........
.........
.........
....~....
.........
......@..
.........
.........
</LEVEL>
<ENTRANCE LOCATION="(5,8,1)" NAME="default" ANGLE="0.0" />
<EXIT LOCATION="(5,1,1)" HREF="firstspot.3dml#second" TRIGGER="click
on,step on" TEXT="firstspot" />
<ENTRANCE LOCATION="(7,6,1)" NAME="floor" />
<ENTRANCE LOCATION="(7,6,3)" NAME="roof" />
<EXIT LOCATION="(7,7,1)" HREF="#roof" TRIGGER="click on, step on"
TEXT="Up to the Roof"/>
<EXIT LOCATION="(7,7,3)" HREF="#floor" TRIGGER="click on, step on"
TEXT="Down to the Floor" />
</BODY>
</SPOT>