CTF round timing?

evanonline

L420: High Member
Mar 15, 2009
485
273
In the first version of my CTF map, the round timer would count down normally according to the server time. However, when the time reached 0:00, the map would not end properly and it'd just stay in limbo forever.

I added in a team_round_timer or whatever to fix this, but that seems to have been a bad idea--the map now instead resets back to 30 minutes with every round. How do I get the map to end properly at 0:00 without resetting the 30 minute timer?
 

evanonline

L420: High Member
Mar 15, 2009
485
273
Wait. I just figured it out. game_round_win? Nevermind :<
 
Last edited:

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
Remove the timer and roundwin. Add a logic_auto and tf_gamerules. On the logic auto do: OnMapSpawn > tf_gamerules > SetStalemateOnTimelimit > 1

That forces the map to end when mp_timelimit is reached, the team with more points wins, if it is tied you get a stalemate.