poster overlay bug

DataTraveler

L1: Registered
Aug 28, 2009
29
1
Hello,
I was trying to make a poster overlay with this tutorial . I did everything correct, but at the end I get white color surrounding my poster. How to remove it?

stotisbug.jpg
 

FissionMetroid101

L2: Junior Member
Jan 27, 2010
65
118
Hmm, have you tried the level ingame to see if that problem's still there? Because I've had a similar error with sprites, but they fixed themselves when I compiled the map.
 

DataTraveler

L1: Registered
Aug 28, 2009
29
1
I have another question. Why on my textures are red (!) ?

Here's a pic of that:
stotisbug1.jpg




And I tryed as you said but still same
Here:
bandymassigns0000.jpg
 

Tapp

L10: Glamorous Member
Jan 26, 2009
776
215
when converting the poster to a vtf file, was it a png file? Because vtf only recognises the transparency in png files. Also, make sure that the vmt has translucency in it.
 

Cynick

L4: Comfortable Member
Feb 7, 2010
153
284
Make sure you save as a 32 bit TGA or a 32 Bit PNG before converting. 24 Bit will not include the alpha (transparency) channel in your image, giving your image a white border. Also, make sure you are actually making the edges transparent in whatever image editor you use.
 

Exist

L6: Sharp Member
Oct 31, 2009
306
136
In the VMT file for the overlay, add this

$translucent 1

If you didn't remove the white outline in Photoshop or The Gimp, Google how to do so.
 

DataTraveler

L1: Registered
Aug 28, 2009
29
1
This is how my vmt looks like
Code:
"LightmappedGeneric"
{
"$basetexture" "signs/atsargiai_kont"
"$decal" 1
"$decalscale" 0.25
"$translucent" 1
"%keywords" "tf"
}

And I did every thing like you said saved as .tga 32bit but still the same.
BTW I use PhotoShop CS3.
Any more ideas how to solve that?
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
I'm pretty sure there's a PS plugin that allows you to save directly to .VMT format.

It sounds like you havn't set up the transparency in the image properly.
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
When i first had trouble setting up my transparency in a .vmt i simply took an existing .vmt (extracted from the TF2 .gcf), deleted the existing layer and replaced it with my own. That worked (it was for a spray, so i didn't really need to edit the .vtf). I then figured out configuring an alpha channel after, when i understood more about PS channels.

edit: http://nemesis.thewavelength.net/index.php?c=154&o=30

photoshop .vmt plugin.
 
Last edited:

DataTraveler

L1: Registered
Aug 28, 2009
29
1
Thanks it helped me. But still not perfect.
stotisbug2.jpg


Any new ideas how to fix that?