Creating a Zombie AI in UE4 [4.25] | More Tasks, More Keys & Sight Perception! [Part 3]

Поделиться
HTML-код
  • Опубликовано: 5 фев 2025
  • Hello all and welcome to the third episode in Making a Zombie AI in Unreal Engine 4. In this episode, we continue working on the tasks and the behaviour tree and add sight perception to the zombie controller.
    Project File Download Page: bit.ly/2X89w85
    Follow me on Twitter at @radon_yt.
    Subscribe for more videos like this in the future.

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

  • @spitfyreUK
    @spitfyreUK 2 года назад +9

    This might be redundant now, but it might help someone:
    Peripheral vision is a half figure, so think of it as the amount each eye can see, rather than both eyes in conjunction. A setting of 90 gives the pawn 180 degrees of vision overall, from it's forward vector, and setting it to 180 means it can see all the way around itself.
    I had the issue some other commenters have mentioned, where the player is ignored, and found that in my "FindPlayerLocation" Blackboard Task, I had "Get Player Controller" instead of "Get Player Character" - Make sure you delete the "Get Actor Location" and replace it, because it can be very buggy when you change the Actor reference, it's safer to just replace the node entirely.
    I also changed the Decorator of the Sequence node for making the AI Wander around to "Observer aborts: Both".

  • @jhonnyappleseed1786
    @jhonnyappleseed1786 Год назад +4

    If your AI isn't detecting the player, set the AISense_Sight Affiliation to neutral. From the UE documentation: This property can be used to set up Sight perception for teams. Currently, Affiliation can only be defined in C++. For Blueprints, you can use the Detect Neutrals option to detect all Actors, then use Tags to filter out Actor types.

    • @maddriver321
      @maddriver321 Год назад

      This worked for me thank you so much

  • @GeorgeBush-rj8rx
    @GeorgeBush-rj8rx Год назад

    Great tutorials! Thank you mate! Hope u doing great!

  • @ChromasGaming
    @ChromasGaming 4 года назад +4

    Great job on the tutorials, clear and straight forward.

  • @zuleroosty2622
    @zuleroosty2622 4 года назад +1

    your tutorials are a life saver!!!!! hoping to see more when ue5 launches!

    • @OdysseyUnreal
      @OdysseyUnreal  4 года назад

      Thanks! I'll be addressing UE5 videos very shortly, mainly focusing on Niagra, Epic Online Services etc, but the zombie AI tutorial will be ported over to UE5 as well!

  • @arunasbaj
    @arunasbaj 4 года назад +1

    Thank you. Waiting for next AI lesson.

  • @GekkoGang
    @GekkoGang Год назад +1

    nice tutorial
    ;

  • @YouWillDoAsYouAreTold
    @YouWillDoAsYouAreTold 4 года назад +1

    great tutorial :D thank you so much

  • @magnificentgaming5610
    @magnificentgaming5610 Год назад +1

    Hello i had a question is there a way i could make it muktiplayer?

  • @theofficialamt6626
    @theofficialamt6626 4 года назад +1

    Can you show how to make Call of Duty Zombies
    - Window Barrier
    - Zombie Breaks wood barriers on window
    - Zombie crawls through window once wood barriers are broken
    - Zombie attack you depending on which barrier you closer to they will then destory wood barriers and climb through
    Would be great to see a tutorial made.

  • @loudmounthartist2257
    @loudmounthartist2257 Год назад

    How would I hve the zombie chase an npc at 11:41

  • @futurelight5536
    @futurelight5536 4 года назад

    Keep up you great .

  • @thechronicgrump3906
    @thechronicgrump3906 4 года назад +1

    Hello, I setup everything exactly how you have and my AI will walk towards me and then stop, and then wont find me again. Is there a fix for this? I had to add isValid to get blackboard too, even though I set the BT at begin play

    • @pradipthahalder
      @pradipthahalder 3 года назад

      go to the zombiebt, then select the second move to, on the details panel on the blackboard key, select target location

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

    some people having a problem with Zombie not chasing player. this happened to me, in the left blackboard decorator when you set HasSpottedPlayer to is Is Not Set, you also need to set Observer Aborts to both on the left. this worked for me, hope it helps. might not work for everyone

    • @mary6617
      @mary6617 Год назад

      its not working for me...

  • @D-EaZy
    @D-EaZy Год назад

    I solved problem with not following in Behaviour tree change move to target location

  • @futurelight5536
    @futurelight5536 4 года назад

    We need you

  • @martinocon599
    @martinocon599 3 года назад

    hey great tutorial sadly it was not working for me did a print string and the zombie was detecting me but it just kept moving around so i moved some things around and fixed after a while

    • @jakehornerman
      @jakehornerman 3 года назад

      what was the fix?

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

      @MartinOcon599 can you please help, what was the fix? I rewatched the video multiple times and it's still not working

    • @martinocon599
      @martinocon599 Год назад

      Sorry for the late answer i just saw the coment all i did was change a seting on the behavior tree and it worked when u select the BTTASK_FindPlayerLocation task on the default Vevtror selector i selected target location and it started following the player i also played with randon times but it works for me som may have other isues i had another cuz the game i been working on is multiplayer

  • @Logan-ou7kb
    @Logan-ou7kb 3 года назад

    At 18:12 I tried it and he wasn't following me when I walked in front of it

  • @archieisthename8593
    @archieisthename8593 3 года назад

    It moves around randomly and when it sees me it stands still. Can anyone Help me?

    • @michaelnoel9129
      @michaelnoel9129 3 года назад

      Im having the same problem and have gone through the comments to try and find a solution and nothing has worked

  • @easeofaccess2593
    @easeofaccess2593 3 года назад

    im gonna figure out how to make this multiplayer quick

    • @easeofaccess2593
      @easeofaccess2593 3 года назад

      Done. adding the tutorial i used to do it. ruclips.net/video/Z43nKzLgLKw/видео.html

  • @xKobyMacx
    @xKobyMacx 9 месяцев назад

    Unless I'm doing it wrong, the "GetRandomPointInNavigableRadius" now needs an exec pin (UE 5.0.3), which is interesting.

  • @futurelight5536
    @futurelight5536 4 года назад

    Make relastic zombie bro.

    • @OdysseyUnreal
      @OdysseyUnreal  4 года назад

      It's in the works! :D

    • @futurelight5536
      @futurelight5536 4 года назад

      I am very interested in your tourtals will you creat zombie sound tourtal in future?

    • @OdysseyUnreal
      @OdysseyUnreal  4 года назад

      @@futurelight5536 Yeah it's super simple to do and will be a part of the series.

    • @futurelight5536
      @futurelight5536 4 года назад

      Thank you
      I don't have any idea from ue4 sound system so i will very happy if you explain it on future tourtals
      ❤❤❤❤❤❤❤

  • @Jean_98
    @Jean_98 3 года назад

    Zombies don't follow my character, has anyone else been there?

    • @pradipthahalder
      @pradipthahalder 3 года назад

      go to the zombiebt, then select the second move to, on the details panel on the blackboard key, select target location

  • @proximitive3872
    @proximitive3872 3 года назад

    what the hell is going on. Its all put this here put this there without an explaination. Should have named this "advanced tutorial" since beginners wont understand a thing.
    EDIT: im just being impatient, he explained what he was doing right after.