Music List

  • Thread starter Thread starter JumpOnMySword
  • Start date Start date
J

JumpOnMySword

Guest
Its been awhile since I've been here! Anyways, I was looking through the sound triggers and I saw a set music list type of trigger. My question is: How do I specify a list of songs that I want to play? Thanks a lot for your help. I'm still pretty new at the World Editor so I'm sorry if this is a dumb question.

--Jump
 
Ahh, the search option. Works wonders. Thanks a lot. However I cannot yet hear the music playing. To make things simple and not trying to explain things I'll give you what my trigger functions are:

function Trig_MusicList1_Actions takes nothing returns nothing^N
call PlayMusicBJ( "war3mapImported\\01_A_Storm_is_Coming.mp3;war3mapImported\\Enya___Lord_of_the_Rings___The_Council_of_Elrond.mp3;HumanX1.mp3;TragicConfrontation.mp3;BloodElfTheme.mp3" )^N
endfunction

//===========================================================================
function InitTrig_MusicList1 takes nothing returns nothing^N
set gg_trg_MusicList1 = CreateTrigger( )^N
call TriggerAddAction( gg_trg_MusicList1, function Trig_MusicList1_Actions )^N
endfunction

^N signifies a new line

When my game begins I am still hearing the normal music. Do I have to somehow disable the default music? Thanks alot!

--Jump

Edit: When I create a trigger to cause this trigger to run, NO music plays at all. Does that mean there is something wrong with the file name or something along those lines?

Once again
--Jump
 
if you tried to play any one of the mp3s individually, do they work? i know warcraft3 sometimes complains if the mp3 encoding is dodgy.
 
Right now I am trying JUST A Storm is coming. It does not play any music at all though, which is kinda good because it's affecting the music in some way! :-D. In your path it has war3imported\\(file) are there supposed to be two \'s? When I import models the path is only 1 \. When I tried to do that with the path and save it, it would give me an error and shut down War3 Editor. I have been playing with it myself trying to fix it myself, but it looks like my attempts are in vain. Any other ideas?

--Jump
 
In your path it has war3imported\\(file) are there supposed to be two \'s?

Yes, you need two backslashes there.

I'm assuming the files play fine in winamp right?

A possible longshot, but try converting the mp3s to wave files (use cooledit or goldwave), download a proggie like RazorLame, and then re-encode the files back to mp3.

edit: and also try getting rid of all the underscores in the filenames.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1

The Helper Discord

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top