How do I make players dissolve when they touch a specific "trigger_hurt" brush?

Discussion in 'Mapping Questions & Discussion' started by Kazagin, Aug 18, 2009.

  1. Kazagin

    Kazagin L3: Member

    Messages:
    130
    Positive Ratings:
    9
    I'm nearly done with my first map, and it features a Volcano.
    Problem is, when they fall into the "trigger_hurt" brush I put over the lava brush, they just die.
    I want to make it so that when they touch the "trigger_hurt", they die and their ragdolls dissolve.
    I've seen servers that always make ragdolls dissolve, so I'm wondering if it is possible to make it so that a specific "trigger_hurt" will have the "dissolve" effect on Ragdolls?
     
  2. alecom

    alecom L8: Fancy Shmancy Member

    Messages:
    516
    Positive Ratings:
    120
    pretty sure that's a plugin...
     
    • Thanks Thanks x 1
  3. Kazagin

    Kazagin L3: Member

    Messages:
    130
    Positive Ratings:
    9
    So I can't make players dissolve when they fall into my lava. That sucks...
    Is there anything else I could do to make falling into the lava realistic?
    Ragdolls just floating looks silly.
     
  4. temion

    temion L2: Junior Member

    Messages:
    77
    Positive Ratings:
    4
    Well to avoid the floating part, you can simply make the lava illusionary. The trigger_hurt will still kill them, but the ragdol will fall to the bottom of the pool instead.
     
    • Thanks Thanks x 1
  5. Owlruler

    Owlruler L12: Fabulous Member

    Messages:
    964
    Positive Ratings:
    271
    you could make the lava a func_illusionary so the ragdoll falls through and isn't on the surface. If the lava is a displacement, turn of collisions.
     
    • Thanks Thanks x 1
  6. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    I have not tested it, but:
    env_entity_dissolver.

    You might need to use a trigger (perhaps with Point_template) to dynamically create one and set its "target" to the player and touch off its "dissolve" action... Or rather, to the player's ragdoll, and I'm not sure how to do that...

    Anyway, that's how the SourceMod plugins work.


    _______________

    Yeah, you could make the lava non-solid for players and have bodies fall straight through, landing against a hidden "actual" floor.
     
    • Thanks Thanks x 1
    Last edited: Aug 18, 2009
  7. Kazagin

    Kazagin L3: Member

    Messages:
    130
    Positive Ratings:
    9
    I'm just going to go ahead and stick with the non-solid lava brush.
    It isn't causing any frustration, and I like to keep it that way.
    Thanks for the help everyone. :D
     
  8. re1wind

    aa re1wind

    Messages:
    644
    Positive Ratings:
    382
    blast & radiation do gib bodies, apparently.
     
  9. J4CK8

    J4CK8 L11: Posh Member

    Messages:
    820
    Positive Ratings:
    223
    Isn't there an option in the trigger_hurt to make the death type dissolve? I know theres explode and drown etc.
     
  10. Garner

    Garner L4: Comfortable Member

    Messages:
    154
    Positive Ratings:
    38
    If all else fails, you could make a teleporter inside your volcano which teleports to a normally unaccessible room covered in the same textures as your lava that also has a trigger_hurt on the teleporter exit, so when the player is teleported, s/he dies immediately inside the room that looks like your inside the volcano lava. So you wont have any ragdolls visiable inside your actual volcano, instead they will be in the seperate room.

    Its a pretty long winded option, but its a possiblilty to try out if all else fails.

    Let us know how your problem is resolved :)
     
    Last edited: Aug 18, 2009