![]() |
Music not playing? - 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: Music not playing? (/thread-16443.html) |
Music not playing? - ElectricRed - 06-23-2012 For the past hour or so now I've been trying to get this music to work. For some reason it won't play and I have no idea why. When I use a different ogg instead of the current one, it works fine so I don't think there's a problem with the script. Here it is just in case: Code: void OnEnter() Attached is a picture of the 3 ogg files I'm using. "IntroMusic" works fine, but "Outside" and "Carriage" don't. Is there something that could cause this? [attachment=3041] Thanks, - ElectricRed RE: Music not playing? - MaZiCUT - 06-23-2012 void Onstart() { PlayMusic("Outsid",true,1,0,0,false); } RE: Music not playing? - ElectricRed - 06-23-2012 Nope, still not working. (Yes, I fixed the "Outsid" spelling error. ![]() RE: Music not playing? - Cruzore - 06-23-2012 Make sure the file is in the sounds folder of your custom story. Other than that, nothing's wrong. RE: Music not playing? - MaZiCUT - 06-23-2012 In your custom story folder create a folder called Sounds , in it you put all your custom sounds. RE: Music not playing? - ElectricRed - 06-23-2012 I originally had the files in a folder called "music." I made the Sounds folder and it worked for some reason. What I find confusing is that when they were in the music folder, one of them DID work. Anyways, thanks for the help! ![]() RE: Music not playing? - Cruzore - 06-23-2012 Wait a second, .ogg files are inside the "music" folder, and .snt files are inside the "sounds" folder. RE: Music not playing? - ElectricRed - 06-24-2012 (06-23-2012, 09:23 PM)FastHunteR Wrote: Wait a second, .ogg files are inside the "music" folder, and .snt files are inside the "sounds" folder.That's not how I have them set up, and they're working fine. >.< RE: Music not playing? - Damascus - 06-25-2012 They don't have to be in certain folders, but it is easier to organize that way. |