Quick & Easy Way To Make AI NPCs In UE5

Поділитися
Вставка
  • Опубліковано 12 сер 2023
  • Lip Sync Plugin -
    drive.google.com/drive/u/0/fo...
    Find the Convai plugin here - www.unrealengine.com/marketpl...
    Sign up at convai.com to create your own character & make an account & get your API Key.
    Voice Enable Code -
    [Voice]
    bEnabled=true
    In the presented video, I demonstrate the process of creating an AI non-player character (NPC) utilizing the @convai framework. The tutorial covers the incorporation of animations, lip synchronization, and the implementation of instructions for the AI to follow, including player tracking. I trust you enjoyed the content and that it proved beneficial to someone!
    Chapters
    00:00 Intro
    00:34 Setting Up The Project / Metahuman Set Up
    02:26 How To Get Convai Plugin
    02:57 Continuing Project Set Up
    05:22 Setting Up Player Character
    05:46 VERY IMPORTENT
    06:10 Setting Up Metahuman Character
    07:34 Getting Character ID
    09:44 Making AI Follow Player
    10:41 AI Life Story
    11:11 Thanks For Watching!
    11:30 Gameboy Ad
    Music -
    Mostly Animal Crossing Bangers
    #unrealengine5 #ai #convai #npc

КОМЕНТАРІ • 31

  • @NylaWorker-convai
    @NylaWorker-convai 8 місяців тому +2

    Great video!

    • @Clydiie
      @Clydiie  8 місяців тому +1

      Thank you! 😊

  • @dish2468
    @dish2468 7 місяців тому +1

    Thanks for the video! Any chance you know how to hide/unhide the actual chatbox and make it so it only appears/triggers when you near the character? Then disappears when you move away? If yes, can you please create a brief tutorial on that? Much appreciated.

  • @w_graphicsfr
    @w_graphicsfr 2 місяці тому +1

    great tutorial! everything worked for me. but do you know how to change the key binds? And do you know a way to disable being able to talk to them?

    • @Clydiie
      @Clydiie  2 місяці тому +1

      I haven't had a look at this project since I made this video. The keybinds must be in the convai blueprint, and the ability to disable the chat feature is definitely in the blueprint, too. But I suggest going to the convai youtube channel to look at their tutorials and breakdowns or their website and looking at the documentation. I'll definitely be revisiting this project because I want to use the chat bot for a game I'm working on, but it could take me a while until I do that.
      Oh, and thank you for the watching and commenting!

  • @WilliamVideoUT
    @WilliamVideoUT 7 місяців тому +1

    HI, Nice job. I always have trouble getting it to work more than once. Also the feature of having you NPC go to a designated area does seem to work reliably. These features do work but not consistently for me. That response is intermittent seems odd. Is there a bug or something going on. I've seen other's mention it on Discord but not much response other than listing the steps once again for implementation. Really not the answer for me. Nice tutorial. I'm subscribed and will keep an eye out for your tutorials. Appreciate all the effort your putting in here.

    • @Clydiie
      @Clydiie  7 місяців тому +1

      Yeah I know what you mean sometimes when I ask the npc to follow me it doesn't move but I found if I just stop and press play again it will work not sure whats going on but I'm sure the convai is going to get better in the future thank you for subscribing I really appreciate it :)

  • @Iguana93
    @Iguana93 3 місяці тому +1

    Good tutorial, but I'm not sure we should want nonsense generative NPCs in gaming. I think generative models should just be used to generate a big enough subset of game-dev-curated responses so that the NPC can stay on-character without being repetitive and allowing for varied player input. Generative AI on its own just won't make for immersive gameplay because its simulation of "character" is very superficial (and just adding more data into the model is not going to improve that). On the other hand, character creation these days is severely limited by the amount of time and resources devs can put into constructing dialog trees and voice actor recordings. Generative models could expand on an actor's performance to vary the output while preserving the human believeability and dialogue trees could become much bigger while still keeping to a coherent character. That I think is the way to go.

  • @ValleyCrw
    @ValleyCrw 4 місяці тому

    Brilliant tutorial, you got a new subscriber! I can type text in to talk to my character but holding T doesnt seem to do anything, do you have any idea why this could be?

    • @Clydiie
      @Clydiie  4 місяці тому

      Thank you! It's been a little while since I played around with convai, so I'm not really sure. If you're not getting any errors, it should work. Have you checked what mic you are using? I think it's F12

    • @ValleyCrw
      @ValleyCrw 4 місяці тому

      @@Clydiie Thanks for your quick response- all working now! Looking forward to your next vid!

  • @exileofthemainstream8787
    @exileofthemainstream8787 7 місяців тому +1

    Hi, I was following this well but at minute 7, when I have to add the Convai Lip Sync from components, it is not showing. This is despite putting the folder into the project folder as you showed earlier. I've tried looking for documentation for why that is the case. Any idea what to do?

    • @exileofthemainstream8787
      @exileofthemainstream8787 7 місяців тому

      @UnrealGBA

    • @Clydiie
      @Clydiie  7 місяців тому

      hey the only thing I can think of is maybe you downloaded the wrong version so for example if you are using ue5.1 you have to download the 5.1 version of the plugin.. if that doesnt help the only other thing i can suggest if going to the convai youtube and they have a 5 part playlist on how to intergrate convai to unreal ill leave a link for you
      ua-cam.com/video/HHJvY9dmwwg/v-deo.html
      hope you find a fix bro
      did you close the project and reopen it maybe thats the case too

    • @exileofthemainstream8787
      @exileofthemainstream8787 7 місяців тому

      Yes i doubled checked that I had the right plugin - 5.2 - in my case. Another thing that occurred is when i create a character in convai, how do you save it? I signed up (free account) and I can access the API key. But if I leave the page, I get a warning saying progress will be lost. Kind of weird. Opening and closing the project didn't work. I will try the instructions via the playlist you gave.@@Clydiie Do you know of any other free convai altneratives?

    • @Clydiie
      @Clydiie  7 місяців тому

      @exileofthemainstream8787 Man, sorry I couldn't help. There really shouldn't be any issues it's pretty straightforward, and no, it should save it even if you exit. As for alternatives, I've been looking into Replica Studios they made the AI matrix demo. Might be something you could look into.

    • @exileofthemainstream8787
      @exileofthemainstream8787 7 місяців тому

      Ah thanks I'll check replica out then. Convai seems to be quite limited in terms of knowledge = only the words in the backstory you write. So maybe Replica is better.
      @@Clydiie

  • @elenadmpl
    @elenadmpl 4 місяці тому

    hELLO GREAT TUTORIAL i did what you showed but maybe you missed a part at the following i did the same and metahuman dont follow me, is something in blueprints?

    • @Clydiie
      @Clydiie  4 місяці тому +1

      I dont know why but this happens sometimes. Assuming you have the nav mesh in the level try close the project and open it see if that works. But yeah all you need is the nav mesh and it should work... this happens to me sometimes I havent found a permanent fix. Thanks for watching my video tho im glad you liked it.

  • @user-uw1nn5sf8s
    @user-uw1nn5sf8s 3 місяці тому

    great tutorial! I followed this video and succeeded in having a conversation with one NPC with well-functioning lip sync. But when I created a second NPC in the scene, the lip sync plugin didn't work, for both of the NPCs. Do you have any clue about what's going on here?

    • @Clydiie
      @Clydiie  3 місяці тому

      i have never tried to add two of them in the same level Ill try it out and see what I can do to help thanks for watching

    • @user-uw1nn5sf8s
      @user-uw1nn5sf8s 3 місяці тому

      Thanks!@@Clydiie

  • @TorreAltaFilms
    @TorreAltaFilms 5 місяців тому

    Is there a way to disable or hide the chat box that appears in the lower left corner?

    • @Clydiie
      @Clydiie  5 місяців тому

      Search for Chat_WB it should be in your engine folder (you can use the filter Widget Blueprint to make it easier). Open it and click on the chatbox (use the hierarchy on the left side to select SB_MainChat), and in the details panel (right side), find the setting called visibility. Set it to hidden. You can also watch a tutorial on how to hide widgets to get a better understanding, but it's very easy.
      You can hide some of it or all of the boxes. It's up to you.

    • @TorreAltaFilms
      @TorreAltaFilms 5 місяців тому

      Got it! Thanks!

  • @doublebladegaming8870
    @doublebladegaming8870 5 місяців тому

    why would you pump up the Volume of the music in the brakes? why?

    • @Clydiie
      @Clydiie  5 місяців тому +1

      because I can

  • @BlackMonolithRemnant
    @BlackMonolithRemnant 5 місяців тому

    is it possible to make ai with convai without actually using the microphone?

    • @Clydiie
      @Clydiie  5 місяців тому

      Yeah you can type what you wanna say

  • @Gray-Today
    @Gray-Today 5 місяців тому

    Non Playing Characters are of no value.

    • @Clydiie
      @Clydiie  5 місяців тому +2

      I disagree they are quest giver, companions, shop merchants, enemies the list goes on