边缘世界 RimWorld

边缘世界 RimWorld

评价数不足
AreaHelper
   
奖励
收藏
已收藏
取消收藏
Mod, 1.5, 1.6
文件大小
发表于
更新日期
44.269 KB
5 月 25 日 上午 3:26
10 月 13 日 上午 10:16
11 项改动说明 ( 查看 )

订阅以下载
AreaHelper

描述
Adds new actions to AreaManager (inclusion/exclusion) and combinations of these actions

Actions on areas in AreaManager:
shift+click = include(remove inclusion if was included)
alt+click = exclude(remove exclusion if was excluded)
shift/alt+mouseover = show combined area for selected Thing

This mod modifies your save, but you can turn it on/off without errors (in theory) when reloading/saving, because all information about the mod is stored in a separate node of the save file.
In case of errors, you can delete the "areaHelper" node in the save file.

I am open to suggestions for improvements and fixes


Sources: https://github.com/ol3g-os/rimworld-areahelper
20 条留言
SanguinarcAQL 10 月 13 日 下午 1:12 
Thanks ! If the issue shows up again I will send you an actual log :lunar2019laughingpig:
try to stop me  [作者] 10 月 13 日 上午 10:20 
Hey, I've updated the mod. Let me know if the issue still exists
SanguinarcAQL 10 月 12 日 下午 11:34 
Hey! There seems to be a small compatibility issue between AreaHelper and RimHUD, when both are active, RimHUD auto-disables because AreaHelper throws a null reference error when it tries to get a pawn’s area info
try to stop me  [作者] 7 月 23 日 上午 8:10 
Indeed, map can be null, thanks for the fix
the mod has been updated
OceanicOxen 7 月 23 日 上午 2:56 
I have submitted a PR on github in case my description of the fix was too confusing
OceanicOxen 7 月 23 日 上午 2:49 
Hello, I have noticed a bug whenever a pawn is not "spawned" into the map (ie in a personal shuttle or a dryad in a cocoon) that causes p.Map in AreaHelper.Tasks.DoAreaSelector to return a null pointer. This appears to be fixed if p.Map is changed to p.MapHeld which takes into account the fact that pawns aren't always actually in the map.
try to stop me  [作者] 7 月 20 日 下午 8:37 
Too Many Areas changes the layout, so they may conflict because some of the logic is based on the layout
Hatoful Pengu 7 月 20 日 下午 12:25 
i imagine this mod probably conflicts with the Too Many Areas mod?
try to stop me  [作者] 7 月 20 日 上午 5:19 
yes, the problem occurs when loading if you use multiple maps. now fixed
SClarke 7 月 20 日 上午 3:00 
Thanks for the mod, I like the concept.

I had an issue with pathfinding while this mod was active, don't know if this mod caused it or not, but, it is fixed now I've de-activated this mod.

The issue happened when loading a save file with an active seperate Gravship map. The map in focus on load will function, but, the out of focus map (whether that's the Gravship or the Home Colony), will have no pathfinding working.

System.AggregateException: One or more errors occurred. (Index was outside the bounds of the array.) ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
[Ref D1E9558D]
at Verse.AreaSource.ComputeAll (System.Collections.Generic.IEnumerable`1[T] _) [0x00063] in <981a33edf24d499488b0f820d94638e1>:0
at Verse.PathFinderMapData+<>c__DisplayClass37_0.<GatherData>b__1 (Verse.IPathFinderDataSource source) [0x00000] in <981a33edf24d499488b0f820d94638e1>:0...
Max Character length for comments is 1000, so I had to cut the error short