OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Cedaie on 26 Aug 2002, 14:38:37
-
[attachment deleted by admin]
-
Hmm firstly you have to have a mono, 16-bits sound. And as far as I know, youmust have in each sound declared in description a Titles[] which "links" to a text in stringtable.csv, although you don't put any text there:
titles[] = {0,"" }; ==> titles [] = { 0, $STRM_Text1};, etc.
Here is an example of a stringtable.csv:
LANGUAGE,English,Spanish,Comment
STRM_Text1,"There was a farmer who had a dog","HabÃa un granjero que tenÃa un perro",,
You can have only a language -English- or several, Spanish, French, German, etc.
-
nope, not a peep, and now I just lost my Lip movements >:(
btw, the sound files are good, I tried them with playsound, and heard them
-
AAHH, i just got a message when I tried to save saying "config: some input after EndOfFile"
-
{
class CfgSounds
{
sounds[] = {officerv1,captv1,officerv2};
};
};
class officer1
{
name = "officerv1";
sound[] = {"officerv1.ogg", db-40, 1.0};
titles[] = {0,""
};
};
class captv1
{
name = "captv1";
sound[] = {"captv1.ogg", db+0, 1.0};
titles[] = {0,""
};
};
class officer2
{
name = "officerv2";
sound[] = {"officerv2.ogg", db+0, 1.0};
titles[] = {0,"$stroff"
};
Add these:
};
};
-
now I got a crash message saying: Users\C.Nicholas\Missions\Resistancebase.intro\description.ext':'{' encountered instead of '='
HEELP, i cant open my mission anymore!
-
{
class CfgSounds
{
sounds[] = {officerv1,captv1,officerv2};
}; <== TRy deleting this one
};
class officer1
{
name = "officerv1";
sound[] = {"officerv1.ogg", db-40, 1.0};
titles[] = {0,""
};
};
class captv1
{
name = "captv1";
sound[] = {"captv1.ogg", db+0, 1.0};
titles[] = {0,""
};
};
class officer2
{
name = "officerv2";
sound[] = {"officerv2.ogg", db+0, 1.0};
titles[] = {0,"$stroff"
};
Add these:
};
};
If it doesn't work and your mission doesn't open, just put your original description.ext, without the ghages I've suggested
-
People! people, oh boy! I defenetly need to get the tutorial online ASAP ::) or the cutscenes forum will be full with all the same questions all over again :P
class CfgSounds
{
sounds[] =
{
officerv1, captv1, officerv2
};
class officerv1
{
name = "officerv1";
sound[] = {"\sounds\officerv1.ogg", db+30, 1.0};
titles[] = { };
};
class captv1
{
name = "captv1";
sound[] = {"\sounds\captv1.ogg", db+30, 1.0};
titles[] = { };
};
class officerv2
{
name = "officerv2";
sound[] = {"\sounds\officerv2.ogg", db+30, 1.0};
titles[] = { };
};
};
Well i hope u know everything else, cos im not going to write everything, where to do what and how, cheers ;)
-
so I was missing the \sounds\ coz I put that in but still no worky, and yeah seals hurry up wif that tut :P
this is wierd, why doesnt anything work with this. I'm doin a new mission and still no work
UPDATE OMG IT WORKS!!!
I had to do civil say "civil1"----being that Civil1 is the "class", all along I thought it was the "name"
-
rargh, IT JUST STOPPED WORKING!!!!!!!!
what is up with this ^$*$&#( corobbery, I added another class sound and I get nothing again, here's the descript
class CfgSounds
{
sounds[] =
{
civil1,ap1
};
class civil1
{
name = "chat1";
sound[] = {"\sounds\German1.ogg", db+30, 1.0};
titles[] =
{
};
};
class ap1
{
name = "chat2";
sound[] = {"\sounds\ap1.ogg", db+30, 1.0};
titles[] =
{
};
};
};
look carefully!!!
-
class CfgSounds
{
sounds[] =
{
civil1,ap1
};
class civil1
{
name = "chat1";
sound[] = {"\sounds\German1.ogg", db+30, 1.0}; <- it should be "\sounds\civil1.ogg"
titles[] =
{
};
};
class ap1
{
name = "chat2";
sound[] = {"\sounds\ap1.ogg", db+30, 1.0};
titles[] =
{
};
};
};
The rest looks pretty good, though i would still change the names for civil1 and ap1 so u know whats where, cheers ;)
-
ok, now the top ones working, but the bottom one isnt yet, the lip movement for the bottom one works tho..?
do I have to restart everytime I add a new sound file?
does the player unit talk like all others?
does oggdrop occasionally not work?
does OFP do random stuff ups?
Heelpp!!!
-
Heloo, does anyone else have this problem???
First sound plays, lips and all, second sound doesnt play, but lip file does, this is my campaign I'm working on, if I cant get this to work, there will be no sound :'(
-
You don't need to put the sound dirs so this will work too, if your not using resistance you might need to exit the editor then reload before the game notices the changes in your description file. And are you sure your second sound is 16-bit, Mono & a constant bitrate? It needs to be longer than a second too.
class CfgSounds
{
sounds[] = {civil1,ap1};
class civil1
{
name = "chat1";
sound[] = {"German1.ogg", db+30, 1.0};
titles[] = {};
};
class ap1
{
name = "chat2";
sound[] = {"ap1.ogg", db+30, 1.0};
titles[] = {};
};
};
-
I haven't got resistance :-X :'( I want it so damn much, im gonna work my ass off to nab it off Wolfsbane :D
about that more than second thing, I dunno if it is, I can make it longer I supose, but that kinda sucks, what if you just want him to say "yes", damn you BIS! ;)
the second sound is what ever is default in OggDrop
and the file is straight off of where the first one came from (text-to-speech)
-
I haven't got resistance :-X :'( I want it so damn much, im gonna work my ass off to nab it off Wolfsbane :D
about that more than second thing, I dunno if it is, I can make it longer I supose, but that kinda sucks, what if you just want him to say "yes", damn you BIS! ;)
the second sound is what ever is default in OggDrop
and the file is straight off of where the first one came from (text-to-speech)
-
Rack this Up and ship it to depot island moderators, this ones for the books
all is working, thanks black_feather, it was 1 second with "sorry, i dont speak German" so I made it "oh, Im sorry, I don't speak German"
fickle thing.
Cheers OFPEC :D