That Doesn't Make Any Sense...

About 80% of my debug reports are the game reporting sound data that is missing because I removed excess dialogue (mainly, the 3rd and 4th variants on the same command) to make room for extra races.  Finally decided to clean up my debug reports so it isn't reported anymore when I'm testing my mod.  Made sure each variant is no longer referenced in the sound dialogue and respective ship entities.  What I don't understand is why are my debug reports still reporting it as an error?  Where else are sound files also referenced in the program besides those files because I'm at a loss as to where.

Any help would be swell, gentlemen.

9,984 views 8 replies
Reply #1 Top

Sounds are in three places that I know of:

Ship/Structure/Ability/Buff Entity files
Player(Race) Entity files
Sound(Dialogue/Effects/Music) SoundData files

Don't recall ever seeing them listed anywhere else...

Reply #2 Top

Did you reduce the count above each dailog type (OnAttackOrder etc.) in each entity file? Pasting a few of the warnings might be helpful.

Reply #3 Top

Here's an example of one of the ships from the Debug file:

SoundData does not exists for: CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_2
SoundData does not exists for: CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_3
SoundData does not exists for: CAPITALSHIP_TECHSIEGE_ONGENERALORDERISSUED_2
SoundData does not exists for: CAPITALSHIP_TECHSIEGE_ONSELECTED_2

These entries do not exist in the Sound dialogue file because they were removed.

Here's what the TEC Siege entity has for sound data:

NumSoundsFor:ONATTACKORDERISSUED 2
SoundID "CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_0"
SoundID "CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_1"
NumSoundsFor:ONCREATION 1
SoundID "CAPITALSHIP_TECHSIEGE_ONCREATION"
NumSoundsFor:ONGENERALORDERISSUED 2
SoundID "CAPITALSHIP_TECHSIEGE_ONGENERALORDERISSUED_0"
SoundID "CAPITALSHIP_TECHSIEGE_ONGENERALORDERISSUED_1"
NumSoundsFor:ONSELECTED 2
SoundID "CAPITALSHIP_TECHSIEGE_ONSELECTED_0"
SoundID "CAPITALSHIP_TECHSIEGE_ONSELECTED_1"
NumSoundsFor:ONSTARTPHASEJUMP 1
SoundID "CAPITALSHIP_TECHSIEGE_ONSTARTPHASEJUMP_0"

Debug still states:

SoundData does not exists for: CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_2
SoundData does not exists for: CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_3
SoundData does not exists for: CAPITALSHIP_TECHSIEGE_ONGENERALORDERISSUED_2
SoundData does not exists for: CAPITALSHIP_TECHSIEGE_ONSELECTED_2

Even tried out physically removing the files and seeing if it makes a difference.  It doesn't.  Any thoughts?

 

 

Reply #4 Top

Stupid double post. x_x

Reply #5 Top

I don't really know, I can't find anywhere else where there would be sound info at.  Maybe that's just one of those things that's hard coded...

Try leaving the overall counts the same, but change the numbers at the end.

For example:

NumSoundsFor:ONATTACKORDERISSUED 4
SoundID "CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_0"
SoundID "CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_1"
SoundID "CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_2"
SoundID "CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_3"

Change it to:

NumSoundsFor:ONATTACKORDERISSUED 4
SoundID "CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_0"
SoundID "CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_1"
SoundID "CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_0"
SoundID "CAPITALSHIP_TECHSIEGE_ONATTACKORDERISSUED_1"

 

See if that still produces errors.  If it doesn't, then you can probably safely remove the excess sounds.  If it still produces errors, then we're obviously not seeing something.

Reply #6 Top

Get a text search tool like Notepad++ has and search across all files for any entries of the above. There is most likely a lingering entry you didn't remove if they are still showing.

Reply #7 Top

Quoting ZombiesRus5, reply 6
Get a text search tool like Notepad++ has and search across all files for any entries of the above. There is most likely a lingering entry you didn't remove if they are still showing.

I use wordpad++ for file editing.  Sometimes, I'll use eclipse.  Either way put, this'll take a good while to search through all of the files.

Reply #8 Top

I found the issue.  It was my dreds using it.  This is going to be fun going through God knows how much file editing.

 

Thanks, gentlemen.  I'll be staring at code for the next 5 or so hours. :-X