|
|
This is a rough guide. If you find any problems or if anything is unclear submit a reply or better yet shoot me a PM and I'll try to address it.
Recommended Programs:
7-zip is a free, open source file compressor (and decompressor) useful for managing .s2z files.
Switch Sound File Converter unless the sounds you want to use are already in .ogg format, you'll need a converter to get them to it. It's free and works nicely.
GCFScape a simple program used to browse Steam .gcf files. Useful for getting sound files.
Getting Started:
Firstly, familiarize yourself with the default sounds a hero makes. To do this, open your HoN game folder (C:\Program Files\Heroes of Newerth\game\) Locate the file resources0.s2z. If you have 7-zip installed, just right click the file and press Extract files...
Extract it anywhere you like, I chose the desktop for convenience. Open the newly extract folder and go to this path: *\resources0\heroes\. There you'll find a bunch of folders with all the currently implemented heroes. Chose the one you want to replace, if it doesn't have a voice already in game, choose one you're familiar with that does. I'll use The Dark Lady. Or, in this case, vanya.
.ogg Files:
In each hero folder you'll see different subfolders. Open Sounds and you'll see a few .ogg files. Those are audio files. If you have the sound file converter installed you should be able to open the .ogg files and preview them. I suggest you do this to a few of the files to hear what they sound like and hopefully you'll know when these sounds are played.
These are the files you are going to replace.
Making a new resources# folder:
You need to make a new resources#.s2z file. For now, just make a folder named resources# to substitute for it. (.s2z essentially serve as a folder anyways). Use resource0.s2z as a guide to what you need to make. Here's what I came up with.
Notice that I only have 1 ability folder, that's because you only need to acknowledge the folders and files you're making changes to. In this case, I'm changing a sound on the ultimate (Ability 4) so, I made a folder to mirror it. Any files/folders you don't include in your resource#.s2z file will still be default in the game.
Adding your sound files:
Now that you've got your folders made, you're ready to add sound files. Take note to what the default names of the sounds are, and place your .ogg sound files in to replace them. (Use the audio converter to convert your files into .ogg)
An example: If I wanted the dark lady to play a different sound when she dies, say one from Team Fortress 2. I'd take the sound I wanted to use (painsevere.wav) and convert it to .ogg (painsevere.ogg) and place it into your newly created directory (*\resource#\heroes\vanya\sounds\) that matches the one from resources0.s2z and rename it death.ogg
Rinse and repeat as many times as you want to achieve your desired sound-remake.
Creating the resources#.s2z file:
When you're done adding sounds to your directory, create a new zip file.
![]()
and name it resources# (Note that you have to reserve a # for the mod repository) Now you should have a zip folder named resources#.zip. Good, open your resources# folder that you created earlier, and copy the folder heroes. Paste heroes into your resources#.zip folder.
Rename resources#.zip to resources#.s2z ignore the prompts about changing the file type (that's what we want). Once your .zip is a .s2z, paste it into your C:\Program Files\Heroes of Newerth\game\ folder. If everything goes correctly, your hero should now make new sounds.
Last edited by tso; 02-18-2010 at 05:33 PM.
Very nice guide.
Seems pretty legit. Requesting sticky for those of us who want to try our hand at this and dont want to dig for it <sheepish grin />
*pulls out the tacky glue, applies to back of the thread*
STICKY THIS!!!!
Btw, nice guide ;D
Bump for the sake of win; need moar sticky.
English:
This is an awesome guide and I was just wondering how to do this. Thanks go to maxghost for linking it on another topic I happened to read by chance. Obviously, more thanks go to you for making the guide. I REALLY hope this gets stickied for the rest of us who simply just don't know this exists.
EDIT:
What happens when a hero doesn't already have sounds? Is it possible to add them, or do we have to wait?
awesome guide , testing it now with my custom funny sounds.
mod please sticky!
You can add sounds for them, you just use a hero that has sounds as a guide and rename the folder to the name of the hero w/o sounds.
In my guide I used vanya, after you're done adding sounds you could rename it to behemoth to achieve the same effect, but for behemoth.
1.
Is there any way to achieve to i.e:
Add more than one death sound?
Like:
death_2.ogg
If yes, how?
2.
Is the soundeffects randomed?
Like how often will it take:
select_1
select_3
and does it always start with number 1?
I got some custom sounds to work, but I have one problem: They are barely audible! I've tried using an audio editor to go in and amplify the sound effects, but they can still barely be heard in game. I've even made sure that they sound about as loud as the sound effects would be for a regular hero's voice. Is there a way to fix this?
Last edited by Eirk; 12-03-2009 at 03:28 AM.
I think I may have found a workaround. If anyone else out there is having trouble with sound files not being loud enough, there's a free website that will make them louder for you without having to mess around with a sound amplifier.
V File
any mention of audacity for editting the sounds?
in my experience, winzip causes problems when you do "archive" and intead you have to do "send to compessed folder"
but that;s probably one of hte reasons why u recomended 7 zip huh
Last edited by gwho; 12-03-2009 at 07:23 PM.
hey verry cool thnks , can you tell me where to find game sounds ? i want to replace the double kill sound to "leroy jenkins" or the genocide sound to "leroy you idiot" etc .
but the hero sounds are also pretty awsum , gonna try it out in war3 :P
Also it may be helpful to add that HoN only works with 22.5 sample rate, 45kbps bitrate files.
Perhaps show how to get to other soundfiles, (unless it's obvious, I'm at school so I can't check) and any other little tidbits of info such as YSAliens' last post, and this really needs a sticky.
Putting this in the Customization section, and stickying.![]()