Can anyone point me in the direction of this tutorial?

Discussion in 'Mapping Questions & Discussion' started by KeKoSlayer29, Jul 14, 2014.

  1. KeKoSlayer29

    KeKoSlayer29 L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    Hey guys can someone show me/link me to a tutorial about how to switch who can open doors after a PL point has been captured?

    Pictures in case I didn't explain clearly :p

    Before cap point red can go thru but not blue: http://i.imgur.com/wU2hTwL.png
    but after cap blue can go thru but not red: http://i.imgur.com/R3zvqH4.png

    Thanks :)
     
  2. henke37

    aa henke37

    Messages:
    1,909
    Positive Ratings:
    446
    It's literally one I/O connection. The control point has an output for when it is captured and the door has an input for when to open.
     
  3. Egan

    aa Egan

    Messages:
    1,318
    Positive Ratings:
    1,507
    KeKo, you can control which team can open a door (which team can trigger the trigger_multiple) by setting the trigger_multiple's 'Filter Name' keyvalue to a Filter_activator_tfteam which would be set up for a specific team. You can make two of these team filters - one for each team: filter_red & filter_blue. You can then make two of the door-opener 'trigger_multiple's, name each one for each team, and set them to their corresponding team filters. Trigger_multiple has Enable & Disable inputs, so depending on which team owns the point, you can send outputs to Disable a specific team's door trigger & enable the opposite.

    I'm not sure if there is an easier way, I think there is some easy 'associate these things with the owner of the point', but I haven't used them so I'm not sure.
     
  4. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,868
    Positive Ratings:
    4,895
    An easier way would be pointing the filter that the door trigger uses to the control point itself, using the "Associated team entity" keyvalue. That way, when the point is captured, the door will instantly and automatically update so the new team that owns the point can open it.
     
  5. xzzy

    aa xzzy

    Messages:
    815
    Positive Ratings:
    393
    If it's a closed off room, don't forget to teleport (or kill) players who might be trapped inside.
     
  6. henke37

    aa henke37

    Messages:
    1,909
    Positive Ratings:
    446
    You don't even need the trigger for a door that just opens once. You can just open the door directly when the control point is captured.