a texture doesnt work - opacity Created 13 years ago2011-01-23 14:42:39 UTC by ninja defuse ninja defuse

Created 13 years ago2011-01-23 14:42:39 UTC by ninja defuse ninja defuse

Posted 13 years ago2011-01-23 14:42:39 UTC Post #289560
screen -> http://i.imgur.com/QQXKw.jpg
texture -> http://i.imgur.com/xJlWv.png (the image hosting website converted bmp -> png)

func_wall
render mode: solid
fx ammount: 255
Posted 13 years ago2011-01-23 14:52:25 UTC Post #289561
and it's not appearing at all? All i can really see in that picture is a few stained glass windows - its very dark
Tetsu0 Tetsu0Positive Chaos
Posted 13 years ago2011-01-23 14:53:15 UTC Post #289562
Make sure that the color that's supposed to be transparent is also index 255 on the color palette, firstly.
Posted 13 years ago2011-01-23 14:53:43 UTC Post #289563
Ninja'd soup, i was right in the middle of an edit with that addition.
Tetsu0 Tetsu0Positive Chaos
Posted 13 years ago2011-01-23 15:32:07 UTC Post #289564
and it's not appearing at all? All i can really see in that picture is a few stained glass windows - its very dark
hey i run my monitor with brighness 50 and contrast 50 and my hl1 settings are default
Make sure that the color that's supposed to be transparent is also index 255 on the color palette, firstly.
yes
User posted image
Posted 13 years ago2011-01-23 15:42:09 UTC Post #289565
That's not the palette index.
There's 256 colors in your texture's color palette. Index 256 (and it's 256, not 255, whoops) is a special color, because that color can become transparent.

Edit: Or I guess it technically is index 255 because it starts with 0 and all that jazz.

Just open the fucker in Wally and see if the very bottom right color on the palette is the color you want it to be.
Posted 13 years ago2011-01-23 15:43:33 UTC Post #289566
edit: ok

so what should i do?
User posted image
Posted 13 years ago2011-01-23 15:52:00 UTC Post #289567
He just told you. Lol.
Skals SkalsLevel Designer
Posted 13 years ago2011-01-23 16:01:20 UTC Post #289568
RGB: 0, 0, 255 Index: 17
Posted 13 years ago2011-01-23 16:08:14 UTC Post #289569
Adam Savage would say, "Well there's your problem!"

You'll have to change the transparent area from the color it is now to whatever is the very last color in the palette. Just bucket filling it in Wally would be fine.
Posted 13 years ago2011-01-23 16:08:23 UTC Post #289570
Your index has to be 255 as well.
Adam Savage would say, "Well there's your problem!"
QFT!
The Mad Carrot The Mad CarrotMad Carrot
Posted 13 years ago2011-01-23 16:23:25 UTC Post #289572
for some reason gimp is getting crazy

edit: doesnt work lololololololol
Posted 13 years ago2011-01-23 16:33:48 UTC Post #289574
I wouldn't recommend using GIMP. You can't paint straight from the palette AFAIK.
like I said, just bucket fill in Wally.
Posted 13 years ago2011-01-24 05:32:41 UTC Post #289614
Posted 13 years ago2011-01-24 16:09:08 UTC Post #289622
Also the texture name has to start with a {. Eg. '{cloth'. Don't forget that, or it still won't work.
Posted 13 years ago2011-01-24 16:41:58 UTC Post #289623
i saved that texture as 256 color bitmap in paint
ok it works so far
Posted 13 years ago2011-01-24 16:51:38 UTC Post #289624
yeah, the texture transparency can be a real PITA with GoldSrc.. The egir.dk tutorial killer-duck mentioned is pretty good.

If you still can't get it figured, check out the tutorial by NinjaGrinch referenced in this thread.
Captain Terror Captain Terrorwhen a man loves a woman
You must be logged in to post a response.