OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Headhunter on 01 Apr 2003, 16:43:48
-
Is there anyone who knows how to add custom music (mp3) into a mission?????? And is there anyone who knows how to make a description.ext??? I can only make a description.ext.txt!
-
Check the sound&cutsceenes board.
-
You can only put .oggs in game so you need to convert your .mp3, put this in your description.ext
class CfgMusic
{
tracks[]={yourmusicname};
class yourmusicname
{
name = "whatever";
sound[] = {\music\yourmusicname.ogg, db+10, 1.0};
};
};
For your other prob just single click your description.ext.txt and press F2 to rename it then delete the .txt bit.
-
i have already tryed that, and it's called description.ext. When i tryes to open it with a .ext file (witch i ofcourse can't) it remakes it to a txt insead of a text doc, and says description.ext.txt is not a valid win32 application. BUT it's only called description.ext!!! WHY???
-
Here are some scrns of what i mean.
1st scrn
-
2nd scrn
as u can see says it "description.ext.txt"
-
Just remove the .txt extension from the file and you are set to go. Simple isn't it?