cambam47/F2_ACE — pull request #38 by kami- (2013-11-14 22:45:52+00:00)
Title: Ai - Headless Client with DAC

The code automatically detects Headless Client and uses it for managing AI with DAC. It supports old missions without HC support too.

Detecting is done by the server by finding a player with the default HC name, which is currently "HC", but can be changed via f_HC_defaultName global variable. For Headless Client to work with DAC properly, DAC zones have to be created dynamically by scripts. The files containing theese scripts are the arguments for the HC initialization.

If no script files are given, we assume that the mission maker wants to use DAC without HC and have not exported the zones, meaning they are placed in the map editor.
If there is no HC connected, the server takes over.

Guide for exporting zones is in progress.