Game role behavior algorithm based on genetic algorithm

A technology of game characters and genetic algorithm, applied in genetic rules, indoor games, video games, etc., can solve problems such as single decision-making, lack of adaptability in decision-making, inability to change behavior decision-making, etc., and achieve good adaptability and diverse decision-making effects

Pending Publication Date: 2021-07-23
上海雷鸣文化传播有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it still has some shortcomings, such as: the behavior control of game characters cannot be realized, and the decision-making is single, the decision-making lacks adaptability, the behavior decision-making cannot be changed as the environment changes, and the behavior of game NPCs and game characters cannot be controlled.

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
  • Game role behavior algorithm based on genetic algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0044] refer to figure 1 , a game character behavior algorithm based on genetic algorithm, including:

[0045] Obtain preset development logic;

[0046] Automatic NPC definition reasoning model;

[0047] Call the development component, use the development logic of the development component to generate a logical node tree including algorithm calling functions, and use the development logic to call the preset reinforcement learning algorithm model;

[0048] O...

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 invention discloses a game role behavior algorithm based on a genetic algorithm. According to the technical scheme, the game role behavior algorithm is characterized by comprising the steps of obtaining preset development logic; defining an automatic inference model through NPC; calling a development component, generating a logic node tree comprising an algorithm calling function by utilizing the development logic of the development component, and calling a preset reinforcement learning algorithm model by utilizing the development logic; obtaining a game task distribution system based on big data; acquiring role behavior characteristics and role attribute characteristics of the to-be-identified user in the game; creating an original game scene according to a preset process generation algorithm; utilizing a genetic algorithm to train a neural network to control game role behaviors; carrying out game behavior prompting; carrying out mobile game payment account behavior data processing; and controlling a game NPC behavior. According to the method, the decision has better adaptive capacity, the behavior decision can be changed along with the change of the environment, and the game NPC behavior and the game role behavior can be controlled.

Description

technical field [0001] The invention relates to the game field, in particular to a game character behavior algorithm based on a genetic algorithm. Background technique [0002] With the development of game 3D technology and physical simulation technology, the future game industry that can be seen will gradually occupy people's leisure time. In recent years, some game masterpieces have also slowly entered the market, and whether the behavior of autonomous characters in the game has the ability to change behavior patterns has always been a concern of players. At present, most game AIs are mostly implemented through finite state machines. The realization of this method requires designers to design a complete set of behavioral logic, and at the same time, various transition conditions need to be considered. The advantage lies in stability, and the disadvantages are also obvious. The behavior is predictable, and there will be situations that human beings cannot consider, which w...

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
IPC IPC(8): A63F13/56A63F13/792A63F13/55G06N5/04G06N3/12G06N20/00
CPCA63F13/56A63F13/792A63F13/55G06N5/04G06N3/126G06N20/00A63F2300/6027
Inventor 赵凌戈
Owner 上海雷鸣文化传播有限公司
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