Frictional Games Forum (read-only)
Custom Sound Help - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Custom Sound Help (/thread-19226.html)



Custom Sound Help - The Rock Worm - 11-15-2012

I wish to add new sounds to Amnesia, how do I do this? I know that .ogg and .snt are involved, but how?


RE: Custom Sound Help - FlawlessHappiness - 11-15-2012

go to your custom story, and add a folder called "sounds" (Like in the real game)
Then copy any .snt file from the real "sounds", to your "sounds".
Next put the desired .ogg file into your "sounds".
Modify the .snt file after your choice, but remember to change the file names so it plays the correct file.
And there it is!


RE: Custom Sound Help - The Rock Worm - 11-16-2012

(11-15-2012, 08:28 AM)beecake Wrote: go to your custom story, and add a folder called "sounds" (Like in the real game)
Then copy any .snt file from the real "sounds", to your "sounds".
Next put the desired .ogg file into your "sounds".
Modify the .snt file after your choice, but remember to change the file names so it plays the correct file.
And there it is!
It worked! Thanks pal! I did try to replace the "player_darkness" sound in the game.cfg file with a new sound, but it didn't work.

Also, it's been a while since I did keys, how do I get one to unlock a door?


RE: Custom Sound Help - FlawlessHappiness - 11-16-2012

OnStart()
{
AddUseItemCallback("", "KEYNAME", "DOORNAME", "UnlockDoor_1", true);

}

void UnlockDoor_1(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("DOORNAME", false, true);
PlaySoundAtEntity("", "unlock_door", "DOORNAME", 0.0f, false);

RemoveItem(asItem);
}