diff --git a/.gitignore b/.gitignore index 7ca958f..760b0a3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -demo.dem +*.dem __pycache__/ venv \ No newline at end of file diff --git a/main.py b/main.py index 3ac2349..bd3cfe4 100644 --- a/main.py +++ b/main.py @@ -6,7 +6,7 @@ from models.team import Team def main(): import demoparser2 - demo_parser = demoparser2.DemoParser("demo.dem") + demo_parser = demoparser2.DemoParser("the-mongolz-vs-natus-vincere-m2-inferno.dem") 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"]) diff --git a/maps/de_dust2.json b/maps/de_dust2.json new file mode 100644 index 0000000..8ad9337 --- /dev/null +++ b/maps/de_dust2.json @@ -0,0 +1,9 @@ + +{ + "material": "maps/de_dust2.png" , + "pos_x": -2476 , + "pos_y": 239, + "scale": 4.4 , + "rotate": 1, + "zoom": 1.1 +} diff --git a/maps/de_dust2.png b/maps/de_dust2.png new file mode 100644 index 0000000..b07a2c6 Binary files /dev/null and b/maps/de_dust2.png differ diff --git a/maps/de_inferno.json b/maps/de_inferno.json new file mode 100644 index 0000000..e3a66a0 --- /dev/null +++ b/maps/de_inferno.json @@ -0,0 +1,9 @@ + +{ + "material": "maps/de_inferno.png", + "pos_x": -2087 , + "pos_y" : 3870, + "scale": 4.9, + "rotate": 0, + "zoom":0 +} diff --git a/maps/de_inferno.png b/maps/de_inferno.png new file mode 100644 index 0000000..2b2a703 Binary files /dev/null and b/maps/de_inferno.png differ