Please or Register to create posts and topics.

Custom Overlay???

PreviousPage 2 of 2
Quote:
set $translucent to 0 instead of 1

Nope, still not working, and LOL at that picture

This... sentence... is... false.... dontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutit
MLIA
Thanks in advance :thumbup:

Just use the "Auto-Create Vmt" feature in vtfedit, and add the line $translucent 1 to the area in between the { and }.

Also, I'm not sure if you are using translucency right with the image. You need to have a completely blank bottom layer, and everything else that is opaque should be on top. Saving as a .tga works best, in my opinion.

Finally, in order to make it look right, make sure that "Correct Gamma" in the "Advanced" tab when you import the image to VtfEdit is turned off[I've found that images can become washed out if that's used].

Here's a sample vmt that works fine as an overlay:

Code: Select all
"LightmappedGeneric"
{
   "$basetexture" "[path]"
   $translucent 1
}
Image
Quote:
Also, I'm not sure if you are using translucency right with the image. You need to have a completely blank bottom layer, and everything else that is opaque should be on top. Saving as a .tga works best, in my opinion.

Can you please show me an example of this. I am drawing a blank here.

This... sentence... is... false.... dontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutit
MLIA
Thanks in advance :thumbup:

For having transparency, you need to add an alpha-channel to your picture and save it as 32bit .tga file.
How to do this? Probably use Google, im absolutely sure it's explained somewhere.

Or use a .png file. They work fine for me.

When life gives you lemons, make apple juice and have everyone wonder how you did it.
Musical website Moddb
Arachnaphob wrote:
Or use a .png file. They work fine for me.

Maybe for overlays without transparency; as far as I know .png can't save alpha.

JoeyGuy917 wrote:
Can you please show me an example of this. I am drawing a blank here.

If you are using paint.net [be careful when downloading - the website is getpaint.net and there is many
ads with download buttons on it
], it's simply a matter of having the very bottom layer completely empty; everything else is on top. Then, you save as a .tga, not a regular image format.

If you want, I can pm you the installer file for paint.net to save you the hassle of finding the right download button.

Image
Ultiman9711 wrote:
Arachnaphob wrote:
Or use a .png file. They work fine for me.

Maybe for overlays without transparency; as far as I know .png can't save alpha.

They do support transparency, but I would go with the tga for now.

When life gives you lemons, make apple juice and have everyone wonder how you did it.
Musical website Moddb

Their transparency is different to .tga's. And VTF Edit needs the special Alpha channel provided by .tga.

PreviousPage 2 of 2