Author Topic: Need help adding sound effects  (Read 364 times)

What files do I need to include in the zip?

I'm at the point where the add on is showing in the list where you enable it, but the sound is not showing in the list in game.

This is what I have.

   Sound_Com_Shep.zip
        -Com_Shep.wav
        -description.txt
        -server.cs

Inside server.cs it says:
Code: [Select]
              datablock AudioProfile(Com_Shep)
{
filename = "./Com_Shep.wav";
description = AudioClosest3d;
preload = false;
};

What am I doing wrong or missing?

Sorry if I'm making a really stupid obvious mistake, I've never done this before.
« Last Edit: August 19, 2010, 07:58:45 PM by dkamm65 »

The  - in the very beginning?

The  - in the very beginning?

No that was just cause I was using the - as a bullet point, and decided to use code tags for it.

Compare it to another sound effect code bit.

I figured it out.

I changed the zip file name to ComShep.zip, but left the file to Com_Shep.wav and it worked. I guess it was a conflict with the archive and filename.