• 0
Sign in to follow this  
Followers 0
Psymon

Advice for Installing Zupa's ZCP

Question

So they Install instructions for Zupa's ZPC Capture points says to just copy the pbo file to @ExileServer/Addons folder.   Where do the rest of the files go?  can somebody break down the install for me?

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

https://github.com/DevZupa/ZCP-A3-Exile/wiki/Installation

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

"call compile preprocessfilelinenumbers "zcp.sqf";"

If you cannot find zcp.sqf here is the content: 

"PV_ZCP_zupastic" addPublicVariableEventHandler {
	private["_messageArray","_messageString"];
	_messageArray = _this select 1;
	_messageArrayNotification = _messageArray select 1;
	_messageString = _messageArray select 2;
	[_messageString,_messageArrayNotification] call BIS_fnc_showNotification;
	{
		systemChat format["%1",_x];
	}count _messageArrayNotification;
};

Open the ZCP pbo, and configure it to your liking in fn_config.sqf once done, pack it to a pbo again.

Put the PBO for the addon inside @ExileServer\Addons, now go to your mission file, edit config.cpp go to "class CfgNotifications" and add: 

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[] = {};
    };

It's pretty straight forward.

Share this post


Link to post
Share on other sites
  • 0
On ‎11‎/‎26‎/‎2016 at 6:18 AM, ka0s said:

https://github.com/DevZupa/ZCP-A3-Exile/wiki/Installation

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

"call compile preprocessfilelinenumbers "zcp.sqf";"

If you cannot find zcp.sqf here is the content: 


"PV_ZCP_zupastic" addPublicVariableEventHandler {
	private["_messageArray","_messageString"];
	_messageArray = _this select 1;
	_messageArrayNotification = _messageArray select 1;
	_messageString = _messageArray select 2;
	[_messageString,_messageArrayNotification] call BIS_fnc_showNotification;
	{
		systemChat format["%1",_x];
	}count _messageArrayNotification;
};

Open the ZCP pbo, and configure it to your liking in fn_config.sqf once done, pack it to a pbo again.

Put the PBO for the addon inside @ExileServer\Addons, now go to your mission file, edit config.cpp go to "class CfgNotifications" and add: 


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[] = {};
    };

It's pretty straight forward.

I unpacked my Exile.Chernarus.pbo,  Edited config.cpp, but do not have a section that says class CfgNotifications, So I created that section, and pasted in.  Still no Dice.  This requires DMS Mod right?

Edited by Psymon

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.