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
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). <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
<!--QuoteBegin-esuna+May 2 2004, 11:31 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (esuna @ May 2 2004, 11:31 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> 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). <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--> did not do that... i'll try it thanks
<!--QuoteBegin-esuna+May 2 2004, 11:31 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (esuna @ May 2 2004, 11:31 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> 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). <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--> 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?
<!--QuoteBegin-esuna+May 2 2004, 04:31 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (esuna @ May 2 2004, 04:31 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> 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). <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo--> <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd--> 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.
<!--QuoteBegin-taleden+May 2 2004, 05:45 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (taleden @ May 2 2004, 05:45 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-esuna+May 2 2004, 11:31 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (esuna @ May 2 2004, 11:31 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> 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). <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo--> <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd--> 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? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--> 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.
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?
<!--QuoteBegin-Naigel+May 2 2004, 06:08 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Naigel @ May 2 2004, 06:08 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> 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? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--> {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.
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.
Comments
did not do that... i'll try it thanks
oh and the texture is from ns
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?
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.
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? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
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.
{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.
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.