Author Topic: Help packaging sounds (SOLVED)  (Read 814 times)

I'm currently working on packaging every sound from the game Five Nights at Freddy's, and I've renamed every single sound and added all of them to the Server.cs.
But when I start the game, only the first sound in the list shows up.
Here's the first few entries in the server.cs so you can hopefully tell me what I'm doing wrong.

Code: [Select]
datablock AudioProfile(Freddy_ambience2)
{
filename = "./Freddy_ambience2.wav";
description = AudioClosest3d;
preload = true;
};

datablock AudioProfile(Freddy_Blip3_Sound : Freddy_Blip3_Sound)
{
filename = "./Freddy_Blip3.wav";
};

datablock AudioProfile(Freddy_Breaths1_Sound : Freddy_Breaths1_Sound)
{
filename = "./Freddy_Breaths1.wav";
};

datablock AudioProfile(Freddy_Breaths2_Sound : Freddy_Breaths2_Sound)
{
filename = "./Freddy_Breaths2.wav";
};

EDIT: Problem solved, guys. Posting the solution.
Instead of the format I had, it should look like THIS:
Code: [Select]
datablock AudioProfile(Freddy_ambience2)
{
filename = "./Freddy_ambience2.wav";
description = AudioClosest3d;
preload = false;
};

datablock AudioProfile(Freddy_Blip3_Sound : Freddy_ambience2)
{
filename = "./Freddy_Blip3.wav";
};

datablock AudioProfile(Freddy_Breaths1_Sound : Freddy_ambience2)
{
filename = "./Freddy_Breaths1.wav";
};

datablock AudioProfile(Freddy_Breaths2_Sound : Freddy_ambience2)
{
filename = "./Freddy_Breaths2.wav";
};
The finished product is in add-ons
http://forum.blockland.us/index.php?topic=265710.0
« Last Edit: August 26, 2014, 07:11:37 PM by Sitrus »

holy stuff your doing what i requested.

holy stuff your doing what i requested.
Both the music pack and the sound pack are done.

holy stuff your doing what i requested.
No idea how it is that exciting.