Ensure there are player slots for each mission in the mission builder
Extend the tools/build.py
script from the missions repository to check whether mission.sqm
has players with playable slots.
You probably will want to create a separate function (maybe even a separate file) to hold all the vetting functions.
The script is usually run as:
tools/build.py Frontline -o build -p "DFL_"
(see .gitlab-ci.yml file in Missions repository)
For each mission that is verified by the script, open and parse the mission.sqm
file, check if there are players here with the attribute isPlayable
set to 1. Otherwise, fail the build and print a message.
To parse mission.sqm files, you are advised to use https://github.com/overfl0/Armaclass
Edited by Overflo