Custom Masked Textures not working. Created 15 years ago2008-06-17 23:27:41 UTC by yousifucv yousifucv

Created 15 years ago2008-06-17 23:27:41 UTC by yousifucv yousifucv

Posted 15 years ago2008-06-17 23:27:41 UTC Post #251442
I made a 16x16 RGB:0,0,255 texture with '{' in the front of the name, put it in the wad with wally, used it on a brush, set it to func_wall Normal Solid FX255.

I still see it as a blue texture and not transparent.
If I use the originals (eg. rails) they work perfectly.

I also tried to make the texture in photoshop and indexed it too.

Any ideas?
Posted 15 years ago2008-06-18 03:32:21 UTC Post #251449
You need to make sure that.

A) Wally hasn't altered the colour slightly (does that sometimes)
and
B) The pure blue colour [u]MUST[/u] be the very last colour that appears in the texture's colour pallette. (i.e. The bottom right)

Both can be done by editing the pallette.
monster_urby monster_urbyGoldsourcerer
Posted 15 years ago2008-06-20 20:31:19 UTC Post #251656
Transparent HL textures In Wally
***********************
By NinjaGrinch

Any part of the texture that you want to be transparent needs to be the same color as palette index 255. Generally its a good idea to use a specific color like pure blue/green/red or my favorite, magenta RGB(255,0,128), that stands out from the rest of the texture.

The best way to set the color you want to index 255 is to first get the image looking how you want in Photoshop (or whatever your prefered graphics program is), then open it up in Wally.

Pick the color you want to be transparent (Use the "Eye Dropper" tool to select the transparent colour as your primary colour), and then choose 'Translate Colors' from the Colors menu.

For Source pixels enter the number you noted in the textbox named 'index'. After that, under Destination Index, enter '255' in that textbox, make sure 'swap indexes' is checked, and hit ok.

Now, the the color you chose for transparency should be set as index 255, or the last little box on the lower right of the palette.

Full thread here:
http://www.chatbear.com/unity2/668/403,1064167071,2615/536206?v=flatold

And finally another helpful Transparent Textures HL tutorial, this one with pretty pictures at Egir.dk:
http://www.egir.dk/index.php?page=wal_transparent/wal_transparent.html
Captain Terror Captain Terrorwhen a man loves a woman
Posted 15 years ago2008-06-22 13:45:21 UTC Post #251751
Thank you both, and thank you for the tutorials. It worked.
You must be logged in to post a response.