Changing CTF Win Conditions

Discussion in 'Mapping Questions & Discussion' started by Gabe Noodle from Volvo, Nov 1, 2015.

  1. Gabe Noodle from Volvo

    Gabe Noodle from Volvo L3: Member

    Messages:
    142
    Positive Ratings:
    32
    I'm trying to make a CTF style map, it's slightly different, but I've got that covered already. What I need to know, is how to make it so the intel only has to be capped once for the game to end? Thanks in advance.
     
  2. Ynders

    aa Ynders absolutely gormful

    Messages:
    403
    Positive Ratings:
    519
    First, add game_win entity(name might be a bit different, I'm on mobile at the moment), and name it something.

    Next, add an output to your func_capturezone like this:

    OnCapture

    <game_win name>

    WinRed(again, might be a bit different)

    Then do the same for the other capture zone, and you're all set.
     
  3. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    You might also need to set it to disable the flag entities. I've been on maps where someone's managed to pick up the flag after the round ends, and I never found out what caused that, but that'd be my first guess.