How to make transparent textures (glasses)?


(Jaquboss) #1

Hmm , maybe someone have to repair insignia (they glows in dark…)


(Rain) #2

If you’re talking about the rank insignias on players’ helmets, I fixed that in etpro a while ago:

etpro/ranks/rank1
{
        {
                map models/players/temperate/common/rank1.tga
                alphaFunc GE128
                rgbGen lightingDiffuse
        }
}

I only changed the shader name from what the game normally uses so that I wouldn’t have to deal with the weird load order issues—it should be possible to make the original names (models/players/temperate/common/rank1 etc.) work if you’re willing to play around with the shader script/pk3 filenames until it works.


(MADDOG) #3

Inorder to make the textuers work right i think you have to go to player .char file and add in glasses that should make it work with the player and make them transparent. I used the RTCW glasses on my new models for ET and it worked same as yours did but when went into the .char file i had to add glasses to one of the lines. I dont have it anymore because i had to reformate my comp cause it wasnt working so i lost all my work. But i know for a fact that you have to add a line like glasses to the .char file.