A way to remove the "virtual" intelligence captures

Discussion in 'Mapping Questions & Discussion' started by die_angel, Nov 28, 2007.

  1. die_angel

    die_angel L1: Registered

    Messages:
    15
    Positive Ratings:
    0
    currently in maps like 2forts and any flag based map the map play 3 to 3 captures before choosing a winning team, is there a way to remove this in a map that doesn't need it?
     
  2. Maj.Woody

    Maj.Woody Guest

    Positive Ratings:
    0
    the cap limit is set by the server.
     
  3. die_angel

    die_angel L1: Registered

    Messages:
    15
    Positive Ratings:
    0
    yeah but if you look at the scores on cti maps, the points aren't counted, only every 3 caps.
     
  4. Maj.Woody

    Maj.Woody Guest

    Positive Ratings:
    0
    Yes, that is the cap limit. The default is 3 caps wins a round. The server console command is 'tf_flag_caps_per_round' and is 3 by default.

    I am at work at the moment, but you may be able to set up an output on the flag that causes the capping team to automatically win the game to override this. Have a look at the 'OnCapture' output for the item_teamflag, and the SetTeam and RoundWin inputs on the game_round_win entity.

    Not sure if it will work, but its worth looking into.
     
  5. die_angel

    die_angel L1: Registered

    Messages:
    15
    Positive Ratings:
    0
    that's the thing i use the territory control mode for the flag so it slow the player down and do not mark points on capture, and then trigger game_round_win at the end of the round limit to inject a point, problem is that it insert a temporary point, not a true point (point is recorded but not visible on the score hud)
     
  6. Maj.Woody

    Maj.Woody Guest

    Positive Ratings:
    0
    I will see if i can figure something out tonite after work. Do you frequent the Team Fortress 2 Mappers group chat via steam community? Maybe pop in there and ask the question. Personally I am not too hot with entitys, but have been able to accomplish a few things, however there are a couple guys in there who are really whiz with entitys (Logo, Boojum, and Seal come to mind off hand) and maybe we can work something out.