Magn

Grinding Condition per door

2 posts in this topic

Hello Exile Community!

I made a small modification to Exile Grinding, so you need 5 batteries per door (changeable)

1. Download these two files from my GitHub

Link: https://github.com/magn456/Exile_Grinding

2. Make a folder called "Custom" (or something else, just remember this) inside your mission file.

3. Move these files to "Custom"

4. Open config.cpp, find "CfgExileCustomCode and add these lines to it. If these two files are placed somewhere else, replace "Custom" to your wherever these files are.

class CfgExileCustomCode
{
	
	// Other Overrides above..

	ExileServer_object_lock_network_grindLockRequest.sqf = "Custom\ExileServer_object_lock_network_grindLockRequest.sqf";
	ExileClient_action_grindLock_condition.sqf = "Custom\ExileClient_action_grindLock_condition.sqf";

};

Optional Step

Configure how many batteries you need to grind
To do that, edit these files and find 

_requiredamount = 5;

change 5 to your desired amount.

In "ExileServer_object_lock_network_grindLockRequest.sqf"

Add how many batteries should be removed if you changed "_requiredamount" by doing adding more of these to the file. 

_playerObject removeItem "Exile_Magazine_Battery";

 

Edited by Magn
  • Like 3

Share this post


Link to post
Share on other sites

These two files have been privated on my GitHub. I will no longer provide any support. Thank you for understanding.

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

  • Recently Browsing   0 members

    No registered users viewing this page.