OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: cobra3 on 15 Oct 2002, 18:50:10
-
hi all ;D,
i am was created a OGG file, but it was over 1 minute, so i have to create 2 different OGG files. my question is: can i make 2 description.ext files, and put the 2 OGG files in the Sound directory of my mission, and this will work?
please hurry up to answare me, thanks.
-
You have to 'define' the two files. If you have this:
class CfgSounds
{
sounds[] = {};
class Voice1
{
name = "Voice 1";
sound[] = {"\sounds\01.ogg", db-40, 1.0};
titles[] = { 0, $STRM_Text1 };
};
};
You should add this line:
class Voice2
{
name = "Voice 2";
sound[] = {"\sounds\02.ogg", db-40, 1.0};
titles[] = { 0, $STRM_Text2 };
};
Between the end of the voice 1 and the last ;
class CfgSounds
{
sounds[] = {};
class Voice1
{
name = "Voice 1";
sound[] = {"\sounds\01.ogg", db-40, 1.0};
titles[] = { 0, $STRM_Text1 };
};
class Voice2
{
name = "Voice 2";
sound[] = {"\sounds\02.ogg", db-40, 1.0};
titles[] = { 0, $STRM_Text2 };
};
};
-
In other words, everything goes in the one des.ext.
-
thank you very mach ;), but can you tell me the whole text i need to write in new description.ext for 2 OGG files? i mean that i want to delet the old description.ext file and create new. can you tell me the full text i need to write in the description.ext ? i want to do cut&paste.
thanks.
-
somebody can please answar me ???
-
Its alrdy answered in the first reply
-
yes but i want it paved, i mean in paragraph, so i can do cut&paste. in the first reply, he write me that in 3 paragraph, and i dont know if to do enter(go down a line) or space or somethingelce. pleas help me...
-
Best way to learn is from the master himself at:
http://members.lycos.co.uk/bloodmixer
and read his sound tutorial. It includes a template for multiple custom tracks which can be copy/pasted - though you will need to change the music/voice titles - of course.
-
i enter the tamplete, but its not writed paved...so i cant do copy&paste. what to do?
if you find some that writing paved, please paste that here.