[srel] Black Bubbles Fix

TheGuyTheGuy Join Date: 2003-08-09 Member: 19295Members, Constellation
edited September 2004 in NS Customization
<div class="IPBDescription">Gives bubbles the correct render mode</div> Based on <a href='http://www.natural-selection.org/bt/bug_view_page.php?bug_id=0000745' target='_blank'>http://www.natural-selection.org/bt/bug_vi...?bug_id=0000745</a>

But I figure why should everyone have to wait till beta6 for this really simple fix.

It fixes the sprite that shows bubbles when you shoot into water. Normally it shows a black background. This is because of the way the sprite was compiled. It was made an additive sprite instead of indexalpha. Anyhow, here it is.

Just unzip to your ns\sprites folder

Comments

  • DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    This creates a new problem. The bubbles in the underwater passage in Bast now appear as white blobs.
  • Vash_Fourty_Five_LcVash_Fourty_Five_Lc Join Date: 2003-06-01 Member: 16913Members
    Hmm I did this too back in like Beta 3ish, but never released. The funny thing is, I just used the original bubbles from the original HL files. Never did know why NS had it's own (incorrectly) compiled version of the exact same thing... If the one The Guy posted keeps giving problems, then I'll post mines, although it's not that hard to do... It is really annoying though to have black boxes of dewm floating in the water though...
  • TheGuyTheGuy Join Date: 2003-08-09 Member: 19295Members, Constellation
    Wierd that's kind of odd since it looks fine in the game..
  • TheGuyTheGuy Join Date: 2003-08-09 Member: 19295Members, Constellation
    Oh I think I know what you mean. But you misunderstand, the bubbles are made from when you shoot through water. The ones I think you are talking about are generated in game using the particle system, not sprites.
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    The particle system uses the exact same sprites as the ones being generated when bullets zip through water.

    In fact, every particle system uses sprites.
  • TheGuyTheGuy Join Date: 2003-08-09 Member: 19295Members, Constellation
    edited September 2004
    Sprite fix works fine, Verthandi is nuts
  • BAshhBAshh Join Date: 2003-08-26 Member: 20222Members, NS1 Playtester, Contributor
    <!--QuoteBegin-Verthandi+Sep 11 2004, 09:41 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Verthandi @ Sep 11 2004, 09:41 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> The particle system uses the exact same sprites as the ones being generated when bullets zip through water.

    In fact, every particle system uses sprites. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    lol... sure
  • Evil_IceEvil_Ice Join Date: 2004-07-09 Member: 29827Members, Squad Five Blue
    <!--QuoteBegin-Verthandi+Sep 11 2004, 09:41 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Verthandi @ Sep 11 2004, 09:41 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> In fact, every particle system uses sprites. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Oh no...
    Oh just... oh my... I can't...
    <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html//emoticons/sad-fix.gif' border='0' style='vertical-align:middle' alt='sad-fix.gif' /><!--endemo-->
    you make me sad with that comment, you dissappoint me vert...
    omgrosh...

    I just...
    I can't forumulate... sentance... to ....
    ::cries::

    omg that statement is so incredibly freaking wrong!

    ... some one please explain to him that particle systems DO NOT in fact use sprites...

    he is confused quite clearly, so I will pretend he didn't make that comment...
  • TheGuyTheGuy Join Date: 2003-08-09 Member: 19295Members, Constellation
    Great, so I'm right all along yet he's trying to tell me I'm wrong. Sprite = 2d image
  • Vash_Fourty_Five_LcVash_Fourty_Five_Lc Join Date: 2003-06-01 Member: 16913Members
    A psuedo particle system could use sprites, like what DoD uses currently. Its basically overlaying sprites together to give them "volume" and "depth." But a true particle system, would use....particles. Like volumetric fog. Yum... volumetric... Although many games to tend to opt for a system of overlaying sprites, more efficent meh thinks. Like Halo, pretty much all explosions, dust effects, etc. are overlayed sprite. Etc etc.
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    Here's what the underwater passage looks like, when using the default bubble.spr file.

    <img src='http://sjc.edu.hk/~verthandi/bubbles.jpg' border='0' alt='user posted image' />

    The bubbles show up perfectly clear, and there's no black box. The only difference is in the sprite file (more specifically, the transparency method).
    <ul><li>Is the gas leak in the underwater passage a particle system?</li><li>Are those bubbles sprites?</li><li>If both 'yes', then is this particle system using sprites?</li></ul>I may have been overgeneralizing when I said that <b>every</b> particle system uses sprites, but I believe the only error was in my wording. Is there a particle system in NS that does not use sprites?
  • Evil_IceEvil_Ice Join Date: 2004-07-09 Member: 29827Members, Squad Five Blue
    yes... you know when bullets hit walls that little spark thingy? and you know alot of the little misc sparkles and things are particle generated too, and I'm pretty sure some of the explosion gibs are particle generated, as there are no gib sprites in ns... and some of the spark drop things (not the welder)
  • MouseMouse The Lighter Side of Pessimism Join Date: 2002-03-02 Member: 263Members, NS1 Playtester, Forum Moderators, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    edited September 2004
    <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused-fix.gif' border='0' style='vertical-align:middle' alt='confused-fix.gif' /><!--endemo-->

    The NS particle system does use sprites, I should know, I've beem mapping with it for over 2 years. Although true particle systems do indeed use particles instead of sprites though.
  • OrganoXOrganoX Join Date: 2004-03-21 Member: 27473Members
    <b>TheGuy</b>
    Cool crosshairs, where did you get those? <!--emo&:0--><img src='http://www.unknownworlds.com/forums/html//emoticons/wow.gif' border='0' style='vertical-align:middle' alt='wow.gif' /><!--endemo-->
  • NecrosisNecrosis The Loquacious Sage Join Date: 2003-08-03 Member: 18828Members, Constellation
    So has anyone figured out why the "fix" borks the tunnel bubbles??
  • MouseMouse The Lighter Side of Pessimism Join Date: 2002-03-02 Member: 263Members, NS1 Playtester, Forum Moderators, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    Because all of the particle systems in NS use additive sprites. Since this fix makes the sprite indexalpha, it doesn't work.
  • TheGuyTheGuy Join Date: 2003-08-09 Member: 19295Members, Constellation
    Interesting, So there's no way of running a particle system in indexalpha? Because if the fix that Tyr used in the bug report is the same then this problem will still be apparent.
  • TheGuyTheGuy Join Date: 2003-08-09 Member: 19295Members, Constellation
    Here you go, apologies since I can't find out who made it despite searching.

    I did not make this
  • TheGuyTheGuy Join Date: 2003-08-09 Member: 19295Members, Constellation
    Ok I did some mapping and working with env_particle_custom . It's a really simple fix if this is the method that the NS team is going to use . Just change the rendermode for bubble to 4 instead of 5 and they show perfectly fine with this fix...

    I should probably note though that entities are done server side so you can't fix this yourself really.
Sign In or Register to comment.