Auto-Door Template (2pc)

Map Description

  1. ExTerrestr1al
    (this will eventually be a place to grab many auto-door prefabs in a collection of different types)

    This prefab is not really intended for you to just drop onto a map, which you are free to do of course. But rather, the intent is that you can use this to study how to use your own pieces to create custom doors for your map's theme!

    *All doors will likely employ a trick found by @Agent Zero85 for holding the door open until the player is no longer present. I call it the "open, wait, interrupt, close" method :p

    They then include an additional layer of a second channel or some other way of knowing whether each open/close operation has fully finished, and therefore it being permitted to do the next thing, whether that be to open or close. (avoids glitchy behavior)

    2 Piece Auto:
    The first door in this series is a dual channel, 2 piece auto-door. It utlizes a single invisible target at the center of the two door pieces to set a certain offset for opening the door and another for closing it. One door moves to a positive offset of the target, while the other moves to a negative offset.

    Door pieces are delineated by spawning order, both labeled with Alpha (changeable). Two scripts on the brain control the movement of one, while two control the other.

    Doubling up the close movements make sure the doors close more precisely in the desired position. One slower than the other.

    Uses:
    5 pieces
    Channels - Alpha, Barvo (2 unique required per door)
    Labels - Alpha, Barvo (2 unique required per door - 1 for door pieces, 1 for target)
    Spawn order - 0,1 (no uniqueness required per door. pc 1 is spawn order 0, pc 2 is spawn order 1)
    1 Sound Fx spawns in/out during operation

Discussion

Share This Page