NPC behavior decision method

A non-player and behavioral technology, applied in the field of computer games, can solve the problem of lack of intelligence of non-player-controlled character NPCs, and achieve the effects of enhancing novelty and fun, increasing game viscosity and providing a good game experience.

Inactive Publication Date: 2016-05-11
BEIJING PIXEL SOFTWARE TECH
View PDF3 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a behavior decision-making method of a non-player control character NPC to solve the technical problem of lack of intelligence in the performance of the non-player control character NPC in game design

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • NPC behavior decision method
  • NPC behavior decision method
  • NPC behavior decision method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] figure 1 This is a schematic flow chart of the behavior decision-making method of non-player-controlled character NPC provided by the first embodiment of the present invention. The method can be executed by a decision-making device for the player to control the behavior of the character NPC. The device can be implemented by software / hardware and integrated into a network game. Platform or computer game software.

[0020] The method specifically includes the following:

[0021] S110: Initialize the attribute collection information of the NPC.

[0022] In computer games or online games, NPCs are divided into plot NPCs, service NPCs and combatable NPCs, among which plot NPCs are used to promote the development of the entire plot plot; service NPCs are used to provide various player characters in the game Service; Combatable NPC is used to fight with player-controlled characters. According to the function of the NPC, in the game, the attribute set information of each NPC is pres...

Embodiment 2

[0037] figure 2 It is a schematic flowchart of a behavior decision method for a non-player control character NPC provided by the second embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiment. In this embodiment, the desire target is defined to correspond to at least one trigger event, and the desire target of the NPC will be corrected according to the feedback of the action intention. The specific optimization is as follows: The feedback of the behavior plan generates feedback data; the trigger event weight is modified according to the feedback data; the desire target is modified according to the modified trigger event weight.

[0038] Correspondingly, the method of this embodiment specifically includes:

[0039] S210: Initialize the attribute collection information of the NPC.

[0040] S220: Obtain the trigger event of the NPC through the sensor, and determine the desire target of the NPC according to the corresponding rela...

Embodiment 3

[0051] image 3 It is a schematic flowchart of a behavior decision method for a non-player control character NPC provided by the third embodiment of the present invention. This embodiment is optimized based on the above-mentioned embodiment, and the trigger event weight will be modified according to the feedback data. The specific optimization is: the trigger event weight is calculated according to the feedback data, the expected value of the behavior plan, the preset trigger event input value and the learning speed Change value; modify the trigger event weight according to the trigger event weight change value.

[0052] Correspondingly, the method of this embodiment specifically includes:

[0053] S310: Initialize the attribute collection information of the NPC.

[0054] S320: Obtain the trigger event of the NPC through the perceptron, and determine the desire target of the NPC according to the corresponding relationship between the trigger event and the desire target.

[0055] S330...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses an NPC (Non-Player Character) behavior decision method. The method comprises the following steps of initializing attribute set information of an NPC; obtaining a triggering event of the NPC through a sensor; determining a willing target of the NPC according to the corresponding relationship between the triggering event and the willing target; finding the attribute set information matched with the willing target; generating at least willing target option according to the matched attribute set information; determining a behavior plan according to the willing target option and the willing target option weight; executing the behavior plan; and correcting the willing target of the NPC according to the feedback of the behavior plan. The NPC in the game can realize the artificial intelligence; and the thinking mode and the behavior action similar to the human are realized. The novelty and the interestingness of the game are enhanced, so that a game player can gain good game experience, and the game dependency of the player is enhanced.

Description

Technical field [0001] The present invention relates to the field of computer games, in particular to a behavior decision-making method for a non-player controlling character NPC. Background technique [0002] Non-PlayerCharacter (NPC) refers to all the characters in the game that are not controlled by the player. With the continuous development of computer games, higher requirements are put forward for the intelligence of NPCs. It is necessary to consider the intelligent behaviors of NPCs in tactics, strategies, and decision-making methods to enhance the playability of games. [0003] At present, artificial intelligence (AI) is often used in game engines to enhance the intelligence of NPCs. These game engines that introduce artificial intelligence technology enhance the intelligent performance of virtual characters to a certain extent, but there are still many Shortcomings. Because these game engines require developers to prepare behavioral rules in advance, not only the develop...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): A63F13/56A63F13/822A63F13/58
CPCA63F13/56A63F13/58A63F13/822
Inventor 时文川
Owner BEIJING PIXEL SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products