Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Molaris on March 23, 2012, 08:25:28 pm

Title: More problems with sounds.tbl (split from Problem with sound.tbl)
Post by: Molaris on March 23, 2012, 08:25:28 pm
In regards to http://www.hard-light.net/forums/index.php?topic=37765.0 :

I'm having a similar issue with adding weapon sounds. I enter them exactly as other weapons are in the sound file, but I hear nothing when i fire. they are in wav format. any ideas?

Link added for clarity. --Vader
Title: Re: More problems with sounds.tbl (split from Problem with sound.tbl)
Post by: Dragon on March 23, 2012, 08:35:58 pm
It's not really the flyby I would change into the table but the engine sound we (as a player) could heard into the cockpit.
AFAIK in X Wing Alliance, we heard clearly the tie engine inside the cockpit, as well for other crafts.

About the flyby I would prefer to add a new variable into the ships.tbl (like $FlyBySnd:   sample_Number ).
Engine sound entry refer only to external engine sound.
For the one you hear inside the cockpit, you need use this line: http://www.hard-light.net/wiki/index.php/Ships.tbl#.24CockpitEngineSnd
Flyby sounds are species specific, for the time.
Title: Re: More problems with sounds.tbl (split from Problem with sound.tbl)
Post by: Jeff Vader on March 24, 2012, 02:21:47 am
Was it absolutely, positively necessary to dig up a six-year-old thread and resurrect it instead of, you know, starting a new one?

Edit: split, dammit.
Title: Re: More problems with sounds.tbl (split from Problem with sound.tbl)
Post by: FreeSpaceFreak on March 24, 2012, 02:50:33 am
Code: (sounds.tbl header) [Select]
This file can only be modified to change *existing* sounds. Talk to a programmer if you want to add brand new sounds.
Adding a line to this file will not make your sound appear in the game, it will more than likely break something.

I don't *think* you can add sounds yet, AFAIK all you can do is edit existing entries. So if you want more different weapon-firing shots, you'll need to scavenge the shots from elsewhere.
Title: Re: More problems with sounds.tbl (split from Problem with sound.tbl)
Post by: Dragon on March 24, 2012, 05:20:57 am
You can add any number of new sounds. As of now, BP has 500 entries in it's sounds.tbl, though most are empty (500+ are reserved for the Betty script, so a long table is needed).