Render Problem

project_demonproject_demon Join Date: 2003-07-12 Member: 18103Members
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

Comments

  • YamazakiYamazaki Join Date: 2002-01-24 Member: 21Members, NS1 Playtester, Contributor
    Is the texture from the standard half-life WAD, or is it custom?
  • esunaesuna Rock Bottom Join Date: 2003-04-03 Member: 15175Members, Constellation
    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-->
  • project_demonproject_demon Join Date: 2003-07-12 Member: 18103Members
    <!--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

    oh and the texture is from ns
  • taledentaleden Join Date: 2003-04-06 Member: 15252Members, Constellation
    <!--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?
  • YamazakiYamazaki Join Date: 2002-01-24 Member: 21Members, NS1 Playtester, Contributor
    edited May 2004
    <!--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.
  • brute_forcebrute_force Join Date: 2003-10-04 Member: 21433Members, Constellation
    <!--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.
  • NaigelNaigel Join Date: 2003-07-23 Member: 18376Members, Constellation
    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?
  • YamazakiYamazaki Join Date: 2002-01-24 Member: 21Members, NS1 Playtester, Contributor
    <!--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.
  • statusqstatusq Join Date: 2003-01-10 Member: 12142Members
    edited May 2004
    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.
Sign In or Register to comment.