# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project badly attempts [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.2.1] - 2024-06-23

### Changed

- Allowed Equipment Definition typo

## [4.2.0] - 2024-06-20

### Added

- Custom remainsCollector script to replace and supplement the built in arma remainsCollector function
- New Resupply Boxes
- Ability to spawn spare tires and tracks at the arsenal and via Zeus module

### Changed

- Split vehicle flags into colors and shapes for additional options
- Battalion Callsigns
- Allowed Equipment Definitions
- Resupply Box Contents
- Fixed incorrect ace carry variable setting

### Removed

- SMA mod references
- Extraneous server performance calculation broadcast to all clients
- Ability for pilots to check re-insertion queue

## [4.1.2] - 2024-04-25

### Changed

- Fix internal versioning
- Swap resupply box 5.56 magazines due to mod conflict
- Group deletion handler now properly processes empty groups and logs errors 

## [4.1.1] - 2024-04-19

### Added

- Function to remove lightning bolt from zeus

### Changed

- Alpha Callsign
- Allowed Equipment Definitions

### Removed

- Custom tire patch code
- Extraneous server performance calculation broadcast to all clients

## [4.1.0] - 2024-03-01

### Added

- Added ability for mission maker to use custom leaflets
- Added ability for mission maker to define points of interested to be automatically added as MicroDAGR waypoints
- Added `missionGroup` variable in `description.ext` for backend grouping of mission
- Added custom script support via `CfgFunctions`
- Added 5 second invulnerability on ejection of air vehicle when parachute equipped

### Changed

- Track unconsciousness time

## [4.0.0] - 2024-02-07

 Version 4 marks a massive rewrite due in whole to @IndigoFox by updating the internals of the framework into CBA macros and functions.

### Added

- Added ability for FBCB2 Assets to locate themselves on player local map
- Added various framework utitily functions
- Added ability for mission maker to allow spawning of resupply boxes from arsenal boxes
- Added CBA settings for resupply box spawning
- Added additional vehicle flags
- Addded Zeus module to fill vehicle ace cargo inventory with tracks/tires

### Changed

- Documented purpose of `missionSeries` parameter in `mission_settings.hpp`
- Moved internal functions into new framework directory structure
- Moved FBCB2 internal data structure into multiple defintion files
- Moved resupply boxes internal data structures into their own definiton file
- Moved player inventory internal data structure into its own defintion file
- Moved vehicle flags internal data structure into its own defitinion file
- Use player's preferred ACE color settings for medical triage icons

### Deleted

- Leftover resupply box code from before version 3.2.0 update

## [3.2.0] - 2024-02-01

### Added

- Custom logging function to allow for external scripts to parse framework messages
- Transport request system for respawned players
- CBA settings for transport request enable/disable and timeout durations
- Added zeus mortar resupply boxes
- Added battalion layout definition file for use in FBCB2 system

### Changed

- Update fixed wing asset class type
- Update contents of zeus resupply boxes
- Update player inventory check functions
- Update FBCB2 callsign and radio frequency pages

## [3.1.3] - 2024-01-10

### Changed
- Merge triage-status-draw3d to fix draw overlay for medics

## [3.1.2] - 2024-01-04

### Added
- Add forgotten code file file for medical overlay

### Changed
- Merge update-flag-exclusions branch to fix issues with vehicles not applying flag

## [3.1.1] - 2024-01-04

### Changed
- Spelling Fixes
- Update class binding for vehicle flag interaction

## [3.1.0] - 2023-12-17

### Added

- Vehicles now have an ace interaction to allow the mounting of flags onto them for identification. Contributed by IndigoFox
- Added inventory validation checks
- Added empty group removal code due to ownership issues on entity transfers
- Added medical card visibility to medics for triage purposes

## [3.0.2] - 2023-10-14

### Changed

- Added new options to ace fortify list, and reduced prices.

## [3.0.1] - 2023-06-19

### Changed

- Lowered garbage collection times and range for dead bodies


## [3.0.0] - 2023-05-03

### Added

- CBA settings for dynamic enable/disable of player/server metrics gathering
- CBA settings for dynamic timing for player/server metrics gathering

### Changed

- Reformat CBA settings
- Separate player and server metrics into proper functions/initializers/handlers
- Refactor most functions and change initialization routines in `CfgFunctions`

### Removed

- Remove `CfgRemoteExec` from `description.ext` as it has been deprecated as of Arma v1.54

## [2.2.0] - 2023-04-23

### Added

- Add CPS metrics to all clients and publish to server

### Fixed

- Update CPS metrics localEvent emitter to emit the current value, not the previous

### Changed

- Force `sideChat` CBA setting to 'disabled' on mission start by default

## [2.1.0] - 2023-04-12

### Added

- Fortify preset and object area restriction
- Zeus module for grounds cleanup
- `sideChat` restrictions to allow only Zeus and `#admins` to send messages
- Allow `#admin` to enable or disable `sideChat` via CBA setting on a per mission file basis. 
`Escape -> Configure -> Addon Options -> Server -> 17th Battalion -> Enable Side Chat`

## [2.0.0] -2023-04-12

### Added

- Automated calculations-per-second metrics gathering

### Fixed

- mission.jpg to correct dimensions and optimize

## [1.9.0] - 2023-03-07

### Added

- Tire interaction to allow patching to 80% with toolkit

### Changed

- Zeus resupply box contents
- Command callsigns diary section
- Rotary asset list diary section
- Fixed wing asset list diary section

## [1.8] - 2022-10-22

### Added

- Local environment sunrise and sunset times to diary intel section

## [1.7] - 2022-10-15

### Added

- `#respawn` chat command to respawn player in attempt to fix rare instance of player initializing their spawn at [0, 0, 0]

## [1.6] - 2022-10-06

### Changed

- FBCB2 code now switched to respawn modules instead of old-style respawn marker for BLUFOR base area for asset calculations

## [1.5] - 2022-10-02

### Added

- Map copying code in preparation for disabling of `sideChat`

## [1.4] - 2022-09-19

### Added
- `#saveaar` chat command for `#admin` to initiate OCAP replay upload

### Fixed

- Flak code now accounts for ~~shit~~ RHS vehicles *because they're formatted special*

## [1.3] - 2022-08-17

### Added

- Function for converting an artillery piece into a "flak cannon"

## [1.2] - 2022-07-14

> Initial Public Release