RimWorld

RimWorld

Hold Open Door Instantly
15 Comments
WorldOfHurt 12 Jul @ 4:28pm 
Can you add an option to only open when it's an autodoor, and act normally when it's not an autodoor?
ThePurpleWarrior 27 Jun @ 11:07pm 
This mod is great!! Thank you!
aoe 15 Jun @ 6:18pm 
天惹噜,这么好的东西我怎么才发现呢!
高不成 12 Jun @ 6:02am 
大佬能限制一下只能控制自动门吗
XYM04689733 22 Mar @ 5:06am 
好使 大佬能做个手动引爆地雷的MOD么
unknown 30 Dec, 2024 @ 7:21am 
大佬这个能适配一下1.4吗?我看您的mod都挺好用的,有空能不能适配一下1.4 :steamthumbsup:
Narlindir 14 Sep, 2024 @ 12:50am 
so regardless of opening speed they will open with max speed
got it
TinyGrox  [author] 13 Sep, 2024 @ 8:54pm 
"Instantly"
Narlindir 13 Sep, 2024 @ 2:55pm 
difference from Hold Open Opens Doors (continued)?
大番薯之怒 20 Aug, 2024 @ 8:26pm 
非常棒的MOD~
N/A 18 Aug, 2024 @ 9:12pm 
@TinyGrox i wish more people in rimworld had that attitude. have a good time.
TinyGrox  [author] 17 Aug, 2024 @ 11:56pm 
@csfireworks 看了一下这个mod的代码,结论:差不多的功能但不同的实现。
两者相比如下:
1.Hold Open Opens Doors 提供了一系列自定义设置,使用上更加灵活。类中存在有 holdOpenInt 字段且存在 GetGizmos 方法的类都会被 patch,但是安装的 mod 越多,检索所需 patch 方法的时间就越长,时间复杂度是 O(N),N 为游戏中类的数量。

每次选中门类建筑后仍然会执行遍历,加上原本的 GetGizmos() 方法的一次遍历,等于进行了两次遍历,所以在游戏中同时选中多个门类建筑时,可能会有极其轻微的性能损失。

2.此Mod只对Building_Door类进行patch,花费时间恒定,时间复杂度O(1),与mod数量无关。但当存在其他的门类mod使用了非基于原版Building_Door的逻辑实现时,此 mod 不生效,缺乏适应性。
patch只会在点击了 “保持敞门” 之后才会执行,性能开销恒定,为O(1)
TinyGrox  [author] 17 Aug, 2024 @ 11:47pm 
@N/A then don't use it, don't feel obligated, man. :steammocking: Suit yourself! The important thing is to have fun! :steamhappy:
N/A 17 Aug, 2024 @ 6:03pm 
if this worked only for powered doors, i would definitely grab it. as it stands now, it seems a bit too cheaty, but it's a concept i've certainly wanted before.
csfireworks 17 Aug, 2024 @ 11:45am 
你好,请问这个和 Hold Open Opens Doors (continued) 有什么区别吗,感觉判断少一些,省一些

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3229154152