边缘世界 RimWorld

边缘世界 RimWorld

1,552 个评价
Perfect Pathfinding
12
7
4
16
7
3
11
5
2
2
3
3
2
2
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.2, 1.3, 1.4
文件大小
发表于
更新日期
962.842 KB
2020 年 12 月 29 日 下午 9:13
2022 年 11 月 27 日 上午 5:45
14 项改动说明 ( 查看 )

订阅以下载
Perfect Pathfinding

描述
~ Features ~
Heuristic Patch:
When a pawn paths to a target a great enough distance away, the vanilla game utilizes an alternate heuristic to calculate the cost of a path that shortens the calculation time, but results in worse paths. This is the cause of the "zig-zag" diversions when approaching corners and doorways, and paths that ignore difficult terrain. This patch forces the algorithm to use the accurate heuristic every time.

Lighting and Weather Patches:
Pawns move slower when walking in the dark or in the rain. The vanilla algorithm uses the light and weather condition at the pawn's starting position for the entire length of the path. This patch calculates the real movement cost at each cell location, incentivizing pawns to avoid dark, stormy areas like they should.

Dirt Avoidance:
This patch was more of a personal challenge to come up with a method of avoiding dirt while maintaining the most optimal path. The strength can be adjusted in the settings, which is the number of added seconds a pawn is willing to spend taking a longer, cleaner path.

~ Questions ~
Can this mod be added and removed safely from existing saves?
Yes!

Does this mod impact performance?
The worst case performance impact that I measured were in the tens of milliseconds. On a regular sized map and with a reasonable CPU the performance impact of this mod should be negligible. Anyone who still needs a lightweight alternative, look into Clean Pathfinding.

So how is this different to Clean Pathfinding?
Perfect Pathfinding removes optimizations and adds complexity to the algorithm calculations with the goal of finding optimal, perfect paths.
Clean Pathfinding adds optimizations and uses lightweight methods to find paths that keep your pawns clean.

If all you want is for your ungrateful colonists to use the roads you lovingly paved for them, Clean Pathfinding is probably what you're looking for.

¯\_(ツ)_/¯
246 条留言
看小黄书的童谣 9 月 25 日 下午 12:53 
O7
Kush1Push1 9 月 17 日 上午 5:38 
о7
night 7 月 26 日 上午 8:33 
o7
x500 7 月 20 日 下午 3:36 
o7
Morrneyo 7 月 17 日 上午 10:19 
o7
Maxxmillian 7 月 15 日 下午 11:52 
o7
Kid Lemongrab 7 月 15 日 下午 10:33 
o7
Pewter HailStorm 7 月 15 日 下午 3:34 
o7
Anon 7 月 8 日 上午 10:25 
Thank you for your service
nick1wasd 7 月 5 日 下午 2:30 
o7