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 Music Dosnt work
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#1
Custom Music Dosnt work


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

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
03-20-2012, 04:14 PM
Website Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#2
RE: Custom Music Dosnt work

Did you just change the end to .ogg or did you actually render out a .ogg file?

03-20-2012, 04:43 PM
Find
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#3
RE: Custom Music Dosnt work

(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

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
03-20-2012, 07:17 PM
Website Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#4
RE: Custom Music Dosnt work

(03-20-2012, 07:17 PM)jessehmusic Wrote:
(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
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, 07:27 PM
Find
DaAinGame Offline
Member

Posts: 90
Threads: 11
Joined: Mar 2012
Reputation: 4
#5
RE: Custom Music Dosnt work

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.

Realm Of Another Chapter 1: http://www.frictionalgames.com/forum/thread-14142.html
Realm Of Another Chapter 2: Postponed
Adder Halls: 5%
03-20-2012, 07:29 PM
Find




Users browsing this thread: 2 Guest(s)