mwpowellhtx / KP-Liberation

The work on GreuhZbugs Liberation Mission for Arma 3 continues...
GNU General Public License v3.0
8 stars 1 forks source link

[Logistics] [0001] Saga: establish the shape of a logistics tuple #27

Closed mwpowellhtx closed 3 years ago

mwpowellhtx commented 3 years ago

Basic Information

Mission version: v0.98.dev-s4 Map used: Altis Mods used:

Short Issue Description

We think that perhaps the shape will not be such as the Eden start bases or FOBs. Not least of which because we also need to capture features such as timer, factory sectors, bill, transports, and so on.

mwpowellhtx commented 3 years ago

The base tuple shapes, in pseudo SQF slash DSL grammar form:

_timer = [
  _duration
  , _startTime
  , _elapsedTime
  , _timeRemaining
];

_endpoint = [
  _pos
  , _markerName
  , _baseMarkerText
] | [
  _pos
  , _markerName
  , _baseMarkerText
  , _billValue
];

_endpoints = [] | [
  _endpoint
  , _endpoint
];

_transportValue = [S, A, F];

_convoy = [] | [
  _transportValue
  , ...
];

[
  _uuid
  , _status
  , _timer
  , _endpoints
  , _convoy
]
mwpowellhtx commented 3 years ago

We may also include comprehension concerning convoy transport economics. What do we mean by that; that is to say, capturing the build cost and recycle value at the time of building, and using that metric to inform the subsequent recycle requests on a per transport basis. The fact that we are not yet saving or loading logistics yet, means we have space to make this decision yet.