Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

Poster

Unreal Engine 5 NVIDIA Llama 2 OpenAI Whisper


🌟 Overview

Players solve real coding challenges delivered as narrative emails from AI-driven NPCs, converse naturally via voice/text chat, and navigate a dynamic tech workplace.


βš™οΈ Core Systems

System Tech Stack What It Does
Task Pipeline LeetCode API β†’ Llama 2 (7B/13B) Pulls coding problems & rewrites them as in-game emails from CEO/manager NPCs
NPC Brains UE5 Behavior Trees + Blackboard Randomized daily schedules (Work/Eat/Rest/Meetings) with priority interrupts based on time/energy/task load
Voice Chat Whisper.cpp β†’ F5-TTS Player speaks β†’ transcribed β†’ sent to LLM β†’ NPC replies via realistic TTS with 3D spatial audio
Face Animation NVIDIA Audio2Face β†’ LiveLink TTS audio drives MetaHuman blendshapes in real-time for cinematic lip-sync & expressions
World Sim UE5 NavMesh + Simulated Clock NPCs autonomously navigate office spaces based on dynamic behavior trees

πŸ’¬ How Player ↔ NPC Chat Works

πŸ‘‡ Text or Voice Input
↓
πŸ—£οΈ Whisper.cpp transcribes speech β†’ text
↓
🧠 Game Engine bundles context:
{player_msg + npc_state + task_progress + relationship}
↓
πŸ€– Local LLM generates narrative NPC response
↓
πŸ”Š F5-TTS converts text β†’ MP3 audio stream
↓
🎭 NVIDIA Audio2Face generates blendshape animation from audio
↓
πŸ‘€ UE5 + MetaHuman plays 3D audio + live facial animation via LiveLink


πŸš€ Quick Start (Coming Soon)

Requirements

Component Minimum Recommended
GPU GTX 1660 RTX 3060+ (for real-time Audio2Face)
RAM 16 GB 32 GB
Storage 20 GB free 50 GB SSD
OS Win 10 / Ubuntu 22.04+ Win 11 / Ubuntu 24.04
Engine Unreal Engine 5.6+ Unreal Engine 5.6+

🌈 Planned Features

Priority Feature Description
⭐ NPC-to-NPC Interaction NPCs converse with each other, share task updates, and react to player progress organically
⭐ Working Collaboration Workflows Players and NPCs jointly debug code, review PRs, and solve multi-stage challenges in shared virtual workspaces

πŸ“š References

  1. Unreal Engine. Epic Games, Inc. [Online] https://www.unrealengine.com
  2. MetaHuman. Epic Games, Inc. [Online] https://www.unrealengine.com/metahuman
  3. Touvron, H., et al. (2023). Llama 2: Open Foundation and Fine-Tuned Chat Models. arXiv:2307.09288.
  4. Radford, A., et al. (2022). Robust Speech Recognition via Large-Scale Weak Supervision. Proceedings of the 40th International Conference on Machine Learning.
  5. NVIDIA Audio2Face. NVIDIA Corporation. [Online] https://developer.nvidia.com/audio2face
  6. LeetCode. LeetCode. [Online] https://leetcode.com

Β© 2026 Nicholas Wilson Kurniawan

About

UE5 C++ project integrating Llama LLM, Whisper STT & F5 TTS for real-time AI-NPC dialogue. Optimized for <500ms latency.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /