Page 2 of 2

Re: Problems with sound take 2

Posted: Fri Feb 12, 2010 11:59 pm
by wishihadaname
Nah its fine only the weapon sounds the vo is fine.

Sound confusion

Posted: Mon Feb 15, 2010 12:34 am
by wishihadaname
I know other people have posted topics on this but the more I read the more I become confused. I'm trying to run a VO for my map, i've got all the essential parts I'm just confused on how I put them toghether.
Could someone please explain what each of the following lines is referancing? I've written in what I already understand though odds are i've mistaken that too.

1)LPR.req, if I understand correctly this gets turned into the .lvl file
Hidden/Spoiler:
ucft
{
REQN
{
"str"
"align=2048"
"LPRcw" <-- whats that referancing?
}
REQN
{
"lvl"
"LPRcw"<-- What file is this referancing?
}

}
Next is the LPRcw.req file, I believe that gets organised into a subgroup of the LPR.lvl file and is called up in the .lua
Hidden/Spoiler:
ucft
{
REQN
{
"bnk"
"align=2048"
"LPR"<-- what is that referancing?
}

REQN
{
"config"
"Soundprop"
"Extrasounds"<-- this refarances the .snd file right?
}
}
Third is LPR.st4, as I understand it this file calls up the various streams needed by the other files and names them
Hidden/Spoiler:
streams\amb_yavinMapRoom_fnt.wav Music
streams\amb_yavinMapRoom_bck.wav
streams\testing.wav LPR_VO <-- is this the proper way to name a stream or is it done differantly?
Fourth is the .asfx file which I think calls up the various effects that are referanced by various ODF's and isn't referanced anywere by anything other then them.
Hidden/Spoiler:
basically this calls a .wav and sets it to proper format, no problem here
effects\dc17_rifle.wav -resample xbox 22050 pc 22050
effects\dc17_antiarmor.wav -resample xbox 22050 pc 22050
effects\dc17_sniper.wav -resample xbox 22050 pc 22050
effects\dc17_rifle_reload.wav -resample xbox 22050 pc 22050
effects\dc17_sniper_reload.wav -resample xbox 22050 pc 22050
effects\dc17_sniper_choose.wav -resample xbox 22050 pc 22050
effects\dc17_aa_reload.wav -resample xbox 22050 pc 22050
effects\dc17_aa_choose.wav -resample xbox 22050 pc 22050
effects\dc17_out_of_ammo.wav -resample xbox 22050 pc 22050
effects\dc15s_side_arm_fire.wav -resample xbox 22050 pc 22050
effects\commando_injured_1.wav -resample xbox 22050 pc 22050
effects\commando_injured_2.wav -resample xbox 22050 pc 22050
effects\commando_injured_3.wav -resample xbox 22050 pc 22050
effects\testing.wav -resample xbox 22050 pc 22050
Fifth is the .snd file which... Well I have no idea what it does.... really need help cas i'm basically flying blind with this one.
Hidden/Spoiler:
}
SoundStreamProperties()
{
Name("testing"); <-- name for use in .lua
Group("objective_vo"); <-- idk
Inherit("vo_template"); <-- sets the way the sound is played
Stream("LPR_VO"); <--REALLY NEED HELP HERE WHAT DOES THIS DO AND WHAT IS IT REFERANCING!
SegmentList()
{
Segment("Testing", 1.0); // Testing <-- the actual .wav file I have in the streams folder
}
}
finally there is the .lua sound parts
BroadcastVoiceOver("testing") <-- this makes the sound play but is it referancing the stream or the .wav???

ReadDataFile("dc:sound\\LPR.lvl;LPRcw") <-- this calls for the former LPR.req and LPRcw.req to be avalable for use

OpenAudioStream("dc:sound\\LPR.lvl", "LPR_VO") <-- WHAT DAT?

I know its asking alot but I would really appreciate it if someone could please look over these at least explain the things I have no idea on, I would be eternally greatfull.

Topics merged -Staff

Re: Problems with sound take 2

Posted: Mon Feb 15, 2010 2:29 pm
by MercuryNoodles
http://www.secretsociety.com/forum/downloads/

If you haven't looked at the sound docs here, I suggest doing so. In fact, starting with SoundDoc-YA.txt would be best, as it explains what the files do. Just as a friendly reminder, don't try to read too much info at once. Some of it makes even my eyes glaze over. -_-

Re: Problems with sound take 2

Posted: Tue Feb 16, 2010 7:12 pm
by wishihadaname
Ok, there are a few parts I don't quiet get though.

Aside from that there are also global streams defined by a global req that are loaded on every level automatically.

Global streams, typically used for VO, are always available to be opened and used without a ReadDataFile line in the lua.

what does that mean? where is this global.req? And aparently this is needed for VO and its not really explained how to define these global streams.
Also the documents still havn't answered my question about were the VO streams are named, for example this line form my .snd file

SoundStreamProperties()
{
Name("testing"); -- is the name of the stream?
Group("objective_vo");
Inherit("vo_template");
Stream("LPR_VO"); -- or is this the name for the stream?
SegmentList()
{
Segment("Testing", 1.0); // Testing
}
}
Thats the only question I have left about sound.