Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: TrashMan on October 09, 2008, 06:36:06 am
-
What are the exact limitations and specifics in getting them to work?
I have lots of sounds in my sunds folder and a few in my personas.
some seem to work, others don't.
Do they all have to be 88Kpb, 11Khz? do they have to be in one of the two sub-folders?
I'm asking cause I got a persona line that should play with the message (it's 88/11, like stock FS2 persona lines), it's set up like that in FRED, but in-mission it doesn't play. I hear nothing.
Next I have a sound that plays with a play-sound-from-file SEXP when a specific event is triggered, but again. A dud.
and then I have a weapon sound referenced in the sounds.tbl and in the weapon properly, it's also 88/11 and it doesn't play. And at the same time I have another weapon sound that does plays yet it's not in the 88/11 format.
So WTF???? :wtf:
-
Unless you're modding for retail, you can use OGG Vorbis sound files. I doubt the wav limitations of sample rate and bits per sample will apply as such; there are probably some other factors that need to be considered, especially with music to get the timing and track crossfading work properly, but I would think that it would be a simpler process to get an ogg file to play at FS2_Open than it woudl be to get a wav file to play at FS2 retail.
-
I use goldwave to edit, cut, paste or convert sound bits...yet it doesn't want to save in .ogg format. It's missing that codec...I'm trackking it down now. We'll see if it will play .ogg
EDIT: Well, the speech works, but the play-sound-from-file and the weapon fire sound STILL don't work.
-
Are you leaving your OpenAL to "Generic Software" or did you change it?
-
Didn't change it.
strange really.
-
Are you running in a debug build to make sure your filenames in missions and tables are referenced correctly?
-
I have a electroL.wav (or .ogg)
I place it in the sounds folder.
I add it to the sounds table (in it's category under weapon launch sound..in this case under number 197)
I put that number in the weapon.tbl under fire sound.
Hmm..you know, there is a comma missing. that's probably it.
What about the play-sound-from-file.
Does FS look for the sound in question in the sounds folder?
do I just call it by typing the name Sound1 or I have to add the extension too (Sound1.ogg)?
-
Finalyl got everything to work. Thanx guys :P
-
Good...what did you do? Did you write the file extension?
-
well..yea...it's allways the little errors. And what bugs me is that it isn't mentioned in the Wiki that you need to write the extension too. someone should add that.
-
Ah, ok...thanks... :)