Home > Technology peripherals > AI > body text

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

WBOY
Release: 2023-04-10 18:51:03
forward
980 people have browsed it

This article is reprinted with the authorization of AI New Media Qubit (public account ID: QbitAI). Please contact the source for reprinting."

The NPC in this game is alive!

This is not a silly repetition There are a few fixed lines, but you can answer whatever you ask.

Players do not choose from a few fixed options, but type dialogues and say whatever they want.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

In the game, the player plays a medieval knight (left) and meets an NPC villager (right) on the road who introduces his profession as a blacksmith.

The villager's self-introduction is rich in content , the terminology is also consistent with the identity of the character. For example, when civilians call nobles, they will use "m'lord" instead of "my lord".

The player began to ask: Since you are a blacksmith, can you make a sword for me?

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

The blacksmith NPC answered no problem, introduced the costs of different materials and asked the players about their budget and requirements.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

Note that the player here did not answer according to the conventional routine, but asked a rather open question: Which other nobles in this land have you forged swords for?

This kind of detail, when game developers do I'm afraid it's difficult to even consider it.

As a result, the blacksmith NPC Cong Rong responded with reasonable and well-founded answers, and did not forget to continue to ask the player's needs for the type of sword.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

Only one of the sentences revealed his true identity.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

Have you ever thought of "I'm just a language model, so I can't...", this sentence pattern is really It's very ChatGPT-like.

Yes, it is ChatGPT that drives the blacksmith NPC, which comes from the experimental Mod developed by players for the game "Mount and Blade 2".

Developer Bloc regards it as "the future of role-playing games", and the demo video has received nearly 150,000 views.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

Mount and Blade 2 is a design The game is set in a European medieval style imaginary world. It has detailed setting details. In addition to fighting, you can also interact with various characters in the game world. It has received "special praise" on Steam.

In addition to the basic gameplay In addition, the game also provides interfaces and Mod production tools to facilitate players to modify and expand the game content according to their own preferences. Bloc is a master in this area.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

In addition to ChatGPT, Bloc also makes its own The story engine is installed to ensure that the words spoken by the game NPC are in line with the game settings, preventing players from acting out, and full immersion.

For example, this blacksmith can accurately tell the village, lord and country where he is when answering the player's questions The name is the result of the cooperation between the two systems.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

With the support of this system, the originally large but dull NPCs in the game suddenly come to life.

Players can even find trouble with mercenaries they dislike in the tavern and demand an apology from them.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

Go to the bard and ask for a song.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

Even ask the castle guards for information needed to complete game tasks.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

Some players feel that this is a dream come true 10 years ago.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

Some people think that if it is not a game mod, but a game is developed from scratch and the behavior of NPCs is also driven by AI, then a brand new game can be opened up type.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

ChatGPT changes game development

In fact, before ChatGPT was born, someone in the AI ​​circle had made such an attempt.

HuggingFace developer Thomas Simonini once connected the language model GPT-3 to Unity 3D, allowing AI to control the game NPC to directly communicate with the player via voice.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

ChatGPT’s ability to meet human needs and its multi-round conversation capabilities make this easier.

So game developers outside the AI ​​circle can also participate.

Now, there are already game planners using ChatGPT to assist in generating game mechanisms.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

Some developers have even put the code generated by ChatGPT-3 into the game.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

Someone must have a bold idea after seeing this. Don’t just think about it, there are actually people who have done it and have accumulated a lot of stars on GitHub.

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

The effect demonstration is like this:

ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.

ChatWaifuL2D: https://github.com/cjyaddone/ChatWaifuL2D

Reference link:

[1]https://www.youtube.com/watch?v=akceKOLtytw

[2]https://www.youtube.com /watch?v=MjsIh8teRds

[3]​https://www.youtube.com/watch?v=WHrVRAIaA9o


The above is the detailed content of ChatGPT brings game NPCs to life! Communication no longer relies on options. Ask and answer questions. Netizens call their childhood dreams come true.. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:51cto.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template