AI Mod on your DayZ Server (out of date. see description for newest version)

Поделиться
HTML-код
  • Опубликовано: 20 дек 2024

Комментарии • 64

  • @hepskie
    @hepskie  2 года назад +2

    SMALL UPDATE
    USE THIS AS THE FIRST LINE OF YOUR init.c file:
    $profile:ExpansionMod\\AI\\Patrols\\init_eAI.c

  • @SepticFalcon
    @SepticFalcon 2 года назад +1

    Ooo a new setup guide for the AI you say!!!

  • @AmishHitman73.Archive
    @AmishHitman73.Archive 2 года назад +2

    when a video starts with "right" that is the warning things are about to get real. and i know thats true in this case

  • @VulkanYT
    @VulkanYT 2 года назад +1

    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.

    • @hepskie
      @hepskie  2 года назад

      They generate automatically. Watch the video :)

  • @austentatious7233
    @austentatious7233 2 года назад

    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.

    • @hepskie
      @hepskie  2 года назад

      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!

  • @BrunoWBaldoin
    @BrunoWBaldoin 2 года назад

    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
      @hepskie  2 года назад +1

      Leave the default ones as they are and make a new one. Don't edit what's already there.

    • @BrunoWBaldoin
      @BrunoWBaldoin 2 года назад

      @@hepskie I've tried it and it's great! Thank you so much. B)

    • @B.A.W._Killer
      @B.A.W._Killer 2 года назад

      @@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

    • @hepskie
      @hepskie  2 года назад

      @@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.

    • @B.A.W._Killer
      @B.A.W._Killer 2 года назад

      @@hepskie Ok will do, thanks for video and helping the community.

  • @22jLee
    @22jLee 2 года назад

    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

    • @hepskie
      @hepskie  2 года назад

      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 ...?

    • @Doc_Dig
      @Doc_Dig 2 года назад

      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...

  • @Dominik909
    @Dominik909 2 года назад

    I still dont know how to install the ai on dayz steam server you made a guide on paid nitrado game server for dayz.

    • @hepskie
      @hepskie  2 года назад

      Yes...you're correct.

    • @Dominik909
      @Dominik909 2 года назад

      Thx for your help sir

  • @TrueNorthSurvival
    @TrueNorthSurvival 2 года назад +1

    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!

    • @hepskie
      @hepskie  2 года назад +1

      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

    • @TrueNorthSurvival
      @TrueNorthSurvival 2 года назад

      @@hepskie gotcha Ill try that in a sec thank you! What about the so depsawning on death would that be apart of it too?

    • @TrueNorthSurvival
      @TrueNorthSurvival 2 года назад

      Just can't loot them at all

    • @hepskie
      @hepskie  2 года назад

      @@TrueNorthSurvival that might be a mod conflict. What other mods are you running?

    • @TrueNorthSurvival
      @TrueNorthSurvival 2 года назад

      @@hepskie Would DogTags mod interfere?

  • @metalhead3778
    @metalhead3778 2 года назад

    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.

    • @hepskie
      @hepskie  2 года назад +1

      Delete the loadouts and leave the folder empty. Start the server and spawn one in. Then stop the server. The files should automatically generate.

    • @metalhead3778
      @metalhead3778 2 года назад +1

      @@hepskie Many thanks for the reply, much appreciated.

    • @metalhead3778
      @metalhead3778 2 года назад

      @@hepskie Do you need to do this every time the server restarts, or is it a one time thing ?

    • @hepskie
      @hepskie  2 года назад +1

      @@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

  • @22jLee
    @22jLee 2 года назад

    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?

    • @hepskie
      @hepskie  2 года назад +1

      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

    • @Doc_Dig
      @Doc_Dig 2 года назад

      got the exact same problem, did you manage to get it running?

    • @22jLee
      @22jLee 2 года назад

      @@Doc_Dig No I haven't seems like there is a problem with ai spawning into the map even after following the steps...

    • @JB-je6sd
      @JB-je6sd 2 года назад

      @@22jLee Any update / did you sort yours to this have same problem (No AI but can spawn them) and pulling my hair out ?

    • @22jLee
      @22jLee 2 года назад +1

      @@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!

  • @Dominik909
    @Dominik909 2 года назад

    And one question can i just download dayz folder and make a lan server without paying ?

    • @hepskie
      @hepskie  2 года назад

      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.

    • @Dominik909
      @Dominik909 2 года назад

      @@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 ?

  • @b3nno42
    @b3nno42 2 года назад

    my follow-me ai is naked? what can i do?

    • @hepskie
      @hepskie  2 года назад

      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.

  • @Dominik909
    @Dominik909 2 года назад

    Can i use debug menu to spawn ai ally to follow me ?

  • @afiljapi9444
    @afiljapi9444 2 года назад

    hope you dont delete this one, why im i getting error 404 when opening github link??????????????????

    • @hepskie
      @hepskie  2 года назад +1

      Fixed. Thanks for spotting that.

    • @afiljapi9444
      @afiljapi9444 2 года назад

      @@hepskie but why delete comment :( thanks my guy

    • @hepskie
      @hepskie  2 года назад

      @@afiljapi9444 I didn't delete any comment!?

    • @afiljapi9444
      @afiljapi9444 2 года назад

      @@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

    • @hepskie
      @hepskie  2 года назад +1

      @@afiljapi9444 dunno mate! Just youtube being youtube I guess. You're most welcome.

  • @fhantomgamestechtubecanald9944
    @fhantomgamestechtubecanald9944 2 года назад

    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!

    • @hepskie
      @hepskie  2 года назад

      Hi there! If you change the video setting on RUclips to show 1440p it should be quite clear. I don't have zoom! Sorry.

  • @allenewing8840
    @allenewing8840 2 года назад

    Thank you!

  • @philippesadventures
    @philippesadventures 2 года назад

    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

    • @hepskie
      @hepskie  2 года назад

      see fix in description or pinned comment

  • @kinghenry161
    @kinghenry161 2 года назад

    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 ?

    • @hepskie
      @hepskie  2 года назад

      Haven't tried it on a lan server but works for online ones.

  • @youandme9016
    @youandme9016 2 года назад

    #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  2 года назад

      ?

    • @youandme9016
      @youandme9016 2 года назад +1

      @@hepskie @Hepskie "$CurrentDir:config is needed, not "$profile:config/Expans
      ionMod/AI/Patrols/init_eAI.c" that is in read me

    • @youandme9016
      @youandme9016 2 года назад

      @@hepskie have it working, some problem on loadout. great tut you did. thank you