What's the difference between an animated door and a non-animated one?

Discussion in 'Mapping Questions & Discussion' started by Géza!, Mar 18, 2015.

  1. Géza!

    Géza! L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    21
    We all know and love the big garage-esque industrial slide doors of TF2. The props themselves come in the "prop_dynamic with opening/closing animations playing according to the invisible brush entity" as well as the simplistic "parent the door model to the brush entity inside the static doorframe" flavour.... My only question is, why? What are the functional differences between the two? When to use one over the other and for what purpose?
     
  2. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,393
    Positive Ratings:
    4,236
    The animated prop is good for situations in which there is something immediately above it (windows, the ceiling, another door etc), so if you have a prop parented to the func_door, it'll block the passage (or stick out of the roof) every time it's opened.

    Besides that, there isn't really any functional difference, although using the animated prop means using fewer entities.
     
    Last edited: Mar 18, 2015
  3. Géza!

    Géza! L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    21
    That's quite logical. Now my only problem is: Why would anyone use the pranted version with all its downsides of, uh, two?
     
  4. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    They're simpler and you don't need to match the door speed to the animation speed.
     
  5. Géza!

    Géza! L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    21
    Whoops, the thought that one might want a slower/faster door than the animation didn't even occur to me. My bad :D
     
  6. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    I don't see how this was ever really worth the bother given that they could just figure out the door speed and entity setup once and copypaste it whenever they need another one. But I'm just bitter because they never included an animated prop that didn't have to be anchored to a low ceiling.