Brothersvv09 
 
 
		
			Member 
			
			
			
 
			
	Posts: 57 
	Threads: 29 
	Joined: Aug 2012
	
 Reputation: 
0
		
	 | 
	
		
			
Music script (HELP) 
			 
			
				<removed><removed>
			 
			
			
			
				
(This post was last modified: 01-19-2019, 02:20 AM by Brothersvv09.)
 
				
			 
		 |  
	 
 | 
	| 08-09-2012, 05:11 AM  | 
	
		
	 | 
	
		
		Froge 
 
 
		
			Posting Freak 
			
			
			
 
			
	Posts: 2,955 
	Threads: 176 
	Joined: Jul 2012
	
 Reputation: 
125
		
	 | 
	
		
			
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); 
}
			 
			
			
 
			
		 |  
	 
 | 
	| 08-09-2012, 05:34 AM  | 
	
		
	 | 
	
		
		lolmaster 
 
 
		
			Member 
			
			
			
 
			
	Posts: 170 
	Threads: 9 
	Joined: Jul 2012
	
 Reputation: 
6
		
	 | 
	
		
			
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  | 
	
		
	 | 
	
		
		Seragath 
 
 
		
			Junior Member 
			
			
			
 
			
	Posts: 34 
	Threads: 1 
	Joined: Jan 2011
	
 Reputation: 
0
		
	 | 
	
		
			
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  | 
	
		
	 |