Open dsjoerg opened 8 years ago
good idea, that is a popular request and may be a reasonable one for someone new to the codebase.
as far as how to show it — one way would be to add a new graph to the bottom section that shows both players total supply. on that chart, instead of highlighting combat periods, we could highlight the supply-blocked periods.
alternatively, there could be a per-user option to choose whether they want supply blocks, combat or both highlighted on the main chart.
By the way, if anyone wants to work on this, have a look at https://github.com/dsjoerg/ggpyjobs/blob/master/sc2parse/sc2reader_to_esdb.py#L196
That's where we walk through the tracker_events and pick out the PlayerStatsEvents.
Or if you want a finer-grained look at whether a player is supply capped, you could walk through the finer-grained events of unit and building births and deaths.
From @toff63 on August 19, 2014 19:33
Nicely show the periods when the play was supply cap and the total time during the game he was supply cap. This is a basic mistake for beginner. Fixing this issue will help player to improve
Copied from original issue: dsjoerg/ggtracker#9