ADD kill, death, assist stats

This commit is contained in:
2025-04-27 16:31:09 +02:00
parent 4deabdc16f
commit b576537fb5
6 changed files with 40 additions and 12 deletions

View File

@@ -84,6 +84,7 @@ class StartMenu(GameState):
demo_parser = demoparser2.DemoParser(demo_file)
game_info = demo_parser.parse_ticks(["X", "Y", "Z", "pitch", "yaw", "is_alive", "team", "player_steamid",
"team_rounds_total", "team_num", "total_rounds_played", "shots_fired",
"kills_total", "deaths_total", "assists_total",
"health", "armor_value", "active_weapon_name"])
header_info = demo_parser.parse_header()
map_name = header_info['map_name']