RimWorld

RimWorld

[NS] Dress Code
62 Comments
泥头车  [author] 11 hours ago 
amefurashi 20 hours ago 
Which mod is the cute Ratkin texture in the thumbnail from?
泥头车  [author] 2 Aug @ 4:48am 
@香香 已收到您的建议,会在后续更新中对此进行优化。
香香 1 Aug @ 8:59am 
花了十分钟给所有工作点了携带能力,效果拔群,鼠鼠都穿上了背包!不过反复点击添加效率太低了,希望大佬考虑优化一下,或者添加类似的功能,就是在工作加个全局设置,这里设置的属性优先级将被添加到所有属性优先级列表的末尾,但不是覆盖。最终实现一些装备可以不使用强制穿戴,但持续判定需要佩戴,因为某些mod装备的层级是独特不需要考虑优先级,或者某些装备的功能很重要,比如加带宽的无线耳机。感谢大佬!
[CL] Zalgo 31 Jul @ 3:25pm 
For the work outfits do I also click smart selection or do I just check the specific clothes I want them to use?
泥头车  [author] 31 Jul @ 10:22am 
@香香 注意下切换到工作方案时是要干什么工作,然后检查其衣物优先级是否包含携带能力,如果没有而你不想让殖民者脱掉,就把携带能力加上,工作围裙同理。
香香 31 Jul @ 8:24am 
鼠鼠从日常切换到工作的时候会把加携带能力的背包,还有工作围裙之类的丢掉,日常和工作的穿戴方案相同只是一个勾了所有工作一个没勾,按照设计应该不会发生的。
Milk 27 Jul @ 2:18am 
感谢大佬,他们确实会换服装,但是换来换去只穿船员服,可能是我加的模组太多了导致了一些意外
泥头车  [author] 26 Jul @ 11:45pm 
@Milk 沃芬组是可以的 ,我测试的有 烹饪 缝制 制作 建造 研究 采矿
需要注意的是 沃芬族的“在缝纫台制作”和“在加工台制造”都是自己实现的,这两种工作的优先级列表需要你自己添加相应的属性,不知道加啥,就把原版对应工作的优先级列表复制过去。
泥头车  [author] 26 Jul @ 10:56pm 
@Milk 沃芬族?好的 我看看
Milk 26 Jul @ 10:47pm 
沃芬族的贴身船员服的优先级似乎太高了,我并没有手动调过优先级,无论什么工作,似乎永远都优先穿着初始的船员服,船员服仅有降低崩溃临界值的效果
泥头车  [author] 25 Jul @ 2:33pm 
@Inkedubus Added the equipment offset attribute of related clothing to the priority list for crafting items
Inkedubus 25 Jul @ 1:25pm 
Having an issue where my colonists refuse to wear anything underneath an apron for crafting. Both the apron and the jumpsuit are allowed for the work outfit.
泥头车  [author] 25 Jul @ 1:18pm 
@Urek Next job room. So,cook outfit ->kitchen, research outfit -> research room.
Urek 25 Jul @ 10:39am 
Got it, thanks for the help! One more thing, the Room option when setting policy, does it search the room the pawn is currently at when they think of doing the job or the room where the job will take place? For example if I'm setting up a cooking policy with the Room setting, should I put the cook outfit in their bedroom or the kitchen?
泥头车  [author] 25 Jul @ 9:13am 
@Urek 他们在有足够氧气的地方工作之前会脱掉真空服,如果你看到小人在室内闲逛时穿着太空服,则需要在日常方案中取消真空服,并给他们点儿换衣服的时间。

They will take off their vacuum suits before working in an area with adequate oxygen, so if you see a minifigure hanging out indoors in a space suit, you need to remove the vacuum suit from your daily regimen and give them some time to change clothes.
Urek 25 Jul @ 9:04am 
Do they ever take off the suits when they back to an area with oxygen? That is what was bothering me, everyone walking around in my spaceship with suits on even when there is no need for it. Anyways, I will try the mod out and see if I can make it work somehow.
泥头车  [author] 25 Jul @ 8:51am 
@Urek 在最初设计此Mod时(v1.5),我已经实现过一种根据区域换服装的方案,但由于我对那个方案不是很满意所以最终换成了此方案。你可以先试用此Mod,再考虑是否真的需要这样一个根据区域换服装的Mod,因为它在殖民者即将前往真空度不足的区域时会优先考虑真空需求,而在其他区域,真空度相关的内容几乎不会占用任何性能。

