Scripted dialogue also known as “barks” in game dev has been the way NPCs utter dialogues in virtual worlds. Now with AI-powered characters, these characters can have a generated conversation based on environment cues, character backgrounds, or even prompted topics.
When various characters interact with each other it brings the environment to life and AI-powered characters keep the conversation fresh, lively, and topical, always.
Whether you’re building characters for learning and training environments, social virtual worlds, or games, such AI-to-AI conversations would become an essential component to engage and immerse your users.
In this tutorial, we’ll guide you on configuring the Group NPC control feature within your Convai SDK for Unity. This enables the Convai-powered AI NPCs in your Unity projects to interact with each other, in a real-time generated manner, about conversation topics you provide them. You can also interrupt the conversation between these AI NPCs, and join in on their chat too! We are also providing a test project that we created using this feature for you to try for yourself (linked below).
Have questions or need assistance?
Visit the Convai Developer Forum – our dedicated community and support team are here to help with bug reports and technical queries. Get the support you need and connect with other developers to enhance your experience.
Convai Developer Forum: https://forum.convai.com/
Download the free sample project files:
https://drive.google.com/file/d/1ddax...
Unity Asset Store plugin link: https://assetstore.unity.com/packages...
Convai NPC2NPC Documentation: https://docs.convai.com/api-docs/plug...
Unity Scene HDRP: https://assetstore.unity.com/packages...
[Tutorial] AI Reallusion Characters for Unity: • Creating Lifelike NPCs in Unity with Reall...
[Tutorial] AI-To-AI Conversations for Unreal Engine: • AI NPCs Talking With Each Other | Convai U...
Sign up at https://convai.com to try it out.
Time Stamps:
00:00 Intro
01:21 Video Overview
01:45 Project Setup
03:00 Initializing the Factory Scene
03:17 Convai API Key Setup
03:30 Make the Project Convai Powered
04:30 Adding Characters to the Scene
05:20 Add Convai NPC Component
05:55 Add Convai's Essential Components
06:13 Configure LipSync
06:57 Configure Head and Eye Tracking
07:50 Add Animations to Character
08:18 Add Convai Group NPC Controller
08:45 Add Speech Bubble
08:57 Add Convai NPC Manager
09:46 Testing Out
10:23 Customizing Speech Bubble
10:40 NPC Interruption Logic Adjustments
11:30 Testing Out
12:03 Outro
Follow us on your favorite platforms to stay in touch:
Convai Developer Forum: https://forum.convai.com/
LinkedIn: / convaitech
Reddit: / convai
Twitter: / convaitech
Instagram: / conv.ai
Facebook: / convaiofficial
TikTok: / conv.ai
ArtStation: https://www.artstation.com/convai