Trying to make black smoke

infiinfi Join Date: 2002-07-07 Member: 891Members
<div class="IPBDescription">But it just doesn't work right...</div>I try to create black smoke for a "burning" part of my map, I took the xsmoke1.spr extported all the .bmps inverted them and made a new sprite with $texture indexalpha so that the white is transparent and the black visible... now I took this sprite in my particle system for the smoke... I first tried it with additive, that doesn't work the sprite is not visible, then I set render mode to transalpha... well it does work in a way like this, but If I see all the sprites it slows down the game drastically and the fadeout function of the particle system does not work, that means the black sprites will just disappear after their lifetime is up, that looks odd. Anyways the worst problem is the speed, I first had the same particle system with the normal xsmoke1.spr set to additive and didn't have such a speed decrease... I had still at least 50fps now the fps go down to 20-30... :/

Comments

  • HicksHicks Join Date: 2002-04-11 Member: 418Members
    how are your r-speeds, if their high it could be the straw that broke bob's back
  • doctopepadoctopepa Join Date: 2002-01-26 Member: 99Members
    Doesn't the mapping faq say something about classic-additive mode being the only rendermode that works right now, and that flay's going to fix it later?
    might just b your prob.
  • HicksHicks Join Date: 2002-04-11 Member: 418Members
    NSTR= the bane of my mapping life....
    Yea D-man, not sure if the devs fixed it, well all i can say is move this to the tech fourm
  • DunsbyDunsby Join Date: 2002-08-01 Member: 1042Awaiting Authorization
    <b><span style='color:lightblue'>*removed off topic post*</span></b>



    <!--EDIT|Moleculor|Aug. 05 2002,17:44-->
  • SmokeMastaSmokeMasta Join Date: 2002-04-13 Member: 430Members
    Silent But violent  thsi is the Mapping forum
    personal things do thru the instant msg  and don't post if you don't have something to add to the subject.

    maybe if you let the particles die faster you get a higher Fps
  • HicksHicks Join Date: 2002-04-11 Member: 418Members
    infi, what is your goal? i.e. what does the burning area look like?
    (screenshots would help)
  • Delete_MeDelete_Me Join Date: 2002-04-01 Member: 368Members
    I'm not sure if it is still in NS, but there was the cycler_wreckage in HL. It was a very poor entity, and caused massive framerate drops, but it did bellow out very thick clouds of smoke.
  • infiinfi Join Date: 2002-07-07 Member: 891Members
    I am talking about this area...

    <img src="http://www.chaosworx.net/maps/ns_cruisecontrol0023.jpg" border="0">

    behind that door it's burning... now this sprite looks like steam not like smoke... smoke is darker... so I tried it with that black sprite... but as I said it doesn't fade out and decreases the framerate more than the normal sprite does
  • SmokeMastaSmokeMasta Join Date: 2002-04-13 Member: 430Members
    look at how smoke behaves in a room.
    it rises to the top. it doesn't stay @ the floor
  • MerkabaMerkaba Digital Harmony Join Date: 2002-01-24 Member: 22Members, Retired Developer, NS1 Playtester
    I'm not sure that black smoke is possible.
  • ChromeAngelChromeAngel Join Date: 2002-01-24 Member: 14Members, NS1 Playtester, Contributor
    I seem to recall that badmmofo made black smoke.  I have no idea how, and he's not around anymore.
  • KungFuSquirrelKungFuSquirrel Basher of Muttons Join Date: 2002-01-26 Member: 103Members, NS1 Playtester, Contributor
    I think they were just static sprites, though, and not the actual particle system in action... if I recall correctly...
  • infiinfi Join Date: 2002-07-07 Member: 891Members
    actually it looks almost right ingame...

    <img src="http://www.chaosworx.net/maps/ns_cruisecontrol_blacksmoke.jpg" border="0">

    but as I said fadeout doesn't work, it slows down the game more than the normal sprite does and it is pitch black although I set max alpha to 0.25
  • infiinfi Join Date: 2002-07-07 Member: 891Members
    hmm so, I imitated the fadeout effect with the sprite itself, looks good now ingame... but look at the fps... only 33,3 =O

    <img src="http://www.chaosworx.net/maps/ns_cruisecontrol_blacksmoke2.jpg" border="0">
  • freelancerfreelancer Join Date: 2002-03-18 Member: 330Members
    ok may be this helps, change the sprite back to a sprite with black borders and make the smokey part itself a bit lighter (dark grey) and make a "normal" sprite out of it, so you can set rendermode additive and fx amount 255 as usual....

    no idea wether this is helpful or not but i had to try..

    mfg

    lance
  • infiinfi Join Date: 2002-07-07 Member: 891Members
    that won't make it darker... render mode additive makes the sprite "light up" all that's behind it... depending on how bright the sprite itself is the more it lights up the background... so if its black it's not visible if it's grey it lights up the background a bit and if it's white it makes it 100% white too (with full alpha)
Sign In or Register to comment.