Skip to content

pkmital/Convai-UnrealEngine-SDK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convai Unreal Engine SDK Plugin

Overview

Convai brings advanced AI-driven interaction to Unreal Engine, empowering NPCs to engage in realistic conversations with players and respond intelligently to verbal commands and environmental events. Convai integrates seamlessly with various character assets and multiple language support.

Key Highlights

  • Intelligent Conversation: Real-time, open-ended conversation capabilities that make interactions more natural and dynamic.
  • Multilingual Support: Engage with players in multiple languages, broadening the reach of your game.
  • Advanced Actions: NPCs can interpret their surroundings and respond to conversations, verbal commands, and events, paving the way for innovative gameplay scenarios.
  • Knowledge Base: Equip your characters with extensive knowledge, making them lore experts or embedding them deeply into the game's world.
  • Multiplayer Interaction: Facilitates voice chat between multiple players and characters, enhancing the multiplayer experience.
  • Intelligent Animations: Integration with lip-sync and comprehensive facial and body animations, synchronized with conversation flow.

Resources for Ease of Use

Compatibility and Integration

The plugin is compatible with a wide range of character and avatar assets, including Metahumans, Daz3D, Reallusion, ReadyPlayerMe, Avaturn and more. Both humanoid and non-humanoid assets can be seamlessly integrated.

Standalone Components

  • Text to Speech & Speech to Text: Empower your characters with realistic speech capabilities.
  • Dynamic Character Updates: Modify characters’ personalities, backstories, and knowledge in real-time, based on in-game events.

Coming Soon

  • Expansion to Other Platforms: Including iOS and Linux.
  • Long-term Memory for Characters: Enabling NPCs to remember past interactions for more immersive gameplay.

Installation

Prerequisites

Before starting, ensure you have the following installed:

Overview

There are multiple ways to install the plugin:

  • Install via the marketplace
  • Download one of our ready made releases and copy them to
     C:\Program Files\Epic Games\UE_5.x\Engine\Plugins\Marketplace
    
    or for macOS:
     /Users/your_user/UnrealEngine/UE_5.x/Engine/Plugins/Marketplace
    
  • Build the plugin manually to get the latest updates and support for Custom Unreal Engine Versions, which you can do by following below steps

Building the plugin from source

Cloning and Building the Plugin

  1. Open a command prompt or terminal.

  2. Clone the repository:

    git clone https://github.com/Conv-AI/Convai-UnrealEngine-SDK.git
    
  3. Change directory to the cloned repository:

    cd Convai-UnrealEngine-SDK
    
  4. Run the build script with the Unreal Engine directory as the first argument:

    python Build.py [Unreal Engine Directory] [Additional Flags]
    

    Add -TargetPlatforms=Win64 to build specifically for Windows. For building on Windows with support for both Windows and Android, no extra flags are needed.

    // Example: Windows only Build for Unreal Engine 5.3.
    python Build.py "C:\Program Files\Epic Games\UE_5.3" -TargetPlatforms=Win64 
    

Installing the Plugin

  1. After building the plugin, locate the output files in the Output folder within the repository directory.
  2. Copy the entire plugin folder to the Unreal Engine's plugins directory:
    • For a vanilla installation, this is typically located at:
      C:\Program Files\Epic Games\UE_5.x\Engine\Plugins\Marketplace
      
      or for macOS:
      /Users/your_user/UnrealEngine/UE_5.x/Engine/Plugins/Marketplace
      
  3. Ensure the folder hierarchy in the plugins directory mirrors the structure in the Output folder. It should look like this:
    UE_5.x
    ├── Engine
        ├── Plugins
            ├── Convai
                ├── (plugin files and folders)
    

Need Support or Have Questions?

If you encounter any issues or have questions, feel free to reach out to us at support@convai.com or join the community on Discord Our team is dedicated to providing you with the support you need to make the most out of Convai.

About

This Unreal Engine plugin integrates Convai API for conversational AI and environment perception and action-taking by the AI in Unreal Engine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.9%
  • C# 1.1%
  • Other 1.0%