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.
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:
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