找回密码
 立即注册
搜索

[编辑器/功能拓展] Crux - Procedural AI Spawner 2.1.0运行时AI生成器

[复制链接]
134 |0
发表于 2023-2-16 11:58:54 | 显示全部楼层 |阅读模式



Crux supports Unity 2019+ and Unity 2020+.
Crux 2.0 is a complete rewrite with a completely redesigned editor, Mesh Terrain support, customizable scriptable objects (Crux Objects), improved functionality and API, and tons more.

Now Includes Integrated UniStorm Support
UniStorm support allows optional special conditions such as time of day, weather, and seasonal spawning.

Crux is a runtime procedural AI spawner capable of spawning AI dynamically across terrains according to customized biomes and conditions. Individual Scriptable Objects are used for storing all the information that Crux needs to properly spawn objects. When using a Unity terrain, the texture at the spawning position is used to determine what biome to pick objects from. When this happens, Crux will randomly spawn objects according to that specific biome, as well as other global and individual object conditions. When the spawned objects hit Crux’s despawn radius, they will be despawned and put back into Crux’s object pool. The total number of each object is customizable and always tracked to ensure a well-balanced population. This is also done to allow great performance which allow games to feel populated with more complex objects, such as AI, without having to have 100’s of AI running in the background.

How it Works
Users create biomes that are defined by as many textures as needed. As the player moves through the terrain, the spawn position gets the texture and spawns AI according to the biome and the conditions. Each biome has 3 categories of AI; Wildlife, Creatures, and NPCs each with their own rarity and conditions for spawning. For example, your Wildlife category for the Forest Biome has a 60% of spawning. When a successful spawn happens, Crux randomly picks an AI from the Wilderness Category where deer and rabbits are common whereas fox and bear are rare. Crux uses customizable population caps for each object to help keep environments balanced and realistic. A simple wandering AI script and example scenes are included.

Supports
• Supports procedurally generated and endless Unity terrains
• Supports 3rd party terrain systems and shaders such as Gaia, Map Magic, and Distingo. CTS is supported, but Strip Textures needs to be disabled.
• Supports any character controller system
• Supports any AI system that supports spawning
• Supports Mesh Terrains (Texture lookup can not be used with mesh terrains therefore biomes cannot be used for mesh terrains.)
• Supports Unity NavMesh
• Developed by the same developer as Emerald AI and UniStorm
• Supports Emerald AI
• Supports UniStorm - Integrated UniStorm support allows optional special conditions such as time of day, weather, and seasonal spawning.

Key Features
• Built-in object pooling system
• Efficient and powerful - Crux performs well by despawning AI that are out of range and only making efficient calculations once every spawn interval.
• Unlimited Biomes - Supports an unlimited amount of Biomes.
• Unlimited Objects - Support an unlimited amount of objects for each category
• Population Caps - Customize the population Caps for every object to help keep environments balanced and realistic.
• Global Caps - Gives control over the max number of total objects that can be spawned at a time.
• Spawn ID System - The Spawn ID System generates a Spawn ID for each game object. These spawn IDs can be used to spawn AI to the player's location making it easier for development and testing (Similar to other AAA games). All generated spawn IDs are also created in a txt version with the name of the AI and their Spawn ID, if desired.
• Spawning and Despawning - Crux gives users the control over the spawning radius as well as the despawning radius.
• Rarity of Encounter - Customizable the rarity of encounter for each AI (Common, Uncommon, Rare, and Ultra Rare).
• Odds Based on Category - Adjustable odds for each category of AI (Wildlife, Creatures, and NPCs) However, Crux also supports purely random spawning of every category.
• Angle Detection and Restriction - Angle detection that only spawns AI within the angle limits of the terrain.
• Obstruction Avoidance - Crux automatically avoids positions that are obstructed to avoid being placed on non-terrain areas and objects.
• Spawn by Groups - Customizable group numbers allow you to spawn AI in randomized groups based off of your input.
• Spawn Radius - Customizable spawn radius gives you control over group's spawn radius.
• Easy to use Editor with low learning curve. All you have to do is customize your biomes and create Crux Objects.
Note: Crux is a spawning system, not an AI system. Assets shown are not included and are used for demonstration purposes. Mesh terrains are supported, but do not support texture spawning.



