![]() |
Custom Music Dosnt work - 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 Music Dosnt work (/thread-14125.html) |
Custom Music Dosnt work - jessehmusic - 03-20-2012 My custom music i found on youtube was great for amnesia , but it donst work :S..... Here is my hps void OnStart() { AddUseItemCallback("", "Mansion_Key", "Locked_door", "KeyOnDoor", true); AddEntityCollideCallback("Player", "Area_Event_One", "MusicStart", true, 1); } void KeyOnDoor(string &in asItem, string &in asEntity) { SetSwingDoorLocked("Locked_door", false, true); PlaySoundAtEntity("", "unlock_door", "Locked_door", 0, false); RemoveItem("Mansion_Key"); } void MusicStart(string &in asParent, string &in asChild, int alState) { PlayMusic("sscary_ambient_music.ogg", true, 0.8f, 1, 0, true); } RE: Custom Music Dosnt work - SilentStriker - 03-20-2012 Did you just change the end to .ogg or did you actually render out a .ogg file? RE: Custom Music Dosnt work - jessehmusic - 03-20-2012 (03-20-2012, 04:43 PM)SilentStriker Wrote: Did you just change the end to .ogg or did you actually render out a .ogg file?I Just made change the end from mp3 to ogg RE: Custom Music Dosnt work - SilentStriker - 03-20-2012 (03-20-2012, 07:17 PM)jessehmusic Wrote:It wont work if you do it like that. Download Audacity if you haven't it already and then open the mp3 in audacity and export it as an .ogg(03-20-2012, 04:43 PM)SilentStriker Wrote: Did you just change the end to .ogg or did you actually render out a .ogg file?I Just made change the end from mp3 to ogg RE: Custom Music Dosnt work - DaAinGame - 03-20-2012 You may want to use an actual program to convert a MP3 to a ogg sound type. I don't think that simply changing the end will put it into correct format for a .ogg file. Also, I had a lot of troubles on getting custom sounds for my story, but I think it was because of file placement. I would double check to make sure that the sound is in the correct folder for the game to find, recognize, and play it. |