Importing, converting and using/triggering sounds
Hi there. It's me. Again.
I'm really not sure if I'm just too stupid to find the information or all those modding tools and work flows are really really badly documented - if at all. Pretty much every time I wanted to try something in my test map that was beyond simple geometry and placing pre-made stuff, I have to come to the forums and open yet another thread. As fun the tools are to use, all these bumps in the road are very frustrating.
But back on topic:
I have 3 sound files, all in MP3 format. Now I want to use them in a map and have no clue where to start. I'm pretty sure I have to convert them into some special format. On the wiki page for the Builder I found the info "soundsrc - Converts/Packs .fdp to FMOD format/library". So I convert my sounds into .fdp format and then have builder convert them into another format? I can't find information on the .fdp audio format anywhere
Can anybody please explain to me, step-by-step, who to get my sound files into a state where I can use them in my map?
And then I'd like to know how I can use the sounds to achieve the following:
#1: a continous looping sounds (background ambience)
#2: a sound that is triggered by something (let's use the "metal detector" as an example)
#3: a sound that has no range restriction and is not affected by walls etc. between the source and the players (sound of an earthquake, a global radio transmission, etc.)
Hope somebody of you has some sage knowledge that he can share with me
Thank you
I'm really not sure if I'm just too stupid to find the information or all those modding tools and work flows are really really badly documented - if at all. Pretty much every time I wanted to try something in my test map that was beyond simple geometry and placing pre-made stuff, I have to come to the forums and open yet another thread. As fun the tools are to use, all these bumps in the road are very frustrating.
But back on topic:
I have 3 sound files, all in MP3 format. Now I want to use them in a map and have no clue where to start. I'm pretty sure I have to convert them into some special format. On the wiki page for the Builder I found the info "soundsrc - Converts/Packs .fdp to FMOD format/library". So I convert my sounds into .fdp format and then have builder convert them into another format? I can't find information on the .fdp audio format anywhere
Can anybody please explain to me, step-by-step, who to get my sound files into a state where I can use them in my map?
And then I'd like to know how I can use the sounds to achieve the following:
#1: a continous looping sounds (background ambience)
#2: a sound that is triggered by something (let's use the "metal detector" as an example)
#3: a sound that has no range restriction and is not affected by walls etc. between the source and the players (sound of an earthquake, a global radio transmission, etc.)
Hope somebody of you has some sage knowledge that he can share with me
Thank you
Comments
I downloaded the FMOD Studio from their website and tried to open \Steam\SteamApps\common\natural selection 2\assets\soundsrc\NS2.fpd but it crashes at 10% >_<
Since .fdp is "FMOD Designer Project" I decided to download the legacy FMOD Designer and try it again, but it throws error messages like crazy (the first one 30+ times):
http://i.imgur.com/mw6As2G.png
http://i.imgur.com/eMgC1JF.png
I'll read a couple of tutorials about FMOD Designer and see if I can somehow create a .fdp this way. In theory, putting that text.fdp in the /source/soundsrc/ folder and running builder should give me something to use in my map... I'll report back how it turnes out when I had the time to try it.
btw: Since the sound creation process is not only useful for us mappers, maybe the modding subforum might be the better place for this?
edit: BBCode broken?
http://forums.unknownworlds.com/discussion/124351/sound-mod-how-to-add-wav-in-fsb-file
Using builder to convert doesn't seem to work at all, it seems to start the conversion twice at the same time and both processes keep on running ad infinitum (stopped it after 20min).
So I used the build option of FMOD designer. It created the .fev and .fsb files within 1 second.
I can open the .fev in the editor and it correctly lists my folder and file name, but throws and error when trying to play it:
Looks weird to me, becaue both files were created by the same process so they should match (at least I think they should).
I don't see anything suspecious in the build protocol:
message log
and there were no errors during the build process.
Read my post you need 4.38 (youll find the download link in my old post)
Thank you both for your contributions. I now have an ambience sound looping in the background. However I still have questions remaining, mostly how to get a sound to be "non-directional". I mean a sound that has no source you can pinpoint by turning your character left and right. It should just play with the stereo settings provided by the original sound file as long as you are in range of the sound.