-
Notifications
You must be signed in to change notification settings - Fork 14
JSON Recording Format
indig0fox edited this page Aug 3, 2021
·
1 revision
Updated v1.1.0
{
"Markers": [ // MARKER
"mil_dot", // markerType
"", // markerText
0, // startFrame
24, // endFrame
-1, // placer ocapId (-1 for none/server/script)
"E60000", // color
-1, // side of placer (-1 for GLOBAL)
[// POSITIONS
[
0, // frame
[ // markerPos (w/ elevation/terrain alt)
1041.75, // x
16821.9, // y
21.7641 // z
],
0.0, // markerDir (0-360)
0 // markerAlpha
]
],
[ // markerSize
20, // a
20 // b
],
"ELLIPSE", // markerShape
"Solid" // markerBrush
],
// ENTITY
"entities": [
{
"framesFired": [
24, // frame
[ // targetPos
200, // x
450 // y
20 // z (ASL)
]
],
"group": "Alpha 2-6", // group Id
"id": 0, // ocapId
"isPlayer": 1, // player or AI
"name": "Fank", // name player
"positions": [
[ // this frame index is calculated based on startFrameNum from the entity, in this case the first position would be frame 0
[ // position
8657.45, // x
2149.25, // y
1.73787 // z
],
17, // direction (0-360)
1, // alive state (0, 1, 2)
0, // is in a vehicle, 0 false 1 true
"Fank", // name on this frame, empty string when dead
1, // is player or AI on this frame
"Leader" // 'role', based on specialty traits (engi, med) and loadout (at, mg, etc)
],
],
"role": "Schütze@Schützen", // role description of unit
"side": "EAST",
"startFrameNum": 0, // what frame this entity was initialized
"type": "unit"
}
]
}