pwshub.com

The promise (and pitfalls) of NPCs powered by AI in video games

Serving tech enthusiasts for over 25 years.
TechSpot means tech analysis and advice you can trust.

A hot potato: Large language models and generative AI are topics that most video game developers would rather avoid. As tempting as using these tools is to replace human labor, the negative blowback is far too intense for most companies to handle, and that's not even considering that AI technology is not quite at the point where it can consistently produce quality content without human assistance.

However, such barriers don't exist for regular folks. People are already experimenting with AI technology in existing games. Modding communities have begun using platforms such as ChatGPT to give voice to NPCs and followers in games like Skyrim and Stardew Valley.

A Starview Valley modder who goes by DualityOfSoul created a mod that uses OpenAI's ChatGPT API to expand many of the game's NPC conversational trees. Usually, players can only speak to NPCs a few times per day, but Duality's "AI Valley" on Nexus Mods gives computer-controlled characters enough voice to carry on long free-form conversations.

Another modder, Tylermaister, developed a Skyrim mod using the same API to create a follower that can coherently converse on just about any game-related content. The follower, Herika, has at least a rudimentary understanding of the map. So, if the player asks her where Riften is, she can describe the hold's location.

In a project demo, a player asks Herika where Dragon's Reach is, and not only did she respond with the correct hold, but she also understood that they were currently only a few steps away from the keep.

While these mods are a pretty exciting application of LLM technology with the potential to spice up and expand a game's dialog, they have several drawbacks. First and foremost is the cost. Using the ChatGPT API costs money. The Verge notes that it's only fractions of a penny per dialog line, which isn't a lot, but it can add up, especially since it scales per user. Plus, players are accustomed to mods being free, so this is a big hurdle.

Another aspect is that ChatGPT's voice acting isn't going to blow anybody away. The robotic delivery will quickly grow old, even with slight speed adjustments that simulate the NPC's excitement.

In the video below, you can hear Herika's speech tempo quicken and pitch rise like a record player when the player says something exciting. This emotional reaction is impressive in that the model can recognize the situation dynamically, but it's far from creating a convincing response.

We've seen that OpenAI's impressive GPT-4o is capable of much more realistic conversation with a lifelike voice. However, its personality is as cookie-cutter as ChatGPT 3.0, but with the enthusiasm turned up to 11.

These models are trained to be polite, politically correct, and friendly towards users. This trait is not how humans speak, especially in video games where you might encounter an NPC who doesn't like you or is angry.

Lastly, dialog with chatbot-driven NPCs can quickly go off the rails. Just like when you use the web version of ChatGPT, the API is just as prone to hallucinations and may throw out dialog that is out of character or spew facts about the game world that are simply wrong.

While it's fun to think about a day when you can chat with an NPC like it's your best buddy, it still has a long way to go. Couple that with the fact that LLMs are unpredictable and can break the intended narrative of a game, and I don't think we'll be seeing the broad implementation of chatbots in video games any time soon.

Source: techspot.com

Related stories
1 month ago - The end of the year is nearly upon us, so if you're still struggling to lose weight, consider dropping these habits.
1 week ago - You're going to have to lose these habits if you want to make more progress on your fitness journey.
2 weeks ago - Drop these habits quick if you want to improve how successful you are on your weight loss journey.
1 month ago - If you're struggling to lose weight, consider avoiding these six habits to reach your weight-loss goals.
2 days ago - Some clever budgeters are using chatbots to make better spending decisions. This is what personal finance experts have to say about that.
Other stories
25 minutes ago - Internet options are somewhat limited in Boise, Idaho, but there are a few good providers with fast and affordable plans. Here are CNET's top picks of internet providers in Boise.
25 minutes ago - Democratic nominee Kamala Harris has proposed a substantial increase to the child tax credit for families with newborns.
1 hour ago - Also, new EU cyber reporting rules are live, exploiters hit the gas pedal, free PDNS for UK schools, and more in brief A critical security update for the near-ubiquitous WordPress plugin Jetpack was released last week. Site administrators...
1 hour ago - Why You Can Trust CNET Our advice is expert-vetted and based on independent research, analysis and hands-on testing from our team of Certified Sleep...
1 hour ago - Score huge savings on a huge new TV and you won't even remember the movie theaters anymore.