Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Apollo on March 30, 2013, 10:48:48 pm

Title: Well, I'm stumped
Post by: Apollo on March 30, 2013, 10:48:48 pm
While testing this mission I kept hearing a weapon sound play in the background when that particular weapon was not being used by anybody. I  ran a debug build, and it crashed while loading the briefing.

I've fixed several errors, and it still keeps happening. I have no idea what to do.

[attachment deleted by ninja]
Title: Re: Well, I'm stumped
Post by: General Battuta on March 30, 2013, 10:52:44 pm
Check your sounds.tbl indices. Were there support ships active in the mission?
Title: Re: Well, I'm stumped
Post by: Apollo on March 30, 2013, 10:54:41 pm
Not at that particular time.

EDIT: It says:

"Dutifully ignoring the extra sound values for retail sound 36, 'l_hit.wav'...
Dutifully ignoring the extra sound values for retail sound 37, 'm_hit.wav'..."

I'm not exactly sure what that means, though.
Title: Re: Well, I'm stumped
Post by: Fury on March 31, 2013, 01:12:24 am
Apollo, get BP2's sounds.tbl and check which indexes were left unused. Avoid using those indexes in your modified sounds.tbl.
Title: Re: Well, I'm stumped
Post by: Apollo on March 31, 2013, 01:24:43 am
Apollo, get BP2's sounds.tbl and check which indexes were left unused. Avoid using those indexes in your modified sounds.tbl.

What? That's over a hundred of them!

...stupid FS table files

EDIT: How come the Mediavps use some of those indexes? Also, is it safe to add new ones? A bunch of comments say no.
Title: Re: Well, I'm stumped
Post by: Fury on March 31, 2013, 01:29:36 am
wat

I mean indexes that were left empty.
Title: Re: Well, I'm stumped
Post by: Apollo on March 31, 2013, 01:31:07 am
wat

I mean indexes that were left empty.

I know. There's literally over a hundred of them.

EDIT: Do you mean the ones that are empty or the ones that are empty with comments?
Title: Re: Well, I'm stumped
Post by: Fury on March 31, 2013, 02:03:52 am
I don't remember, I haven't seen sounds.tbl for a year or two now.

Hardcoded sounds.tbl values are poorly documented. You may find something by searching these forums as they aren't in the wiki from the looks of it.
Title: Re: Well, I'm stumped
Post by: Tokamaku Yokuu on March 31, 2013, 03:20:08 am
Hardcoded sounds.tbl values

These? (http://www.hard-light.net/wiki/index.php/Hardcoded_sounds)
Title: Re: Well, I'm stumped
Post by: Apollo on March 31, 2013, 12:47:28 pm
Well, I moved the entry and it seems to work now. Thank you.