Making a sliding door (Problem)

Discussion in 'Mapping Questions & Discussion' started by MoronicSeal, Sep 2, 2019.

  1. MoronicSeal

    MoronicSeal L1: Registered

    Messages:
    2
    Positive Ratings:
    1
    Hello! I'm currently in the process of making a dumb lil map to learn the hammer editor and I'm trying to make a sliding door to enter into a building. Much like the ones in Turbine and 2Fort, it's the glass door with the handle in it.

    20190902205929_1.jpg 20190902205935_1.jpg

    The problem is that each time it opens, the handles remain where they are. And since they have collision they are impassible without crouch jumping over. I tried disabling the collsion and it hasn't worked. And it is grouped with the other brushes that make up the door so I don't know what to do. Any help is appreciated. Thanks!

    -peyton
     
  2. Yakibomb

    Yakibomb L3: Member

    Messages:
    133
    Positive Ratings:
    57
    What are the handle props called? Are they two different props? If they're separate props, you can parent the handles to the door.

    To do that, make the handles prop_dynamic (which is a prop_static with more options but uses more engine resources). Then, name the doors--Each door should have unique names (EXAMPLE, stage1_respawn_door_blu_1, or sillydumbdoor, or anything you want). Last, under your handle's prop_dynamic "Parent" parameter, place the EXAMPLE name in that spot to glue that handle to the door.

    Make sure both handles are connected to the correct doors, otherwise you'll get undesired results.
     
    • Agree Agree x 2
    Last edited: Sep 2, 2019
  3. MoronicSeal

    MoronicSeal L1: Registered

    Messages:
    2
    Positive Ratings:
    1
    Awesome! Worked perfectly, thank you!

     
    • Like Like x 1
  4. Yakibomb

    Yakibomb L3: Member

    Messages:
    133
    Positive Ratings:
    57
    Wonderful! :D If you've got any questions, be sure to ask!

    Happy Mapping!