Frictional Games Forum (read-only)

Full Version: Music script (HELP)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
<removed><removed>
Make a script box around your playerstart box. Call it something like "playmusic"

{
AddEntityCollideCallback("Player", "playmusic", "StartMusic", true, 1);

}

void StartMusic(string &in asParent, string &in asChild, int alState)
{
PlayMusic("LStheme.ogg", true, 0.8f, 2, 0, true);
}
Navigate over to your Amnesia directory.
Find resources.cfg.
Open it up in an editor.
Add this line the bottom:
<Directory Path="/custom_stories" AddSubDirs="true" />
(08-09-2012, 05:34 AM)lolmaster Wrote: [ -> ]Navigate over to your Amnesia directory.
Find resources.cfg.
Open it up in an editor.
Add this line the bottom:
<Directory Path="/custom_stories" AddSubDirs="true" />


Could you please explain what exactly that does ? Thanks



Seragath