Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] How to make a custom decal!
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#1
[Tutorial] How to make a custom decal!

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]

(This post was last modified: 09-18-2011, 06:09 PM by Homicide13.)
09-18-2011, 06:17 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: [Tutorial] How to make a custom decal!

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

09-18-2011, 01:14 PM
Website Find
TheKataKombs Offline
Member

Posts: 50
Threads: 7
Joined: Nov 2010
Reputation: 0
#3
RE: [Tutorial] How to make a custom decal!

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

[Image: at_4653116.png]
09-18-2011, 02:17 PM
Find
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#4
RE: [Tutorial] How to make a custom decal!

(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
Find
TheKataKombs Offline
Member

Posts: 50
Threads: 7
Joined: Nov 2010
Reputation: 0
#5
RE: [Tutorial] How to make a custom decal!

(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


[Image: at_4653116.png]
09-18-2011, 07:26 PM
Find
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#6
RE: [Tutorial] How to make a custom decal!

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
Find
TheKataKombs Offline
Member

Posts: 50
Threads: 7
Joined: Nov 2010
Reputation: 0
#7
RE: [Tutorial] How to make a custom decal!

(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

[Image: at_4653116.png]
09-19-2011, 01:27 PM
Find
JenniferOrange Offline
Senior Member

Posts: 424
Threads: 43
Joined: Jun 2011
Reputation: 33
#8
RE: [Tutorial] How to make a custom decal!

THANKYOUUUUUUUUUUUUUUUU FOR THIS.
I've got mine coming out like this:

.jpg   6.jpg (Size: 157.52 KB / Downloads: 356)
What'd I do wrong? o_o

Ba-da bing, ba-da boom.
(This post was last modified: 09-23-2011, 01:45 AM by JenniferOrange.)
09-23-2011, 01:16 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#9
RE: [Tutorial] How to make a custom decal!

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

09-23-2011, 01:50 AM
Website Find
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#10
RE: [Tutorial] How to make a custom decal!

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

09-23-2011, 02:16 AM
Find




Users browsing this thread: 1 Guest(s)