Behavior-tree editor realized based on U3D plug-in mechanism

An editor and behavior technology, applied in the field of game development, can solve the problems of inconvenient behavior tree debugging, unpredictable behavior tree implementation effects, etc., to facilitate modification and debugging, simplify the editing process, and improve editing efficiency.

Inactive Publication Date: 2016-11-23
GUANGZHOU AIYOU INFORMATION TECH
View PDF4 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although Brainiac Designer provides the source code, it is very difficult for users to define some tree nodes that meet special needs in the Brainiac Designer tool; in addition, after editing a behavior tree, because the behavior tree involves a large number of nodes, it is difficult for programmers to Foreseeing the implementation effect of the behavior tree makes it inconvenient to debug the behavior tree

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
  • Behavior-tree editor realized based on U3D plug-in mechanism
  • Behavior-tree editor realized based on U3D plug-in mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The present invention is described in detail below in conjunction with the accompanying drawings:

[0041] The invention provides a behavior tree editor based on the U3D plug-in mechanism, which is a tool for visually editing the behavior tree written in U3D on the basis of the U3D plug-in mechanism. This tool can directly design AI behavior trees in U3D, add tree nodes of various behavior trees, such as selection nodes, sequence nodes, behavior nodes or condition nodes, etc., and export the behavior tree in the corresponding json file format. When actually running the game, read the json file that records the AI ​​behavior tree, so as to assign the corresponding AI behavior tree to game objects, such as protagonists, mobs, bosses, etc., to realize intelligent control of game objects, with high configurability and The advantage of high scalability is conducive to the scalability of planning configurations and programs.

[0042] Specifically, combine figure 1 , the behav...

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 provides a behavior-tree editor realized based on a U3D plug-in mechanism. The editor comprises a behavior-tree editing module, a behavior-tree preview module, a behavior-tree export module, and a behavior-tree import module. The behavior-tree editing module provides a behavior-tree editing panel, and is used to edit to obtain a behavior-tree. The behavior-tree preview module is used to input the behavior-tree obtained by editing of the behavior-tree editing module to a certain game role in a pre-stored game scene, and through the behavior-tree, motions of the game role are controlled, and a control process of the behavior-tree on the game role is played, so as to realize preview of a behavior-tree operation process obtained by editing. The behavior-tree export module is used to export the behavior-tree which is successful in preview in a special data structure, and the behavior-tree is used for calling in game operation. The behavior-tree editor provides a behavior-tree preview function, and can conveniently and rapidly preview a behavior-tree effect obtained by editing, provides convenience for modification and debugging on the behavior-tree which is obtained by editing, so as to comprehensively improve behavior-tree editing efficiency.

Description

technical field [0001] The invention belongs to the technical field of game development, and in particular relates to a behavior tree editor based on a U3D plug-in mechanism. Background technique [0002] In the field of game artificial intelligence AI programming, the wide application of Behavior-Tree has gradually replaced the complex and huge state machine (State Machine), and more and more games use behavior-tree as the implementation structure of AI. [0003] In the prior art, the Brainiac Designer tool is commonly used to edit the behavior tree. When using the tool to edit the behavior tree, it is necessary to first write out each tree node, and then generate a dll dynamic link library for each written tree node, and import it into Brainiac as a plug-in Designer. Although Brainiac Designer provides source code, it is very difficult for users to define some tree nodes that meet special needs in the Brainiac Designer tool; in addition, after editing a behavior tree, bec...

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): G06F9/44
Inventor 伍耀全
Owner GUANGZHOU AIYOU INFORMATION 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