Back to Browse

Making NPCs with ChatGPT in Unity!

59.5K views
Premiered Jan 16, 2023
1:17:37

Checkout my new project Neocortex for simplest way to integrate Smart NPCs in your games https://neocortex.link *** In this tutorial, I'll show you how to create smart NPCs (non-player characters) using Ready Player Me avatars, Unity Starter Assets, and the OpenAI API. We'll start by setting up our Unity project with the Starter Assets, and then importing our Ready Player Me avatar. Next, we'll integrate the OpenAI API to make a ChatGPT like dialog system. By the end of this tutorial, you'll have a fully functioning NPC that can interact with players in a realistic and engaging way. 🐦Follow me on Twitter: https://twitter.com/sgt3v​ 📌GitHub Repo for this project: https://github.com/srcnalt/RPM-Smart-NPC Sources 📌OpenAI-Unity Package: https://github.com/srcnalt/OpenAI-Unity 📌Unity Starter Assets: https://assetstore.unity.com/packages/essentials/starter-assets-third-person-character-controller-196526 📌Ready Player Me Unity SDK: https://github.com/readyplayerme/rpm-unity-sdk-core 📌Ready Player Me: https://readyplayer.me 📺 Ready Player Me x Unity Starter Assets Tutorial: https://www.youtube.com/watch?v=NSeTmfxoFu8 📺 Making ChatGPT in Unity! OpenAI Unity Package Tutorial: https://www.youtube.com/watch?v=MQfVCY9qgEU ⏲️ Timestamps: 00:00​ Introduction 00:14 Start a new Unity Project 02:45 Import the OpenAI-Unity Package 04:39 Import Starter Assets Third Person Example ​ 08:45​ Import Ready Player Me Unity SDK 13:05 Creating RPM Avatars 17:45 Create Third Person Character Builder 22:40 Animating the NPC 35:00 Creating the Event Trigger 54:05 Creating Chat UI 01:08:05 Testing the NPC Dialog 01:16:25 Final words #chatgpt #ai #openai #gamedev​ #indiedev​​ #unity​ #madewithunity

Download

0 formats

No download links available.

Making NPCs with ChatGPT in Unity! | NatokHD