Ha, your in luck, as on the off chance I have recently toyed with a few sound files already in-game, and they failed to show, but after some playing around I got them to work. Ok, here is what you need, and this will be brief as you seem to know what you're doing (if you need more info, get back to me):
- Firstly, and most importantly, you need to define the new files. You may have noticed that the sound references before did not have .OGG after them, but just their name. This is because, in a similar way to strings, they are listed and defined in a separate file. However, unlike the string file, there is 3 files you must look into;
SoundEffects.SOUNDDATA
SoundMusic.SOUNDDATA
SoundDialogue.SOUNDDATAYou must add your file and reference name, once again, in a similar way to the strings file, by giving the name of the file, with the .OGG included, and then linking that sound file to a reference name, which is usually the sound file, but without the .OGG on the end. An easy way to do all this is to copy one section, and edit it to include your new sound. Once you have added all you files, add the number you added it to the
numEffects number at the very top of the .SOUNDDATA file you edited.
- This brings me on to my second point; you must have the right references in the right files. The Capital ship ones you speak of refer to the
SoundDialogue.SOUNDDATA file. So if you add your new sound to 'Effects', but not 'Dialogue', the Capital Ship file will not read them. The easiest way around this is to edit one file and add your new sounds, then copy them straight into the bottom of the other 2 SOUNDDATA files, making sure you change the
numEffects at the top again.
I hope thats clear enough, but if you are unsure, don't hesitate to ask.
Good luck.