mirror of
https://github.com/Teh-Dango/Sarge-AI.git
synced 2024-08-30 16:32:11 +00:00
Update installation.md
This commit is contained in:
parent
0596a04bc5
commit
e6425ab222
@ -3,41 +3,7 @@ Tips:
|
||||
- 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.
|
||||
Package and/or place the sarge PBO inside the @epochhive\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:
|
||||
```html
|
||||
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:
|
||||
```html
|
||||
if(rating player < 999999)then{player addRating 9999999;};
|
||||
```
|
||||
Then look for this about line 3955:
|
||||
```html
|
||||
if(_rating < 500000)then
|
||||
```
|
||||
Now change it to this:
|
||||
```html
|
||||
if(0==1)then
|
||||
```
|
||||
Start the server and check your log to see if Sarge AI is loading properly.
|
||||
|
Loading…
Reference in New Issue
Block a user