ADD player state tracking

This commit is contained in:
2025-04-26 20:05:26 +02:00
parent 43c23d8e60
commit e6e1985a4f
8 changed files with 66 additions and 13 deletions

View File

@@ -75,7 +75,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",
"health"])
"health", "active_weapon_name"])
header_info = demo_parser.parse_header()
map_name = header_info['map_name']
players = demo_parser.parse_player_info()