Setup Gates

Discussion in 'Mapping Questions & Discussion' started by FishyUberMuffin, Apr 19, 2017.

  1. FishyUberMuffin

    FishyUberMuffin War Paints Everywhere

    Messages:
    960
    Positive Ratings:
    159
    How do I have the gates stay close for blue until the setup timers hit to 0? Did crash go over set up gates and how to tie it up with the setup timer?
     
  2. Beef Bucket

    aa Beef Bucket L41: Blessed Member

    Messages:
    337
    Positive Ratings:
    413
    To my knowledge Crash has never addressed the logic for the CP gamemode, but if you understand Input/Output you should be able to look at the CP prefab from ABS' Mapping Resource Pack and figure out how everything works.

    Setup gates specifically are invisible door entities with gate props parented to them. They stay closed by default and are opened by an output by the setup timer entity
     
  3. MOCOLONI

    MOCOLONI L5: Dapper Member

    Messages:
    243
    Positive Ratings:
    60
    Simply create a door (either a func_door brush itself or an "invisible" one and then parenting it to a door-prop model) and give it a name, spawn a team_round_timer entity and give it some Seconds to its "Setup timer length" and, lastly, add an output to the entity that fires the next:

    >Output: OnSetupFinished
    >Target: <your door's name>
    >Input: Open
     
  4. FishyUberMuffin

    FishyUberMuffin War Paints Everywhere

    Messages:
    960
    Positive Ratings:
    159
    Thank you very much
     
  5. FishyUberMuffin

    FishyUberMuffin War Paints Everywhere

    Messages:
    960
    Positive Ratings:
    159
    When I did this. The gates did not stay shut until the step up time was done. They stilled opened. For the first time that they opened they stayed open until somebody else pass through them and then they would work fine.
     
  6. Yabayabayaba

    Yabayabayaba L5: Dapper Member

    Messages:
    247
    Positive Ratings:
    73
    do you have a trigger for the setup doors, you should not. also make sure they are closed as default?
     
  7. FishyUberMuffin

    FishyUberMuffin War Paints Everywhere

    Messages:
    960
    Positive Ratings:
    159
    I do not know. I can go and check
     
  8. MOCOLONI

    MOCOLONI L5: Dapper Member

    Messages:
    243
    Positive Ratings:
    60
    Make sure "Starts Open" isn't checked in the func_door's "Flags" tab.
     
  9. FishyUberMuffin

    FishyUberMuffin War Paints Everywhere

    Messages:
    960
    Positive Ratings:
    159
    It is not check
     
  10. MOCOLONI

    MOCOLONI L5: Dapper Member

    Messages:
    243
    Positive Ratings:
    60
    Your door is getting opened by something then, either by the Spawn Position in the entity's main tab or by a trigger. Check the inputs if so.
     
Tags: