Sprite help needed (aplayer,american,camera)
Genie
06-05-2003, 12:27 PM
I'm trying to make new sprites for the icons you see in the mini-map, and what you see over the player's heads. The only problem is I cant seem to get the transparency thing right. I don't know which setting to put it on, or what im doing wrong. I'm just trying to make the green surrounding the icon, transparent (as it should be)
Any help guys?
MaRzY
06-05-2003, 12:31 PM
Use alphatest as your transparency fillter, and just make sure the colour you wish to be transparent is the last colour in the palette.
Genie
06-05-2003, 12:36 PM
and just make sure the colour you wish to be transparent is the last colour in the palette.
aaah that would be what's wrong, thanks for pointing that out.
Genie
06-05-2003, 01:02 PM
sorry my bad, still not working. I've got the right color as the last color in the pallete (for each sprite bmp) and I did it on alpha test but it's still not working. hmmm
MaRzY
06-05-2003, 02:21 PM
It seems your not the only one with having prob's, i've read a few post now where peeps can't get the transparent feature working, weather it's sprites or model textures.
I'm thinking of making a tut about setting up your images palettes for transparency.
I posted this in a another thread a day or so ago, it sounds like the same problem as to why yours might not be working.
Originally posted by MaRzY
Remember an index image means that every colour in your image is in an index from 0 to 255.
It seems to me what you have done is make your skin then just copyed the transparent colour to the last in the palette, but your image is still using the same colour somewhere else in your palette.
The transparent colour in your image has to be the last colour in your palette, and not just copyed from somewhere else in the palette and plonked at the end of the palette, thats not how an index image works.
If this does not help let me know and ill give you an email address to send your images and ill fix them for you.
Effexx
06-06-2003, 12:00 AM
Originally posted by MaRzY
The transparent colour in your image has to be the last colour in your palette, and not just copyed from somewhere else in the palette and plonked at the end of the palette, thats not how an index image works.
Heh... thanks Marzy... I've been having problems like that as well, and now I seem to have ofund what I was doing wrong... DOH!... lol...
...
Day of Defeat Forum Archive created by
Neil Jedrzejewski.
This in an partial archive of the old Day of Defeat forums orignally hosted by
Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.