Left 4 Dead 2

Left 4 Dead 2

44 ratings
how to (properly) create your own custom horde music
By yaoi mandel
so basically, after countless weeks of research and testing, i have created a formula that allows for you to create your own custom horde music. (and not the loop the same part of the song everytime kind, the dynamic kind.)

pretty pawggers, i guess.
3
2
   
Award
Favorite
Favorited
Unfavorite
cool introduction
alright, theres not enough guides on this topic, or no guides at all really.

i suppose you clicked on this because, like, you want to create a sound addon thats as cool as mine :) (im kidding, ofc, my addons not that cool)

but the real reason you clicked on this is because you want create to blood pumping, adrenaline rush horde music (or you want to loop hentai sound effect #2 for all of the horde music, i really dont care to be honest)

what matters is that you wanna learn i guess, and with this knowledge, you can do some cool stuff. yeah.
how it works
so, about two months ago, i was working on my sound mod. i was looking at the horde music structure, and noticed a pattern with the drums n stuff. they were labeled like this example:

drums01a
drums01b
drums02a
drums02b
drums02c
drums03a
drums03b

and so on...

notice its labeled 01a, 01b, etc. the game will select the files in numerical order. however, it will select randomly from the subsections (letters) that come after the number.

so you will have a music chain that goes like this:

drums01a > drums02c > drums03b > etc.

once it reaches the end of this chain, it will loop back to the start (i.e. drums01a,b,c). however it will be a new chain than the one previously mentioned above. as an example, instead of drums01a, you would get either drums01b or drums 01c. (but you can also get drums01a again, if rng says so). the same would follow with the other files too.

stuff you need
now that we know how it works, its time to make stuff happen.

but you cant just, like, stick files in the game directory where the music is located. you need some stuff, like the title of this section suggests.

you need:
knowledge of left 4 dead 2s file structure, which you can read up on here or something
audacity [www.audacityteam.org] (to edit and trim your .mp3 files)
crowbar (because authoring tools is ♥♥♥♥)

my bitcoin miner

once you got all that stuff, follow the steps below like you follow your favorite streamer on twitter.
epic steps
so if you read up on this guide you should already know what to do, if you didn't or you already have superior knowledge, ill just tl;dr the important bits.

  • make sure the new sound file is the exact length of the game's default sound file
  • make sure the new sound file's encoding, hz, and signed bit
  • do the file structure exactly like the game's file structure

now the fun part :)

so find some song, preferably instrumental because of the flow and clean cutability in instrumental tracks.

examples of good loopable music can range anywhere from fitting music to sort of fitting music?

now, as the guide says, trim the songs to the exact length of the vanilla files. make sure that they have they exact same encoding, hz, and signed bits. and you should be set and good to go. :D

oh, as a bit of an extra thing, maybe you have little patience and notice the exceedingly large amount of map specific sound files within the horde music, thinking to your self "damn, this is gonna take a while". well, this addon created by the unknown solves that issue! while at the same time providing a template! :)


https://steamcommunity.com/sharedfiles/filedetails/?id=2393676184
the end
i hoped this guide helped you out :D

yeah im not gonna beg for likes, favorites or anything like that. i like sharing this kinda stuff lol.

have a day! :)
25 Comments
leekebumr34 Apr 29 @ 11:04pm 
I'm pretty sure this will help a lot, just kinda hope this'll be a video on YouTube, because I want to replace the hoard themes with Bad Juice from PVZ GW
yaoi mandel  [author] Jan 29 @ 7:48am 
you really just have to mess around in audacity to find a volume that works, i had to do it with my sound packs, usually 125% is the golden spot iirc
Asriel Jan 29 @ 5:29am 
Your guide worked. Thank you, but I think my audio is barely audiable. Is there a specific volume/decibel I have to put in? I put it on 1.5.
Gudiwa Dec 7, 2024 @ 12:13pm 
I say seemingly because sometimes there are patterns, sometimes there aren't. From my experience, if the ai chose the drums08 group, it will choose between 08e and 08f to play after 08a and 08b and vice versa. If the ai picked the drums01 group, it will just alternate between 01c and 01d and will only play 01a after 01c have been played once or six times.
Gudiwa Dec 7, 2024 @ 12:13pm 
I did a lot of observation and noticed that the pattern is different (idk why).

The drum patterns are grouped according to their number (e.g drums01b, c, d are grouped. drums 2c, d are grouped. drums03a, b are grouped, etc).

The drums with and without 0s are grouped separately (e.g drums03a, b is grouped separately from drums3c, d, f)

In my observations, the horde theme will not always start with drums1, it will randomly pick a drum group to start with (e.g it can start with drums08a, drums02c, drums09c, etc).
However, it will always start with the first letter in the group (e.g if it picked drums01, it will start with drums01b. If it picked drums02, it will start with drums02c, etc).

From the drum group it chose, it will "seemingly" pick the next drum to play in random but it will not repeat the pattern it just played.
Example: from drums08a -> drums08e -> drums08b -> drums08f -> drums08b -> drums08e etc
Shorty Collins Jul 24, 2023 @ 12:32pm 
ADVENTURE TIME-ESQUE UNUSUAL EUPHEMISM, YOU'RE A LIFE SAVER! Now with this guide, I'll be able to replace horde music with Roblox!

I would like to present to you your long overdue trophy.
W Jan 28, 2022 @ 5:10pm 
*:\STEAM\steamapps\common\Left 4 Dead 2\left4dead2\sound\music\zombat\horde u meaning the location of this?

just in case i put the screenshot here .:winter2019happyyul:
yaoi mandel  [author] Jan 28, 2022 @ 10:08am 
as for the ones without the 0s, i'd assume it'll be in the same chain, but might i ask, where are these files located?

gaben doesnt like 4 or 6 either it may seem :PuroAmazed:
yaoi mandel  [author] Jan 28, 2022 @ 10:06am 
yes, it'll follow the number sequence. it selects a random file based on the letter at the end of the name. an example sequence would be;

drums01a -> drums 02c -> drums03d -> drums05a -> etc.

at the end, it'll loop back around to a random file under "drums01"
W Jan 28, 2022 @ 8:52am 
If yes it means the chain will go entirely till the numbers end "drums01 to drums11" right?:dgeyes: