• 0.951271186440678

    posted a message on How do I add my own music (song) created using the Starcraft 2 editor with a trigger so that only the music imported?

    Hey, you need to work on shortening your questions and making them more to the point, I have this problem too.

     

    As I understand it you want to play your custom sound file as the music for your map? I've never actually messed with the game music but I tested some stuff and think I have what you want. The trigger is pretty simple, it's the fact you need to set your imported sound up as a "sound" AND a "soundtrack" in the map's data that makes it a little tricky. 

     

    Step 1 - Import your sound file, I see you have this done already

     

    Step 2 - Go into the data editor, open the sounds tab, find a music sound and duplicate it, go to the sound asset field and change it to your imported sound 

     

    Step 3 - Open a sound track tab in the data editor, duplicate a music soundtrack, go into the cues field, under master layer change the sound to the sound you just made, other layers don't matter unless you want to have multiple sounds on this soundtrack

     

    Step 4 - Open the trigger editor, make a new trigger with the action Play Soundtrack. Change the soundtrack ID to  the track you just created. I'd set make default to Do as well, rest you can leave as is. Only thing remaining is setting the event for the trigger, guessing you want this as map init.

     

    That should work, people with music turned off will not hear it of course. You can mess around with the settings in the sound to change how it sounds. 

    Posted in: Triggers
  • To post a comment, please or register a new account.