RimWorld

RimWorld

281 ratings
Masks with Hats
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
3.684 MB
Sep 29, 2022 @ 3:28pm
Aug 19 @ 6:27am
12 Change Notes ( view )

Subscribe to download
Masks with Hats

Description
Allows masks to be worn along with hats that cover (only) the top of the head.

Now includes simple fix for pawns wearing multiple of the same clothing item (eg androids wearing 100 slave collars)

Supports (in addition to core game + expansion content):
Vanilla Psycasts Expanded
Vanilla Factions Expanded - Medieval
Apparello

Compatibility:
Not compatible with Combine Hat and Face Items

*Updated 4/24* - compatilble with [CAT] Show Hair With Hats or Hide All Hats


Any mod can be supported with a small patch to set the layers to "faceCover". If you'd like your mod supported, please comment or check out the github for this mod:

https://github.com/tk421storm/masksWithHats
112 Comments
ZCW Aug 19 @ 9:34am 
revision to my suggestion below:

<Operation Class="PatchOperationFindMod">
<mods>
<li>ludeon.rimworld.anomaly</li>
</mods>
<match Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName="Apparel_CultistMask"]/apparel/layers</xpath>
<value>
<layers>
<li>FaceCover</li>
</layers>
</value>
</match>
</Operation>
<Operation Class="PatchOperationFindMod">
<mods>
<li>ludeon.rimworld.anomaly</li>
</mods>
<match Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName="Apparel_CultistMask"]/apparel/bodyPartGroups</xpath>
<value>
<bodyPartGroups>
<li>FaceCover</li>
</bodyPartGroups>
</value>
</match>
</Operation>
ZCW Aug 19 @ 9:00am 
but other than that works like a charm, loving your work! ^-^
-=JkJkLoL=- tk421storm  [author] Aug 19 @ 6:28am 
@zcw - I bet that's not owning anomaly. I added a check today in the latest branch, can you see if you still get that error on 1.6?
ZCW Aug 17 @ 10:01pm 
got a question about a red log entry, is there a place I can send full logs if you need them?

[Masks with Hats - Start of stack trace]
Verse.PatchOperationReplace(xpath="/Defs/ThingDef[defName="Apparel_CultistMask"]/apparel/layers"): Failed to find a node with the given xpath
[End of stack trace]
Source file: E:\SteamLibrary\steamapps\workshop\content\294100\2869261852\1.6\Patches\PatchReplace.xml
-=JkJkLoL=- tk421storm  [author] Aug 11 @ 7:02am 
i know you all want masks under hats - I get it. As of right now this mod doesn't touch the Apparel drawer at all, making it more compatible (and less of a pain to update). There is a github though, if anyone wants to tackle that challenge!
ptkato Aug 9 @ 6:07pm 
For the masks to be displayed under the helmets, the <drawOrder> in Defs/ApparelLayerDefs.xml needs to be lowered.
goldenarrow7862 Aug 8 @ 10:15pm 
is there a way to make masks display under hats?
RandomEdits Aug 4 @ 11:10am 
Masks really shouldn't be over hats. It looks completely off.
Isopod Gaming Jul 29 @ 11:49am 
Would it be possible to make the helmets draw over masks? It feels weird seeing something like a gas mask over a helmet
-=JkJkLoL=- tk421storm  [author] Jul 26 @ 6:28am 
thanks for that tip @Marshall! I'll add some code to do that bit only if the DLC is owned in the next update