Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Sound Help
The Rock Worm Offline
Senior Member

Posts: 714
Threads: 83
Joined: Nov 2011
Reputation: 16
#1
Question  Custom Sound Help

I wish to add new sounds to Amnesia, how do I do this? I know that .ogg and .snt are involved, but how?
(This post was last modified: 11-15-2012, 12:53 AM by The Rock Worm.)
11-15-2012, 12:37 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Custom Sound Help

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!

Trying is the first step to success.
11-15-2012, 08:28 AM
Find
The Rock Worm Offline
Senior Member

Posts: 714
Threads: 83
Joined: Nov 2011
Reputation: 16
#3
RE: Custom Sound Help

(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?
11-16-2012, 10:15 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: Custom Sound Help

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);
}

Trying is the first step to success.
11-16-2012, 11:03 PM
Find




Users browsing this thread: 1 Guest(s)