5CP entities?

Icarus

aa
Sep 10, 2008
2,245
1,210
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?
 

HojoTheGreat

L5: Dapper Member
Nov 11, 2008
206
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
 

NovaSilisko

L42: Life, the Universe and Everything
aa
Feb 3, 2009
502
270
I deleted all but the game_end and my 5CP map works fine.
 

Zeewier

L9: Fashionable Member
Sep 20, 2008
619
262
I think they used it before hardcoding it, arena has something similar :\