Players are asking me to "fix the stopwatch" for my map

Icarus

aa
Sep 10, 2008
2,245
1,210
I don't play competitively, so could someone tell me what a stopwatch is and how it works?
 
Last edited:

Icarus

aa
Sep 10, 2008
2,245
1,210
I know what they're talking about.

It's a function using mp_tournament. There's something called a 'stopwatch', a separate timer from the round timer. But I don't really know much beyond that.
 

Psyphil

L3: Member
Nov 6, 2007
125
60
The stopwatch checks what time it took for the first attacking team to reach the last point they capped, then if the next team (after sideswitch) don't succeed in capping that point faster, or cap more points they loose.

I think this is only serverside and you don't have to think about it when making maps but I'm not sure.
 

Icarus

aa
Sep 10, 2008
2,245
1,210
Then it's probably just how my map is laid out

Giving a point for ever cap defeats the point of capping C early.. and It'd probably screw up stopwatch mode even more
 

Apom

L6: Sharp Member
Sep 14, 2008
366
65
Do you mean you have a Steel-like capture model? You should give one point for each cap, but grant full points on capturing the last one. For instance, in Steel, if a team captures A, B and then directly E, they still score five points.
 

Icarus

aa
Sep 10, 2008
2,245
1,210
They replied to my question and this was their response:

"It says that points capture, but doesn't say the amount of time they capped in."

I tried it myself, and every time you capped C it says it was done within 1 second, no matter what.

It's pretty hard to fix, since I can't seem to find any information on it at all.
 

Apom

L6: Sharp Member
Sep 14, 2008
366
65
There should be a counter for team scores (there is one if you replicated the entities from cp_game_entities), increment it whenever the attackers take a cap point, and make some smart logic to take care of final caps that skipped intermediary points.


EDIT: this could be due to your game_round_timer (r whatever the exact name is) not having a canonical name. It's just a possibility, but it's worth checking a decompiled Gravel Pit to be sure.
 
Last edited:

Icarus

aa
Sep 10, 2008
2,245
1,210
It all come together automatically once I switched "Add score for every round win" to "Add score for every point captured".

Unfortunately, I have lots of hidden CPs I use as triggers (necessary for the A OR B mechanic), so in the end of just one round if all points are captured, the score is 5-1.

I don't believe I can make this work.