Author Topic: Yea...about sounds  (Read 2548 times)

0 Members and 1 Guest are viewing this topic.

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
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:
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
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.
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
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.
« Last Edit: October 09, 2008, 08:24:15 am by TrashMan »
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
Are you leaving your OpenAL to "Generic Software" or did you change it?
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Didn't change it.

strange really.
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Are you running in a debug build to make sure your filenames in missions and tables are referenced correctly?
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
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)?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Finalyl got everything to work. Thanx guys :P
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Good...what did you do? Did you write the file extension?
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
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.
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

  

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Ah, ok...thanks... :)
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito