Func_movelinear vs func_door

Discussion in 'Mapping Questions & Discussion' started by KineSquared, Nov 15, 2018.

  1. KineSquared

    KineSquared L2: Junior Member

    Messages:
    91
    Positive Ratings:
    4
    If I'm making a door that only opens once (after setup or point capture), is there a reason to make it a func_door over func_movelinear? What's the difference for tf2, and is one more expensive than the other? For the moment, I'm making the doors out of brushes and not dynamic props
     
  2. Idolon

    aa Idolon the worst admin

    Messages:
    1,982
    Positive Ratings:
    5,831
    func_door is more or less a more specialized version of func_movelinear that's easier to set up for, well, doors. I don't know if one is somehow more or less expensive than the other but the difference is almost certainly trivial.
     
  3. KineSquared

    KineSquared L2: Junior Member

    Messages:
    91
    Positive Ratings:
    4
    I figured out another significant difference, the nav_generate function treats func_movelinear as solid brushes, but allows bots to walk through func_doors if they've opened up
     
  4. broccolidood

    broccolidood L1: Registered

    Messages:
    1
    Positive Ratings:
    0