OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: cobra3 on 15 Oct 2002, 18:50:10

Title: can i make 2 description.ext files?
Post 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.
Title: Re:can i make 2 description.ext files?
Post by: seanver on 15 Oct 2002, 19:00:52
You have to 'define' the two files. If you have this:
Code: [Select]
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:

Code: [Select]
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 ;

Code: [Select]
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 };
};

};
Title: Re:can i make 2 description.ext files?
Post by: Archangel Scream on 15 Oct 2002, 19:55:57

In other words, everything goes in the one des.ext.

Title: Re:can i make 2 description.ext files?
Post by: cobra3 on 15 Oct 2002, 21:40:09
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.
Title: Re:can i make 2 description.ext files?
Post by: cobra3 on 16 Oct 2002, 15:50:18
somebody can please answar me ???
Title: Re:can i make 2 description.ext files?
Post by: A5hley on 17 Oct 2002, 21:32:29
Its alrdy answered in the first reply
Title: Re:can i make 2 description.ext files?
Post by: cobra3 on 18 Oct 2002, 07:56:22
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...
Title: Re:can i make 2 description.ext files?
Post by: Archangel Scream on 18 Oct 2002, 10:05:33

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.

Title: Re:can i make 2 description.ext files?
Post by: cobra3 on 18 Oct 2002, 15:53:52
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.