麻豆影视

Skip to main content

Can AI make video games more immersive? Some studios turn to AI-fueled NPCs for more interaction

Jam & Tea Studios founders, left to right, Michael Yichao, Carl Kwoh, and J. Aaron Farr sit for photos on Jan. 18, 2024, in Roslyn, Wash. (Lutisha Aubrey Photography via AP) Jam & Tea Studios founders, left to right, Michael Yichao, Carl Kwoh, and J. Aaron Farr sit for photos on Jan. 18, 2024, in Roslyn, Wash. (Lutisha Aubrey Photography via AP)
Share
LOS ANGELES -

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 鈥淩etail 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鈥檚 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.

鈥淲e 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 鈥淩etail 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鈥檒l use AI in their products. Nvidia created its ACE technologies to bring so-called 鈥渄igital 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.

鈥淭hat鈥檚 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鈥檚 founders. 鈥淭hey can tell stories that they couldn鈥檛 tell before.鈥

Using AI to provide NPCs with endless things to say is 鈥渄efinitely 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鈥檙e shopping or respond to other NPCs to add 鈥渕ore life and reactivity than a typically scripted encounter.鈥

鈥淚鈥檝e 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. 鈥淚t鈥檚 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 鈥淢echa BREAK,鈥 in which players battle war machines, Ike Nnole said that Nvidia has made its AI 鈥渉umans鈥 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.

鈥淭ypically, a gamer would go through menus to do all this,鈥 Nnole, a senior product marketing manager at Nvidia said. 鈥淣ow 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 鈥渙verseer agents鈥 that can steer a player towards content they鈥檙e 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.

鈥淥ne way we like to put it is putting a game designer on the shoulder of everyone as they鈥檙e playing the game,鈥 said Alex Kearney, cofounder of Artificial Agency. The company鈥檚 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鈥檚 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.

鈥淚t is truly going to feel like the world鈥檚 alive and like everything really reacts to exactly what鈥檚 happening," he said. 鈥淭hat鈥檚 going to add tremendous realism.鈥

CTVNews.ca Top Stories

Haitian group in Ohio files citizen criminal charges against Trump and Vance

The leader of a nonprofit representing the Haitian community invoked a private-citizen right to file charges Tuesday against former U.S. president Donald Trump and his running mate, JD Vance, over the chaos and threats experienced by Springfield, Ohio, since Trump first spread false claims about legal immigrants there during a presidential debate.

We've all had neighbours we didn't like, but two people from Sault Ste. Marie have been awarded more than half a million dollars for the 'extreme' behaviour of the people who lived next to them.

Local Spotlight

Police are looking to the public for help after thieves broke into a Lethbridge ice creamery, stealing from the store.

An ordinary day on the job delivering mail in East Elmwood quickly turned dramatic for Canada Post letter carrier Jared Plourde. A woman on his route was calling out in distress.

Fire has destroyed a barn and 17,000 plants at a family-owned business in Lower Coverdale, N.B.

Before influencers on social media, Canada鈥檚 Jeanne Beker was bringing the world of high fashion down to earth and as Calgary鈥檚 Glenbow Museum gets a major make-over, it will include a new exhibition showcasing the pop culture icon.

A sea lion swam free after a rescue team disentangled it near Vancouver Island earlier this week.

A Nova Scotian YouTuber has launched a mini-truck bookmobile.

Cole Haas is more than just an avid fan of the F.W. Johnson Wildcats football team. He's a fixture on the sidelines, a source of encouragement, and a beloved member of the team.

Getting a photograph of a rainbow? Common. Getting a photo of a lightning strike? Rare. Getting a photo of both at the same time? Extremely rare, but it happened to a Manitoba photographer this week.

An anonymous business owner paid off the mortgage for a New Brunswick not-for-profit.