Great setup guide, will follow it tomorrow. Is there any way I could download some pre-made patrols and loadouts or is it all just do-it-yourself at the moment? Would be great to see some AI patrol releases.
Yup. Its working. What did you name the patrols? If it's 'PoliceLoadout.json' then rename it to something else...like 'CustomPoliceLoadout.json' or they won't spawn with their loadout. Also make sure you add the loadout to the patrol in the patrolsettings It's all in the video!
I don't know if it only happens to me but once I touch PatrolSettings. Everything breaks and they are all naked, even if I erase what was modified, they remain naked. I have to delete all loadouts and PatrolSettings to get them to work again.
@@hepskie Hi, So i'm getting naked AI if there are any .json files in loadouts, edited or not. The only way I see AI with gear is with empty Loadouts folder on first start, after first start the .json files are created in loadouts but when the server restarts there are naked AI. I see an error: NULL pointer to instance Class: 'eAIDynamicPatrol' Function: '~eAIPatrol' Stack trace: DayZExpansion/AI/Scripts/4_World/dayzexpansion_ai\classes\patrols\eaipatrol.c:45
I updated my init.c file as you mentioned but I'm still trying to find the ai to spawn in map. I don't know if you can still help me... I have this in my config crash log. If it means anything. Sorry Hepskie for asking again. NULL pointer to instance Class: 'eAIDynamicPatrol' Function: '~eAIPatrol' Stack trace: DayZExpansion/AI/Scripts/4_World/dayzexpansion_ai\classes\patrols\eaipatrol.c:45
So the first line of your init.c is $profile:ExpansionMod\\AI\\Patrols\\init_eAI.c ...? and if you follow that path in your server do you arrive at your init_eAI.c ...?
Had this error as well, seems like my server struggled with generating legit patrol and loadout settings. As soon as I deleted every existing patrol in PatrolSettings.json and only used Patrols I created myself like in the video with CustomLoadoutSettings (which are just renamed copys of the original loadout files) the error never popped up again...
Hey sorry to bug i finally got the Ai to spawn in and with the loadout but when i kill them then despawn on death also i cant seem to use Ai radial menu what is this key and what's the name of it in keybinds Thanks again for the great tutorial!
I've got the AI spawning, The issue I'm having constantly is the AI spawning in their underwear. I've deleted the loadouts several times, I've added the loadouts info to the PatrolSettings file and I've added my Steam ID to the AISettings file but their still loading in with just underwear on. Any ideas please ? Thanks in advance. Edit.. I've also got the init file setup correctly.
@@metalhead3778 Think it's a one time thing but some have reported that it happens again. The mod writers say it will be fixed next patch which should be along soon...along with another vid on how to install it with the changes
I've followed all the steps but I'm just not able to find any patrolling ai in the map I can spawn ai no problems but I'm not using any additional mods just clean server using chernarus plus map any advice how else to check if ai bandits are in the map?
If you're using community online tools with esp tools to find them, go to the airfield and make sure your character is about 400m away from the runway then look on the runway. If they're not there then you haven't quite managed it. Check to see if you have all the files in loadouts and patrols
@@JB-je6sd unfortunately no! I'm hopeless at this I'm just waiting and hoping there is a update that makes it easier for people like me who just knows how to install and play on the fly!
@@hepskie i own the game i just want free dayz server cuz i dont want to pay for nitrado servers and one thing how do i add mods to server mod list on dayz steam server ?
You need to make sure the init_eAI.c is in the right place and make sure you don't have any files in the loadouts folder so they can self generate - as said in the video.
@@hepskie really? i tried to comment the github error thing twice and for some reason the comments disappeared. Anyways it doesnt really matter. thanks bro i was dreaming for ai in dayz
Good afternoon brother I'm a fan of your tutorials, please do me a favor if possible... give me a zoom on the screen because there's no way to see what you're doing and please a little slower because I can't follow ok, thanks for heart for the attention, I like your videos too much but I'm new to this, you understand thank you so much hug!
Hey Hepskie... good video but of course I run into issues. hopefully you can help me or anyone on here can help me. Id greatly appreciate it. error says: Can't compile mission init script'! $CurrentDIR:mpmissions\dayzOffline.chernarusplus\init.c(1): Can't find file '$profile:config/ExpansionMod/AI/Patrols/init_eAI.c' I found the file in G:\steam\steamapps\common\DayZServer\config\ServerProfile\ExpansionMod\AI\Patrols I followed the instructions I thought step by step but clearly Im doing something wrong. Can you or anyone help
So i was trying to make this work on my lan server and it gives an error , is this for the online servers ? i want to give my players things to do any thoughts ?
#include "$CurrentDir:config/ExpansionMod/AI/Patrols/init_eAI.c" void main() { /* [Namalsk] CE init (offline) */ CreateHive(); GetHive().InitOffline(); /* [Namalsk] Mission time init after CE init to determine if storage mission type is outside of the required time-frame currently recommended time-frame is: 12/1 -> 12/31 keep in mind that gameplay features are tied to the mission date (stored in the storage) and that it SHOULD remain this period! while using: day accelerated 6 times (serverTimeAcceleration=6), resulting in an average 78 min of day-time (RL) night accelerated 24 times (serverNightTimeAcceleration=4), resulting in an average of 26 min of night-time (RL) */ int year, month, day, hour, minute; GetGame().GetWorld().GetDate( year, month, day, hour, minute ); if ( month < 12 ) { year = 2011; month = 12; day = 1; GetGame().GetWorld().SetDate( year, month, day, hour, minute ); } InitDynamicPatrols(); };
SMALL UPDATE
USE THIS AS THE FIRST LINE OF YOUR init.c file:
$profile:ExpansionMod\\AI\\Patrols\\init_eAI.c
Ooo a new setup guide for the AI you say!!!
when a video starts with "right" that is the warning things are about to get real. and i know thats true in this case
Haha I love this
@@hepskie going to boarding school in north devon taught me that lol
@@hepskie like harry potter page 390.....4
Great setup guide, will follow it tomorrow. Is there any way I could download some pre-made patrols and loadouts or is it all just do-it-yourself at the moment? Would be great to see some AI patrol releases.
They generate automatically. Watch the video :)
Did you manage to get that new patrol to spawn? I'm trying to get police ai to patrol in front of their stations but this isn't working for me.
Yup. Its working.
What did you name the patrols?
If it's 'PoliceLoadout.json' then rename it to something else...like 'CustomPoliceLoadout.json' or they won't spawn with their loadout. Also make sure you add the loadout to the patrol in the patrolsettings
It's all in the video!
I don't know if it only happens to me but once I touch PatrolSettings. Everything breaks and they are all naked, even if I erase what was modified, they remain naked. I have to delete all loadouts and PatrolSettings to get them to work again.
Leave the default ones as they are and make a new one. Don't edit what's already there.
@@hepskie I've tried it and it's great! Thank you so much. B)
@@hepskie Hi, So i'm getting naked AI if there are any .json files in loadouts, edited or not. The only way I see AI with gear is with empty Loadouts folder on first start, after first start the .json files are created in loadouts but when the server restarts there are naked AI. I see an error:
NULL pointer to instance
Class: 'eAIDynamicPatrol'
Function: '~eAIPatrol'
Stack trace:
DayZExpansion/AI/Scripts/4_World/dayzexpansion_ai\classes\patrols\eaipatrol.c:45
@@B.A.W._Killer I suggest waiting until the next update. It won't be long and it will be a LOT easier to set up the mod.
@@hepskie Ok will do, thanks for video and helping the community.
I updated my init.c file as you mentioned but I'm still trying to find the ai to spawn in map. I don't know if you can still help me... I have this in my config crash log. If it means anything. Sorry Hepskie for asking again.
NULL pointer to instance
Class: 'eAIDynamicPatrol'
Function: '~eAIPatrol'
Stack trace:
DayZExpansion/AI/Scripts/4_World/dayzexpansion_ai\classes\patrols\eaipatrol.c:45
So the first line of your init.c is $profile:ExpansionMod\\AI\\Patrols\\init_eAI.c ...? and if you follow that path in your server do you arrive at your init_eAI.c ...?
Had this error as well, seems like my server struggled with generating legit patrol and loadout settings. As soon as I deleted every existing patrol in PatrolSettings.json and only used Patrols I created myself like in the video with CustomLoadoutSettings (which are just renamed copys of the original loadout files) the error never popped up again...
I still dont know how to install the ai on dayz steam server you made a guide on paid nitrado game server for dayz.
Yes...you're correct.
Thx for your help sir
Hey sorry to bug i finally got the Ai to spawn in and with the loadout but when i kill them then despawn on death also i cant seem to use Ai radial menu what is this key and what's the name of it in keybinds Thanks again for the great tutorial!
Did you put your steamID into the aisettings? Make sure you do and use quotation marks ("these"). The default key to use them is T
@@hepskie gotcha Ill try that in a sec thank you! What about the so depsawning on death would that be apart of it too?
Just can't loot them at all
@@TrueNorthSurvival that might be a mod conflict. What other mods are you running?
@@hepskie Would DogTags mod interfere?
I've got the AI spawning, The issue I'm having constantly is the AI spawning in their underwear. I've deleted the loadouts several times, I've added the loadouts info to the PatrolSettings file and I've added my Steam ID to the AISettings file but their still loading in with just underwear on. Any ideas please ? Thanks in advance. Edit.. I've also got the init file setup correctly.
Delete the loadouts and leave the folder empty. Start the server and spawn one in. Then stop the server. The files should automatically generate.
@@hepskie Many thanks for the reply, much appreciated.
@@hepskie Do you need to do this every time the server restarts, or is it a one time thing ?
@@metalhead3778 Think it's a one time thing but some have reported that it happens again. The mod writers say it will be fixed next patch which should be along soon...along with another vid on how to install it with the changes
I've followed all the steps but I'm just not able to find any patrolling ai in the map I can spawn ai no problems but I'm not using any additional mods just clean server using chernarus plus map any advice how else to check if ai bandits are in the map?
If you're using community online tools with esp tools to find them, go to the airfield and make sure your character is about 400m away from the runway then look on the runway. If they're not there then you haven't quite managed it. Check to see if you have all the files in loadouts and patrols
got the exact same problem, did you manage to get it running?
@@Doc_Dig No I haven't seems like there is a problem with ai spawning into the map even after following the steps...
@@22jLee Any update / did you sort yours to this have same problem (No AI but can spawn them) and pulling my hair out ?
@@JB-je6sd unfortunately no! I'm hopeless at this I'm just waiting and hoping there is a update that makes it easier for people like me who just knows how to install and play on the fly!
And one question can i just download dayz folder and make a lan server without paying ?
Not sure what you mean dude. You have to pay for the game to start with...but the server and files are free to download.
@@hepskie i own the game i just want free dayz server cuz i dont want to pay for nitrado servers and one thing how do i add mods to server mod list on dayz steam server ?
my follow-me ai is naked? what can i do?
You need to make sure the init_eAI.c is in the right place and make sure you don't have any files in the loadouts folder so they can self generate - as said in the video.
Can i use debug menu to spawn ai ally to follow me ?
Yes
hope you dont delete this one, why im i getting error 404 when opening github link??????????????????
Fixed. Thanks for spotting that.
@@hepskie but why delete comment :( thanks my guy
@@afiljapi9444 I didn't delete any comment!?
@@hepskie really? i tried to comment the github error thing twice and for some reason the comments disappeared. Anyways it doesnt really matter. thanks bro i was dreaming for ai in dayz
@@afiljapi9444 dunno mate! Just youtube being youtube I guess. You're most welcome.
Good afternoon brother I'm a fan of your tutorials, please do me a favor if possible... give me a zoom on the screen because there's no way to see what you're doing and please a little slower because I can't follow ok, thanks for heart for the attention, I like your videos too much but I'm new to this, you understand thank you so much hug!
Hi there! If you change the video setting on RUclips to show 1440p it should be quite clear. I don't have zoom! Sorry.
Thank you!
Hey Hepskie...
good video but of course I run into issues. hopefully you can help me or anyone on here can help me. Id greatly appreciate it.
error says:
Can't compile mission init script'!
$CurrentDIR:mpmissions\dayzOffline.chernarusplus\init.c(1): Can't find file '$profile:config/ExpansionMod/AI/Patrols/init_eAI.c'
I found the file in G:\steam\steamapps\common\DayZServer\config\ServerProfile\ExpansionMod\AI\Patrols
I followed the instructions I thought step by step but clearly Im doing something wrong. Can you or anyone help
see fix in description or pinned comment
So i was trying to make this work on my lan server and it gives an error , is this for the online servers ? i want to give my players things to do any thoughts ?
Haven't tried it on a lan server but works for online ones.
#include "$CurrentDir:config/ExpansionMod/AI/Patrols/init_eAI.c"
void main()
{
/*
[Namalsk] CE init (offline)
*/
CreateHive();
GetHive().InitOffline();
/*
[Namalsk] Mission time init
after CE init to determine if storage mission type is outside of the required time-frame
currently recommended time-frame is:
12/1 -> 12/31
keep in mind that gameplay features are tied to the mission date (stored in the storage) and that it SHOULD remain this period!
while using:
day accelerated 6 times (serverTimeAcceleration=6), resulting in an average 78 min of day-time (RL)
night accelerated 24 times (serverNightTimeAcceleration=4), resulting in an average of 26 min of night-time (RL)
*/
int year, month, day, hour, minute;
GetGame().GetWorld().GetDate( year, month, day, hour, minute );
if ( month < 12 )
{
year = 2011;
month = 12;
day = 1;
GetGame().GetWorld().SetDate( year, month, day, hour, minute );
}
InitDynamicPatrols();
};
?
@@hepskie @Hepskie "$CurrentDir:config is needed, not "$profile:config/Expans
ionMod/AI/Patrols/init_eAI.c" that is in read me
@@hepskie have it working, some problem on loadout. great tut you did. thank you