good871 
 
 
		
			Junior Member 
			
			
			
 
			
	Posts: 22 
	Threads: 10 
	Joined: Aug 2011
	
 Reputation: 
0
		
	 | 
	
		
			
RE: [Tutorial] How to make a custom decal! 
			 
			
				hi , i tried your tutorial and doesn't wokr for me, but when i edited the old decal it worked. i see the decal in map until i reset my map editor and than save map again. for same reason it dessepeared from map (in editor and game). do you know why? how to fix it?
			 
			
			
			
		 |  
	 
 | 
 
	| 10-01-2011, 08:53 PM  | 
	
		
	 | 
 
 
	
		
		Your Computer 
 
 
		
			SCAN ME! 
			
			
			
 
			
	Posts: 3,456 
	Threads: 32 
	Joined: Jul 2011
	
 Reputation: 
235
		
	 | 
	
		
			
RE: [Tutorial] How to make a custom decal! 
			 
			
				 (10-01-2011, 08:53 PM)good871 Wrote:  hi , i tried your tutorial and doesn't wokr for me, but when i edited the old decal it worked. i see the decal in map until i reset my map editor and than save map again. for same reason it dessepeared from map (in editor and game). do you know why? how to fix it? 
It means the editor can't find it when it reloads. If you put the decal in your custom story's folder, then that is why it can't find it after restarting the map editor. The custom_stories directory is not part of the default resources list. To make sure it finds it, add your custom story's directory to the resources.cfg list located in the directory that you have Amnesia installed in. 
			  
			
			
 
			
		 |  
	 
 | 
 
	| 10-01-2011, 09:02 PM  | 
	
		
	 | 
 
 
	
		
		good871 
 
 
		
			Junior Member 
			
			
			
 
			
	Posts: 22 
	Threads: 10 
	Joined: Aug 2011
	
 Reputation: 
0
		
	 | 
	
		
			
RE: [Tutorial] How to make a custom decal! 
			 
			
				thanks, but is there another way?i ask, because i use my own music from my custom directory and its working.
			 
			
			
			
		 |  
	 
 | 
 
	| 10-01-2011, 09:12 PM  | 
	
		
	 | 
 
 
	
		
		Khyrpa 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 638 
	Threads: 10 
	Joined: Apr 2011
	
 Reputation: 
24
		
	 | 
	
		
			
RE: [Tutorial] How to make a custom decal! 
			 
			
				dropping them into the original games files, but keep them in the story folder or installing it will be a hassle.  
			 
			
			
 
			
		 |  
	 
 | 
 
	| 10-01-2011, 09:22 PM  | 
	
		
	 | 
 
 
	
		
		Homicide13 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 323 
	Threads: 41 
	Joined: Nov 2010
	
 Reputation: 
14
		
	 | 
	
		
			
RE: [Tutorial] How to make a custom decal! 
			 
			
				I did all of my testing and stuff in the Amnesia maps folder. The folder I put my decals in was maps/Family/textures/decals. Also make sure you delete the map caches in the folder that the map is in, or it will not load new files. 
			 
			
			
 
			
		 |  
	 
 | 
 
	| 10-01-2011, 09:33 PM  | 
	
		
	 | 
 
 
	
		
		Your Computer 
 
 
		
			SCAN ME! 
			
			
			
 
			
	Posts: 3,456 
	Threads: 32 
	Joined: Jul 2011
	
 Reputation: 
235
		
	 | 
	
		
			
RE: [Tutorial] How to make a custom decal! 
			 
			
				 (10-01-2011, 09:12 PM)good871 Wrote:  thanks, but is there another way?i ask, because i use my own music from my custom directory and its working. 
In what way do you use your music? Through scripts? The game itself has no trouble locating files within your custom story's folder, but the map editor will only look into the directories that are listed in the resources.cfg when starting up.
			  
			
			
 
			
		 |  
	 
 | 
 
	| 10-01-2011, 10:10 PM  | 
	
		
	 | 
 
 
	
		
		Homicide13 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 323 
	Threads: 41 
	Joined: Nov 2010
	
 Reputation: 
14
		
	 | 
	
		
			
RE: [Tutorial] How to make a custom decal! 
			 
			
				All the files that are downloaded with my game were literally copy pasted from my maps folder. What you see in the Family folder is what it looked like inside my maps folder as I was testing it. 
 
And yes the music is all activated with scripts (is there another way to activate it? o.o), though I didn't use any custom music. 
			 
			
			
 
			
				
(This post was last modified: 10-01-2011, 10:47 PM by Homicide13.)
 
				
			 
		 |  
	 
 | 
 
	| 10-01-2011, 10:47 PM  | 
	
		
	 | 
 
 
	
		
		Acies 
 
 
		
			Posting Freak 
			
			
			
 
			
	Posts: 1,643 
	Threads: 60 
	Joined: Feb 2011
	
 Reputation: 
73
		
	 | 
	
		
			
RE: [Tutorial] How to make a custom decal! 
			 
			
				To properly display a decal you need to: 
1. Rotate canvas 180 
2. Flip canvas horizontal 
 
Regarding what Tanshaydar spoke about earlier.
			 
			
			
 
 ![[Image: mZiYnxe.png]](http://i.imgur.com/mZiYnxe.png)  ジ
  
			
		 |  
	 
 | 
 
	| 10-02-2011, 03:35 AM  | 
	
		
	 | 
 
 
	
		
		Statyk 
 
 
		
			Schrödinger's Mod 
			
			
			
 
			
	Posts: 4,390 
	Threads: 72 
	Joined: Sep 2011
	
 Reputation: 
241
		
	 | 
	
		
			
RE: [Tutorial] How to make a custom decal! 
			 
			
				Okay, so I'm trying to add pictures, I followed your tutorial exactly, but the .mat never came up in the level editor at all. I even put it in the main directory. I went back into the material editor, put settings up to "soliddiffuse" so I could see what the decal would look like and I got this... (See attachment) 
 
What's wrong with the picture. It's a .png like you said... I can't tell what I'm doing wrong. Do I also need a .dds version of the .mat? Because it seems like every .mat in the texture directory has a matching .dds... (Like how sounds have a .ogg and a .snt) 
			 
			
			
			
		 |  
	 
 | 
 
	| 10-02-2011, 06:49 AM  | 
	
		
	 | 
 
 
	
		
		Tanshaydar 
 
 
		
			From Beyond 
			
			
			
 
			
	Posts: 3,085 
	Threads: 17 
	Joined: Mar 2009
	
 Reputation: 
67
		
	 | 
	
		
			
RE: [Tutorial] How to make a custom decal! 
			 
			
				Its resolution should be exponents of two, like 128x256, 512x512, 1024x4096 etc.
			 
			
			
 
			
		 |  
	 
 | 
 
	| 10-02-2011, 07:23 AM  | 
	
		
	 | 
 
 
	 
 |