How do I instantly get rid of trailing particles?

Discussion in 'Mapping Questions & Discussion' started by ProfHappycat, Jul 16, 2017.

  1. ProfHappycat

    ProfHappycat L3: Member

    Messages:
    136
    Positive Ratings:
    188
    i can't seem to get rid of these particles that linger for 2-3 seconds after the finale of my map happens, anyone know how to get rid of them when the next round starts?
    [​IMG]
     
  2. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    35
    Excuse my ignorance as I don't usually deal with particles in my maps, but can't you send the Stop input to it?
    If that doesn't work, Kill should do it.

    If you've already tried both of those to no avail, feel free to ignore this.
     
  3. ProfHappycat

    ProfHappycat L3: Member

    Messages:
    136
    Positive Ratings:
    188
    Stop doesn't do anything that the round ending wouldn't, and kill removes the entity, which isn't what I want.
    Exactol suggested modifying the particles to have a shorter lifetime, so I guess i'll experiment with that later.
     
  4. Diva Dan

    aa Diva Dan hello!

    Messages:
    781
    Positive Ratings:
    1,055
    If you killed the entity before the round ended, even by a frame, would it come back next round?
     
  5. BigfootBeto

    aa BigfootBeto My favorite color is Green

    Messages:
    320
    Positive Ratings:
    433
    In my experience, no because
    As in, it deletes the entity from the current game and won't come back unless you reload the map. This is actually done by valve on occasion for light brushes that emit light for large windows in spytech areas. There's a logic_auto that onMapSpawn, will kill all of those light brushes to not be an issue to the entity count during the game.
     
    • Thanks Thanks x 1
    • Respectfully Disagree Respectfully Disagree x 1
  6. Lampenpam

    Lampenpam L12: Fabulous Member

    Messages:
    932
    Positive Ratings:
    288
    That's weird because a new round does respawn entities. There are only few exceptions like env_sprite that doesn't get resetted by a new round at all.
    It's easy to test, load a map of yours, type into console "ent_fire <entity-name> kill" and then "mp_restartgame 1". The entity should be back from the dead. [​IMG]

    Buuut I don't think this is the solution to OP's problem, because when you kill a particle entity, the particles often are still there until they disappear on their own. This kinda depends on how the particle effect has been scripted, so OP can give it a shot, but I highly doubt it works in this case.