No decals =/


dragon1037
07-21-2007, 07:59 PM
Ok, so my problem this time is... my decals arent working.

What I do (instead of the long .tga format to .vtf and then writing the .vmt) to make my decal, is I spray it in game (the decal is supposed to be the same size as the spray, so no worries on the reduction of size). This creates the .vtf and .vmt instantly in my VGUI folder. Now, when I use this decal in Hammer, it shows up, but when I compile and test, it doesn't show up. the .vmt path is right, and the .vtf and the .vmt are both in the same folder.

They just wont show up in-game :mad:

Dustin Diamond
07-21-2007, 08:02 PM
make sure the following line is present in the vmt:

"$decal" "1"

you can also adjust the size of the decal in the vmt, with the line:

"$decalscale" 1 (or "$decalscale" .25, etc)

dragon1037
07-21-2007, 09:18 PM
.vmt:

LightmappedGeneric
{
"$basetexture" "Dragon\MapeditedDragon1"
"$translucent" "1"
"$decal" "1"
"$decalscale" "0.250"
}

edit: thanks for the very speedy reply

f64
07-23-2007, 06:31 AM
I recently had a problem with a decal I was testing for a plugin and discovered that I had
somehow managed to make it incorrectly in PS.

Exactly what I did worng, I don't know, but the problem was solved by remaking it.
It had transparency as well, so most likely the whole image was transparent. ;)

dragon1037
07-23-2007, 04:18 PM
it is transparent lol. ok, ill try remaking it. I'll come back here if i still have problems.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.