Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Inlocodeus
Beginner


Joined: 14 Nov 2002
Posts: 15
Location: USA

PostPosted: Fri Dec 20, 2002 7:00 am   

Sounds
 
I'm looking for info on making sound triggers. I'm currently runnig 6.37a if that helps. tried looking in the zmud help but didn't seem to have anything. Any help would be greatly appreciated.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Dec 20, 2002 7:12 am   
 
quote:

I'm looking for info on making sound triggers. I'm currently runnig 6.37a if that helps. tried looking in the zmud help but didn't seem to have anything. Any help would be greatly appreciated.



1)Make a trigger
2)use #PLAY (short sounds, usually .WAV files) or #MEDIA (for longer, background types of sound files)

li'l shmoe of Dragon's Gate MUD
Reply with quote
Inlocodeus
Beginner


Joined: 14 Nov 2002
Posts: 15
Location: USA

PostPosted: Fri Dec 20, 2002 12:28 pm   
 
OK thank you for the syntax but now what do i put after the #play? I tried the full path to where the sound was but that didn't seem to work what do i need to do so that it find the .wav file and plays it?
Reply with quote
dskorren
Novice


Joined: 07 Feb 2002
Posts: 48
Location: Philippines

PostPosted: Fri Dec 20, 2002 1:09 pm   
 
be sure to enable sound, i made a can quest again trigger to play sound and it did not fire, turned out that the sound option was not turned on.
Reply with quote
Inlocodeus
Beginner


Joined: 14 Nov 2002
Posts: 15
Location: USA

PostPosted: Fri Dec 20, 2002 1:38 pm   
 
I do have sound i'm using the #beep with a .wav file there instead. The thing is i want to use more than one sound and i'm not sure on the rest of the syntax for #play.
Reply with quote
Humpton
Apprentice


Joined: 10 Oct 2000
Posts: 158
Location: Chicago, IL

PostPosted: Fri Dec 20, 2002 7:51 pm   
 
I'm not 100% sure, but I think you can't use paths to specify the .wav. I think you have to put the .wav in your zMud directory.

Good luck!

Stay JOLLY!
H

___
Humpton lives like he types.... fast, and full of mistakes!

Core 2651: For those who prefer the future to the past.
Reply with quote
AzCowboy
Adept


Joined: 09 Nov 2000
Posts: 222
Location: USA

PostPosted: Fri Dec 20, 2002 9:41 pm   
 
Straight from the help file, for the help file impaired:

PLAY
Syntax: #PL filename
Related: #MEDIA
Plays the specified multimedia file. The file type is determined from the file extension of the filename. Tested formats are WAV, MID, AVI. If filename refers to a drive (as in D:), the drive is assumed to point to a CDROM with a musical CD in it.

Note that zMUD does not pause while the media is playing. Also, only one media can be playing at any given time.

PLAY examples
#PLAY start.wav
play the startup wav audio file

#PLAY D:
start playing the CD on drive D:

sound=ouch.wav
#TRIGGER {hits you} {#PLAY @sound}
plays the file ouch.wav whenever you are hit. There are real possibilities here!
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Dec 20, 2002 9:51 pm   
 
You have to keep in mind that zMud uses space as a seperator for command parameters. If your path has spaces in it you should enclose the whole thing in braces to tell zMud that it is all 1 parameter.

Example:
#PLAY {C:WindowsMedia Filesstartup.wav}
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Sun Dec 22, 2002 8:08 am   
 
How do you turn on the sound ? :)

megamog75
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net