Daemian 
 
 
		
			Posting Freak 
			
			
			
 
			
	Posts: 1,129 
	Threads: 42 
	Joined: Dec 2012
	
 Reputation: 
49
		
	 | 
	
		
			
RE: Help with Amnesia Level Editor 
			 
			
				GiveSanityDamage( float 10.0f, bool true );
			 
			
			
 
			
				
(This post was last modified: 04-27-2013, 05:27 AM by Daemian.)
 
				
			 
		 |  
	 
 | 
 
	| 04-27-2013, 05:26 AM  | 
	
		
	 | 
 
 
	
		
		Natsu 
 
 
		
			Junior Member 
			
			
			
 
			
	Posts: 35 
	Threads: 5 
	Joined: Apr 2013
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Help with Amnesia Level Editor 
			 
			
				With that code now says (7, 26). Now I'm confused.
			 
			
			
			
		 |  
	 
 | 
 
	| 04-27-2013, 05:31 AM  | 
	
		
	 | 
 
 
	
		
		PutraenusAlivius 
 
 
		
			Posting Freak 
			
			
			
 
			
	Posts: 4,713 
	Threads: 75 
	Joined: Dec 2012
	
 Reputation: 
119
		
	 | 
	
		
			
RE: Help with Amnesia Level Editor 
			 
			
				 (04-27-2013, 05:07 AM)Natsu Wrote:  It gives me this error on the Sanity line: 
    
 
And this is what I have done. 
 ![[Image: xgKHy6Y.png]](http://i.imgur.com/xgKHy6Y.png)  
GiveSanityDamage(10.0f, true); 
 
  
			 
			
			
 
"Veni, vidi, vici." 
"I came, I saw, I conquered." 
			
		 |  
	 
 | 
 
	| 04-27-2013, 05:31 AM  | 
	
		
	 | 
 
 
	
		
		Natsu 
 
 
		
			Junior Member 
			
			
			
 
			
	Posts: 35 
	Threads: 5 
	Joined: Apr 2013
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Help with Amnesia Level Editor 
			 
			
			
			
			
		 |  
	 
 | 
 
	| 04-27-2013, 05:34 AM  | 
	
		
	 | 
 
 
	
		
		PutraenusAlivius 
 
 
		
			Posting Freak 
			
			
			
 
			
	Posts: 4,713 
	Threads: 75 
	Joined: Dec 2012
	
 Reputation: 
119
		
	 | 
	
		
			
RE: Help with Amnesia Level Editor 
			 
			
				 (04-27-2013, 05:34 AM)Natsu Wrote:   (04-27-2013, 05:31 AM)JustAnotherPlayer Wrote:   (04-27-2013, 05:07 AM)Natsu Wrote:  It gives me this error on the Sanity line: 
    
 
And this is what I have done. 
 ![[Image: xgKHy6Y.png]](http://i.imgur.com/xgKHy6Y.png)   
GiveSanityDamage(10.0f, true); 
 
   
![[Image: lhTEfn5.png]](http://i.imgur.com/lhTEfn5.png)  
PlaySoundAtEntity("",  "amb_idle01.snt ", "Player", 0.1f, false);
			  
			
			
 
"Veni, vidi, vici." 
"I came, I saw, I conquered." 
			
		 |  
	 
 | 
 
	| 04-27-2013, 05:36 AM  | 
	
		
	 | 
 
 
	
		
		Natsu 
 
 
		
			Junior Member 
			
			
			
 
			
	Posts: 35 
	Threads: 5 
	Joined: Apr 2013
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Help with Amnesia Level Editor 
			 
			
				Thanks it worked, but the sound doesn't play.
			 
			
			
			
		 |  
	 
 | 
 
	| 04-27-2013, 05:39 AM  | 
	
		
	 | 
 
 
	
		
		Daemian 
 
 
		
			Posting Freak 
			
			
			
 
			
	Posts: 1,129 
	Threads: 42 
	Joined: Dec 2012
	
 Reputation: 
49
		
	 | 
	
		
			
RE: Help with Amnesia Level Editor 
			 
			
				PlaySoundAtEntity("", "amb_idle01.snt", "Player", 0.1f, false);
For ambient music i use  PlayMusic()
Try this line instead
 PlayMusic ( "21_event_pit.ogg", false, 1, 2, 1, false ); 
 
  
if this works for you, change the sound file.
 
Btw, we kinda need like a real time chat in this forum. 
That would be cool.
			  
			
			
 
			
		 |  
	 
 | 
 
	| 04-27-2013, 07:07 AM  | 
	
		
	 | 
 
 
	
		
		PutraenusAlivius 
 
 
		
			Posting Freak 
			
			
			
 
			
	Posts: 4,713 
	Threads: 75 
	Joined: Dec 2012
	
 Reputation: 
119
		
	 | 
	
		
			
RE: Help with Amnesia Level Editor 
			 
			
				 (04-27-2013, 07:07 AM)Amn Wrote:  PlaySoundAtEntity("", "amb_idle01.snt", "Player", 0.1f, false); 
 
 
For ambient music i use PlayMusic() 
 
Try this line instead 
PlayMusic ( "21_event_pit.ogg", false, 1, 2, 1, false ); 
 
  
 
if this works for you, change the sound file. 
 
 
Btw, we kinda need like a real time chat in this forum. 
That would be cool. 
*points to the IRC button on the top-right corner of every page*
			  
			
			
 
"Veni, vidi, vici." 
"I came, I saw, I conquered." 
			
		 |  
	 
 | 
 
	| 04-27-2013, 07:18 AM  | 
	
		
	 | 
 
 
	
		
		Daemian 
 
 
		
			Posting Freak 
			
			
			
 
			
	Posts: 1,129 
	Threads: 42 
	Joined: Dec 2012
	
 Reputation: 
49
		
	 | 
	
		
			
RE: Help with Amnesia Level Editor 
			 
			
				Oooh. Nice. Hello button! 
Other forums taught me to never expect anything good up there (like banners&spam) 
Am i the only one? lol.
			 
			
			
 
			
		 |  
	 
 | 
 
	| 04-27-2013, 10:40 AM  | 
	
		
	 | 
 
 
	
		
		Natsu 
 
 
		
			Junior Member 
			
			
			
 
			
	Posts: 35 
	Threads: 5 
	Joined: Apr 2013
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Help with Amnesia Level Editor 
			 
			
				I managedto find the problem, the volume for the sound was way lower than the music and I couldn't hear it. I just used another sound. Now, what I want to know is how can I make a wall move and open a passage. Like the moving library at the Original Amnesia.
			 
			
			
			
		 |  
	 
 | 
 
	| 04-27-2013, 02:59 PM  | 
	
		
	 | 
 
 
	 
 |