Generates SQF code from provided CSV tables which is then consumed by Arma 3 Liberation mission (https://github.com/StiegOlSauer/pclf_liberation.Altis). That allows to design whole faction by putting its properties into a convenient spreadsheet instead of coding it in multitude of mission files. Liberation factions are quite complex, so the main benefits from this approach are:
- Integrity: separate spreadsheets for each faction, all data in one place
- Convenience: faction features are logically divided on several independent pages, each exposes manageable amount of properties
- Easy maintenance: each file contains only faction-specific data, so it is not affected by any changes in mission logic
Currently available entities:
- weapons
- optics
- body armor and headgear
- uniforms
- muzzle devices, pointers and frontgrip attachments
- explosives, mines, grenades
- vehicles
- squad roles and compositions
Usage example:
- Prepare new or get existing .ods equipment file from Liberation repository (i.e. https://github.com/StiegOlSauer/pclf_liberation.Altis/blob/main/utils/arsenal/AFRFPMC.ods)
- Export .csv files from its sheets into some convenient place (i.e.
arsenal/afrfpmc/weapons.csv
) - Run the generator from that directory:
$ ../arsenal -w --weapons weapons.csv --squads squads.csv --templates-dir /path/to/templates/
- SQF files in corresponding subdirs will be created in the directory from which
arsenal
is launched - Copy the directory into Liberation mission
scripts/gameplay_templates/arsenal/