Crux支持Unity 2019+和Unity 2020+。
Crux 2.0是一个完全重新设计的编辑器,网格地形支持,可定制的脚本对象(Crux对象),改进的功能和API,以及更多。

现在包括集成的UniStorm支持
UniStorm支持允许可选的特殊条件,如一天中的时间,天气和季节性产卵。

Crux是一个运行时程序AI产卵器,能够根据定制的生物群落和条件在地形上动态产卵AI。单独的可脚本对象用于存储Crux正确生成对象所需的所有信息。当使用Unity地形时,产卵位置的纹理被用来决定从哪个生物群落中挑选物体。当这种情况发生时,Crux将根据特定的生物群落以及其他全局和单独的物体条件随机生成物体。当衍生对象到达Crux的消失半径时,它们将被消失并放回Crux的对象池。每个对象的总数是可定制的,并始终跟踪,以确保良好的平衡人口。这样做也是为了提高游戏性能,让游戏感觉充满了更复杂的对象,比如AI,而不需要在后台运行100个AI。

工作原理
用户可以根据需要创建由许多纹理定义的生物群落。当玩家在地形中移动时,刷出位置会根据生物群落和条件获得纹理和刷出AI。每个生物群落有3类AI;野生动物、生物和npc都有各自的稀有度和产卵条件。例如,森林生物群落的野生动物类别有60%的产卵率。当成功产卵发生时,Crux随机从荒野类别中挑选一个AI,鹿和兔子是常见的,而狐狸和熊是罕见的。Crux为每个对象使用可定制的人口上限,以帮助保持环境的平衡和现实。一个简单的漫游AI脚本和示例场景包括在内。

支持
•支持程序生成和无尽的统一地形
•支持第三方地形系统和着色器,如盖亚,地图魔术,和Distingo。CTS是支持的,但条带纹理需要禁用。
•支持任何角色控制器系统
•支持任何支持刷出的AI系统
•支持网格地形(纹理查找不能用于网格地形,因此生物群落不能用于网格地形。)
•支持Unity NavMesh
•由Emerald AI和UniStorm的同一开发者开发
•支持Emerald AI
•支持UniStorm -集成的UniStorm支持允许可选的特殊条件,如一天的时间,天气,和季节性产卵。

关键特性
•内置对象池系统
•高效和强大- Crux表现良好,可以将AI从范围内清除,并且每次刷出间隔只进行有效的计算。
•无限的生物群落-支持无限数量的生物群落。
•无限对象-每个类别支持无限数量的对象
•人口上限-自定义人口上限为每个对象,以帮助保持环境的平衡和现实。
•全局上限-控制一次可以生成的对象总数的最大值。
•刷出ID系统-刷出ID系统为每个游戏对象生成一个刷出ID。这些刷出id可以用来将AI刷到玩家所在的位置,从而使开发和测试变得更容易(类似于其他AAA游戏)。如果需要的话,所有生成的刷出ID也会在文本版本中创建,包括AI的名称和它们的刷出ID。
•产卵和去典当- Crux让用户控制产卵半径以及去典当半径。
•罕见的遭遇-自定义罕见的遭遇为每个AI(常见,罕见,罕见和极端罕见)。
•基于类别的赔率-可调的赔率为每个类别的AI(野生动物,生物和npc)然而,Crux也支持纯随机产卵的每个类别。
•角度检测和限制-角度检测,只在地形的角度限制内生成AI。
•障碍物避免- Crux自动避免被放置在非地形区域和物体上的障碍物位置。
•按组产卵-可定制的组号允许您根据您的输入在随机组中产卵AI。
•刷出半径-自定义刷出半径让你控制团队的刷出半径。
易于使用的编辑器与低学习曲线。你所要做的就是自定义你的生物群落和创建症结对象。
注意:Crux是一个生成系统,而不是AI系统。所显示的资产不包括在内,仅用于演示目的。支持网格地形,但不支持纹理生成。



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表