How to lock spawn door in forward spawn room?

Discussion in 'Mapping Questions & Discussion' started by Open Blade, Sep 18, 2008.

  1. Open Blade

    Open Blade L7: Fancy Member

    Messages:
    439
    Positive Ratings:
    34
    I have forward or advancing spawn rooms in my map. They work just fine. I have tied them to the center control point, which ever team owns that, spawns in their respective forward spawn room.

    What I want to do is make it so the doors won't open in the forward spawn rooms unless you have captured the center control point. Right now, they open all the time. The spawning works correctly but I just want to make it so you can't open the doors at all on the forward spawn rooms unless your team owns the center control point. I have tied the info player team spawn to the center cap and that's why the spawning works but what setting on my door controls if it can open or not depending on which spawn room is being used?

    Thanks.
     
  2. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    Doors are controlled by trigger_multiple and trigger_multiple is controlled by filter_activator_tfteam (not really, but it's the simple explanation). If u want doors not to open at all at some moment u can have players trapped in the spawnroom which is bad. In ur case, u need trigger brush to be only inside the spawn so doors will open only from inside.
     
  3. Open Blade

    Open Blade L7: Fancy Member

    Messages:
    439
    Positive Ratings:
    34

    Nah, that won't work either. It's a spawn room after all and players will need to be able to get back in to the resupply locker.

    But, the reason I don't want them to open is so they can't get ammo and health from the locker in forward spawn room if they are not spawning in that room. Maybe I can turn off the locker trigger somehow???

    I can't be certain but don't the forward spawn room doors turn off and on in Well? I don't believe you can access that spawn room unless your team has the center cp.
     
  4. TheDarkerSideofYourShadow

    TheDarkerSideofYourShadow L10: Glamorous Member

    Messages:
    792
    Positive Ratings:
    144
    Give your triggers that open the doors different names, such as blu_middle_door and red_middle_door. Have both triggers start disabled. Then, go into your cap point and add 4 outputs. OnCapTeam1, enable the red trigger and disable the blu one. Flip it for OnCapTeam2.
     
  5. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    as a side note: split the trigger in two, and have the outside trigger turn on and off, while leaving the inside always on. Then you won't trap people.
     
  6. Open Blade

    Open Blade L7: Fancy Member

    Messages:
    439
    Positive Ratings:
    34
    So is Team1 default to Red? I just want to make sure that I set up the right team to the right trigger.
     
  7. TheDarkerSideofYourShadow

    TheDarkerSideofYourShadow L10: Glamorous Member

    Messages:
    792
    Positive Ratings:
    144
    Correct. I even opened up my map to double check, and thats the way I have it set up.
     
  8. Open Blade

    Open Blade L7: Fancy Member

    Messages:
    439
    Positive Ratings:
    34
    Yep, it worked perfectly. I also used the 2 seperate triggers for the forward spawn room as suggested where the outside trigger is set up with the control point.

    Thanks for the help