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:
    117
    Positive Ratings:
    121
    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:
    165
    Positive Ratings:
    32
    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:
    117
    Positive Ratings:
    121
    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 not a furry

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

    BigfootBeto PowerPoint is good for vertex editing

    Messages:
    220
    Positive Ratings:
    239
    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 L9: Fashionable Member

    Messages:
    659
    Positive Ratings:
    142
    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.