Frictional Games Forum (read-only)
Music script (HELP) - 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 script (HELP) (/thread-17610.html)



Music script (HELP) - Brothersvv09 - 08-09-2012

<removed><removed>


RE: Music script (HELP) - Froge - 08-09-2012

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


RE: Music script (HELP) - lolmaster - 08-09-2012

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" />


RE: Music script (HELP) - Seragath - 08-09-2012

(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