Installation - DevZupa/ZCP-A3-Exile GitHub Wiki

##Installation instructions

0 - Download the files. IF you don't want to configure anything. Just drop a3_zcp_exile.pbo in the @ExileServer/addons folder and your are DONE.

1 - Configure your server in the fn_config.sqf. If you have a special map (eg Takistan), be sure to check the map info at the customisation page. For configuration explanation visit the Configuration page

2 - Decide if you want the messages to popup as Exile messages. If you do, skip step 3 & 4. If you want the old notifications, execute 3 & 4.

ZCP_useOldMessages = false;  

Description: Use the exile toasts (false) or the old notifications (true).
Values: false | true

3 - Add zcp.sqf to your mission folder AND Call zcp.sqf from the initPlayerLocal.sqf

call compile preprocessfilelinenumbers "zcp.sqf";

Note: Put this at the very end.

4 - Add/edit the following code block to your config.cpp of your mission PBO

class CfgNotifications
{
    class Success
    {
        description = "%1";
        title = "Success";
        iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
        iconText = "";
        color[] = {0.7, 0.93, 0, 1};
        duration = 5;
        priority = 0;
        difficulty[] = {};
    };
    class Whoops
    {
        description = "%1";
        title = "Error";
        iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
        iconText = "";
        color[] = {0.7, 0.93, 0, 1};
        duration = 5;
        priority = 0;
        difficulty[] = {};
    };
    class ZCP_Init
    {
        description = "%1";
        title = "ZCP Spawned";
        iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
        iconText = "";
        color[] = {0.7, 0.93, 0, 1};
        duration = 5;
        priority = 0;
        difficulty[] = {};
    };
    class ZCP_Capped
    {
        description = "%1";
        title = "ZCP Capped";
        iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
        iconText = "";
        color[] = {0.7, 0.93, 0, 1};
        duration = 5;
        priority = 0;
        difficulty[] = {};
    };
    class ZCP_Capping
    {
        description = "%1";
        title = "ZCP alert";
        iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
        iconText = "";
        color[] = {0.7, 0.93, 0, 1};
        duration = 5;
        priority = 0;
        difficulty[] = {};
    };
};

5 - IF and only IF you use FUMS AI framework

Change the fn_config.sqf file:

ZCP_AI_Type = 'FUMS'; // NONE | DMS | FUMS

Copy the content of fumsinit.sqf to the HC/FuMsnInit.sqf on line 11.

6 - Repack the PBO file a3_zcp_exile.pbo and place it in the @ExileServer/addons folder of your Exile server. Do not forget to repack your mission pbo IF you made changes.