与在崎岖不平的火星上直接向玩家冲锋不同,外星人曲折地躲在巨石和露出地面的岩石后面,并在英雄选择一条不太显眼的路线到达目的地时调整他们的路线。玩家再次改变他的路线,外星人相应地调整他们的移动。像这样的情况在电子游戏中越来越常见,这是一种被称为情景或战术意识的技术的产物。这一概念植根于军事战术,但受过人工智能(AI)教育的程序员已经开始将其融入游戏中,让敌人和其他角色看起来更聪明。情境感知在沉浸式的“沙盒”环境中扮演着重要角色,在这些环境中,目标和挑战不是预先设定的,而是由玩家在游戏过程中决定的。但是情境感知在任何试图将智能生物纳入其角色的游戏中都是有用的
在处理能力的进步意味着该方法可以允许更逼真的体验游戏,如第一人称射击游戏和角色扮演游戏,或RPGs.A本质上讲,它可以让人物更智能地适应由protagonist.Traditionally,动作做动作和人物的行为已经不太灵活。“在那里,人们经常用这种系统的启动是硬编码为特定种类覆盖的一些特定的功能,”马修·杰克,创始人和AI顾问月亮撞机,人工智能开发公司在“孤岛危机”系列首次的合作说-person射手games.A不过Jack的工作,和他的同龄人,是专注于一个更有机,自适应型intelligence.A一个编程技术,例如,是测量系统建设成一个游戏,所以主角之间的距离和其他字符都在不断重新计算和分析,使人物做出各种基于这些距离决定。这种技术的一个重要应用是“直接”。一个直接性是开发者可以采用控制敌方角色的运动朝向的主角,例如比。计算着眼于敌人角色和中介对象之间的距离,如岩石露头,和主角。使用这些相对距离,程序员如何控制敌方角色提前向主角,杰克said.A设置直接刚好在零以上,例如,可能会引发由一群敌人侧翼的行为,因为他们会靠拢主角通过一定的中介点,但不够紧密尚未进攻,杰克告诉在旧金山Francisco.A负直接的游戏开发者大会(GDC)游戏玩家和程序员组成的观众,在另一方面,可用于撤退或逃跑,而曲折可能是建立0.5的直接,这产生在一个target.A前进基于相同的想法,直接另一个AI技术的至少直接点的结果是游戏者之间测量不同位置的点的“黄金通道”的方法和一些最终目标或目的。 Enemies might traditionally be scripted to appear along the most direct route to the player's goal, since that would be the most likely path for the gamer to take. But with the golden path technique, enemies could appear on the spur of the moment if the player takes a more circuitous route.A A somewhat different type of tactical awareness was discussed by Mika Vehkala, senior AI programmer at IO Interactive, developer of the first-person shooter "Hitman: Absolution." Vehkala described a programming approach that determines the best location for enemies by looking at how "visible" any given location, or node, is to their target.A As the player moves around, "it's constantly re-evaluating and seeing if there's a node with a better rating," he said.A This sort of AI, however, works best in games built on static environments that do not change as much, Vehkala said.A The techniques Jack described, on the other hand, are based on performing calculations and measurements as the game's obstacles and characters change.A "My takeaway would be to build a language so you can iterate on your queries most rapidly and get the best results," he said.
扎克矿工覆盖社交网络,搜索和通用技术新闻为IDG新闻服务。按照扎克在Twitter上@zachminers。扎克的电子邮件地址是zach_miners@idg.com