Music Lists?

Scam_ent

New Member
Reaction score
1
Can someone tell me how to use/set up/ play music lists?
I have no idea what I'm doing here....





Cam
 

Darg

Administrator
Reaction score
49
You mean for custom/imported music? Can't say I have much of an idea how to do it at the moment with existing music. Play '0' or play '1' isn't exactly helpful to anyone, not sure why blizz did it that way.

oops, i just remembered i was going to tell you how to do it with custom text before, wasn't I......

hmm, give me a moment...
 

Darg

Administrator
Reaction score
49
Here's something I copied into my archive a long time ago:

In Sound Editor, Import External Music will import individual mp3
songs. In order to create a music list of them, you have to use
Custom Text.

1. In Trigger Editor, create a new trigger with no events or
conditions, and a single action:
Music - Play Music

2. Select Edit|Convert to Custom Text, ignoring the warning
dialog. In the custom text, you will see a function that looks
like:
function Trig_Create_Music_List_Actions takes nothing returns
nothing
call PlayMusicBJ(" .....

3. Alter that function to indicate the mp3 files that you have
imported. You must not use their variable names, but their file
names, and you must include the path shown below.

function Trig_Create_Music_List_Actions takes nothing returns
nothing
call PlayMusicBJ(
"war3mapImported\\Handel.mp3;war3mapImported\\Bach.mp3;war3mapI
m
ported\\Mozart.mp3" )
endfunction

the line that begins with "call" should all be on one line

until the closing parenthesis. In the above examples, I am
creating a play list of three imported mp3 files: Handel.mp3,
Bach.mp3, and Mozart.mp3. You must include the
"war3mapImported\\" path for each file.

4. When this trigger is run, it will begin to play the new music
list, starting with a random song, and then cycle through them
repeatedly.

If you make any action to play the default 'music' preset, then
you must call this trigger again to return to your custom play
list.

If you are uncomfortable with custom text, don't worry too much,
since you can always delete the trigger and start over. The
conversion to custom text will only affect the selected trigger.

Keep in mind that imported songs are quite large, and that the
total size of all the imported files will be added to the storage
size of the saved game. Battle.net limits maps to 4MB.



Sorry, have to go out, be back in 2 hours-ish.
 

Scam_ent

New Member
Reaction score
1
Thanx heaps dude! that'll be a huge help!

Doesn't look too hard...

I'm gonna post my RPG map soon. All I've got is the opening cinematic, but I need some opinions on it...




Cam
 

Darg

Administrator
Reaction score
49
Something that I have found very valuable to do over the past year was, whenever I saw a post being made that contained useful information, I always saved it to disk in the expectation that I would use it someday in the future. This is something that I would advise everyone to follow, because you never know when something is going to come in handy.

That piece of information I posted above came from a post I saved back in October last year. To this day, I am still yet to see this particular information being replicated in any other shape or form (I am known to be blind, however).

edit: I have over 600 pieces of information regarding war3 editing saved in my database.
 

Scam_ent

New Member
Reaction score
1
I'm starting my own actually. Got the idea from where you mentioned your "archives".
You post on Imported Music Listing is my first entry...




Cam
 

Bomook

New Member
Reaction score
0
if you were trying to make something like a jukebox, do not do it. Warcraft iii maps are not meant to have a self-contained jukebox (it's difficult enough to import music for non-jukebox purposes) and have a [low] size limit, you can probably fit in 1 mp3... 2 if you're lucky, and when that is exceeded, you will start getting problems testing your map. If you want a jukebox, you're best off playing it from an external source (i.e. winamp).

I modeled a map after a real existing game, and wanted to put mp3 music in to add to the atmosphere, but decided not to, since with each song added the map size doubled. you can always try doing it with .mids since they're small... but unfortunately also obsolete.
 

Darg

Administrator
Reaction score
49
you can reduce the size of mp3 files by downsampling them remember. Anything down to about 64kbps could be considered decent.
 

Scam_ent

New Member
Reaction score
1
hahaha...I went to post my map, quite proud of it, all keyed up...
then realised the damn thing was 16 MB!!!!!
kinda too big, huh?
That's probably bcoz I had 4 imported mp3s...
So I downloaded a program to chop up Mp3s so I can have only as much as I need, which will be rather better....

The map will be awhile longer :S





Cam
 

Darg

Administrator
Reaction score
49
go make an account on yahoo briefcase, and upload your map there. Then give us the login/pass details for accessing the account (just don't put anything private in there hehe).
 

Scam_ent

New Member
Reaction score
1
That's an idea, too bad u didn't tell me sooner, I just hacked my mp3 files up (got backups, don't worry).
16 MB is really too big tho! It had problems testing, and running occasionaly...
It's down to about 2 or 3ish now I think...
nearly ready for testing....




Cam
 

Darg

Administrator
Reaction score
49
If it's purely for single player purposes, 16MB is fine. COTN is huge, remember (over 50mb)

If it's for multiplayer, generally 500-600kb is the absolute max.
 

Scam_ent

New Member
Reaction score
1
COTN? Curse of the Nitwit?
Cure of the Nanny?


sorri...bit bored today...




Cam
 
B

Blademaster_X

Guest
Tip: Remember to turn off 3D sound on your imported music files in the sound editor. Most music files sound messed up with 3D sound on.
 

Darg

Administrator
Reaction score
49
I think 3D sound is off by default on imported stuff, but I could be wrong.

COTN - Creatures of the Night

The best war3 cinematic made to date.

cotn.wc3campaigns.com
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top