| 
		
	
		| Sazureth   Junior Member
 
 Posts: 20
 Threads: 8
 Joined: Jan 2012
 Reputation: 
0
 | 
			| Problems with sounds (more help needed) 
 
				Hey, what could be the reason for a .snt sound loop not playing unless I'm inside a certain area? If I'm simply not in that mysterious area, I can't hear the sound play at all.
 The only function I'm using is PlaySoundAtEntity ("", "general_rain_m.snt", "Player", 1, false); which I've tried to call both on OnStart() and in its own function.
 Changing the bool or the fade time has no effect.
 
 /E: Solved, thank you!
 
				
(This post was last modified: 05-12-2012, 12:56 PM by Sazureth.)
 |  |  
	| 05-09-2012, 06:06 PM |  |  
	
		| Cranky Old Man   Posting Freak
 
 Posts: 986
 Threads: 20
 Joined: Apr 2012
 Reputation: 
38
 | 
			| RE: Rain loop stops playing when outside certain area 
 
				 (05-09-2012, 06:06 PM)Sazureth Wrote:  Hey, what could be the reason for a .snt sound loop not playing unless I'm inside a certain area? If I'm simply not in that mysterious area, I can't hear the sound play at all.
 The only function I'm using is PlaySoundAtEntity ("", "general_rain_m.snt", "Player", 1, false); which I've tried to call both on OnStart() and in its own function.
 Changing the bool or the fade time has no effect.
 How big is this area? 
I assume that it's big, but I'd be very happy for exact measurements.
			 
 |  |  
	| 05-09-2012, 06:11 PM |  |  
	
		| Sazureth   Junior Member
 
 Posts: 20
 Threads: 8
 Joined: Jan 2012
 Reputation: 
0
 | 
			| RE: Rain loop stops playing when outside certain area 
 
				 (05-09-2012, 06:11 PM)Cranky Old Man Wrote:   (05-09-2012, 06:06 PM)Sazureth Wrote:  Hey, what could be the reason for a .snt sound loop not playing unless I'm inside a certain area? If I'm simply not in that mysterious area, I can't hear the sound play at all.How big is this area?
 The only function I'm using is PlaySoundAtEntity ("", "general_rain_m.snt", "Player", 1, false); which I've tried to call both on OnStart() and in its own function.
 Changing the bool or the fade time has no effect.
 I assume that it's big, but I'd be very happy for exact measurements.
 It is pretty big. I have so much stuff on the map to block movement that giving measurements is somewhat difficult. The map, compared to most campaing maps, is enormous and the area is about the size of Wine Cellar, maybe slightly bigger.
			 |  |  
	| 05-09-2012, 06:26 PM |  |  
	
		| Cranky Old Man   Posting Freak
 
 Posts: 986
 Threads: 20
 Joined: Apr 2012
 Reputation: 
38
 | 
			| RE: Rain loop stops playing when outside certain area 
 
				Post erased. My theory was completely wrong.
			 
 
				
(This post was last modified: 05-09-2012, 07:06 PM by Cranky Old Man.)
 |  |  
	| 05-09-2012, 06:31 PM |  |  
	
		| Your Computer   SCAN ME!
 
 Posts: 3,456
 Threads: 32
 Joined: Jul 2011
 Reputation: 
235
 | 
			| RE: Rain loop stops playing when outside certain area 
 
				The SNT file specifies the maximum distance the sound can be heard at.
			 
 
				
(This post was last modified: 05-09-2012, 06:50 PM by Your Computer.)
 |  |  
	| 05-09-2012, 06:50 PM |  |  
	
		| Adny   Posting Freak
 
 Posts: 1,766
 Threads: 6
 Joined: Mar 2012
 Reputation: 
173
 | 
			| RE: Rain loop stops playing when outside certain area 
 
				Why not place the sound file in the level editor? Much more convenient for looping/ambient sound effects.
			 
 I rate it 3 memes. |  |  
	| 05-09-2012, 06:54 PM |  |  
	
		| Adrianis   Senior Member
 
 Posts: 620
 Threads: 6
 Joined: Feb 2012
 Reputation: 
27
 | 
			| RE: Rain loop stops playing when outside certain area 
 
				Open up the .snt in Notepad++, and look for the maximum distance setting. That's the 'mysterious area' of effect for the sound    |  |  
	| 05-09-2012, 07:01 PM |  |  
	
		| Sazureth   Junior Member
 
 Posts: 20
 Threads: 8
 Joined: Jan 2012
 Reputation: 
0
 | 
			| RE: Rain loop stops playing when outside certain area 
 
				Okay, everything above is solved and working, but now I've come up with another problem - I don't know how to make the custom story use sounds from the custom story sounds-folder.
 I ran some tests; tried to change the file names and editing the .snt and I noticed that my story plays all sounds from the Amnesia parent folder, not the custom story subfolder. How can I change this? (because now I cannot use custom sounds at all)
 |  |  
	| 05-12-2012, 01:11 PM |  |  
	
		| warmacha11   Junior Member
 
 Posts: 38
 Threads: 2
 Joined: May 2012
 Reputation: 
1
 | 
			| RE: Problems with sounds (more help needed) 
 
				did you a make a .snt file for your .ogg sound file? if so, can you post it?
			 
				
(This post was last modified: 07-14-2012, 11:24 PM by warmacha11.)
 |  |  
	| 07-14-2012, 11:23 PM |  |  |