边缘世界 RimWorld

边缘世界 RimWorld

Pathfinding Avoidance
53 条留言
TAW | Shadow_Beetle 10 月 27 日 下午 12:47 
is recomended to touch the settings to increase workspeed?
Inquisitor 10 月 14 日 下午 11:27 
at first it seemed to make 0 difference. but cranking the costs in the settings makes it work as one would expect it to
Cat Princess 10 月 11 日 上午 4:40 
Is it compatible with long modlists with mods like raiders ai and common sense and such?
Good Old Jim 10 月 1 日 上午 7:24 
I jusr decided I needed it bad enough to risk and and it seems to take without a hitch and Im running over 150 mods so I feel like its a pretty safe bet you could add "Safe to add mid-save"
Good Old Jim 10 月 1 日 上午 4:48 
Is this safe to add mid save, I didnt realize this mod existed before I started and Im having a heck of a time keeping my regular pawns from trekking through my medieval fridge (like a normal fridge but harder to keep cold so I DO NOT need an army marching through it to shave .86 seconds off their travel time.
llunak  [作者] 9 月 29 日 上午 1:19 
@Nick Pride Yes, everything applicable stacks.
Nick Pride 9 月 29 日 上午 12:57 
does path cost for area avoidance stack? for example if i have medium and high areas partially overlapping with each other - will overlapped bits cost even more?
Azazol Validus 9 月 22 日 上午 8:12 
@Crazyblot Do you have a mod author for the dynamic areas mod? Thank you.
llunak  [作者] 9 月 11 日 下午 10:47 
@EthanTBNR No, it's always just increasing the perceived cost.
EthanTBNR 9 月 11 日 下午 8:47 
is there a way for a preferred path for pathing zones?
CrazyBlot 8 月 11 日 下午 1:42 
I achieve good results with triple combo:
- Using this mod for pathing
- Using Guarding Pawns mod for atracting pawn to patrol zones or spots
- Dynamic Areas (very cool mod!) in cases that upper two not enough to set additional restrictions
----
Now pawn follow pathes, avoid danger rooms, gather in places where we start assaults. Very cool )
llunak  [作者] 8 月 11 日 上午 8:40 
@CrazyBlot You can copy&paste from the description here.
CrazyBlot 8 月 11 日 上午 5:47 
@llunak understant. Ok. Last my suggestion of improvement. Add copy button near zone names in mod settings in order to avoid manual entering long string (allowing mistyping).
llunak  [作者] 8 月 11 日 上午 4:46 
@CrazyBlot No, it's always just increasing the perceived cost.
CrazyBlot 8 月 11 日 上午 3:41 
@llunak is it possible to set not "dificulty" for high zones (500 max right now), but make them completely impassible? Like walls, mountains etc. Something like "virtuals walls"
CrazyBlot 8 月 11 日 上午 3:39 
@llunak Understand - will try in some building for explore.
llunak  [作者] 8 月 11 日 上午 2:44 
@CrazyBlot That's the area avoidance feature. Except it cannot be preferred, you need to set others as avoided.
CrazyBlot 8 月 11 日 上午 2:04 
@llunak Understand. But perhaps it's possible to set point-of-interest (point of attraction) for pawns follow to without being drafted. Something like:
- pawn assigned to zone A
- Zone B drawed inside zone A
- Zone B deffined as atraction zone for pawns
- Pawns follow to zone B keep himself inside zone A
Just an idea... Perhaps it can be realized via some job type (going-to-walk as example)...
llunak  [作者] 8 月 11 日 上午 12:21 
@CrazyBlot Drafting ignoring allowed areas is intentional, so no.
CrazyBlot 8 月 10 日 下午 11:22 
@llunak great work! Can we go further and make pawns respect zones when drafted? It will open a huge amount of flows for exploration in Odyssey. Zoning allowed interior of guarded structures, avoid toxic enviroment and so on.
llunak  [作者] 8 月 7 日 上午 9:35 
@kifo You can easily check if it's a conflict with another mod if you create a simple test with just this mod enabled. And you can afterwards also provide it in the bugreports section if you expect me to do something about this, as that one line is not sufficient information to do anything.
kifo 8 月 7 日 上午 2:08 
I have tried your mod once and the pawns walked out their allowed zones to get to their destination. Not sure if it is a conflict with another mod.
llunak  [作者] 8 月 5 日 下午 10:01 
@Tyrant Allowed areas = Architect -> Zones -> Expand allowed area.
Tyrant 8 月 5 日 下午 2:47 
"These areas can only be marked on the map, but cannot be assigned to pawns."

