Sarge-AI/installation.md
2016-08-21 12:48:06 -04:00

1.3 KiB

Tips:

  • To configure Sarge AI use the fn_preInit.sqf file inside the init folder of the sarge PBO.
  • You can make groups size, type and percentage adjustments by using the *_grps_mapName.sqf file inside the code\map_config folder.

Step 1

Place the sarge PBO inside the @ExileServer\addons folder.

Step 2

Place the ratingFix.sqf inside the mission root then open the config.cpp file in the mission root and search for the word CfgExileCustomCode and add this line:

class CfgExileCustomCode 
{
	/*
		You can overwrite every single file of our code without touching it.
		To do that, add the function name you want to overwrite plus the 
		path to your custom file here. If you wonder how this works, have a
		look at our bootstrap/fn_preInit.sqf function.

		Simply add the following scheme here:

		<Function Name of Exile> = "<New File Name>";

		Example:

		ExileClient_util_fusRoDah = "myaddon\myfunction.sqf";
	*/
	ExileClient_system_rating_balance = "ratingFix.sqf";
};

Step 3 InfiniStar (Optional)

In the EXILE_AH.sqf file do a search for rating. This should be line 793 and should look like the below. Remove this line:

if(rating player < 999999)then{player addRating 9999999;};

Then look for this about line 3955:

if(_rating < 500000)then

Now change it to this:

if(0==1)then