project_demon
May 2 2004, 02:41 PM
i have a vent in my map that has blue squares, now i made that vent a func_breakable and i setted the render mode to solid and fx amount to 255...
in the game these blue squares are not transparent why?
i am using zhlt
Yamazaki
May 2 2004, 04:27 PM
Is the texture from the standard half-life WAD, or is it custom?
esuna
May 2 2004, 04:31 PM
Did you remember to set the FX colour to "0 0 255"? The default value is "0 0 0" (black) and for blue you should put "0 0 255" (pure blue).
project_demon
May 2 2004, 04:40 PM
| QUOTE (esuna @ May 2 2004, 11:31 AM) |
Did you remember to set the FX colour to "0 0 255"? The default value is "0 0 0" (black) and for blue you should put "0 0 255" (pure blue). |
did not do that... i'll try it thanks
oh and the texture is from ns
taleden
May 2 2004, 04:45 PM
| QUOTE (esuna @ May 2 2004, 11:31 AM) |
Did you remember to set the FX colour to "0 0 255"? The default value is "0 0 0" (black) and for blue you should put "0 0 255" (pure blue). |
Whaa? I've never done that, and I've never had trouble with transparent textures.. as long as the texture name begins with '{', and it's on a brush with rendermode 'solid' amount '255', it should be fine. I don't think I've ever touched FX Color for anything, come to think of it.. what's it good for?
Yamazaki
May 2 2004, 04:56 PM
| QUOTE (esuna @ May 2 2004, 04:31 PM) |
Did you remember to set the FX colour to "0 0 255"? The default value is "0 0 0" (black) and for blue you should put "0 0 255" (pure blue). |
Doesn't need to be 0 0 255, just 255 will do.
Also the transparent colour has to be the last colour in the 256 pallete (index 255 to be exact) for it to work. Half-Life WAD has this colour as blue for consistency, but it can be any colour as long as it's the last one.
brute_force
May 2 2004, 05:52 PM
| QUOTE (taleden @ May 2 2004, 05:45 PM) |
| QUOTE (esuna @ May 2 2004, 11:31 AM) | Did you remember to set the FX colour to "0 0 255"? The default value is "0 0 0" (black) and for blue you should put "0 0 255" (pure blue). |
Whaa? I've never done that, and I've never had trouble with transparent textures.. as long as the texture name begins with '{', and it's on a brush with rendermode 'solid' amount '255', it should be fine. I don't think I've ever touched FX Color for anything, come to think of it.. what's it good for?
|
FX Colour can be used with additive objects, I believe, to give them a different colour (mainly sprites).
Anyhow, you shouldn't need to touch FX Colour in this case.
Naigel
May 2 2004, 06:08 PM
There's this alien hanging texture in the ns.wad with a black background. I never knew how to get it see through (since it's black). So what do I put in for that texture?
Yamazaki
May 2 2004, 06:50 PM
| QUOTE (Naigel @ May 2 2004, 06:08 PM) |
| There's this alien hanging texture in the ns.wad with a black background. I never knew how to get it see through (since it's black). So what do I put in for that texture? |
{alien_alpha2?
Easy.
Rendermode: Solid
FX Amount: 255
The FX amount for Solids is NOT the colour of the transparent colour, it's a reference to the index in the palette. The last colour in the palette is 255, and the last colour is the transparent colour, so 255.
statusq
May 3 2004, 07:53 AM
Actually all you need is Rendermode: solid. I use 50 as FXamount for example, but I think it could be left blank also. Transparent textures ( { ) always use the last colour of colour index as the transparent colour and there's nothing you can do about it.
And project_demon: make sure the texturename has "{" infront of it. Otherwise Half-Life doesn't know it's supposed to be a transparent texture.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.