1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

fmt state

This commit is contained in:
Robin Appelman 2022-04-03 15:29:54 +02:00
commit c6a61751ae
2 changed files with 216 additions and 2 deletions

View file

@ -1 +1,185 @@
{"players":[{"entity":2,"position":{"x":5209.61,"y":-1013.047,"z":296.03125},"health":125,"max_health":125,"class":1,"team":"blue","view_angle":64.04692,"state":"Alive"},{"entity":3,"position":{"x":4563.5,"y":-1381.375,"z":369.125},"health":135,"max_health":200,"class":3,"team":"red","view_angle":28.504398,"state":"Alive"},{"entity":4,"position":{"x":4334.875,"y":-1428.875,"z":296.0},"health":104,"max_health":150,"class":5,"team":"red","view_angle":355.0733,"state":"Death"},{"entity":5,"position":{"x":5207.0,"y":-1077.0,"z":296.0},"health":175,"max_health":175,"class":4,"team":"blue","view_angle":33.079178,"state":"Alive"},{"entity":6,"position":{"x":5046.0,"y":-1077.0,"z":296.0},"health":125,"max_health":125,"class":1,"team":"blue","view_angle":180.17595,"state":"Alive"},{"entity":7,"position":{"x":5046.0,"y":-1013.0,"z":296.0},"health":150,"max_health":150,"class":5,"team":"blue","view_angle":180.17595,"state":"Alive"},{"entity":8,"position":{"x":4124.375,"y":-990.375,"z":162.0},"health":260,"max_health":175,"class":4,"team":"red","view_angle":355.42523,"state":"Alive"},{"entity":10,"position":{"x":5046.0,"y":-953.25,"z":296.0},"health":200,"max_health":200,"class":3,"team":"blue","view_angle":180.17595,"state":"Alive"},{"entity":12,"position":{"x":3954.25,"y":-1329.875,"z":232.0},"health":132,"max_health":125,"class":2,"team":"red","view_angle":17.947214,"state":"Alive"},{"entity":13,"position":{"x":4563.5,"y":-1381.375,"z":369.125},"health":1,"max_health":200,"class":3,"team":"red","view_angle":9.853373,"state":"Death"},{"entity":11,"position":{"x":5046.0,"y":-1141.0,"z":296.0},"health":175,"max_health":175,"class":7,"team":"other","view_angle":180.17595,"state":"Alive"},{"entity":9,"position":{"x":3707.125,"y":-444.375,"z":342.5},"health":125,"max_health":125,"class":1,"team":"other","view_angle":110.14663,"state":"Alive"}],"buildings":[],"world":{"boundary_min":{"x":-4523.0,"y":-4359.0,"z":-560.0},"boundary_max":{"x":5881.0,"y":3691.0,"z":1312.0}}} {
"players": [
{
"entity": 2,
"position": {
"x": 5209.61,
"y": -1013.047,
"z": 296.03125
},
"health": 125,
"max_health": 125,
"class": 1,
"team": "blue",
"view_angle": 64.04692,
"state": "Alive"
},
{
"entity": 3,
"position": {
"x": 4563.5,
"y": -1381.375,
"z": 369.125
},
"health": 135,
"max_health": 200,
"class": 3,
"team": "red",
"view_angle": 28.504398,
"state": "Alive"
},
{
"entity": 4,
"position": {
"x": 4334.875,
"y": -1428.875,
"z": 296.0
},
"health": 104,
"max_health": 150,
"class": 5,
"team": "red",
"view_angle": 355.0733,
"state": "Death"
},
{
"entity": 5,
"position": {
"x": 5207.0,
"y": -1077.0,
"z": 296.0
},
"health": 175,
"max_health": 175,
"class": 4,
"team": "blue",
"view_angle": 33.079178,
"state": "Alive"
},
{
"entity": 6,
"position": {
"x": 5046.0,
"y": -1077.0,
"z": 296.0
},
"health": 125,
"max_health": 125,
"class": 1,
"team": "blue",
"view_angle": 180.17595,
"state": "Alive"
},
{
"entity": 7,
"position": {
"x": 5046.0,
"y": -1013.0,
"z": 296.0
},
"health": 150,
"max_health": 150,
"class": 5,
"team": "blue",
"view_angle": 180.17595,
"state": "Alive"
},
{
"entity": 8,
"position": {
"x": 4124.375,
"y": -990.375,
"z": 162.0
},
"health": 260,
"max_health": 175,
"class": 4,
"team": "red",
"view_angle": 355.42523,
"state": "Alive"
},
{
"entity": 10,
"position": {
"x": 5046.0,
"y": -953.25,
"z": 296.0
},
"health": 200,
"max_health": 200,
"class": 3,
"team": "blue",
"view_angle": 180.17595,
"state": "Alive"
},
{
"entity": 12,
"position": {
"x": 3954.25,
"y": -1329.875,
"z": 232.0
},
"health": 132,
"max_health": 125,
"class": 2,
"team": "red",
"view_angle": 17.947214,
"state": "Alive"
},
{
"entity": 13,
"position": {
"x": 4563.5,
"y": -1381.375,
"z": 369.125
},
"health": 1,
"max_health": 200,
"class": 3,
"team": "red",
"view_angle": 9.853373,
"state": "Death"
},
{
"entity": 11,
"position": {
"x": 5046.0,
"y": -1141.0,
"z": 296.0
},
"health": 175,
"max_health": 175,
"class": 7,
"team": "other",
"view_angle": 180.17595,
"state": "Alive"
},
{
"entity": 9,
"position": {
"x": 3707.125,
"y": -444.375,
"z": 342.5
},
"health": 125,
"max_health": 125,
"class": 1,
"team": "other",
"view_angle": 110.14663,
"state": "Alive"
}
],
"buildings": [],
"world": {
"boundary_min": {
"x": -4523.0,
"y": -4359.0,
"z": -560.0
},
"boundary_max": {
"x": 5881.0,
"y": 3691.0,
"z": 1312.0
}
}
}

View file

@ -1 +1,31 @@
{"players":[{"entity":1,"position":{"x":-3599.1775,"y":421.331,"z":298.0},"health":125,"max_health":125,"class":1,"team":"red","view_angle":0.0,"state":"Alive"}],"buildings":[],"world":{"boundary_min":{"x":-3882.0,"y":-4570.0,"z":-560.0},"boundary_max":{"x":5240.0,"y":3936.0,"z":1641.0}}} {
"players": [
{
"entity": 1,
"position": {
"x": -3599.1775,
"y": 421.331,
"z": 298.0
},
"health": 125,
"max_health": 125,
"class": 1,
"team": "red",
"view_angle": 0.0,
"state": "Alive"
}
],
"buildings": [],
"world": {
"boundary_min": {
"x": -3882.0,
"y": -4570.0,
"z": -560.0
},
"boundary_max": {
"x": 5240.0,
"y": 3936.0,
"z": 1641.0
}
}
}