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.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top