Frictional Games Forum (read-only)

Full Version: Problem with Sounds
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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
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/
Thanks but is there a way to listen to all the sounds in Amnesia?
They're in the sounds folder. Inside your amnesia folder
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.
I'm using vlc.. Make sure you can play .ogg files. There is an option you can do that.
Ok, thanks I will let you know tomorrow good night!
.snt are just text files. Open the .ogg if you want to know what sound is.
Thanks it works!
But how can I use a music like in the original game that repeat itself?
Pages: 1 2