Scenario JSON
The Gymnasium environment can export its observation to a JSON file with the following properties.
To get a sample scenario, go to the BLADE platform and click Save Scenario under File.
Please see the sidebar for Simple and Blank JSON scenario files.
currentScenario
: (Scenario) this is the main object representing the scenario and all related data at a specific timestep (Scenario::currentTime
).
currentSideName
: (str) the name of the currently selected side (the player's side).
selectedUnitId
: (str) the ID of the currently-selected unit.
mapView
(dict)
defaultCenter
: (list[float]) default map center coordinates (latitude and longitude).Example:
[130.78675023228317, 26.54934438063878]
currentCameraCenter
: (list[float]) current camera center coordinates (latitude and longitude).Example:
[126.32522218337252, 26.935149764112793]
defaultZoom
: (float) default zoom level for the map.Example:
5.5
currentCameraZoom
: (float) current camera zoom level for the map.Example:
5.5
Last updated