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.
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?
The blacksmith NPC answered no problem, introduced the costs of different materials and asked the players about their budget and requirements.
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.
Only one of the sentences revealed his true identity.
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.
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.
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.
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.
Go to the bard and ask for a song.
Even ask the castle guards for information needed to complete game tasks.
Some players feel that this is a dream come true 10 years ago.
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.
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’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.
Some developers have even put the code generated by ChatGPT-3 into the game.
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.
The effect demonstration is like this:
ChatWaifuL2D: https://github.com/cjyaddone/ChatWaifuL2D
[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!