The program converts ArmA 2 /3 missions into headless compatible missions.It reads a mission.sqm and creates a new mission in which all of the AI units are spawned through headless client. The headless client compatible mission should be identical with the original mission as long as Headless Client is present.
Download
Usage
1. Create init.sqf script in the mission directory
2. Add line: "//HEADLESS_SCRIPT" in the init.sqf. This line is replaced by the headless spawn script execution on conversion. The script should only be executed by Headless Client so make sure that the line is surrounded by proper checks. For example:
// no interface and not a dedicated server = HC
if (!hasInterface && !isDedicated) then
{
//HEADLESS_SCRIPT
};
3. Open the saved mission.sqm with Guillotine
4. New mission is now saved in a directory mission_name_headless.map and its name is "mission name (HC)"
Functionality
Guillotine functions by removing all AI units from a mission.sqm. It then creates a script called spawnHeadlessObjects.sqf which spawns all AI units, configures them, adds their waypoints, synchronizes them and broadcasts their names (if given) when its executed on a client.
Bug tracker: https://github.com/haikion/Guillotine/issues
Authors
- Haikion
- Lotherk - his project a2mc was used as a base for this project.
|