LOS ANGELES (AP) â For decades, video games have relied on scripted, stilted interactions with non-player characters to help shepherd gamers in their journeys. But as artificial intelligence technology improves, game studios are experimenting with generative AI to help build environments, assist game writers in crafting NPC dialogue and lend video games the improvisational spontaneity once reserved for table-top role-playing games.
In the multiplayer game âRetail Mage,â players help run a magical furniture store and assist customers in hopes of earning a five-star review. As a salesperson â and wizard â they can pick up and examine items or tell the system what they’d like to do with a product, such as deconstruct chairs for parts or tear a page from a book to write a note to a shopper.
A playerâs interactions with the shop and NPCs around them â from gameplay mechanics to content and dialogue creation â are fueled by AI rather than a predetermined script to create more options for chatting and using objects in the shop.
âWe believe generative AI can unlock a new kind of gameplay where the world is more responsive and more able to meet players at their creativity and the things that they come up with and the stories they want to tell inside a fantasy setting that we create for them,â said Michael Yichao, cofounder of Jam & Tea Studios, which created âRetail Mage.â
The typical NPC experience often leaves something to be desired. Pre-scripted interactions with someone meant to pass along a quest typically come with a handful of chatting options that lead to the same conclusion: players get the information they need and continue on. Game developers and AI companies say that by using generative AI tech, they aim to create a richer experience that allows for more nuanced relationships with the people and worlds that designers build.
Generative AI could also provide more opportunities for players to go off-script and create their own stories if designers can craft environments that feel more alive and can react to players’ choices in real-time.
Tech companies continue to develop AI for games, even as developers debate how, and whether, theyâll use AI in their products. Nvidia created its ACE technologies to bring so-called âdigital humansâ to life with generative AI. Inworld AI provides developers with a platform for generative NPC behavior and dialogue. Gaming company Ubisoft said last year that it uses Ghostwriter, an in-house AI tool, to help write some NPC dialogue without replacing the video game writer.
A report released by the Game Developers Conference in January found that nearly half of developers surveyed said generative AI tools are currently being used in their workplace, with 31% saying they personally use those tools. Developers at indie studios were most likely to use generative AI, with 37% reporting use the tech.
Still, roughly four out of five developers said they worry about the ethical use of AI. Carl Kwoh, Jam & Tea’s CEO, said AI should be used responsibly alongside creators to elevate stories â not to replace them.
âThatâs always been the goal: How can we use this tool to create an experience that makes players more connected to each other?â said Kwoh, who is also one of the companyâs founders. âThey can tell stories that they couldnât tell before.â
Using AI to provide NPCs with endless things to say is âdefinitely a perk,â Yichao said, but “content without meaning is just endless noise.” That’s why Jam & Tea uses AI â through Google’s Gemma 2 and their own servers in Amazon â to give NPCs the ability to do more than respond, he said. They can look for objects as theyâre shopping or respond to other NPCs to add âmore life and reactivity than a typically scripted encounter.â
âIâve watched players turn our shopping experience into a bit of a dating sim as they flirt with customers and then NPCs come up with very realistic responses,â he said. âItâs been really fun to see the game react dynamically to what players bring to the table.â
Demonstrating a conversation with a NPC in the game âMecha BREAK,â in which players battle war machines, Ike Nnole said that Nvidia has made its AI âhumansâ respond faster than they previously could by using small language models. Using Nvidia’s AI, players can interact with the mechanic, Martel, by asking her to do things like customize the color of a mech machine.
âTypically, a gamer would go through menus to do all this,â Nnole, a senior product marketing manager at Nvidia said. âNow it could be a much more interactive, much quicker experience.â
Artificial Agency, a Canadian AI company, built an engine that allows developers to bring AI into any part of their game â not only NPCs, but also companions and âoverseer agentsâ that can steer a player towards content theyâre missing. The AI can also create tutorials to teach players a skill that they are missing so they can have more fun in-game, the company said.
âOne way we like to put it is putting a game designer on the shoulder of everyone as theyâre playing the game,â said Alex Kearney, cofounder of Artificial Agency. The companyâs AI engine can be integrated at any stage of the game development cycle, she said.
Brian Tanner, Artificial Agency’s CEO, said scripting every possible outcome of a game can be tedious and difficult to test. Their system allows designers to act more like directors, he said, by telling characters more about their motivation and background.
“These characters can improvise on the spot depending on whatâs actually happening in the game,â Tanner said.
It’s easy to run into a game’s guardrails, Tanner said, where NPCs keep repeating the same phrase regardless of how players interact with them. But as AI continues to evolve, that will change, he added.
âIt is truly going to feel like the worldâs alive and like everything really reacts to exactly whatâs happening,” he said. âThatâs going to add tremendous realism.â