Forward Spawn Spawn Doors

Discussion in 'Mapping Questions & Discussion' started by WombatSauce, Feb 25, 2016.

  1. WombatSauce

    WombatSauce L3: Member

    Messages:
    115
    Positive Ratings:
    6
    Hi guys! On my map cp map, cp_UrbanLegend (close to a1!), I'm having problems with locking forward spawn spawn doors. My forward spawn is near mid, and I don't want players to be able to enter it during the mid fight for full health, but I don't know how to lock it. Can someone tell me?
     
  2. Moonrat

    aa Moonrat The end of an era

    Messages:
    896
    Positive Ratings:
    530
    Send a lock input when a point is captured. If you're doing a 5CP map, just use an ABS prefab instead, as they come with doors that lock.
     
  3. WombatSauce

    WombatSauce L3: Member

    Messages:
    115
    Positive Ratings:
    6
    which stage? 1, 2, or 3? (in abs)
     
  4. Mikroscopic

    aa Mikroscopic

    Messages:
    601
    Positive Ratings:
    605
    If I understand what you're asking, just make sure the trigger is only on one side of the door.
     
    • Thanks Thanks x 1
  5. WombatSauce

    WombatSauce L3: Member

    Messages:
    115
    Positive Ratings:
    6
    No I mean spawn doors, but moonrat said that they were in abs prefab, and the only thing that sounded like what i was asking for were was the stage doors.
     
  6. radarhead

    aa radarhead Hands out ratings like cheap cigars

    Messages:
    1,004
    Positive Ratings:
    543
    It's best to learn how these things work before slapping down premade versions.

    You could look at the logic associated with the ABS Pack's doors, or search the Valve Developer Wiki for entity documentation. (I believe what you want is to send a "disable" input to the associated trigger when the corresponding point is capped by the other team, and "enable" when it is capped by the spawn's team.)
     
  7. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    1,003
    Positive Ratings:
    1,155
    Going with the assumption that you're making a 5CP map.

    You're looking for standard shutter doors with the trigger only on the inside like Mikroscopic said - no locking or disabling required. That's how every other 5CP map does one-way doors on its forward spawns (and with the exception of Badlands second, none of them have resupply lockers either, because they're useless if you can't get back in).

    Now if I'm mistaken, and you want to allow players to re-enter forward spawns at specific times during the round, be careful about locking the door or disabling its trigger. You don't want to accidentally trap players inside.
     
    • Thanks Thanks x 1
  8. WombatSauce

    WombatSauce L3: Member

    Messages:
    115
    Positive Ratings:
    6
    ok thx i get it now