How to change ready player me in NPC2NPC_Sample_V5_3 proyect for a metahuman

Original Discord Post by araceli_r_v | 2024-05-18 12:13:28

Hi! Ive been trying to change the rpm to a metahuman to make them talk to each other pushing the L key. I've imported my metahuman in the project and once i had it in there i changed the parent class to the rpms, but it doesn´t work. It always shows me an error in the blueprints. The drives projects is that: Sample Project in UE5.3 - Google Drive
And in the documentation: Unreal Engine | Documentation

I hope that you cold help me.
Thanks a lot!

<@&1163218672580575372>

Embedded Content:
Unreal Engine | Documentation
Set up the Convai Unreal Engine plugin and add conversational AI to your apps.
Link: Unreal Engine | Documentation

Reply by freezfast | 2024-05-18 12:18:21

Hi <@651477930832166944> make sure to change the blueprint in the first person such that it selects the correct metahuman class, you can of course edit it to be more dynamic so you do not have to select which two character that will talk together all the time

Images:

Reply by araceli_r_v | 2024-05-19 11:18:05

Hi, I’ve changed the class actor and it works!! But when i stopped the execution an error appears.
I think that it must be related with these 2 classes.
And another thing it is that when my metahuman talks she close her eyes and i don’t know why.

Thanks a lot.
<@&1163218672580575372> <@&1163218803438670047>

Images:


Reply by araceli_r_v | 2024-05-19 11:23:38

I can show you the output log if you need it

Reply by freezfast | 2024-05-19 11:39:49

I think the errors happen whe we try to interrupt the characters, could you be pressing H before the conversation starts? At any rate these error message are not urgent and are ok to let go

Reply by freezfast | 2024-05-19 11:40:56

If the character is closing his eyes, that’s actually looking down, rhe MetaHuman is probably looking at the pivot point of the other character. It could be possible that the other character eye point is not set

Reply by freezfast | 2024-05-19 11:45:09

You can find and set the eye height from your character blueprint

Images:

Reply by araceli_r_v | 2024-05-19 15:38:23

Okey, the eyes now are fine.
And I tried to press the H key once I have pressed the L key and one of them stop to talking and it doesn’t fail!!
But I am trying to implement that in my project so I copied the things that you implemented in the first person blueprint and the other two clases. But when I run the projects the L key works fine, but with the H key, it shows me that error and it doesn’t work, so the metahumans don’t look at me and don`t talk at me.

Images:

Reply by freezfast | 2024-05-19 15:39:46

Make sure that the NPC2NPC variable is correctly set when you press L

Reply by freezfast | 2024-05-19 15:40:20

Because it gets used when you press h

Reply by araceli_r_v | 2024-05-20 11:38:24

It was that :smiling_face_with_tear: .

Reply by araceli_r_v | 2024-05-20 11:40:07

But when i press L one of the metahuman turn to the other metahuman but when i press h she doesn’t turn back

Reply by araceli_r_v | 2024-05-20 11:42:10

I’ve tried to modify the actor transform, but when she stop to talk, it appears that she do something but finally she doesn’t do anything

Replying to araceli_r_v’s Message

Reply by araceli_r_v | 2024-05-20 11:40:07
But when i press L one of the metahuman turn to the other metahuman but when i press h she doesn’t turn back

Reply by freezfast | 2024-05-20 11:42:23

I see just make sure the variable is set correctly as it is being used to interrupt the characters, without it we wont be able to utilize the H key and it will also generate the above errors

Reply by araceli_r_v | 2024-05-20 11:43:07

Mmm, okey i’ll try and i’ll tell you soon

Reply by araceli_r_v | 2024-05-20 11:43:32

Thanks :blush: for all

Reply by freezfast | 2024-05-20 11:43:46

Sure happy to help!

Reply by k3kalinix | 2024-05-20 22:19:05

Hey <@651477930832166944>,

If you have any other questions, please do not hesitate to ask.

We would be very grateful if you could leave a comment on our store pages with your company name or the name of your project. We value your feedback and comments as they help us improve our services and products.
https://www.unrealengine.com/marketplace/en-US/product/convai/reviews

Reply by araceli_r_v | 2024-05-20 22:38:30

Sure!! :blush:

Reply by k3kalinix | 2024-05-27 08:15:55

Hello <@651477930832166944> :wave:t2:
Did you write a review? :smiling_face: