Lethal doors

Discussion in 'Mapping Questions & Discussion' started by alecom, Jun 1, 2009.

  1. alecom

    alecom L8: Fancy Shmancy Member

    Messages:
    516
    Positive Ratings:
    120
    Okay not entirely lethal in my case, but given the right situation maybe. I have a door that opens by sliding sideways, and admittedly I should have made the wall thicker so it's an actual wall (and so that the shadows do not show through) - but I was wondering. Say I made it one door that slides sideways rather than two that separate, and this one door slides through the (currently) flimsy thin wall, so that people on the other side are blocked by it - the trigger for the door being only on the other side.

    Would this door squish people on the other side?
    Would it get stuck and mess up the game?

    Currently I'm only thinking of using it to knock people off ..
     
  2. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,684
    Parent a trigger_hurt to the door and put the trigger_hurt brush on the door and that should work.
     
  3. alecom

    alecom L8: Fancy Shmancy Member

    Messages:
    516
    Positive Ratings:
    120
    The trigger brush would move with the door?
     
  4. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,684
    If the trigger_hurt is parented to the door yes it will stick to the door.
     
  5. alecom

    alecom L8: Fancy Shmancy Member

    Messages:
    516
    Positive Ratings:
    120
    Awesome thanks
     
  6. Altaco

    Altaco L7: Fancy Member

    Messages:
    485
    Positive Ratings:
    121
    There's also a flag you can set (flags tab in the entity properties) that makes sure the door forces closed and will kill anyone blocking it.
     
    • Thanks Thanks x 1
  7. alecom

    alecom L8: Fancy Shmancy Member

    Messages:
    516
    Positive Ratings:
    120
    Oh, thanks! I havn't actually looked into using flags yet, but will make sure to :)