Does this mean that the areas are perceived as more costly to walk by enemies too, or am I misunderstanding what you mean by it not being able to be assigned to pawns?
clocknot 8 月 2 日 上午 10:14 
Hey, I sent you an invite, I would have some questions if you have time about the 1.6 pathfinding algorithm to re-enable some features of Giddy-Up 2 Forked in 1.6
тетеря, блин 7 月 30 日 上午 9:10 
sorry if it was asked, but how is the performance?
Tyrant 7 月 26 日 下午 12:52 
Sorry for the incorrect link. It was indeed for the skipdoor pathing mod.
llunak  [作者] 7 月 25 日 下午 11:33 
@Tyrant That is not very specific. I'm aware only of Clean Pathfinding And Avoid Path, where as already said it's probably less work to merge missing parts. That (incorrect) link I assume is meant to be the skipdoor pathing mod, but as the author there says, my mod will not help with it (and the guy is in for a very interesting coding exercise that may not even work out).
Heretical Caliphate 7 月 25 日 下午 9:35 
Just wanted to say thanks for the good work! You scratched an itch I wasn't aware I had about pawns tracking dirt from pathing!
Chromium 7 月 25 日 下午 12:06 
Nice, uh, furry L4D screenshot bro
llunak  [作者] 7 月 25 日 上午 11:37 
@Tyrant It has actually crossed my mind, but I'm not that sure about that. Which mods and where has the discussion taken place?
Tyrant 7 月 25 日 上午 10:27 
I've shown this mod to other authors of pathfinding mods and, while they complimented your implementation, they seemed to find the code difficult to adapt for their own purposes.

Have you thought about making a framework?
MVP aubrey 7 月 24 日 下午 5:42 
Thank you!
llunak  [作者] 7 月 24 日 上午 11:02 
@shida As said in the description, the mod rules are not applied in certain situations. Emergency jobs are not on the list, but I'll add that.
MVP aubrey 7 月 24 日 上午 3:03 
@llunak I think actually the "Extra cost for emergency door" is already what I was thinking, when there is a fire or a person is injured do the pawns disregard the cost?

This is a picture of my rooms and how I have it setup. I want it so people don't go through the red doors unless there is an emergency on the map. :)

https://i.imgur.com/VkT8a4f.png
llunak  [作者] 7 月 24 日 上午 1:25 
@shida I don't understand what you actually mean by that.
MVP aubrey 7 月 23 日 下午 11:48 
I love this mod! I was wondering if you could add a stricter emergency only mode (eg; only when colonist needs to be saved that is in danger, to save themselves (flee), fire emergency). Maybe have it available in the mod settings?
llunak  [作者] 7 月 23 日 下午 10:45 
@Tyrant I'll add darkness to the list. As for unnatural darkness, I don't have Anomaly, but the game has code to avoid it, so if it doesn't work well work you, I'd consider that a bug that should be reported to Ludeon.
Tyrant 7 月 23 日 下午 6:34 
Could you perhaps add a little bit of pathfinding logic related to darkness? Pawns should prefer taking a lit path if it's not too far out of the way (since that affects their mood). It would involve assigning a pathfinding penalty to tiles with a light level below 30%.

Also, pawns are often far too eager to stroll into special darkness caused by a certain Anomaly event: !! SPOILER !! [rimworldwiki.com]
Wednesday 7 月 23 日 下午 2:26 
I saw it was already mentioned in rimworld official dev server, hope it gets fixed
llunak  [作者] 7 月 23 日 上午 9:51 
@Wednesday The mod changes how pawns get to their destination, not what the destination is. So this would only work with cases when pawns decide to path across lava/vacuum. But this is really a bug, this should get reported for Ludeon to fix it.
llunak  [作者] 7 月 23 日 上午 9:49 
@OreOMll I don't play with huge colonies, but the theory is that Ludeon designed the pathfinding in 1.6 pretty well in terms of performance as far as I can judge, so it should be cheap. If you want to try and tell us, make pawns build a wooden wall line, I had to code the mod to reset all data whenever each wall tile is built, so that should be as slow as it gets.
Wednesday 7 月 23 日 上午 8:45 
Does it allow tweaking vacuum and lava avoidance too? It's really bad when my pawns go take a bath in lava middle pathing XD
OreOMll 7 月 23 日 上午 4:23 
How much performance impact does this mod have?
llunak  [作者] 7 月 22 日 下午 11:43 
Let's call this stable. It seems to work fine for me, and nobody else has complained either. I still have few features planned, and path costs probably will get tweaked after more experience with this, but the mod should be already perfectly usable (and is also a feature replacement for Clean Pathfinding).
llunak  [作者] 7 月 22 日 上午 9:56 
@Shadow While You're Up doesn't look like a pathfinding mod, I see nothing in its description that would say it affects how path from A to be B is chosen, it appears to insert C to walk to between A and B.

And this mod is written to co-exist with other pathfinding mods, as long as they are written decently (and do not e.g. just replace some RW's code).
Shadow 7 月 22 日 上午 9:28 
Hello, thank you for the work you have put into this mod. Is this mod incompatible with other pathfinding mods, such as While You're Up (1.6 patch)?
llunak  [作者] 7 月 21 日 上午 9:15 
@Fluffy Yes, it looks like a rebuilt without resetting the source, sorry. Fixed now.
Holvr 7 月 21 日 上午 8:53 
Yeah, I second Fluffy's post. I don't know if it's unintentional debug left in, or if it's because I added this mod to an existing save, but after bringing the ESC menu up, or loading a save, the *entire* map is red and has pathing cost displayed on every cell. That soon goes away, but then every single time a pawn passes through a doorway, the door itself and all immediately adjacent cells are red and display pathing cost.
Fluffy 7 月 21 日 上午 7:27 
Hiya, thanks for this mod. I was looking for a replacement for Path Avoid, and this has been serving the purpose so far, with a more intuitive interface. Good job!

Question though, have you perhaps been doing some debugging recently, and left a debug draw in your last update? As of today, I'm getting red debug cells and numbers whenever pawns do a job, and of the few mods that have updated since yesterday, this seems the most likely to be related.