TOXIKK
Not enough ratings
Custom Music Mutator - Tutorial
By 76561198027781948
HOW TO USE THE CUSTOM MUSIC MUTATOR
This guide describes the (hopefully) simple process of creating your own playlist(s) for the Custom Music mutator. By the end, you'll have the knowledge to replace a map's music with your own.
   
Award
Favorite
Favorited
Unfavorite
Backup Creation
Backup Creation:
If you have the SDKK open, save your package and close the editor. Find the Music folder in your TOXIKK directory. This is located in:

TOXIKK\UDKGame\Content\Toxikk\Sounds\Music

Copy MUS_MapMusicInfos.upk and make a backup, you'll need to restore this file later.

Gathering and Importing
You can't create your own playlist unless you have tracks to use!

Gathering the Tracks:
First thing's first, gather all of the tracks that you plan on using in this playlist. TOXIKK maps have several different tracks, and these are:
Action - The most intense music track you'll offer, super upbeat Ambient - Calm and uneventful, ambient like it says Intro - Plays during the map's intro cinematic Suspense - Suspenseful, something's about to happen I guess Tension - Upbeat and tense, imagine grabbing the cell and being chased Victory - Probably played at the end of the map, also in 'happy' moments
These don't have to be perfect, but the music tracks should roughly fit the category they're being applied to. Export all of your tracks as .wav format and put them in a single folder, Audacity is great for this. Stereo or mono, it doesn't matter.



Importing into the SDKK:
If you haven't already, install the SDKK into your Toxikk directory. If you need help, follow this forum post.[forum.toxikk.com]

Right-click the empty space between the thumbnails and pick Import. From this point, you're going to want to select all of the .wav files that you created earlier. For Package, enter something that you can remember later. Starting it with MUS_ is a good practice. For this example, I'm going to be using Quake 3's music. My package name is MUS_QuakeThree. Once you've typed this, pay attention to the menu on the bottom and match your settings with these:



Then pick OK to All or whatever. You should see your package name on the bottom-left of the content browser, and your sounds imported into it.



If the sounds say "Unconverted" below them, simply double-click them and play them for a second. This should fix it.
SoundCue Editing
SoundCues are important, these are the "processors" of your sounds.

Creating the Cues:
In your music package, each SoundNodeWave should have its own respective SoundCue. Select one to start with (I'm using the cue for Q3_Action). Right-click the cut and pick Edit in SoundCue Editor.

The SoundCue editor should pop up at this point. You should see a large speaker, a Looping node, and your sound.


Important Things:
At the bottom of the SoundCue editor, you should notice a big list of parameters. There's one you need to change in particular: VolumeMultiplier. TOXIKK tracks have a SoundClass of GameMusic, so set it properly.



Once you've done this, repeat this section for each SoundCue in your music package.
Archetype Creation
This step is important, really important.

Creating the Archetype:
Find MUS_MapMusicInfos on the left of the Content Browser. It should be under UDKGame > Toxikk > Content > Sounds > Music. Right-click the package name and pick Save. Then, right-click any of the red archetype thumbnails and pick Create a Copy. If there are no thumbnails, right-click MUS_MapMusicInfos on the left and pick Fully Load.



Package should be the name of the package that you created earlier. For New Name, prefix it with MapMusic_. I'm choosing MapMusic_QuakeThree.



Go back to your package and you should see the new archetype.



Archetype Modification:
Right-click your new package archetype and select Properties. A large window should pop up with a lot of parameters. Expand MapMusic, and you should see the categories mentioned at the beginning of this guide.

For each category, click TheCue. Next, click the appropriate SoundCue in the Content Browser and tick the small green arrow.

The name of the SoundCue should look something like this now:



Repeat this step for each of the categories in the Archetype.
Prepping Your Package
You're almost done.

Saving:
Right-click your package name on the bottom-left and pick Save. When it asks you where to save it, save it into:

TOXIKK/UDKGame/PackagesToCook

If the folder doesn't exist, create it. If you saved your package properly, it should no longer have a * beside the package name. Write down or memorize the name of the archetype that you created. From here, you can close the SDKK.

Cooking:
I'm not going to go over cooking in this guide, Chatouille so kindly created this lovely guide on how to do it.[http//this+lovely+guide+on+how+to+do+it.]

Once your package is cooked, make sure that it's in TOXIKK/UDKGame/Content.

Configuration:
Your package is ready to be used by anyone and everyone, but it won't work unless you add it to the .ini file. Open UDKCustomMusic.ini in TOXIKK/UDKGame/Config.

Copy one of the already existing lines and change the name of the archetype to match the one you created. The format goes something like Package.Asset. So in my case, MUS_QuakeThree.MapMusic_QuakeThree. MapMusic_QuakeThree is the name of my archetype.



Save the INI file, start TOXIKK with the mutator, and your music should be working!
Final Words / FAQ
REMEMBER: You should restore the backup of MUS_MapMusicInfos.upk that you created at the beginning of this guide. Otherwise, things will be iffy.

Congratulations, you made some custom music. Tell your friends and family how to do it, because music is fun.

Q: My music isn't playing, HELP!
A: This could be due to a lot of things. Make sure that you didn't make a typo in the .ini, and ensure you did the double-clicking step mentioned earlier. Also ensure that your SoundCue is set up properly. Also make sure you enabled the mutator, and you have the right map name put in.

Q: I want to release my playlist, what files do I need to include?
A: Include your music .UPK file and a small string pointing to the archetype. This'll make it easier for people to add the music into their INI files.

Q: What is bGlobalTrack?
A: bGlobalTrack is optional, if it's set to true then that particular playlist will play on all maps. If you want it to play on just one map, leave it out and make sure the map name is correct.

Q: When I connect to a server, it downloads MUS_MapMusicInfos!
A: Make sure you restored the backup that you created in the beginning of this guide.

Q: My playlist UPK file is really really huge! Why?
A: Make sure that you followed the cooking part in the previous section.