5CP entities?

Discussion in 'Mapping Questions & Discussion' started by Icarus, Feb 12, 2009.

  1. Icarus

    aa Icarus

    Messages:
    2,246
    Positive Ratings:
    1,182
    Decompiling maps, I've found a group of entities that I cannot discern it's purpose for. These entities appear in all of Valve's 5CP maps, including badlands.

    They are:
    - 2 math_counter
    - 2 game_text
    - 1 game_end

    Whenever a team would win a round, one of the math_counters would increase by 1. Once it reaches 3, the game would end.

    Why are they there?
     
  2. HojoTheGreat

    HojoTheGreat L5: Dapper Member

    Messages:
    206
    Positive Ratings:
    34
    I'd imagine the game_end is triggered upon the capture of all points, which then triggers the game_text (1 for each team) which says something context sensitive to the map. Dunno about the math_counter, other than it probably helped the map process map info for servers, to help signal a map switch. Could be? lol
     
  3. drp

    aa drp

    Messages:
    2,256
    Positive Ratings:
    2,572
    maybe its the stopwatch?
     
  4. NovaSilisko

    aa NovaSilisko L42: Life, the Universe and Everything

    Messages:
    502
    Positive Ratings:
    136
    I deleted all but the game_end and my 5CP map works fine.
     
  5. Queops

    Queops L2: Junior Member

    Messages:
    77
    Positive Ratings:
    3
    Sounds like debug purposes. Not sure though.
     
  6. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130
    I think they used it before hardcoding it, arena has something similar :\