RimWorld

RimWorld

One-Way Doors
41 Comments
RedFlag 7 Aug @ 9:00pm 
thank you
Kathanon  [author] 7 Aug @ 4:23pm 
Update:
- Support for RimWorld 1.6.
Kathanon  [author] 4 Aug @ 8:43pm 
I am working on 1.6 support, but since this mod affects the path finding code, and they rewrote all of that for 1.6 - it's taking a while.
Cyberes 25 Jul @ 3:42pm 
1.6?
Kathanon  [author] 22 Dec, 2024 @ 6:47am 
Looking at the code in question, I don't see how that crash could be related to this mod. Good luck, I hope it works out for you.
Kathanon  [author] 22 Dec, 2024 @ 6:42am 
It can be like that sometimes. Could be due to something random that changed. I'm looking through the relevant parts of my code to figure out if it could cause the crash.
Torres 22 Dec, 2024 @ 6:40am 
it now works... I have no idea why I changed nothing yet now the errors won't show up.

man what in the even of the fuckests
Kathanon  [author] 22 Dec, 2024 @ 6:35am 
Considering the amount of mods involved in that stack trace, I don't see any reason to suspect that specific combination.
Torres 22 Dec, 2024 @ 5:12am 
what are the chances this is conflicting with the Achtung mod?

https://pastebin.com/vXw9BRyr
Kathanon  [author] 9 Sep, 2024 @ 4:57am 
Thank you.
Syok (You) 9 Sep, 2024 @ 2:28am 
Tremendous mod, well done.
Kathanon  [author] 20 Apr, 2024 @ 9:01am 
Updated for RimWorld 1.5.
Kathanon  [author] 10 Apr, 2024 @ 2:07pm 
Yes, but it will be delayed a bit. There are some issues I'd have to fix, and I'm doing the mods that are quick to update first.
Bosh 9 Apr, 2024 @ 8:39am 
1.5?
Kathanon  [author] 23 Oct, 2023 @ 5:12pm 
Update:
* Fixed bug causing pawns to freeze in place when the only path to its destination is the wrong way through a one-way door.
* Added ability to set door to be one-way only for drafted pawns.
Kathanon  [author] 21 Oct, 2023 @ 2:29pm 
I have replicated the issue now. No other mod is reqired for it to occur. It happens when there is no valid path at all except the wrong way through a one-way door. Looks like I missed one place I needed to change in the vanilla code. I'll fix it.
(Deleted my last post since my speculation was just wrong.)
Caramel 20 Oct, 2023 @ 5:33am 
pawn does not recognize that the area behind the one-way door is inaccessible
Caramel 20 Oct, 2023 @ 5:31am 
I have used Clean Pathfinding 2 and locks mod
Caramel 20 Oct, 2023 @ 5:29am 
Sorry I can't reproduce this situation
But the pawn will also try to get the items inside the one-way out door and get stuck in place.
It will also be Lag
Kathanon  [author] 19 Oct, 2023 @ 2:47pm 
Can you post the log? (Or s sample wit hsome warnings.)
Caramel 19 Oct, 2023 @ 3:47am 
NPCs think they have permission to pass through the door, but actually can't
Is there any way to solve this problem
Caramel 19 Oct, 2023 @ 3:46am 
this behavior will log a lot of warning and Produce LAG
Caramel 19 Oct, 2023 @ 3:44am 
npc will keep trying get food in my storage room, i build a door with lock and exit only
thy keep trying to pass the door but they cant
CTH2004 7 Sep, 2023 @ 9:03am 
nice!

Here's a question: could you make a way for you to set it up so it's 2-way for non-drafted, but 1-way for drafted? Then I could use this to prevent my drafted pawns from taking "shortcuts" that puts them into kill-boxes that are safe most of the time, but not during a raid, or actually lengthen it but the AI doesn't notice.

Basically, a way to guide my drafted pawns but not effect my non-drafted pawns.

Just a thought, thanks either way!
RedWizard 22 Jun, 2023 @ 5:45pm 
@Torres I resolved that issue with the Path Avoid mod .
Kathanon  [author] 11 Jun, 2023 @ 1:41am 
Nope, this won't help for that.

I think that would be harder. I'll give it a think. May add it in the future, but no promises.
Torres 9 Jun, 2023 @ 1:01pm 
First of all, fantastic idea for a mod. This is pure QoL.

Question, is there a way to set this up so my pawns stop walking through my kitchen that's connected to the dinning/rec room?

I just want the guys to use the exterior door in to get materials from the freezer and to do business in the kitchen not to pass through
gitanya 7 May, 2023 @ 9:46am 
Such Quality of Life excellence! Thanks dude/dudette/duderonimus!
Kathanon  [author] 18 Mar, 2023 @ 3:12pm 
Update:
Added possibility to set one-way doors to let drafted pawns go the "wrong" way.
Canon 17 Mar, 2023 @ 10:53pm 
general kenobi
Ar_cv 17 Mar, 2023 @ 3:09pm 
hello there
Kathanon  [author] 17 Mar, 2023 @ 5:50am 
I don't know. Please drop a comment with how it went if you do try it out.
ViktorMaxwell 17 Mar, 2023 @ 5:25am 
Does it play nice with the Locks mod?
Kathanon  [author] 15 Mar, 2023 @ 11:59am 
I'd does, but it is easy to change the setting to let them through

Letting drafted pawn through sounds useful. I'll add a toggle for that.
d09smeehan <MHN> 15 Mar, 2023 @ 10:08am 
Neat idea! Does this affect drafted pawns as well though?

I can just see someone getting killed because reinforcements took the long way or refuse to enter a room with no valid entrance.
Mahmen 15 Mar, 2023 @ 6:46am 
Ahh yes.. It's another one of those mods that you never knew you needed until you see it. Auto subscribe.
Clunt the mighty warrior 13 Mar, 2023 @ 9:16pm 
finally, i can make my fridge not a goddamn hallway!
Kathanon  [author] 13 Mar, 2023 @ 4:31pm 
No, raiders can't open your doors anyway, so this won't affect them. They just break it down instead.
Not Charles 13 Mar, 2023 @ 4:14pm 
will raiders follow this?
Kathanon  [author] 11 Mar, 2023 @ 12:21pm 
Not more than because the path may become longer. In itself it shouldn't slow down pathfinding noticeably.
KemonoAmigo 11 Mar, 2023 @ 11:41am 
Is this expensive pathfinding-wise?