:afro: wassup navy! :thumbsup:
Like yer tutty-nutty, maybe a bit more nutty than tutty, though
;D (
)
I've got a tiny detail to add/correct re. the size of .ogg's in OFP
=======================================
Also I have discovered that the most file size u can have is
3 megs maximum. But I have succeeded to have a file of 3.2 megs. Don't know why, but if u'll have files bigger then this
limit, don't start screaming and banging ur head on the table and checking files and stuff. Just simply try to avoid this
limit, alright, let's see what we have got here...
=======================================
I've been using music files at 4.3 MB and even more
so maybe it's just yer sound card
SoundBlaster LIVE or so ?!
;D (j/k right)
Well, just thought I'd like to add this - we wouldn't wanna miss out a great song just because of
a misunderstanding
yeah, that'll be it...
oh...
one more thing: howsabout cutting down this tut to, say 50% of the text above
;D
Som'n like :
--------------------
==========================================================================
How to add your own music of choise to your missions in OperationFlashpoint :
==========================================================================
Music / Sound in OFP is either WAV or OGG - these are the supported file types; you can't use ".mp3" music files in OFP.
This is the ultra-short OFP-MUSIC TUT, so hang on tight now, and don't think - just ask ONE question....
How can I create my own .ogg files so that I can hear my favourite music in a mission, e.g. when I drive a car?
==========================================================================
1. Download "dBPowerAMP Music Converter"
HERE.
This Music Converter simply allows you to convert files from, say your own audio CD track to a ".ogg" music file.
Save the downloaded music converter by selecting the ( by yourself - ) pre created folder:
C: / Programs / "dBPowerAMP" <----THIS ONE
Once this is downloaded, grab one more thing (the ".ogg" converter plugin) which is avaliable
HERE In short: Download and install the applications - first the converter, then the plugin (both are needed).
==========================================================================
2. Run the music convertor application. Select the file you want to convert and click the "open" button.
A small window appears indicating what format you want to convert the file to. If you installed the ".ogg codec" plugin
correctly you will see the "OggVorbis" option. Select it and then a larger window appears that allows you to specify
parameters for the destination as well as where you want to save the .ogg file.
You need to use the following parameters in order for the .ogg file to work with OperationFlashpoint :
Set the conversion settings to:
stereo
Bit rate 128kbps
Encoding = "Constant Bitrate"
Frequency = 44100hz
Now choose the folder where you want to save your file and click "convert", simple as that !!!
Then create a NEW folder in the mission folder you're currently working on.
Say, you have a "Malden-island" mission called "assault", then it would be in a folder named :
OperationFlashpoint / Users / YourName / missions / "assault.Eden" <----THIS is your mission folder (Eden is = Malden)
Create a new folder in here and name the folder: Music
this is where we're going to store our converted music files.
-----------------------------------------------------------------------------------------
So, now we will create a "description.ext" file in notepad.
Create an empty file in notepad and type in this:
-----------------------------------------------------------------------------------------
class CfgMusic
{
tracks[]={ TMB_track_1 }; (Replace "TMB" with your own tag of course, heh...)
class TMB_track_1
{
name = "City of Angels";
sound[] = {\music\TMB_track_1.ogg, db+0, 1.0};
};
};
--------------------------------------
when defining a class like "CfgMusic" you simply define which tracks you have in your Music folder.
Now, lets' take a close look at the first class "TMB_track_1": here we define the new class for the song
which we specified in the "track" class (shown below) :
{
name = "City of Angels";
};
this is the "name" that will be displayed in the F3\trigger\effects\"music" drop-down menu.
db+0 is the volume of the sound. If you leave 0 then it will play at the volume you have specified in the game options.
The 1.0 is the pitch adjustment option of the music file.
Now save this NotePad file: Select *All files* and name it "description.ext" (without the quote marks) and save to :
OperationFlashpoint / Users / YourName / missions / assault.Eden (your mission folder, remember?!)
Yeah, thats it. Now you can select the "City of Angels" track from any trigger's "Music" menu in the mission.
----------------------------------------------------
PS. this was just the music part of the TUT yanno... ease up the reading for ppl and stuff like that
(well, just a suggestion...prolly not bug free but wtf.)
CYA :cheers: