Page 1 of 1
Mo' sounds, mo' problems
Posted: Wed Jan 21, 2009 10:22 am
by MandeRek
Okay, weird problem. At first i munged 1 sound, and it worked fine.. Now, I've added 5 more sounds, but it's giving me this error:
Code: Select all
Munging zercw.req
ERROR[levelpack zercw.req]:d:\bf2_modtools\data_zer\_build\sound\worlds\zer\munged\pc\zer.bnk is not a binary UCF file!ERROR[levelpack zercw.req]:d:\bf2_modtools\data_zer\_build\sound\worlds\zer\munged\pc\zer.bnk is not a binary UCF file! [continuing]
2 Errors 0 Warnings
ERROR[levelpack zer.req]:Expecting bracket, but none was found.
File : d:\bf2_modtools\data_zer\_build\sound\worlds\zer\munged\pc\zercw.lvl.req(1)...
ucft <--
ERROR[levelpack zer.req]:Expecting bracket, but none was found.
File : d:\bf2_modtools\data_zer\_build\sound\worlds\zer\munged\pc\zercw.lvl.req(1)...
ucft <--
2 Errors 0 Warnings
Don't see what's wrong though, in this req:
Code: Select all
ucft
{
REQN
{
"bnk"
"align=2048"
"ZERcw"
"ZER"
}
REQN
{
"config"
"global_world"
"durge_spawn"
}
REQN
{
"config"
"global_world"
"cydon_spawn"
}
REQN
{
"config"
"global_world"
"sevrance_spawn"
}
REQN
{
"config"
"global_world"
"echuu_spawn"
}
REQN
{
"config"
"global_world"
"trenox_spawn"
}
REQN
{
"config"
"global_world"
"artel_spawn"
}
}
Yes, i know the ..._spawn could be all under each other but that didn't work so i tried this!
Re: More sounds means more problems
Posted: Wed Jan 21, 2009 10:35 am
by Yodakid
I can't see any wrong but try to compare with my working reqs and files (I have more than one sound working)
LOP.req
LOPcw.req:
Rifle1.snd:
LOP.asfx:
Re: More sounds means more problems
Posted: Wed Jan 21, 2009 11:13 am
by MandeRek
Did actually the same as you did, but now i get these problems:
Code: Select all
Munging zercw.req
ERROR[levelpack zercw.req]:d:\bf2_modtools\data_zer\_build\sound\worlds\zer\munged\pc\zer.bnk is not a binary UCF file!ERROR[levelpack zercw.req]:d:\bf2_modtools\data_zer\_build\sound\worlds\zer\munged\pc\zer.bnk is not a binary UCF file! [continuing]
2 Errors 0 Warnings
Munging zer.req
ERROR[levelpack zer.req]:Expecting bracket, but none was found.
File : d:\bf2_modtools\data_zer\_build\sound\worlds\zer\munged\pc\zercw.lvl.req(1)...
ucft <--
ERROR[levelpack zer.req]:Expecting bracket, but none was found.
File : d:\bf2_modtools\data_zer\_build\sound\worlds\zer\munged\pc\zercw.lvl.req(1)...
ucft <--
[continuing]
2 Errors 0 Warnings
Re: More sounds means more problems
Posted: Wed Jan 21, 2009 11:16 am
by Yodakid
Hmmm, and your sound files are in right format?
Re: More sounds means more problems
Posted: Wed Jan 21, 2009 12:49 pm
by Bantha55
MandeRek why have you added the samples to the sound req?
Your ZER req should look like this:
Code: Select all
ucft
{
REQN
{
"str"
"align=2048"
}
REQN
{
"lvl"
"ZERcw"
}
}
and your ZERcw req should look like this:
Code: Select all
ucft
{
REQN
{
"bnk"
"align=2048"
"ZERcw"
"ZER" -- if it exists!
}
REQN
{
"config"
--*your snd. file´s name*
--(If you want to add some shipped sound codes, too, add them here; for example "cis_fly_droidstarfighter")
}
}
Put your samples in the effect folder and create an .asfx for them(*your sound file´s name*.asfx)
Code: Select all
effects\durge_spawn.wav -resample xbox 22050 pc 22050
Yodakid you just added laser sounds. For custom speeches it needs a different setup in the .snd file.(*your sound file´s name*.snd)
Code: Select all
SoundProperties()
{
Name("******_chatter_wound");
Group("imp_inf_pain_vo");
Inherit("pain_chatter_template");
PlayInterval(0.0);
PlayIntervalDev(0.0);
PlayProbability(0.85);
SampleList()
{
Sample("******_chatter_wound", 0.16);
}
}
This is just for pain vo but the other setups should look somehow like this, too. But I´m pretty sure that it would work if you just use this setup for the spawn sounds.
(like this:
Code: Select all
SoundProperties()
{
Name("durge_spawn");
Group("imp_inf_pain_vo");
Inherit("pain_chatter_template");
PlayInterval(0.0);
PlayIntervalDev(0.0);
PlayProbability(0.85);
SampleList()
{
Sample("durge_spawn", 0.16);
}
}
)
Try it and if it still doesn´t work watch out Majin Revan´s adding custom sounds tut if you made a mistake.
Re: More sounds means more problems
Posted: Wed Jan 21, 2009 6:46 pm
by MandeRek
As said bantha, i know all these things, they worked before.. With 1 sound. Also the asfx and whatever, only the reqs give errors, that's what i said. I'll give those reqs a go, but they're the same as my old ones..
I do know how to add custom sounds, but this is some weird error which is illogical, which is why i ask for help
Thanks for writing a whole tut for me though

