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
Music script (HELP)
Brothersvv09 Offline
Member

Posts: 57
Threads: 29
Joined: Aug 2012
Reputation: 0
#1
Music script (HELP)

<removed><removed>
(This post was last modified: 01-19-2019, 02:20 AM by Brothersvv09.)
08-09-2012, 05:11 AM
Find
Froge Offline
Posting Freak

Posts: 2,955
Threads: 176
Joined: Jul 2012
Reputation: 125
#2
RE: Music script (HELP)

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

[Image: p229xcq]
08-09-2012, 05:34 AM
Find
lolmaster Offline
Member

Posts: 170
Threads: 9
Joined: Jul 2012
Reputation: 6
#3
RE: Music script (HELP)

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
Find
Seragath Offline
Junior Member

Posts: 34
Threads: 1
Joined: Jan 2011
Reputation: 0
#4
RE: Music script (HELP)

(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
08-09-2012, 09:14 AM
Find




Users browsing this thread: 2 Guest(s)