func_door help

Discussion in 'Mapping Questions & Discussion' started by Backslash, May 18, 2009.

  1. Backslash

    Backslash L1: Registered

    Messages:
    30
    Positive Ratings:
    2
    I've got a few sideways sliding doors in my map (like the entrance to a supermarket). But instead of sliding apart to create an opening in the center, they both slide to one side as if they are stuck together.

    The attached pictures are of:

    door1.jpg: the doors in hammer
    door1props.jpg: the properties dialog of the rightmost door
    door2props.jpg: the properties dialog of the leftmost door

    Has anyone else had this behavior and fixed it, or does anyone have any ideas?

    Thanks,
    Backslash
     
    Last edited: Jul 18, 2009
  2. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    736
    You need to have them open to different sides.

    "180" for one and "0" should be fine for what you need.

    BTW you want to use the second number, not the third...

    0 180 0
    NOT
    0 0 180
     
    • Thanks Thanks x 1
    Last edited: May 18, 2009
  3. Backslash

    Backslash L1: Registered

    Messages:
    30
    Positive Ratings:
    2
    The way I understood it, move direction specifies the distance to move along a particular axis. Is this incorrect?

    I want the door on the right to move 106 units to the right, and the door on the left to move 106 units to the left. Hence the 106 and -106. It's just that they are both moving +106 (to the right in the top down view).
     
  4. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    736

    Nope in "Move direction" Thats purely which direction they will move, NOT how far.

    Use "LIP" for that. "0" means it will be in the wall even *but will cause texture yucks* So if you want it to be hidden completly use "-1"
     
    • Thanks Thanks x 1
  5. Backslash

    Backslash L1: Registered

    Messages:
    30
    Positive Ratings:
    2
    Thank for the quick answer. How does it determine how far to move? How does it know what wall it's to line up with if I specify 0 as the lip value?

    Thanks again.

    Edit: Where did the "Thanks" button go?
     
  6. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    736
    By default the door will move itself in length.
    The number in "LIP" is the grid.
    "0" is flip side of where the door ends, or flush.
    "1" would be showing "1" on the grid for the door poking out or "-" would hide it in.
     
    • Thanks Thanks x 1
  7. Backslash

    Backslash L1: Registered

    Messages:
    30
    Positive Ratings:
    2
    Weird, I had to refresh the thread to see the thanks button.

    Thanks for the help, this coordinate system messes with my head still!