Frictional Games Forum (read-only)
[Tutorial] How to make a custom decal! - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Articles (https://www.frictionalgames.com/forum/forum-40.html)
+---- Thread: [Tutorial] How to make a custom decal! (/thread-10378.html)

Pages: 1 2 3 4


RE: [Tutorial] How to make a custom decal! - good871 - 10-01-2011

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?


RE: [Tutorial] How to make a custom decal! - Your Computer - 10-01-2011

(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.


RE: [Tutorial] How to make a custom decal! - good871 - 10-01-2011

thanks, but is there another way?i ask, because i use my own music from my custom directory and its working.


RE: [Tutorial] How to make a custom decal! - Khyrpa - 10-01-2011

dropping them into the original games files, but keep them in the story folder or installing it will be a hassle.



RE: [Tutorial] How to make a custom decal! - Homicide13 - 10-01-2011

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.



RE: [Tutorial] How to make a custom decal! - Your Computer - 10-01-2011

(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.


RE: [Tutorial] How to make a custom decal! - Homicide13 - 10-01-2011

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.



RE: [Tutorial] How to make a custom decal! - Acies - 10-02-2011

To properly display a decal you need to:
1. Rotate canvas 180
2. Flip canvas horizontal

Regarding what Tanshaydar spoke about earlier.


RE: [Tutorial] How to make a custom decal! - Statyk - 10-02-2011

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)



RE: [Tutorial] How to make a custom decal! - Tanshaydar - 10-02-2011

Its resolution should be exponents of two, like 128x256, 512x512, 1024x4096 etc.