have any video games relied on AI chatbots for NPC dialogue yet?

any games relying on generative AI chatbots yet for dialogue? seems like it would really shine in games with a billion NPCs and where ordinarily each NPC would repeat just a few different lines. very possible this is already happening and I just don't know it.
 
I expect tons of interesting AI implementations in the upcoming years.

I won't be surprised if inbuilt microphone, speaker or even cam become mandatory on the PS6
(greetings from Kinect!).
 
Last edited:
Yeah



There are also mods for Mount & Blade Bannerlord that implement that. Haven't tried but they seem super cool, like being able to refer to some king as "my man!" and they will react accordingly.
 
Last edited:
I expect tons of interesting AI implementations in the upcoming years.

I won't be surprised if inbuilt microphone, speaker or even cam become mandatory on the PS6
(greetings from Kinect!).
I want an LA Noir type of game so badly even though i never cared about detective games. I never cared for them because they are too scripted. Now imagine you could talk to every npc in the game and ask whatever you want and they'd give you an answer thst makes sense. Give the NPC's things like a family tree, where they work, where they live, their routines and they would only know things that would make sense for their character to know.

A murder happened somewhere, you ask people around in the area, asking people from the other side of the city would be mostly futile, unless of course one of your suspects is from the other side of the side but was seen there. Now you might have a reason to ask people in his neighborhood or family members. Check for alibis etc. Someone was at a restaurant with him somewhere else? Go ask the people in that restaurant.

A game could last forever, infinite cases to solve, the cases dont even have to be premade, you could have shit happening randomly in the city and the AI would make it up as you go along. I dont want a story, i just wanna be a detective in a city that feels like it's inhabited by real people.
 
"ChatGPT, generate village innkeeper dialogue, female, middle-aged. Backstory: nobody believed a woman could open an inn in Rapist Alley but she proved them all wrong. Set level of sass to California localizer who hasn't been laid in 5 years. Number of cats owned = 5."
 
"ChatGPT, generate village innkeeper dialogue, female, middle-aged. Backstory: nobody believed a woman could open an inn in Rapist Alley but she proved them all wrong. Set level of sass to California localizer who hasn't been laid in 5 years. Number of cats owned = 5."
Sure thing. Here's some richly flavored innkeeper dialogue with all the sass, grit, and just the right amount of cat hair:











[Setting: The common room of a modest but stubbornly well-kept inn at the edge of a dangerous district known to locals as "Rapist Alley." A fire crackles in the hearth. The innkeeper leans against the bar, eyeing a newcomer with equal parts curiosity and hard-earned authority.]





Innkeeper (Name: Marla Thorne):





"Oh, you're new. I can tell—your boots ain't soaked in piss yet. Welcome to the Broken Lantern. Yes, that Broken Lantern. The one they said no woman would ever survive opening in Rapist Alley. Cute name, right? I kept it. Figured if I was gonna outlast the rats, I might as well laugh while I do it."





"You want a room, or are you just here to gawk at the miracle of a woman not dead in a ditch?"





"I've had five break-ins, two attempted arsons, and one jackass noble who thought 'rent' included my underpants. All still breathing—barely. The last one limps when it rains. If you're here to cause trouble, make sure your insurance covers blunt-force trauma and public humiliation."





"No, I don't serve wine. This is ale, stew, and the occasional reality check. You want wine? There's a 'gentleman's tavern' two streets over. Don't come crying to me when your wallet disappears and your dignity follows."





"And if you're allergic to cats, sit somewhere else. There's five of 'em. They run this place more than I do. Don't like it? The door swings both ways, sweetheart."





"Now, if you're staying the night—gold up front, no exceptions. Keys come with a towel and a warning: lock your damn window. This isn't a fairy tale. And I'm not your mama. I'm Marla. And Marla don't babysit."











Let me know if you want her to soften up a little (or go even harder).
 
