Skip to content

Show racetimer's Race/CTS checkpoint splits in console

Dr. Jaska requested to merge drjaska/print-race-splits into master

Sometimes you want to see your splits after a Race lap or a CTS run, this MR prints the splits in console when starting a new run.

Partial runs are also printed.

The finish line time is not included as it is already in other messages.

This system should work for maps which have checkpoints as either 254 -> 1 -> ... -> 69 -> 255 or 0 -> 1 -> ... -> 42 -> 0.

I disallowed spectators from this as they can wildly switch between players creating confusing logs for splits.

Bots shouldn't be drawing HUD nor should they receive networked data so I did not add checks to disallow them from this as they're implicitly disallowed.

image

Edited by Dr. Jaska

Merge request reports