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
Script Help Custom Music.
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#3
RE: Custom Music.

I would suggest trying PlayGuiSound to see if it works. That one is simpler and more noticeable.

PHP Code: (Select All)
PlayGuiSound("file.snt"1); 

I believe you can use both SNT and OGG in this script.

Now, make sure you've placed your files correctly. Are they in your custom story directory? If so, I suggest you open the resources.cfg file in the Amnesia root folder and add the "custom_stories" directory to that file if it isn't there already. This will allow the game to search this folder for assets, which might be the reason it's not working.

01-07-2015, 10:52 AM
Find


Messages In This Thread
Custom Music. - by Shylia - 01-07-2015, 10:07 AM
RE: Custom Music. - by goodcap - 01-07-2015, 10:47 AM
RE: Custom Music. - by Mudbill - 01-07-2015, 10:52 AM
RE: Custom Music. - by Shylia - 01-07-2015, 11:24 AM
RE: Custom Music. - by Romulator - 01-07-2015, 11:29 AM
RE: Custom Music. - by Shylia - 01-07-2015, 11:33 AM



Users browsing this thread: 1 Guest(s)