Getting music to play on a map?

Ragnar

Hallowed be thy name
Legendary
Golden Oldie
Loyal Member
Jul 20, 2004
5,258
3
295
I know this was possible on the DSY online files. Is it possible using the emulator files?
 

Zidio

Banned
Banned
Golden Oldie
Nov 2, 2005
1,285
1
145
LOMCN
could you do something useing QFunction or something erm check map xxxx if map xxx goto open mp3 dont know maybe you would have to play around.
 
Upvote 0

Ragnar

Hallowed be thy name
Legendary
Golden Oldie
Loyal Member
Jul 20, 2004
5,258
3
295
Babyhack said:
In mapinfo MUSIC(filename) after the mapname
also make sure the mp3 is in the music folder

BH
So a new folder called Music in the client folder?
 
Upvote 0

Ragnar

Hallowed be thy name
Legendary
Golden Oldie
Loyal Member
Jul 20, 2004
5,258
3
295
Well
[0 Inner Mainland 0] MUSIC(Dogs.mp3)

And having the file in Client\Music\Dogs.mp3

Wouldn't work =p.
 
Upvote 0

Azura

Mir3 Coder & Adviser
Mar 12, 2005
3,249
111
300
i thought it had to be in the Map folder of the server files

mirserver\Mir200\Map\Music
 
Upvote 0

Ragnar

Hallowed be thy name
Legendary
Golden Oldie
Loyal Member
Jul 20, 2004
5,258
3
295
Babyhack said:
Ledu or emu ?

BH
Ledu .

I'll try that Lyncus

EDIT: Nope, didn't work ><.
EDIT2: Thought you ment the client map folder, thats what didn't work anyways and i agree with BH, i doubt the server files would need the music.
 
Last edited:
Upvote 0

Azura

Mir3 Coder & Adviser
Mar 12, 2005
3,249
111
300
Babyhack said:
why would any music have to be server side
all sounds are client side

BH

but you need the server side to tell the client what to play, as you do with maps. not saying it will work, but its worth a try
 
Upvote 0

Ragnar

Hallowed be thy name
Legendary
Golden Oldie
Loyal Member
Jul 20, 2004
5,258
3
295
Lyncus said:
but you need the server side to tell the client what to play, as you do with maps. not saying it will work, but its worth a try
The mapinfo is what should say what to play. The maps have to be serverside aswell because otherwise people could just rename some other map to the same name, and they could walk on walls or whatevver.
 
Upvote 0

Primal

LOMCN VIP
VIP
Jun 28, 2004
1,756
102
259
dont u just rename the file to the same as the town name in the Wav folder?
e.g.
\client\Wav\bichonwall-0.wav
or just \client\Wav\bichonwall.wav?
 
Upvote 0

Elijah

Crystal Dev
Developer
Jul 21, 2004
1,806
18
185
renaming would work yes.

Also.

p.s Wouldnt it be easy to make a npc which allows you to play music?
 
Upvote 0

Ragnar

Hallowed be thy name
Legendary
Golden Oldie
Loyal Member
Jul 20, 2004
5,258
3
295
badboyadam said:
dont u just rename the file to the same as the town name in the Wav folder?
e.g.
\client\Wav\bichonwall-0.wav
or just \client\Wav\bichonwall.wav?
Doesn't seem to work for me that way either :/.
 
Upvote 0

Scorpian

Golden Oldie
Golden Oldie
Jul 8, 2003
728
35
185
Manchester
Not sure on the MUSIC(x) method but the simple MUSIC method works,

./MUSIC/sound.lst
Map number / MP3 File name
EG:
0 Music\Bichontune.mp3
 
Upvote 0