Music on maps

Play Now

forspinki

Legend
Legendary
Oct 23, 2006
3,432
116
190
Handan, China
kk preacher was kind enuff to show me how to do my music scripts but now im stuck on addin music to maps

so say i teleported to a map called DavyJonesLocker how would i make music play on that map
 
Last edited:

ρяєα¢нєя

Unstookie Titled
VIP
Aug 19, 2008
444
23
85
Not sure if this will work on your files but try it...

- Firstly create a folder in your Client called 'Music'.
- Then add the MP3 files you want into the folder and give them sensible names like:
001.mp3
002.mp3
003.mp3
etc...
- Then open up your TBL_MAPINFO find the map you want to add music to, and put MUSIC(001) in FLD_FLAGS.

MUSIC(001) should play 001.mp3 from the music folder. Change the number for the different tracks. As i say that should work, thats how it works with my files anyway.

Good luck.

p
 
Upvote 0

forspinki

Legend
Legendary
Oct 23, 2006
3,432
116
190
Handan, China
bah didnt work dno why its nt working


0123problem.jpg

0123problem2.jpg
 
Upvote 0

ρяєα¢нєя

Unstookie Titled
VIP
Aug 19, 2008
444
23
85
Nope it's not, maybe it's somthing to do with the names as it works on mine for sure. Try using these names:

100100.mp3
100101.mp3
100102.mp3

As i say it definetly works on my files.

p
 
Upvote 0

Ardbeg

Legend
Legendary
Aug 8, 2004
3,225
2
150
290
Southern England
Try them as .wav
What I meant to say before my adsl dropped was tray wav files.

Edit 2.
I know wavs are bigger but sometimes peoples' Windows setup might not have a default player set up for mp3. Using the wav would atleast prove the music setup was corrrect.
Nice idea btw.

On lineage 2, the towns have their own theme tunes and play as soon as you enter. In the field, atmospheric music kicks in as you approach and enter a hunting zone or the home town of one of the races.
 
Last edited:
Upvote 0

forspinki

Legend
Legendary
Oct 23, 2006
3,432
116
190
Handan, China
umm still cnt get this working and its a main feature for my server i need to get it working somehow Preacher when your not at work can you pm me on msn and connect to my computer and take a look for me >?
 
Upvote 0

TravisW

LOMCN Veteran
Veteran
Sep 4, 2007
737
17
105
In the music folder(in client) start with 100100, name the mp3 file that, not 100100.mp3, JUST 100100, then do like you have it in sql, MUSIC(100100), 100% works like that on TD's files.
 
Upvote 0

forspinki

Legend
Legendary
Oct 23, 2006
3,432
116
190
Handan, China
In the music folder(in client) start with 100100, name the mp3 file that, not 100100.mp3, JUST 100100, then do like you have it in sql, MUSIC(100100), 100% works like that on TD's files.

um its just not workin at all can you send me a song that uve tested it with because maybe its just my songs..
 
Upvote 0