NPC2NPC instructions 3.6.0

Are there any other Unreal’s NPC2NPC tutorials as to what can be done and how to set them up? Can I format that in the narrative design?

Right now there’s a single tutorial and it doesn’t show up, I’m having a hard time even knowing how to make the 2 character speak exact quote that I designated and then shut up.

Any help is appreciated, thank you.

Yes I’ve viewed them a while ago but it’s superficial at best and the blueprint that sets the player as the main character doesn’t exist in the folder. This video are lackluster for an average developer to better utilizing/understanding the system. Which is why I ask for information and help in the first place.

Sincerely,

Please share your questions.

Thank you, I want to start with I have 2 npc in conversation, but whatever I do everytime after the first npc speak and 2nd npc respond but its audio always cut off after 2 words. The textbox does show the full dialogue just fine but the audio, lipsync and animation all gets interrupted for no apparent reason. The invoke Narrative Design Trigger seems very unreliable or I’m not getting how it works.

Thank you,

Could you please share the character ID and output logs? What do you mean by the invoke trigger being unreliable?

Character ID:

  1. bcf96c70-763b-11f0-a90a-42010a7be01f
    2.8f195e90-be0d-11f0-a1f5-42010a7be025

I meant the invoke narrative trigger doesn’t seems to know where it starts and ends, for example I currently have 2 sections of narrative trigger for my 1st character, one very short for an intro sequence another quite extensive for the main interactive element. I’ve set up two seperate collision boxes so that once I trigger the intro and it ends I can walk up to the 2nd box to trigger the main event.

But it seems to me the intro narrative trigger never know it ended and proceed to mess with the camera logic of my main event section. I only deduct this after deleting everything about the intro and then it works well again.

How is it the system can be so difficult to seperate two? And I’ve been trying all day for the response logic of patient (albeit without NPC2NPC system but via invoke narrative trigger and narrative design on the web app.) but it still ALWAYS gets cut off after 2 words, animation, lipsync and everything. It has been an incredibly depressing utilizing experience to add a simple intro.

Sincerely,

Update: I’ve managed a somewhat reliable fix to some of the issue, but no matter what I do the 2nd character still only speak a word before immediately cut off, lipsyn, animation and everything, but the chat box dialogue is complete. I’ve always seen some other people posted the same issue so this could be a persistent bug on Convai? Since whenever I ask the npc questions afterwards it respond completely fine.

I’ve also find the specific log part regarding the 2nd character’s audio, maybe this will help identify the issue:
ConvaiGRPCLog: Received Text So… my heart’s really messed up, huh? Like, bad?: | Character ID : 8f195e90-be0d-11f0-a1f5-42010a7be025 | Session ID : 1d4660b65881d4c6340d67b42ac2112f | ReceivedFinalResponse : False
ConvaiAudioStreamerLog: State transition: Stopped → WaitingOnAudio
ConvaiAudioStreamerLog: Display: DecoderVersion: libopus unknown
ConvaiAudioStreamerLog: Initialized Decoder with SampleRate:24000 and Channels:1
ConvaiAudioStreamerLog: Warning: Packet generation skipped from 0 to 0
ConvaiGRPCLog: GetResponse EmotionResponseDebug: session_id: “1d4660b65881d4c6340d67b42ac2112f”
emotion_response: “Fear”
ConvaiGRPCLog: Received Audio Chunk: 1.068617 secs | Character ID : 8f195e90-be0d-11f0-a1f5-42010a7be025 | Session ID : 1d4660b65881d4c6340d67b42ac2112f
ConvaiGRPCLog: EmotionResponse: fear 2
ConvaiGRPCLog: GetResponse EmotionResponseDebug: session_id: “1d4660b65881d4c6340d67b42ac2112f”
emotion_response: “Fear”
ConvaiGRPCLog: Received Audio Chunk: 1.207937 secs | Character ID : 8f195e90-be0d-11f0-a1f5-42010a7be025 | Session ID : 1d4660b65881d4c6340d67b42ac2112f
ConvaiGRPCLog: EmotionResponse: fear 2
ConvaiGRPCLog: GetResponse EmotionResponseDebug: session_id: “1d4660b65881d4c6340d67b42ac2112f”
emotion_response: “Fear”
ConvaiGRPCLog: Received Audio Chunk: 0.511338 secs | Character ID : 8f195e90-be0d-11f0-a1f5-42010a7be025 | Session ID : 1d4660b65881d4c6340d67b42ac2112f
ConvaiGRPCLog: EmotionResponse: fear 2
ConvaiGRPCLog: Chatbot Total Received Lipsync Responses: 332 Responses
ConvaiChatbotComponentLog: Chatbot Total Received Audio: 0.510317 seconds
ConvaiGRPCLog: Received Text : | Character ID : 8f195e90-be0d-11f0-a1f5-42010a7be025 | Session ID : 1d4660b65881d4c6340d67b42ac2112f | ReceivedFinalResponse : True
ConvaiGRPCLog: GetResponse SequenceString:
ConvaiGRPCLog: GetResponse EmotionResponseDebug: session_id: “1d4660b65881d4c6340d67b42ac2112f”
emotion_response: “Terror Interest Distraction”
ConvaiGRPCLog: Narrative Section Received 6843d5e2-39d3-11f1-ba17-42010a7be02c: | Character ID : 8f195e90-be0d-11f0-a1f5-42010a7be025 | Session ID : 1d4660b65881d4c6340d67b42ac2112f | ReceivedFinalResponse : False
ConvaiGRPCLog: No more data to read after 3 attempts. Calling Finish…
ConvaiGRPCLog: Calling Stream Finish | Character ID : 8f195e90-be0d-11f0-a1f5-42010a7be025 | Session ID : 1d4660b65881d4c6340d67b42ac2112f
ConvaiGRPCLog: On Stream Finish | Character ID : 8f195e90-be0d-11f0-a1f5-42010a7be025 | Session ID : 1d4660b65881d4c6340d67b42ac2112f
ConvaiChatbotComponentLog: UConvaiChatbotComponent Request Finished! | Character ID : 8f195e90-be0d-11f0-a1f5-42010a7be025 | Session ID : 1d4660b65881d4c6340d67b42ac2112f
ConvaiAudioStreamerLog: New SampleRate: 24000
ConvaiAudioStreamerLog: New Channels: 1
ConvaiAudioStreamerLog: State transition: WaitingOnAudio → Playing
ConvaiAudioStreamerLog: onAudioFinished