A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Sound problems

Author Topic: Sound problems (2 messages, Page 1 of 1)
Moderators: Dennis

Polamee
Joined: Feb 25, 2008

MP2SPMT's founder


Posted: Jan 9, 2009 03:16 AM    Msg. 1 of 2       
Quote: --- Original message by: drillinstructor

BEFORE YOU GO ON, download this:

http://hce.halomaps.org/index.cfm?fid=1632

From the sounds of it, you haven't put a sound in-game before, so now would be an opportune time to let you know that the OGG encoders that the HEK comes with are horribly outdated. The link provides you with some working encoders. You will install these files in the same place as the other OGG files. This is imperative if you are to follow the next set of directions.

Now, with that said, the easy way to do this is to get a hold of the program Audacity. Audacity can be found here: http://audacity.sourceforge.net/download/windows

Once you have that downloaded and installed, you will open it, and then open up my file menu. You will scroll down to my "open" button, click on it, and then find your MP3, so that you can open it.

Once you open your MP3, you will do a couple of things to it. Because this is a music file, and not an ordinary sound file (such as a gunshot), you will change it so that the sound plays at 44100 KHz. Picture of the option you're setting:



It is in the lower left corner of the Audacity window.

Once you have done that, you will go to my File menu again and scroll down to my "Export as WAV" button. Click it. It will ask you where to save it. You will save it in your data folder inside of your Halo Custom Edition folder. For organization purposes, you might want to create a "sound" folder within your data folder, and a "music" folder within the sound folder. This is also to set it up for Tool. Note that if your MP3 file is longer than about... I'd say 1:15 (75 seconds), it may not go through right off - you will need to split it into permutations and then put it through. This is a more complicated process. I will explain on request (if your soundtrack happens to be longer than that, post here and tell me to explain), but for now, I'm just going to concentrate on telling you how to get it in-game.
Save it in the folder I just advised (or one of your choice, as long as it is inside of the data folder). Now, you will put it through Tool.

The tool command will look like this. I am going to have you import it as an OGG file - it's the best quality, and takes up relatively little space. Have a look.

tool sounds sound\music\example ogg 1


If everything goes to plan, Tool will compress the file, and when it says done, your sound will now be in your tags folder. It will be in the folder that corresponds with the folder you inserted the original WAV file in the data folder. This is why I told you to remember where you put it in the data folder.

Now, it is a sound file. In order to make it a sound_looping file, you'll go to Guerilla, and create a sound_looping file. Simple, right?

You will scroll down to my Tracks section, add a new one, and put your sound file in the "Loop" field only (if it is only one track - this will change if you have to divide it into permutations. Once again, let me know if it doesn't go through Tool).

Save the sound_looping file, and you're done.


I edited my post. New text is in italics.
Edited by drillinstructor on Dec 4, 2008 at 11:55 PM


Look at the bold part.

Now my file happens to 3 minutes. How do I permutate it?
Edited by Polamee on Jan 9, 2009 at 03:17 AM


Ermac
Joined: Nov 24, 2006

Pops up from time to time


Posted: Jan 9, 2009 08:07 PM    Msg. 2 of 2       
The exact length is three minutes, right?

If it is less than 3:45, split the track into three equal parts, using Audacity. If it is more than 3:45, split it into four equal parts. Save all parts in the same folder, naming them like this: song1, song2, song3, etc.

Run it through Tool.

Go into your newly created sound tag, and at the very top, check off "split long sound into permutations".

Run it through Tool again.

Now, you are going to notice when you play it in-game that it is going to start playing from either the beginning of the song, or at the beginning of the other two or three parts you split it into. I have the fix for that.

Follow these directions VERY closely. Go down to the actual permutation count. It is just above the Permutations section. It should say either 3 or 4, depending on how many parts you split your file into.

Change it so it says 1. This means that it will play from the very beginning of the song when you are done doing this.

Now, go down to the Permutations section. The first four permutations should be numbered song1, song2, song3, and song4 (if you split the song into four parts. If three, then only the first three count).

Go to the first permutation, and look at the next permutation index.



In this picture, it's the fifth permutation. Go to that permutation, go all the way down to the FIRST -1 you see. That -1 is what usually causes the loops (or causes the song to end, if said song is not a loop). Note that the beginning of the second permutation is RIGHT after this permutation. Therefore, you are going to replace that -1 with a 1. This will tell the sound to continue to the second permutation from the first permutation.

Now, scroll down to the last part of the second permutation. You will run into yet another -1. You want this part to continue to the third permutation, so change that -1 into a 2.

If you have a FOURTH permutation, scroll down to the last part of the third permutation. Once again, you will run into another -1. You want this part to continue to the fourth permutation. Change that -1 into a 3.

Save your file and test it in-game.

 

 
Previous Older Thread    Next newer Thread







Time: Sat January 21, 2023 8:50 AM 125 ms.
A Halo Maps Website