Frictional Games Forum (read-only)
Problem with Sounds - 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: Problem with Sounds (/thread-20535.html)

Pages: 1 2


Problem with Sounds - MR SPARTAN23 - 02-27-2013

Hi,
I'm working on a CS but I have a problem. How can I add a music that can be heard in the map? Thanks


RE: Problem with Sounds - PutraenusAlivius - 02-27-2013

Put this on your map's .hps file.
PHP Code:
void OnEnter()
{
    
PlayMusic("MUSICNAME.ogg"true1.0f0.0f0false);

Change the MUSICNAME to whatever your music's name is, but don't remove the .ogg extension in the script.
1.0f is the volume.
EDIT: And this was supposed to be in the /Custom Stories, TC's & Mods - Development/Development Support/


RE: Problem with Sounds - MR SPARTAN23 - 02-27-2013

Thanks but is there a way to listen to all the sounds in Amnesia?


RE: Problem with Sounds - OriginalUsername - 02-27-2013

They're in the sounds folder. Inside your amnesia folder


RE: Problem with Sounds - MR SPARTAN23 - 02-27-2013

I know where they are but how can I listen to them? I tried with Windows Media Player and VLC but that doesn't work.


RE: Problem with Sounds - OriginalUsername - 02-27-2013

I'm using vlc.. Make sure you can play .ogg files. There is an option you can do that.


RE: Problem with Sounds - MR SPARTAN23 - 02-27-2013

Ok, thanks I will let you know tomorrow good night!


RE: Problem with Sounds - The chaser - 02-27-2013

.snt are just text files. Open the .ogg if you want to know what sound is.


RE: Problem with Sounds - MR SPARTAN23 - 02-28-2013

Thanks it works!


RE: Problem with Sounds - MR SPARTAN23 - 03-01-2013

But how can I use a music like in the original game that repeat itself?