@Urek When I first designed this mod (v1.5), I had already implemented a solution to change clothes according to the region, but I was not very satisfied with that solution, so I finally changed it to this one. You can try this mod first, and then consider whether you really need such a mod to change clothes according to the region, because it will give priority to vacuum needs when the colonists are about to go to the area with insufficient vacuum, and in other areas, vacuum-related content will hardly take up any performance.
Urek 25 Jul @ 8:37am 
Is it currently possible to set it so when going outside of an area (the spaceship) the character puts on the chosen clothing (vacsuit) and when inside the area they take off the vacsuit so other pawns can use it? Basically I want to make a little airlock chamber with all the spacesuits and have them automatically use it then put it back when returning.

Grok TL: 目前能否设置当角色离开某个区域(飞船)时自动穿上指定服装(真空服),而在进入该区域时脱下真空服以便其他角色使用?基本上,我想建一个小型气闸室,里面放着所有太空服,让角色在出去时自动穿上,返回时自动放回。
泥头车  [author] 25 Jul @ 8:17am 
@Milk 不好意思 已修复 我会在稍后更新 如果你看不到说明又卡审核了 上次卡了快5个小时
Milk 25 Jul @ 4:33am 
衣服都不是强制的,但是他们只穿那一套,具有真空抗性的衣服,以及降低崩溃临界值的衣服,他们会在切换日常和工作时换衣服,把衣服脱下来再重新穿上上述的那套衣服,无论他们现在穿的是什么。
Milk 24 Jul @ 11:58pm 
对性能的影响大吗
泥头车  [author] 24 Jul @ 12:00pm 
@Milk 看下哪些衣服是不是强制的,如果是的话你在他们穿着的情况下,命令他们全脱掉。Dress Code不会换掉被强制穿上的衣物
Milk 24 Jul @ 11:34am 
他们会把当前的衣服脱下重新穿一遍
Milk 24 Jul @ 11:30am 
我在征召小人使用了更衣架之后他们就记下了这套服装,无论做什么工作永远穿被征召时的那一套,发生这件事之后才加上了您的另一个mod但是还是没有什么帮助,现在小人已经只穿这一套衣服了,该怎么办,小人是沃芬族
泥头车  [author] 22 Jul @ 10:52pm 
@416我的啦! 建议关闭DressCode对米莉拉的着装管理,因为米莉拉(本体)没有任何工作类服装,不是战斗装备就是机械师装备。
泥头车  [author] 22 Jul @ 10:28pm 
@416我的啦! 待我检查下米莉拉的衣服
416我的啦! 22 Jul @ 10:21pm 
米莉菈的衣服沒辦法用智能選擇選取,是我有什麼地方弄錯了嗎?
我给各位买橘子 22 Jul @ 5:38am 
感谢大佬:steamthumbsup:
执剑之人 22 Jul @ 4:01am 
草,感谢大佬()
泥头车  [author] 21 Jul @ 10:54am 
@执剑之人 是 Ratkin Clothes - GreatWar 这个Mod中衣物配置出错,在Apparel xml文件中的第2072行和2074行重复加了两次MoveSpeed。下次更新我会加入重复检测。
Ragnarok 21 Jul @ 9:52am 
非常期待,如果这两个mod如果能配合的话,应该是武器和服装最终解决方案了。
泥头车  [author] 21 Jul @ 9:48am 
@Ragnarok,加工作效率的武器...吗?,我知道我可能理解错了,但我可以说一下,IKWIN中如果更新记录装备的方式的话,武器会有可自定义的优先级列表。只是我需要更多时间玩1.6,有些我在1.5中测试很久很稳定的代码,难保1.6不会在意想不到的地方出问题。
Ragnarok 21 Jul @ 9:35am 
明白了,辛苦up了。
Ragnarok 21 Jul @ 9:34am 
这个目前已经是我目前看到的最吊的服装管理了。
Ragnarok 21 Jul @ 9:33am 
说错了,我指的是武器
Ragnarok 21 Jul @ 9:32am 
steam留言隐藏了,还看不到。。。
泥头车  [author] 21 Jul @ 9:32am 
@Ragnarok 暂时没有开新坑的想法,因为I Know What I Need里面记录装备的方式,对于大型殖民地,有点麻烦,还在设计中
泥头车  [author] 21 Jul @ 9:30am 
@Ragnarok 没太懂你意思,这个Mod不是会根据你定义的优先级顺序自动选择最优装备吗,那么么你把工作效率直接加到相关列表就可以了,不用手动切换啊
Ragnarok 21 Jul @ 9:27am 
up,有没有想法搞个装备的配合一起,目前很多mod中都有加不同工作效率的装备,但是平时每次手动切换太麻烦了,感觉配合你这个无敌啊。
泥头车  [author] 21 Jul @ 9:16am 
@执剑之人,再次加载游戏有问题吗?由于你只贴了些片段,你可以在配置优先级那里重置所有优先级设置,如果再次加载仍有重复加载MoveSpeed这个的问题,说明是你使用的其他衣物Mod的配置错误。如果能够确认是其他衣物Mod的问题,我会在之后的更新中优化相关内容以提高兼容性。
执剑之人 21 Jul @ 7:38am 
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
gpt说是MoveSpeed重复了,应该没有其他影响穿衣逻辑的mod
执剑之人 21 Jul @ 7:38am 
at HugsLib.Quickstart.QuickstartController.ApplyQuickstartConfiguration () [0x00008] in <559a397dbb2046f1ae63c3bd85369a2c>:0
at HugsLib.Quickstart.QuickstartController+<>c.<InitiateMapGeneration>b__7_0 () [0x00007] in <559a397dbb2046f1ae63c3bd85369a2c>:0
at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00008] in <981a33edf24d499488b0f820d94638e1>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
执剑之人 21 Jul @ 7:38am 
[Ref 7246B2BB]
(wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
<0x2611f38b9a0 + 0x00122> <unknown method>
at DressCode.Patch_OutfitDatabase_MakeNewOutfit.Postfix (RimWorld.ApparelPolicy __result) [0x00000] in <fb01c76a61284d0e9b0ecc20ccc2f55a>:0
at RimWorld.OutfitDatabase.MakeNewOutfit () [0x00095] in <981a33edf24d499488b0f820d94638e1>:0
- POSTFIX com.DressCode.novsole: Void DressCode.Patch_OutfitDatabase_MakeNewOutfit:Postfix(ApparelPolicy __result)
- POSTFIX RimWorld.Boundir.NewGamePlus: Void Boundir.NewGamePlus.Outfits:OnNewOutfit(ApparelPolicy& __result)
at RimWorld.OutfitDatabase.GenerateStartingOutfits () [0x00000] in <981a33edf24d499488b0f820d94638e1>:0
at RimWorld.OutfitDatabase..ctor () [0x00011] in <981a33edf24d499488b0f820d94638e1>:0
- POSTFIX RimWorld.Boundir.NewGamePlus: Void Boundir.NewGamePlus.Outfits:OutfitHitPoints(OutfitDatabase __instance)
<0x2611f385600 + 0x0062a> <unknown method>
执剑之人 21 Jul @ 7:37am 
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x00067] in <1f993cbf88314b1baa1e10ca917bdc64>:0
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector) [0x00000] in <1f993cbf88314b1baa1e10ca917bdc64>:0
<0x25efe280cf0 + 0x02362> <unknown method>
--- End of inner exception stack trace ---
执剑之人 21 Jul @ 7:37am 
Exception from asynchronous event: System.TypeInitializationException: The type initializer for 'DressCode.DressCodeDatabase' threw an exception. ---> System.ArgumentException: An item with the same key has already been added. Key: MoveSpeed
[Ref 43A82171]
[0x00006] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.List`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x0002d] in <1f993cbf88314b1baa1e10ca917bdc64>:0
泥头车  [author] 21 Jul @ 7:24am 
@Hanaki 什么版本?你这个我根本看不出来问题在哪,而且这里大概率是其他衣物Mod的问题,。
泥头车  [author] 21 Jul @ 7:16am 
@TsukasaAyatsuji 你为什么需要一件一件设定?
TsukasaAyatsuji 21 Jul @ 6:02am 
乍看之下很優
實際開起來衣服得要一件一件設定
好累...
Hanaki 20 Jul @ 11:46pm 
Exception from asynchronous event: System.TypeInitializationException: The type initializer for 'DressCode.DressCodeDatabase' threw an exception. ---> System.ArgumentNullException: Value cannot be null.


加个空值检测吧