ExAd/docs/Hacking/installation.md
2016-06-15 22:03:31 +02:00

1.6 KiB

Installation

Remember for this plugin to work you first need to install

Client

  • Place the folder "Hacking" into "mpmissions\exile.\ExAdClient"

  • Goto "mpmissions\exile.\ExAdClient\CfgFunctions" and uncomment

From

        //#include "Hacking\CfgFunctions.cpp"	 

To

        #include "Hacking\CfgFunctions.cpp"	
  • In "config.cpp" find ("CfgInteractionMenus") and add the actions you want used. If you don't want to use a specific action e.g. hacking safe just ignore adding it.
    Available actions are
    • HackVG -> ("CfgInteractionMenus" >> "Flag" >> "Actions" >> "HackVG")
    • HackSafe -> ("CfgInteractionMenus" >> "Safe" >> "Actions" >> "HackSafe")
    • StopHack -> ("CfgInteractionMenus" >> "Laptop" >> "Actions" >> "StopHack")

Example

class Flag
	{
	targetType = 2;
	target = "Exile_Construction_Flag_Static";

	class Actions 
	{
		class HackVG : ExileAbstractAction
		{
			title = "Hack Virtual Garage";
			condition = "call ExAd_fnc_canHackVG";
			action = "_this spawn ExAd_fnc_startHack";
		};
	};
};
  • Modify - "mpmissions\exile.\stringtable.xml" - add package="Hacking" and change to desirable notifications

  • Now you can go into "mpmissions\exile.\ExAdClient\Hacking\customize.sqf" and change to desirable settings.

Server

  • Copy over and pack "@ExileServer\addons\exad_hacking" into a pbo.