| 
		
	
		| FlawlessHappiness   Posting Freak
 
 Posts: 3,980
 Threads: 145
 Joined: Mar 2012
 Reputation: 
171
 | 
			| RE: My problems 
 
				Eh... you cannot play .ogg files with that func.. You can only play .snt files   
 Trying is the first step to success. |  |  
	| 10-21-2012, 09:53 AM |  |  
	
		| rammstein1999   Junior Member
 
 Posts: 2
 Threads: 1
 Joined: Oct 2012
 Reputation: 
0
 | 
			| RE: My problems 
 
				You should use this code:  PlaySoundAtEntity( "Scream1" , "Scream1.snt", "Deadbody_1" , 2.0f, false);
But why fade it 2 seconds? (that 2.0f = for fade in sound)
			 |  |  
	| 10-21-2012, 11:31 AM |  |  
	
		| FlawlessHappiness   Posting Freak
 
 Posts: 3,980
 Threads: 145
 Joined: Mar 2012
 Reputation: 
171
 | 
			| RE: My problems 
 
				I don't think Scream1.snt is a sound, unless it's custom
			 
 Trying is the first step to success. |  |  
	| 10-21-2012, 01:25 PM |  |  
	
		| The chaser   Posting Freak
 
 Posts: 2,486
 Threads: 76
 Joined: Jun 2012
 Reputation: 
113
 | 
			| RE: My problems 
 
				However, it should be like this:
 PlaySoundAtEntity( "Scream1" , "Whateverthesoundis.snt", "Deadbody_1" , 2.0f, false);
 
                               THE OTHERWORLD (WIP) ![[Image: k6vbdhu]](http://tinyurl.com/k6vbdhu)  
Aculy iz dolan. |  |  
	| 10-21-2012, 01:30 PM |  |  
	
		| naseem142   Member
 
 Posts: 153
 Threads: 19
 Joined: Oct 2012
 Reputation: 
0
 | 
			| RE: My problems 
 
				But my sound is custom , so how do i play it?
			 |  |  
	| 10-21-2012, 05:35 PM |  |  
	
		| Robby   Posting Freak
 
 Posts: 2,549
 Threads: 38
 Joined: Jun 2009
 Reputation: 
47
 | 
			| RE: My problems 
 
				You're going to need a custom .snt file.
 How I do it? I take an .snt file from Amnesia, rename it so it matches the name of the sound I have, then inside it, I edit the soundfile name (otherwise, it'll play the sound effect it originally was copied from), and that's it.
 
 Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active. |  |  
	| 10-21-2012, 05:40 PM |  |  
	
		| naseem142   Member
 
 Posts: 153
 Threads: 19
 Joined: Oct 2012
 Reputation: 
0
 | 
			| RE: My problems 
 
				 (10-21-2012, 05:40 PM)Nemet Robert Wrote:  You're going to need a custom .snt file.
 How I do it? I take an .snt file from Amnesia, rename it so it matches the name of the sound I have, then inside it, I edit the soundfile name (otherwise, it'll play the sound effect it originally was copied from), and that's it.
 Oh okay , that's simple.   EDIT:  Everything worked perfectly.
 
 
Inside the .snt file you can choose how loud is the sound with volume. 
Is there a max number or something like that?
			 
				
(This post was last modified: 10-21-2012, 05:57 PM by naseem142.)
 |  |  
	| 10-21-2012, 05:51 PM |  |  
	
		| naseem142   Member
 
 Posts: 153
 Threads: 19
 Joined: Oct 2012
 Reputation: 
0
 | 
			| RE: My problems 
 
				How can i make spaces in the readable journal?Like This:
 
 Hello,
 <=========== that space
 Go kill that cow
 
 I help people when i'm bored :U
 
 Typing Speed: 74 Words per minute
 |  |  
	| 10-23-2012, 05:34 PM |  |  
	
		| The chaser   Posting Freak
 
 Posts: 2,486
 Threads: 76
 Joined: Jun 2012
 Reputation: 
113
 | 
			| RE: My problems 
 
				 (10-23-2012, 05:34 PM)naseem142 Wrote:  How can i make spaces in the readable journal?Like This:
 
 Hello,
 <=========== that space
 Go kill that cow
 You can add spaces with [br]. It results useful when making credits    
                               THE OTHERWORLD (WIP) ![[Image: k6vbdhu]](http://tinyurl.com/k6vbdhu)  
Aculy iz dolan. |  |  
	| 10-23-2012, 05:44 PM |  |  
	
		| naseem142   Member
 
 Posts: 153
 Threads: 19
 Joined: Oct 2012
 Reputation: 
0
 | 
			| RE: My problems 
 
				 (10-23-2012, 05:44 PM)The chaser Wrote:   (10-23-2012, 05:34 PM)naseem142 Wrote:  How can i make spaces in the readable journal?You can add spaces with [br]. It results useful when making creditsLike This:
 
 Hello,
 <=========== that space
 Go kill that cow
  
Danke.    
 I help people when i'm bored :U
 
 Typing Speed: 74 Words per minute
 |  |  
	| 10-23-2012, 05:45 PM |  |  |