Spawn time question

Aug 23, 2008
404
380
I want to set up a cp map with an inverse of the cap time rules for traditional maps. I.E. Instead of getting a spawn bonus for controlling a control point, the team that doesn't control it gets a spawn bonus. I'm not sure how to set this up, but I had some ideas.

Set the default spawn time to like 10 secs, then invert the spawn bonus so that if someone owns a control point they get +X seconds on their spawn instead of -X. I'm not sure on how to do that, but it seems easy to do.

Other option: however koth maps do it. I know that viaduct, for example, gives the team that doesn't control the point a bonus, but I don't know what entity makes that possible.
 

Tyker

L5: Dapper Member
Jun 1, 2009
232
142
These outputs on the CP capture trigger:

OnCapTeam1 -> rules -> SetBlueTeamRespawnWaveTime 5
OnCapTeam1 -> rules -> SetRedTeamRespawnWaveTime 10

OnCapTeam2 -> rules -> SetRedTeamRespawnWaveTime 10
OnCapTeam2 -> rules -> SetBlueTeamRespawnWaveTime 5

I think this is all you need. For a koth map anyway. And for a multi CP change SetBlueTeamRespawnWaveTime to AddBlueTeamRespawnWaveTime