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


[Tutorial] How to make a custom decal! - Homicide13 - 09-18-2011

This is a tutorial on how to make a custom decal.

First, find or create an image (can be of several different formats, though the ones that I know that work are .dds and .png: I use .png files for my custom story) that you wish to use as your decal. Make sure that the image you use is a mirror image (you can just flip it in gimp or something) of what you want (think like a stamp).

Next, open the material editor. As shown below, make sure the type is "decal", the blend mode is "alpha," and the "diffuse" box is checked (don't bother touching any of the other settings). Open the file you wish to use as your decal, and then save the .mat file somewhere in your amnesia directory (for my custom story I save the decals in the root directory under textures\decals)

[Image: 688VT.png]

To place the decal, simply open the level editor, search for decals, and find the .mat file you saved earlier. select and place in your map!

[Image: PFqpF.png]



RE: [Tutorial] How to make a custom decal! - Tanshaydar - 09-18-2011

You should reverse the picture vertically to see it properly, or otherwise it will be reversed in game.


RE: [Tutorial] How to make a custom decal! - TheKataKombs - 09-18-2011

Doesnt work for me. I do the exact same thing as you do, but when i place it and look at it in-game, its not there. :S


RE: [Tutorial] How to make a custom decal! - Homicide13 - 09-18-2011

(09-18-2011, 01:14 PM)Tanshaydar Wrote: You should reverse the picture vertically to see it properly, or otherwise it will be reversed in game.
right, forgot to include that bit Tongue
thanks for pointing that out

kata: can you see it in the level editor? it works fine for me o.o



RE: [Tutorial] How to make a custom decal! - TheKataKombs - 09-18-2011

(09-18-2011, 06:08 PM)Homicide13 Wrote:
(09-18-2011, 01:14 PM)Tanshaydar Wrote: You should reverse the picture vertically to see it properly, or otherwise it will be reversed in game.
right, forgot to include that bit Tongue
thanks for pointing that out

kata: can you see it in the level editor? it works fine for me o.o
i can see it perfectly fine in the level editor, but i cant see it In-game Sad




RE: [Tutorial] How to make a custom decal! - Homicide13 - 09-18-2011

That sounds like it could be a cache problem. How do you test your maps? Try going into your map folder and deleting all the .map_cache files. (of course you'll have to do this every time you test something if you don't set up a dev environment)



RE: [Tutorial] How to make a custom decal! - TheKataKombs - 09-19-2011

(09-18-2011, 09:04 PM)Homicide13 Wrote: That sounds like it could be a cache problem. How do you test your maps? Try going into your map folder and deleting all the .map_cache files. (of course you'll have to do this every time you test something if you don't set up a dev environment)
ok thanx. I'll try it out Tongue


RE: [Tutorial] How to make a custom decal! - JenniferOrange - 09-23-2011

THANKYOUUUUUUUUUUUUUUUU FOR THIS.
I've got mine coming out like this:
[attachment=2003]
What'd I do wrong? o_o



RE: [Tutorial] How to make a custom decal! - Tanshaydar - 09-23-2011

In material editor, make it MUL or MULx2, I don't remember exactly, but that will take out the blackness.


RE: [Tutorial] How to make a custom decal! - Homicide13 - 09-23-2011

hm, are you sure the image you're using has an alpha level?