OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Colossos on 08 Jun 2005, 13:26:44

Title: Tutorial on costum sound?
Post by: Colossos on 08 Jun 2005, 13:26:44
Can anyone show me where I can find a Tutorial on how to use costum sounds?And how to transfer .mp3 files into .ogg files? Where do I find these costum sounds? Tell me everything  ;)
Title: Re:Tutorial on costum sound?
Post by: THobson on 08 Jun 2005, 13:57:21
Try:
http://www.ofpec.com/editors/resource_view.php?id=826 (http://www.ofpec.com/editors/resource_view.php?id=826)
Title: Re:Tutorial on costum sound?
Post by: Chris Death on 08 Jun 2005, 14:44:34
And then there's the editing/scripting: sounds & cutscenes section on the forums, where you find as very
first thread this:

http://www.ofpec.com/yabbse/index.php?board=9;action=display;threadid=23960

~S~ CD
Title: Re:Tutorial on costum sound?
Post by: The-Architect on 08 Jun 2005, 18:40:11
If you want to know how to put sound into your mission here's a short tute,

Get Goldwave from here,

http://www.goldwave.com/release.html

Then record your voice using Goldwave and a mic and then save it as .ogg. You don't need to download Goldwave actually but its a very good and handy program. Any .ogg will do. One from the campaign folder or single player missions folder will do fine.

Next create a new folder in the folder where your mission is. Call it sound. It will be created in the Flashpoint folder summit like this,

C:\Program Files\Codemasters\Operation Flashpoint\Users\yourname\missions\yourmissionname

Next you must create a Description file using the notepad or wordpad.
Save it as Description.ext. Where it says save as type: set it to All Files

In this notepad file put this,




class CfgSounds
{
sounds[] = {Yoursoundfilename };
class Yoursoundfilename
{
name = "Yoursoundfilename";
sound[] = {"Yoursoundfilename.ogg", db+20, 1.0};
titles[] =
{
0, $STRM_Yoursoundfilename
};
};




You can cut and paste that bit up there.
Save it.

If you've put everything in the right place then the file should appear in the editor. Just make a trigger and in the second page you can call it up from the same place as the BIS default sounds.
Title: Re:Tutorial on costum sound?
Post by: Colossos on 08 Jun 2005, 20:06:05
Thanks Architect, it works fine now!
Is there anywhere a site filled with costum sounds or do I have to speak them all in manually?
Title: Re:Tutorial on costum sound?
Post by: The-Architect on 09 Jun 2005, 11:27:07
I used to unpbo the BIS campaigns and chop up what their characters were saying to get what I wanted. People didn't notice though and though I'd just lifted the phrases straight out so I stopped and started to do everything myself.
If you need help you can always go to the recruitment lounge and hire some voice actors there. Otherwise its gonna be a case of trawling the web and all you old games discs for sound files.
Title: Re:Tutorial on costum sound?
Post by: Colossos on 13 Jun 2005, 18:02:35
Hmm, interesting.  Can you unpbo the bis campaign? I can unpbo the single missions but did not know you could unpbo the campaign. Do you have to do something special?
Title: Re:Tutorial on costum sound?
Post by: qqqqqq on 14 Jun 2005, 12:10:37
Just use Amalfi's pbo decryptor 1.5 as usual.