边缘世界 RimWorld

边缘世界 RimWorld

225 个评价
Bulk Load For Transporters
3
3
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.6
文件大小
发表于
更新日期
718.213 KB
8 月 30 日 下午 9:20
10 月 15 日 上午 3:50
46 项改动说明 ( 查看 )

订阅以下载
Bulk Load For Transporters

描述
批量装载运输仓(还有更多!)

本模组需要依赖 Pick Up And Haul,旨在提升装载效率,通过一套后台算法,让您的殖民者在执行装载任务时,转变为一个高效的物流团队。



核心功能:
  • 支持多种装载场景:
    本模组现在原生支持对多种装载目标的批量操作,包括运输仓穿梭机洞穴/地下仓库出入口,并能自动兼容其他Mod添加的、遵循游戏规范的同类建筑。

    现在支持对Vehicle Framework的载具进行批量装载!

  • 批量装载:
    规划出拾取清单后,您的殖民者将依次访问多个物品堆,用物品装满PUAH的背包;到达卸货地点后,殖民者会逐一地将每一种物品从背包中拿到手上,然后再装入容器。

  • 多人协作装载:
    引入并发控制系统,允许多个殖民者并行地执行批量装载任务。

  • 批量卸载:
    殖民者现在可以批量地卸载您派系所属的驮兽,然后无缝地交由Pick Up And Haul系统进行后续的仓储。

  • 库存交接:
    当批量装载任务因任何原因(如征召、倒地)中断或正常结束后,任何残留在殖民者背包中的任务货物都会被无缝处理:它们要么被安全地交还给PUAH系统统一管理,要么被机会主义卸货用于满足附近其他运输仓的需求。

  • 设置界面:
    你可以通过设置界面自定义更多细节,调节你的游戏体验。



常见问题 (FAQ)

Q1:这个Mod对游戏性能影响大吗?我的后期存档会不会卡?
A1:影响极小,BLFT在设计时严格规避了可能的性能杀手:
  • 智能决策:AI在寻找工作时,会先进行快速预判,然后只使用游戏内置的高效索引进行扫描,绝不进行任何“全地图扫描”。
  • 高效规划:在制定拾取路线时,AI会先通过廉价的“直线距离”快速筛选出一个小范围的“候选池”,然后只对池中的少数目标进行昂贵的、真正的路径计算。这在保证路线智能的同时,将性能开销降至最低。
  • 轻量执行:任务的实际执行过程,其性能消耗与原版的搬运行为几乎没有区别。
一句话总结:BLFT在实现功能的同时,已尽最大努力将性能开销降至难以察觉的水平。

Q2:这个Mod可以安全地从存档中添加或移除吗?
A2:是的。
  • 添加:您可以随时将BLFT添加到现有存档中。
  • 移除:内置了清理机制。在模组设置中,“保存时中断批量装载任务”选项默认开启,确保您在移除本模组后,加载存档时不会发生错误。

Q3:我遇到了Bug或者奇怪的行为,该怎么办?
A3:为了帮助我们更快地定位问题,您可以打开游戏的开发者模式,然后到BLFT设置 -> 调试设置中,根据您遇到的问题类型开启对应的日志选项。将日志与您的问题描述发送给我,这可能成为我们解决问题的关键线索!

Q4:我安装了非官方版或者复刻版的 Pick Up and Haul,在Mod列表中我的Mod旁边出现了一个警告图标,这是Bug吗?
A4:这不是Bug,而是一个预期中的、可以安全忽略的UI提示。只要您确认自己已经激活了任意一个功能正常的Pick Up and Haul版本,这个警告图标就不会对您的游戏造成任何实际影响,本Mod功能也会完全正常。



源代码:
https://github.com/Ilarion33/BulkLoadForTransporters



未来展望:
这套装载框架考虑了可扩展性,未来计划拓展到更多需要装载的场景。

模组目前的缺陷:
1、不兼容Misc. Robots
热门讨论 查看全部(3)
28
7 分钟以前
置顶: Bug Report
Ilarion
13
9 月 4 日 下午 7:35
red errors with some mods
Rovstam
0
9 月 16 日 上午 1:00
Red error from shuttle disappearing.
Xardis
162 条留言
Saber啊 8 分钟以前 
大佬,不知道为什么加了这个mod,就有小人停在原地“等待中”,疯狂爆红字,把批量输送建材关了就好了
Exception in Verse.AI.ThinkNode_PrioritySorter GetPriority: System.NullReferenceException: Object reference not set to an instance of an object
ZzZombo 10 月 15 日 上午 8:05 
Is it time for mod name change? I always get confused when I want to fiddle with the mod settings, because I do not associate this with transporters.
Dana Zane 10 月 14 日 上午 2:19 
已解决:steamthumbsup:
Ilarion  [作者] 10 月 14 日 上午 1:35 
@Dana Zane
帮我看一下现在还冲突吗
Dana Zane 10 月 14 日 上午 12:30 
开发者不爆红也不爆黄,但是visual里面显示和原拓框架冲突。
Exception in RimWorld.JobGiver_Work.TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
[Ref DEA96F5F]
at BulkLoadForTransporters.Core.Utils.WorkGiver_Utility.TryGiveBulkJob (Verse.Pawn pawn, BulkLoadForTransporters.Core.Interfaces.IManagedLoadable groupLoadable, Verse.AI.Job& job) [0x00014] in <8e3dce35f48c4ee28721dff429271753>:0
at BulkLoadForTransporters.HarmonyPatches.DeliverConstruction.WorkGiver_Frames_JobOnThing_Patch.Prefix (Verse.AI.Job& __result, Verse.Pawn pawn, Verse.Thing t) [0x0003a] in <8e3dce35f48c4ee28721dff429271753>:0
at RimWorld.WorkGiver_ConstructDeliverResourcesToFrames.JobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x00031] in <24d25868955f4df08b02c73b55f389fe>:0
Ilarion  [作者] 10 月 13 日 下午 11:55 
@AlphaHawk59, It's not complicated.

You can enable developer mode in the game. Then, go into my mod's settings, find "Debug Settings (Developer Mode Only)". There, you should find and tick the "Log WorkGiver" and "Log Manager" options.
AlphaHawk59 10 月 13 日 下午 11:35 
yeah that's correct.

How do i enable WorkGiver and Manager logs? Whenever it happens, the console is empty, no errors get generated.
Ilarion  [作者] 10 月 13 日 下午 10:08 
@AlphaHawk59

So, the stool requires 25 wood, but pawns only delivered 2, and then no one continued to haul the remaining 23 wood? Is that correct?

Okay, could you please enable both WorkGiver and Manager logs, limit only two pawns to hauling construction materials (otherwise the log size will be enormous), reproduce the issue, and then send me the logs? This might be due to a flaw in cooperative hauling.

Thanks!
AlphaHawk59 10 月 13 日 下午 9:55 
It broke my game as well, pawns wouldn't construct items properly. They would bring like 2 wood to a stool (all buildings were broken), add the 2 wood, then walk away. I also couldn't right click on the blueprint after they added it.

But if there was 2 blueprints on the map, they could build just fine. So if i had 2 stool blueprints, they would add wood and build them, but if there was one blueprint, it would be broken.

After I disabled the mod, it went back to normal.
Ilarion  [作者] 10 月 13 日 下午 8:19 
@Bongus, delivering can indeed cause lag, especially with many pawns, I will consider optimizing it.

@CuriousCubb, unless you tell me specifically "how it broke," I cannot fix it. If it's a mod conflict, please try disabling the bulk material delivery function first.