OpenRA AI Development Guidelines

栏目: IT技术 · 发布时间: 5年前

内容简介:Organized (roughly) in order of importance.The plumbing and general logic is handled, and should be handled, by C# code. The variables, such as building ratios, squad composition, queues and unit names are stored in miniYAML file. This allows developers to

AI Development Guidelines

Axioms of OpenRA AI development

Organized (roughly) in order of importance.

  1. AI shouldn't cheat. That is, use any resources and or information not available to human player.
  2. The performance impact of AI on game play should be minimized.
  3. Behavior of AI must respect the units and environment of the specific mod.
  4. Adjustments to the AI must be tested in each of the core mods. Improvement in one shouldn't negatively impact other mods.
  5. Complexity for it's own sake should be avoided. Simple solutions should be prioritized.
  6. AI should offer challenge to the player.
  7. AI shouldn't babysit the player. Removing micro from RTS genre is not the goal of OpenRA.
  8. OpenRA AI should approximate original Westwood AI in performance, if not in behavior.

Current issues

The plumbing and general logic is handled, and should be handled, by C# code. The variables, such as building ratios, squad composition, queues and unit names are stored in miniYAML file. This allows developers to perform minor tweaks on the AI, with relative ease.

However, most mod specific behavior, and all more complex behavior, can not be reasonably implemented in this fashion. This is because of many specific features the AI has to support in different mods, most of which are exclusive and even conflicting with each other.

Issues arising from this cripple AI in many key areas, including but not limited to: tactical decisions, resource use optimization and base construction.

Solution: LUA scripted AI

Therefore the future OpenRA AI should use LUA scripts for all mod specific decision making, as well all complex behavior. Such AI implementation would allow modders and developers to easily adjust AI to their needs, while also preventing unnecessary bloat of C# code and miniYAML files. There have been several attempts to implement such AI, so far none of them completely successful. The most notable ones include: #12949

Desired (mostly unimplemented) Behavior

  • Team coordination: The AI should be able to share information with its teammates, and react to their circumstances. This includes both human and AI players.
  • Use of mod specific buildings and units, such as spies, engineers and thumpers.
  • Precise economic management. So that AI is aware of it's resources and is able to reallocate them as needed.

以上所述就是小编给大家介绍的《OpenRA AI Development Guidelines》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

网站入侵与脚本技术快速防杀

网站入侵与脚本技术快速防杀

2011-1 / 56.00元

《反黑风暴·网站入侵与脚本技术快速防杀》由浅入深、图文并茂地再现了网站入侵与脚本技术快速防杀的全过程,内容涵盖:Windows系统编程基础、黑客程序的配置和数据包嗅探、Web脚本攻击与防御、基于Web的DDoS攻击与防御、流行的黑客编程技术、XSS跨站脚本攻击技术与防范、Cookie欺骗与防御技术剖析、数据库入侵与防范技术、SQL注入攻击与防范、网络上传漏洞的攻击与防范、系统后门编程技术、编程攻击......一起来看看 《网站入侵与脚本技术快速防杀》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

MD5 加密
MD5 加密

MD5 加密工具