Sprites

ShazbotShazbot Join Date: 2003-03-05 Member: 14328Members
<div class="IPBDescription">Changing their rendermode.</div> I was wondering whether it's possible to change a sprites that are alpha test to additive, so that they would have transparent features when in game. I've tried changing the sprite to additive, but it doesn't come up transparent in game. Is it hard-coded into NS, where it's impossible to change?

FYI: I'm trying to make the experience bar in NS transparent.

Comments

  • TheGuyTheGuy Join Date: 2003-08-09 Member: 19295Members, Constellation
    When you specify additive, the sprite's transparency/color is rendered by the game
  • WindburnWindburn Join Date: 2003-08-02 Member: 18711Members, Constellation
    Hey Shaz, upon closer inspection of the minimap transparant sprites textures that were made recently, you can see that they are basically functioning by interlacing the transparant colour throughout the rest of the texture. so that effectively you have a checkerboard pattern of say red sprites throughout the entire texture being used.
    That way when it draws it in game, every second sprite is transparent, and it gives a translucent effect.

    Hope you can understand what i was saying, cause i don't think i do <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
  • ShazbotShazbot Join Date: 2003-03-05 Member: 14328Members
    edited September 2004
    <!--QuoteBegin-Sykotic+Sep 13 2004, 08:48 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Sykotic @ Sep 13 2004, 08:48 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Hey Shaz, upon closer inspection of the minimap transparant sprites textures that were made recently, you can see that they are basically functioning by interlacing the transparant colour throughout the rest of the texture. so that effectively you have a checkerboard pattern of say red sprites throughout the entire texture being used.
    That way when it draws it in game, every second sprite is transparent, and it gives a translucent effect.

    Hope you can understand what i was saying, cause i don't think i do <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo--> <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    I understand completely. I'll have to try that out, thanks for the help <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->

    EDIT: This apparently works, looks pretty good on the unbuilt hive.
Sign In or Register to comment.