Custom signs not glowing

Avatar
Hen7
91 Posts
Posted Feb 27, 2008
Hey, I've made some custom signs for my map but I have no idea how to make them glow like the original ones:

This is the code I used in the VMT:

"LightmappedGeneric"
{
   "$basetexture" "signage/signage_overlay_hole"
   "$decal" 1
   "$surfaceprop" "glass"
   "$selfillum" 1
   "%keywords" "portal"
}

Any help?
Thanks.

Advertisement
Registered users don't see ads! Register now!
Avatar
MrTwoVideoCards
584 Posts
Posted Feb 27, 2008
Replied 5 minutes later
Hmmm thats pretty weird, I'm no Magic man, but does it have an alpha or is this just a normal texture?
Avatar
Hen7
91 Posts
Posted Feb 27, 2008
Replied 45 minutes later
Normal, I just threw a jpeg image into the VTF, and then took a VMT from a original sign and changed the names.
Avatar
Aldéz
221 Posts
Posted Feb 27, 2008
Replied 45 minutes later
You might need an alpha layer. Since you probably want the whole texture to be light, an easier way is to change the shader to UnlitGeneric.
Avatar
msleeper
4,095 Posts
Member
Posted Feb 27, 2008
Replied 38 minutes later
You'd do better to take an existing sign and modify it, than try to make one from scratch, so that you have the correct alpha layer settings.
Avatar
Hen7
91 Posts
Posted Feb 27, 2008
Replied 13 minutes later
I did the UnlitGeneric thing but now its really white, So I'll do it with the alpha layer stuff, Can you Direct me to a tutorial or something like that? because I never experienced with that.
And how can I edit an existing sign?, Also, when I'm opening the new Portal VTFs I'm getting an error message, I'm running the last version of vtfedit.
Thanks.
Avatar
msleeper
4,095 Posts
Member
Posted Feb 27, 2008
Replied 25 minutes later
Getting an error message usually means you're doing something wrong. How about posting the actual error you're getting.

This article looks like it should point you in the right direction to setting up what you need: http://developer.valvesoftware.com/wiki/Decals

Advertisement
Registered users don't see ads! Register now!
Avatar
Hen7
91 Posts
Posted Feb 27, 2008
Replied 1 hour later

Happens with the orange box VTFs only, I assume it's because the texture are running on a new version, But my vtfedit is the last version.

Edit - Okey I found out there is a new version, the error is fixed, Anyway msleeper thanks for the link, I'll look into that.