Skip to Content Facebook Feature Image

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

ENT

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

ENT

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

2024-09-25 18:04 Last Updated At:18:10

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.”

Jam & Tea Studios founders, left to right, Michael Yichao, center, Carl Kwoh, third from right, and J. Aaron Farr, fourth from right, pose with staff on Jan. 18, 2024, in Roslyn, Wash. (Lutisha Aubrey Photography via AP)

Jam & Tea Studios founders, left to right, Michael Yichao, center, Carl Kwoh, third from right, and J. Aaron Farr, fourth from right, pose with staff 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)

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)

Next Article

California governor signs bills to bolster gun control

2024-09-25 18:01 Last Updated At:18:10

SACRAMENTO, Calif. (AP) — California Gov. Gavin Newsom signed several gun control measures Tuesday, including one that allows the court to consider stalking and animal cruelty as grounds to restrict access to firearms.

The state already has some of the strictest gun laws in the country. The new laws signed by Newsom will expand restrictions on who could own firearms, prevent the proliferation of “ghost guns” and increase protections for domestic violence survivors.

“California won’t wait until the next school shooting or mass shooting to act,” the Democratic governor said in a statement. “In the absence of congressional action, our state is once again leading the way by strengthening our nation-leading gun laws.”

Under the new laws, a judge can consider stalking, acts of animal cruelty or threats of violence as evidence for a gun violence restraining order. A person who has a misdemeanor charge dismissed because they were found to be mentally incompetent will also be prohibited from possessing a gun. Current laws only apply such restrictions to cases involving felony charges.

Another law targets ghost guns by requiring law enforcement agencies to prohibit their contracted vendors from selling guns meant to be destroyed. The measure received bipartisan support from the Legislature.

The new laws also aim at providing more protections for domestic violence survivors. There'll be fewer exceptions for police officers to continue carrying a gun if they were perpetrators of domestic violence. Law enforcement is also required to take away firearms from offenders.

Newsom also signed legislation banning fake gunfire and fake blood from active-shooter drills in California’s public schools.

The California Legislature, which is controlled by Democrats, has advanced some of the strictest gun laws in the country, but many have not survived court challenges.

Newsom has positioned himself as a leader on gun control while he eyes the national political stage. He has called for and signed a variety of bills, including measures targeting ghost guns that are harder for law enforcement to trace, raising the taxes on guns and ammunition to pay for education and banning people from carrying firearms in most public places. Last year, he kickstarted a campaign calling for a constitutional amendment on gun safety with little success.

FILE - California Gov. Gavin Newsom meets with New Zealand Prime Minister Christopher Luxon and members of the California delegation at Oracle Park in San Francisco, July 12, 2024. (AP Photo/Juliana Yamada, Pool, File)

FILE - California Gov. Gavin Newsom meets with New Zealand Prime Minister Christopher Luxon and members of the California delegation at Oracle Park in San Francisco, July 12, 2024. (AP Photo/Juliana Yamada, Pool, File)

Recommended Articles