I saw one game where you play as a vampire and you talk to the NPCs (using a mic and it would transcribe what you're saying to text) and try to get them to invite you into their house (you use clues of their surroundings to help you figure out their professions or interests). You couldn't buy the game, but rather rent it.
 
No idea, but if they AI gets really good at it, we won't be able to tell the difference anyway.
Honestly, the difference would be noticeable but that's the whole point

if I walk into a tavern and tell the tavern owner "I think the blacksmith is actually an alien from the moon and was sent here to steal all your cheese," generative AI chatbot would be able tor respond to exactly what I'm talking about, whereas pre written scripts could never predict I would ask that, and thus wouldn't be able to develop a response

it would be very difficult to allow us to simply type or say what we want to NPCs unless you used some chatbot
 
Last edited:
Honestly, the difference would be noticeable but that's the whole point

if I walk into a tavern and tell the tavern owner "I think the blacksmith is actually an alien from the moon and was sent here to steal all your cheese," generative AI chatbot would be able tor respond to exactly what I'm talking about, whereas pre written scripts could never predict I would ask that, and thus wouldn't be able to develop a response

it would be very difficult to allow us to simply type or say what we want to NPCs unless you used some chatbot
The thing though that I feel like most people forget / don't think about, is that, sure the chatbot could generate infinite dialogues for the NPCs, but then what?
How would the facial expression work for example? I imagine they could somehow program a few emotions and make the chatbot pick one, but beyond that, if you ask a NPC to do a specific action, the chatbot might reply accordingly, but the NPC won't have the animations or the script to do what the chatbot is agreeing to, for example.

Let's say you bet that taver owner that you can do more push ups than him, and he's like "okay, let's see!", and then he just stays there, standing still, and nothing happens lol

I feel like this could only work for a text based game and nothing more, because as soon as you try to get into different situations, if you try to create gameplay situation with it, it will immediatly be weird, immersion breaking, and will break the illusion.
 
I don't think this is going to happen because you know that somebody is going to get the AI to say some rancid shit and then the dev will have to respond.
 
The thing though that I feel like most people forget / don't think about, is that, sure the chatbot could generate infinite dialogues for the NPCs, but then what?
How would the facial expression work for example? I imagine they could somehow program a few emotions and make the chatbot pick one, but beyond that, if you ask a NPC to do a specific action, the chatbot might reply accordingly, but the NPC won't have the animations or the script to do what the chatbot is agreeing to, for example.

Let's say you bet that taver owner that you can do more push ups than him, and he's like "okay, let's see!", and then he just stays there, standing still, and nothing happens lol

I feel like this could only work for a text based game and nothing more, because as soon as you try to get into different situations, if you try to create gameplay situation with it, it will immediatly be weird, immersion breaking, and will break the illusion.
They're already working on that it seems:
Yeah



There are also mods for Mount & Blade Bannerlord that implement that. Haven't tried but they seem super cool, like being able to refer to some king as "my man!" and they will react accordingly.
 
I asked chat gpt how this would work and apparently there are tools already available to integrate LLMs into games.

Yes, absolutely — large language models (LLMs) like me can be integrated into games to power dynamic NPC dialogue and reactive behavior. This is already being experimented with in both indie and AAA game development. Here's how it can work and what the current limitations are:


---

✅ What an LLM can do for NPCs:

1. Dynamic, unscripted conversations
NPCs can respond to player input in a fluid, natural way — not limited to predefined dialogue trees.


2. Personalized interaction
The NPC can remember the player's choices or prior conversations, leading to a feeling of continuity.


3. Roleplaying and immersion
NPCs can behave like real characters with consistent personalities, values, emotions, and goals.


4. World simulation
LLMs can be used to generate events, rumors, quests, or environmental changes based on player actions or world state.




---

🧠 Example integrations:

Modbox / Inworld / Convai – Toolkits already exist that integrate GPT-like AI into NPCs for Unity/Unreal games.

OpenAI + Skyrim / GTA V mods – Developers have modded games to allow GPT to handle NPC dialogue.

Ubisoft's "NEO NPCs" project – Ubisoft is experimenting with LLMs to make background characters feel alive.



---

⚙️ Basic architecture:

Frontend: The game engine (e.g., Unity, Unreal) captures player input or context.

Middleware/API: Sends this context to the LLM (like OpenAI's GPT or a local model).

LLM response: The model generates a response which the NPC says using voice synthesis or subtitles.

Memory layer (optional): Keeps track of player interactions to build persistent relationships.



---

🔒 Limitations & challenges:

Latency – LLMs need to respond fast enough for real-time interaction.

Cost – Running powerful models like GPT-4 in real time for many NPCs can be expensive unless hosted locally.

Control – LLMs can be unpredictable; developers often need tools to constrain outputs (e.g. staying in-character or lore-consistent).

Voice – Realistic voice synthesis adds another layer (e.g. ElevenLabs or Unity's Speech services).



---

🔮 Future potential:

As models get cheaper and faster, expect AI-powered NPCs in:

RPGs where townsfolk remember you and react organically

Murder mystery games with unscripted interrogations

Immersive sims where your actions ripple through a living world




---

If you're a developer or just curious, I can even help you
prototype a basic setup or write sample code/dialogue logic. Want a demo example?
 
Top Bottom