Problems with sound take 2
Moderator: Moderators
- wishihadaname
- Captain

- Posts: 493
- Joined: Fri Dec 28, 2007 2:10 pm
- Projects :: The Corellian Resistance
- Location: Look to your left.... no, your other left....
Re: Problems with sound take 2
Nah its fine only the weapon sounds the vo is fine.
- wishihadaname
- Captain

- Posts: 493
- Joined: Fri Dec 28, 2007 2:10 pm
- Projects :: The Corellian Resistance
- Location: Look to your left.... no, your other left....
Sound confusion
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
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
Third is LPR.st4, as I understand it this file calls up the various streams needed by the other files and names them
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.
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.
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
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:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
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
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Problems with sound take 2
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. -_-
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. -_-
- wishihadaname
- Captain

- Posts: 493
- Joined: Fri Dec 28, 2007 2:10 pm
- Projects :: The Corellian Resistance
- Location: Look to your left.... no, your other left....
Re: Problems with sound take 2
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.
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.
