NPC to NPC

Original Discord Post by sacco_89595 | 2024-06-06 03:45:25

I want to have two NPC characters interact with each other, and I would like to use Metahumans for both characters. I’ve been watching tutorials, but simply selecting Metahumans at the location shown in this screenshot, resulting in an error and defaulting to the male character. Are there any other settings that need to be changed?

Images:


Reply by k3kalinix | 2024-06-06 06:59:55

<@&1163218672580575372>

Reply by freezfast | 2024-06-06 10:57:07

Hi <@1170263861010628654>, make sure that the characters you would like to have them talk to each other are using Convai, check the following tutorial to ensure your MetaHuman is correctly integrated. Additionally, please share the logs of the errors it can help us investigate if the issue is different

Embedded Content:
Integrate AI Characters with MetaHuman Avatars in Unreal Engine 5 |…
In this tutorial, we’ll show you how you can use Convai to add AI functionalities to Metahuman Characters in Unreal Engine 5. Convai enables these Metahuman AI NPCs to perceive their surroundings, perform complex actions and even talk with you or other AI NPCs within your games and virtual worlds. Create amazing virtual experiences in UE5 with C…
Link: https://www.youtube.com/watch?v=jqNttRE3nD4

Reply by sacco_89595 | 2024-06-07 09:18:02

I have already enabled conversations between first player and characters equipped with Convai using Metahuman in another game project.
In the sample project, I could see Ready Player Me avatars are talking but I couldn’t replace them with two MetaHumans. Could this be an issue with the class settings? The parent class for both characters is set to “convai NPC2NPC Chatbot Handler.”

Attachments:

Reply by sacco_89595 | 2024-06-07 09:51:11

This is another log

Attachments:

Reply by freezfast | 2024-06-07 14:21:38

Hey both parent classes need to be ConvaiBaseCharacter, or alternatively if you don’t want to change the parent class, then simply adding the ConvaiChatbot component should do the trick.

For more info on using Convai without changing the parent class: Simple Talking Cube | Documentation

Embedded Content:
Simple Talking Cube | Documentation
A minimal from scratch example to get you familiar with the plugin main components.
Link: Simple Talking Cube | Documentation

This conversation happened on the Convai Discord Server, so this post will be closed.