top of page

ChatGPT Unreal Engine 5 Integration

Project Specifics:

  • Engine- Unreal Engine 5.1.1

  • Status- Unreleased

Project Description:

This was an experiment to see how the progression of AI language models in recent time could be used to drive NPC dialogue. Thinking of uses of intelligent NPC's besides just providing a richer world for the player, I came up with the goal of creating an NPC that would console you and ease your stresses.

Using the OpenAI API Plugin made by KellanM, I created a NPC character that, when given an initial prompt (the prompt took a lot of iteration to extract the desired behaviours from the AI), would act as a close friend who tries to calm your stresses and gently get you to open up.

The AI can be quite unpredictable still and breaks character, but can be steered back on task. There would need to be a lot of thought into the crafting of prompts before this could be used in production.

Project Takeaways:

This was a interesting project that made me think to the future of NPC's in games. It is difficult to get the AI to play a character, and it often breaks it and ruins immersion. I can see however, the immense use this will have for creating immersion, especially in lore rich worlds that the AI has been trained on.
 

  • LinkedIn
  • Twitter
bottom of page