Musics

  • : Non-static method Sanitizer::removeHTMLtags() should not be called statically, assuming $this from incompatible context in /home/skinhat/public_html/mudclient3d/modules/liquid/mw_parser.inc on line 287.
  • : Non-static method Sanitizer::removeHTMLcomments() should not be called statically, assuming $this from incompatible context in /home/skinhat/public_html/mudclient3d/modules/liquid/mw_sanitizer.inc on line 370.

Parent: audio

Allows the specification of songs to be played. All time is in seconds. Refer to music for more information.

playmode string
Is enumerated type of 'inorder', 'randomtime' and 'distance'. Is the way songs are played

inorder
Play each song one after the other over and over. The 'time' attribute in the MUSIC element is the amount of time that wait till the next song.

randomtime
Pick a song at random and play it. The 'randomtime' attribute is the random amount of time that will play the next song. 'fixedtimed' is added to it.

distance
Pick a song at random but only if a player has moved a certain 'distance'. Also 'fixedtime' is added to it.

fixedtime float
Fixed amount of time you wait before you play the next song. Is added to any other time between songs.

randomtime float
If 'playmode' is 'randomtime' then a random time between 0 and randomtime seconds is added to 'fixedtime' to get the amount of time before play the next song.

distance float
If 'playmode' is 'distance' then the player must move this amount of distance before the next song is played.

addtimeperinterval float
Sets the amount of time that you add every time the music is played.
So that if you play long periods of time the music doesnt get more and more annoying

playonstartup boolean
Whether or not play a song on startup. Otherwise will wait 'fixedtime' and wait till player has moved 'distance' units if playmode is 'distance'

volume float
The volume of the music.

playsongfirsttime string
Play this song (sound) the very first time the player runs the mud client.

MUSIC

Unlimited elements of MUSIC

name string
The name of the sound to play from sounds

time float
If 'playmode' is 'inorder' then this is the amount of time wait till play the next song.