ExAd/docs/Grinding/installation.md
Bjanski 916e91a4db Release v0.7.0
Implemented Hacking
Ppdated Core and VG
2016-05-06 09:52:30 +02:00

1.3 KiB

Installation

Remember for this plugin to work you first need to install

Client

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

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

From

        //#include "Grinding\CfgFunctions.cpp"	 

To

        #include "Grinding\CfgFunctions.cpp"	
  • In "config.cpp" find "CfgInteractionMenus" and add to "Construction".
class Construction
	{
	targetType = 2;
	target = "Exile_Construction_Abstract_Static";

	class Actions 
	{
		class Grind : ExileAbstractAction
		{
			title = "Grind Lock";
			condition = "call ExAd_fnc_canGrindLock";
			action = "_this spawn ExAd_fnc_grindLock";
		};
		
		class RestoreLock : ExileAbstractAction
		{
			title = "Restore Lock";
			condition = "_object call ExAd_fnc_canRestoreLock";
			action = "_this spawn ExAd_fnc_restoreLock";
		};
	};
};
  • Modify - "mpmissions\exile.\stringtable.xml" - add package="Grinding" and change to desirable notifications

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

Server

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