Custom Textures with trasparency? Created 17 years ago2007-03-03 20:15:14 UTC by Raz Raz

Created 17 years ago2007-03-03 20:15:14 UTC by Raz Raz

Posted 17 years ago2007-03-03 20:15:14 UTC Post #214843
I created my own custom textures for a map I'm making. I have researched it and found that the parts of the picture I want transparent need to be colored with "255 blue"(true blue in RGB format). I did this and also found that the 255th color in the color index has to be 255. I did this as well. I saved the image as an 8-bit bmp. Put it in a wad file and used it in my map. In the map I made the brush and applied my texture. At this point all I know to do to make this work is set the brushes render mode to "Solid - No light" (its func_illusionary if that matters). I compiled the map and the texture shows up but the blue shows as well. Anyone know whats up?
Posted 17 years ago2007-03-03 20:36:44 UTC Post #214845
Make sure the name of the texture begins with { and set the rendermode to Solid, FX amount 100 for example.

I'm not sure using blue is a must. As long as it's the first color in the palette, it should show up transparent.
User posted image
Posted 17 years ago2007-03-03 20:40:53 UTC Post #214846
Yes, I'm pretty sure it has to be "Red: 0, Green: 0, Blue: 255" for it to work. At least, that's how I've always done it and seen it done.
Posted 17 years ago2007-03-03 20:50:14 UTC Post #214848
I've seen WAD files in some mods where the transparent parts where pink or green, so any color might work.
Posted 17 years ago2007-03-03 20:51:20 UTC Post #214850
Mmmm, I see. Well, whatever. :)
Posted 17 years ago2007-03-03 21:23:51 UTC Post #214858
Yeah my bad i forgot to add that. The texture is named {tower1 or somthing like that. and the last color in the index is 255 blue. I made the image in photoshop and when I put it in wally and look at the color pallete, theres about 5 to 10 "squares" if you will... that are set to 255 blue. Could that be effecting it? If so I'm not quite sure on how to get rid of those so only the last square in the index is 255 without screwing up the image.
Posted 17 years ago2007-03-04 09:22:09 UTC Post #214915
-Open the image in photoshop, or Maybe even Paint.
-Replace all the blue with another color that you can clearly distinguish.
-Import in into Wally.
-Edit the palette so that color in the corner is 255 blue.
-Replace the other color with the blue in the corner.
Posted 17 years ago2007-03-04 10:08:52 UTC Post #214919
Wally's palette system sucks.

No need to export the image to photoshop, though.
You can just change the 255th colour to something totally different from blue, fill the transparent areas with it and change the colour back to blue.
Daubster DaubsterVault Dweller
Posted 17 years ago2007-03-04 14:59:37 UTC Post #214979
Ok guys i got it to work, thanks alot.
You must be logged in to post a response.