3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 14805|回复: 10
打印 上一主题 下一主题

[资料] 【搬运】官方开发人员关于寻路系统的解释

  [复制链接]

15

主题

827

帖子

631

积分

超级玩家

Rank: 5Rank: 5

贡献度
10
金元
5908
积分
631
精华
0
注册时间
2012-5-28
跳转到指定楼层
主题
发表于 2015-7-20 10:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 依旧很低调 于 2015-7-20 10:58 编辑

很多筒子们都在吐槽GoD的寻路系统,Steam上同样如此。偶然发现开发人员在Stem社区在回答网友“tomchick”问题时给出了官方解释,于是搬运与此。

先给出原文如下:

tomchick: I suspect I know what was up in the screenshot you posted. The previous turn you were in that room that now has the skeleton   gold pouch in it, right? I'll explain what's happening here, but first I want to break down the dungeoneer AI for you.

Firstly, it's all deterministic. There is zero randomness at play. Though there are a few gotchas that can seem odd like what happened to you there. We essentially look at every tile in the dungeon and score it for various things
- distance (in steps not a line, prefer closer ones)
- monsters (prefer monsters of same level, boss monsters even more so)
- loot (likes loot, higher level loot even more so)
- unexplored areas (prefers ones with the fog over them)

Then we pick the best scoring one and head towards it (not always reachable this turn).

In testing at some point in development we had a situation where your hero could get stuck in a loop of forever going back and forth between a corridor and a dead end room because they were too scared of the third connecting room which had a high level monster in it. Since there were no exits to build new rooms for them and because at the time you weren't allowed place down monsters on rooms that you had previously explored (a rule we've since taken out) you were basically stuck.

At the time we solved this by adding a strong negative score to the room your hero has JUST been in. So that's what happened with your screenshot.

Funnily enou


请先注意原文中的红色斜体字,官方明确表示“(冒险者如何寻路)一切都是确定的,游戏中(寻路系统)是0随机性的”

而寻路规则如下:
1、优先选择近路(如果通向目标的线路不止一条,则倾向于更近的那条)
2、优先选择与冒险者级别相同的怪(对于boss尤其如此)
3、一切向钱看(并且对宝箱更加感兴趣,特别是更高等级的宝箱)
4、优先选择未探索区域(尤其是覆盖迷雾的地格)
之后冒险者会按照寻路规则朝“目标分值”最高的地格前进(即使本回合无法到达)。

开发者同时提到了一个特殊情况:冒险者会卡在某条路的尽头来回循环,其原因在于这条路的另一端被某个冒险者惧怕的等级过高的怪物霸占了。




以上。个人以为规则2或有特殊情况,比如有玩家提到barbarian似乎会优先选择比自己级别高1级的怪物?另外规则4我其实没太明白,其原文以括号加注,说明在寻路系统中“迷雾区域”和“未探索区域”并非完全相同的概念,那么“未探索区域”究竟包含哪几种情况还需研究(开过迷雾但是又放置了怪的地格?)。

回复

使用道具 举报

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

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-3-18 04:20 , Processed in 0.323616 second(s), 18 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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