Appreciate, but knew it already
EDIT
Sorry for double post but this is killing me..
ZER.req:
ZERcw.req
ZER.asfx
hero_spawn.snd
And all wav files, correctly exported, are in effects. I'm having no error, a 35kb sound file and no single sound working ingame..
Got ideas? I'll also really appreciate if someone could get me a zer folder for in sounds/worlds with everything correctly setup, and i just need to paste the effects map and hero_spawn.snd in

Re: More sounds means more problems
Posted: Thu Jan 22, 2009 1:07 pm
by Bantha55
Ah, know I have the mistake!
ZERcw.req:
Code: Select all
ucft
{
REQN
{
"bnk"
"align=2048"
"ZERcw"
"hero_spawn"
}
REQN
{
"config"
"global_world"
"hero_spawn"
}
}
The .snd file´s name has to be added under bnk, too. Sorry I made the same mistake in the example I posted above. Try it an now it´ll work!
Re: More sounds means more problems
Posted: Thu Jan 22, 2009 5:15 pm
by MandeRek
Okay, that obviously also didn't work.. Now i've checked the lua and odfs 10.000 times, and as said; when i had one sound everything worked fine. But since this sound also doesn't show up anymore something must be going wrong

Re: More sounds means more problems
Posted: Fri Jan 23, 2009 10:07 am
by Bantha55
Ok.
Then there are two things left that could help:
1) a sound clean (always use the clean bat in data_***/_build/sound)
2) Just remove all sound samples that are newly listed from the .snd and the .asfx. See if it works again. If yes, add the new samples back to the scripts one by one. This way you can check which of them has a mistake.
Re: More sounds means more problems
Posted: Mon Jan 26, 2009 10:18 am
by MandeRek
Okay, still no succes. Could someone help me
a lot and upload a working *** sound folder, so i only have to rename *** and add in my sounds/.snd-file?
That would be soooo great

Re: More sounds means more problems
Posted: Mon Jan 26, 2009 12:06 pm
by Maveritchell
I'll try and get around to that, but before I do that I had to rename your topic, it was just
asking for it. 
Re: More sounds means more problems
Posted: Mon Jan 26, 2009 12:33 pm
by MandeRek
Maveritchell wrote:I'll try and get around to that, but before I do that I had to rename your topic, it was just
asking for it. 
Haha, great one

Thanks for helping
