[Server Hosting] How to setup init_eAI.c - salutesh/DayZ-Expansion-Scripts GitHub Wiki
NOTE
init_eAI.c is DEPRECATED and no longer supported!
All the patrol settings can be found in your mpmissions/dayzoffline.mapname/expansion/settings/aipatrolsettings.json
For more information please check [Server Hosting] AIPatrolSettings.
1) Downloading the required mods
DayZ Expansion AI require:
- CF
- Dabs Framework
- DayZ-Expansion-Core (if you are not using DayZ Expansion Bundle)
2) Init.c
Inside your init.c (mpmissions/dayzoffline.mapname/init.c), add this line at the very top of your file
#include "$profile:ExpansionMod\\AI\\Patrols\\init_eAI.c"
And inside the function main() add the following line:
CreateModdedPatrolSettings();
Example:
#include "$profile:ExpansionMod\\AI\\Patrols\\init_eAI.c"
void main()
{
CreateModdedPatrolSettings();
3) Init_eAI.c
(the server profile is where you will find the crash logs, script logs, rpt, permissionframework, expansionmod, console.log and many other folders related to mods. This folder sadly can be renamed and can be found under many names like "config", "instance", "profile" or "sc" to only name a few)
Go to Server profile/ExpansionMod/AI/ and create a folder named "Patrols". You will need the init_eAI.c
file inside the folder you just created.
Download link: https://cdn.discordapp.com/attachments/963589037745119282/979370918759518268/init_eAI.c