Frictional Games Forum (read-only)

Full Version: [Tutorial] How to make a custom decal!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
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]
You should reverse the picture vertically to see it properly, or otherwise it will be reversed in game.
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
(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
(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

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)
(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
THANKYOUUUUUUUUUUUUUUUU FOR THIS.
I've got mine coming out like this:
[attachment=2003]
What'd I do wrong? o_o
In material editor, make it MUL or MULx2, I don't remember exactly, but that will take out the blackness.
hm, are you sure the image you're using has an alpha level?
Pages: 1 2 3 4