Custom Overlay???
Quote from JoeyGuy917 on November 30, 2013, 3:30 pmQuote:set $translucent to 0 instead of 1Nope, still not working, and LOL at that picture
Nope, still not working, and LOL at that picture
MLIA
Thanks in advance

Quote from Ultiman9711 on November 30, 2013, 6:16 pmJust 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
}
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
}
Quote from JoeyGuy917 on November 30, 2013, 7:07 pmQuote: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.
Can you please show me an example of this. I am drawing a blank here.
MLIA
Thanks in advance

Quote from Skotty on December 1, 2013, 8:05 amFor 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.
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.
Quote from Arachnaphob on December 1, 2013, 3:34 pmOr use a .png file. They work fine for me.
Or use a .png file. They work fine for me.
Musical website Moddb
Quote from Ultiman9711 on December 1, 2013, 3:44 pmArachnaphob 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.
Maybe for overlays without transparency; as far as I know .png can't save alpha.
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.
Quote from Arachnaphob on December 1, 2013, 3:52 pmUltiman9711 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.
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.
Musical website Moddb
Quote from Skotty on December 1, 2013, 5:39 pmTheir transparency is different to .tga's. And VTF Edit needs the special Alpha channel provided by .tga.
Their transparency is different to .tga's. And VTF Edit needs the special Alpha channel provided by .tga.