• Custom Decals
    18 replies, posted
I know the procedure to make custom decals. Get the Image. Save it as .tga. Convert to VMT and VTF. Make sure the decal information is in the VMT. Place in the decals folder of the game. Well all of that works. It is placed correctly and works correctly in hammer, however even though I can see it in Hammer it does not show up at all in game. I have no idea why, this is my first custom decal.
Post the contents of the vmt file.
Did you create an alpha map for your image?
Well, did you put your custom decal not only in your engine folder, but as well as your Garry's Mod folder? :)
Ok I don't now what you mean by the alpha map. I have head of it before but I am totally blacking out on what it means. Heres the contents of the vmt file. "LightmappedGeneric" { "$basetexture" "decals/mushroomkingdomdecal" "$decal" 1 "$decalscale" 0.25 "$translucent" 1 } EDIT: The only folder I put the decal was Garry's Mod decal folder.
You need to create an alpha channel for your decal. [url]http://developer.valvesoftware.com/wiki/Creating_Decals[/url] [url]http://developer.valvesoftware.com/wiki/Decals_in_Photoshop[/url]
[QUOTE=HighdefGE;19406891]You need to create an alpha channel for your decal. [url]http://developer.valvesoftware.com/wiki/Creating_Decals[/url] [url]http://developer.valvesoftware.com/wiki/Decals_in_Photoshop[/url][/QUOTE] Ok thanks, ill try that.
Sorry, been away a while didn't have time to do the tutorial until now. Anyways I do everything the tutorial asks but once I get the alpha done it creates the white background that I need transparent. I tried just cropping it out, but that won't work.
Try saving the .TGA file by checking "32 bits/pixel" and "Compress (RLE)".
Still have the same problem. The background is transparent but once I add that alpha the way it tells me to, then I have a white background. It successfully shows up in game, but now I just need to get rid of the white background.
The white background displaying in Photoshop is normal. You don't have to do anything about it, as it won't affect anything in-game.
I wish it was like that.. but it shows up in game as well.
[QUOTE=outlawsx;19416099]I wish it was like that.. but it shows up in game as well.[/QUOTE] In whatever image editing thing you're using, the background is actually transparent, right?
I am using photoshop. When I set up the alpha it is transparent. But when I save it as a .tga then load it up again on Photoshop to look at it, then it has the white background.
[QUOTE=outlawsx;19417051]I am using photoshop. When I set up the alpha it is transparent. But when I save it as a .tga then load it up again on Photoshop to look at it, then it has the white background.[/QUOTE] As I said, that's perfectly normal. The white background shouldn't affect anything in hammer. Just convert the .TGA to a .VTF with VTFEdit, and use the basic .VMT below. [code] LightmappedGeneric { $basetexture decals [i][folder][/i]\decalname [i][file name of your vtf/decal][/i] $decal 1 $decalscale 0.1 $translucent 1 } [/code] (ignore the italics) Though if you don't like the white background when loading the .TGA again, save the image (decal) you are working on as a .PSD.
Ok, ill try again. [editline]04:17AM[/editline] Like I said before. [IMG]http://img695.imageshack.us/img695/6382/hl22010010322130150.jpg[/IMG] [editline]04:54AM[/editline]
Just in case no one saw my edit. Look at the previous post.
Are you sure you're doing the photoshop tutorial correctly? And you used the .VMT I gave you, right?
Yea, even the Shift+F5 thing, it said to accept the default settings when doing that. But I think that may be where the problem is.
Sorry, you need to Log In to post a reply to this thread.