Explode on touch

Discussion in 'Mapping Questions & Discussion' started by boykevin, Sep 6, 2008.

  1. boykevin

    boykevin L1: Registered

    Messages:
    41
    Positive Ratings:
    0
    well i want to make a hidden mine field or something for my map so when they touch it explodes but i dont know how to set up
    do i use env_explosion?? or what?
     
  2. nossie

    nossie L3: Member

    Messages:
    107
    Positive Ratings:
    4
    well if u want it too look like a explosion then yes use a env_explosion along with a trigger_hurt. make a brush coat it in the trigger texture. then make it a trigger_hurt and set it to a high number.. if u want to make the explosion go off ull have to use some outputs not sure tho never done it.
     
  3. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    219
    well...you probably just need a trigger multiple placed where you want "the mine" to be, then add 2 OnTouchStartAll outputs that enable the trigger_hurt and the env_explosion, then you need some OnEndTouchAll that disable the outputs once the person leaves (or dies) the trigger_multiple...
    i have no idea how env_explosion works, but this should work for the trigger_hurt...just make sure you set the trigger_hurt to start disabled
     
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,767
    Positive Ratings:
    5,508
    env_explosion can cause damage itself, so you shouldn't need the trigger_hurt.
     
  5. boykevin

    boykevin L1: Registered

    Messages:
    41
    Positive Ratings:
    0
    yea thats what i was thinking but i was also thinking of trigger_once to do starttouch??
     
  6. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,767
    Positive Ratings:
    5,508
    If you only want it to happen once per round, then yes. Otherwise use a trigger_multiple with the proper delay... you could even have them reset every 5 or 10 minutes or something, if you don't want them to be a constant pain, but don't want them killing the initial rush and never being a bother again.