RimWorld

RimWorld

Masks with Hats
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
Marshall Jul 23 @ 9:00pm 
I was getting a couple errors when I loaded this mod up, about the 'Apparel_CultistMask' stuff in 'PatchReplace.xml'. That mask is from the Anomaly DLC which I don't have, and I guess the mod fails to realize that and just tries to patch them anyway. I removed the bits of code for the Cultist Masks and the mod loaded up without errors, though I have yet to actually get some masks and hats and test them in-game. Anyway, thanks for continuing to update the mod.
PGMP Jul 20 @ 11:28pm 
NICE !
-=JkJkLoL=- tk421storm  [author] Jul 12 @ 10:02am 
lol forgot to upload! been playing with it all day :)
delosluca Jul 12 @ 9:02am 
update pls :>
Marty in the multyvers Jul 11 @ 5:46pm 
1.6?
-=JkJkLoL=- tk421storm  [author] May 19 @ 1:41pm 
sounds like there's some new conflict with an updated mod going around - pawns shouldn't wear more than one hat, and i got no errors in previous runs
ツLOLIK(¬‿¬) May 19 @ 9:26am 
bro, what the hell, why am I getting the error message "incompatible clothes have no texture".And this happens with almost every mask, including the gas mask. Please explain or fix this issue.Thank you in advance
Dime&Nickel Apr 24 @ 12:51pm 
1. remove this mod will cause error on something like......setting?system keep generate pawn with multiple hat and there are much many red error
2.maybe there can be some options about the maximum hat and mask combination limit,it just a bit of weird to see bunch of four—hat trade team walking around
3. a great mod anyway,just saying there are some existing issues:steamthumbsup:
Mae_B_Today Apr 24 @ 8:57am 
The character limit stops me from posting it here. I'll send you a friend request so I can DM it?
-=JkJkLoL=- tk421storm  [author] Apr 21 @ 2:49pm 
hey mae - i'm wondering if i screwed up the last update around the new cultists masks. can you please post the whole trace?
Mae_B_Today Apr 21 @ 10:55am 
MaskWithHats is causing the following error when installed with nothing else except for Harmony. I have Biotech, Ideology, and Royalty, but not Anomaly.

[Masks with Hats] Patch operation Verse.PatchOperationReplace(/Defs/ThingDef[defName="Apparel_CultistMask"]/apparel/bodyPartGroups) failed
file: C:\Program Files
Krow Apr 10 @ 9:07am 
Is there any fix for the masks appearing on the chest? My psycaster just got an eltex mask and he just superglued it to his chest rather than putting it on his face.
homounicornio Mar 31 @ 3:45pm 
Hi, amazing mod! Just what I was looking for. Sadly, the plague mask doesn't work (at least for me); it still covers the head and not the face. Maybe the load order is wrong? I don't know if you're interested in still working on this. Thanks for sharing!
Pye Mar 30 @ 3:46pm 
Here's [gist.github.com] the log for the red error that occurs if Masks with Hats is loaded BEFORE combat extended. This doesn't happen if it's loaded after CE though.
-=JkJkLoL=- tk421storm  [author] Mar 21 @ 8:14am 
hmm sometimes steam refuses to update if it's small, i just added one file (patches/medieval2) - if you've got that file and it's not working, lemme know and i'll investigate
Hedigo Mar 17 @ 5:48pm 
It appears it wasnt added!
I meant the funny new Vanilla Expanded Medieval 2!
But then again it might just be my massive mod list being weird!
-=JkJkLoL=- tk421storm  [author] Mar 17 @ 9:45am 
egad! new plague mask added today
Hedigo Mar 16 @ 8:32pm 
hey
Hey you

New VFE Medieval just dropped
WHEEEEEEEEEEE
-=JkJkLoL=- tk421storm  [author] Feb 13 @ 9:41am 
unfortunately I won't be getting into Render order (hat over mask, vice versa) with this mod at this time. The latest rimworld changed the apparel rendering pipeline, which a) made it much easier to implement this mod without mucking up a lot of code b) requires me to learn something new. As it stands, this mod is smaller footprint due to not touching pawn rendering at all
greensniperhat Feb 12 @ 5:03am 
In my case, the masks render on the body instead of the head, which is a bit silly.
Just User Jan 8 @ 3:00pm 
Dear author, would you be so kind as to add to your modification the ability for pawns to wear masks over any headgear as a separate modification settings item? This would be a very good thing for people who want to achieve the use of both full helmets and face cover elements.
GingerWolf Oct 3, 2024 @ 3:03am 
The fix made to make this work with Vanilla ideology expanded ideology made it so full head coverings like helmets and ceremonial hoods no longer count as anonymous (because they don't sit in the face cover slot)
zee Aug 5, 2024 @ 8:43pm 
the mask layers over the helmet and it can look kinda goofy
zee Aug 5, 2024 @ 8:43pm 
is there a way to get the mask properly layered under the helmet when rendered in game?
Pvc pipe Aug 2, 2024 @ 6:43am 
So using character editor I made the vanilla expanded balaclava use the face cover layer but it renders above helmets, what to I do to patch this
mr.kai.guy Jun 30, 2024 @ 1:34pm 
the missing eye texture shows up over the blindfold for some reason. Is there anything you could do to fix that?
Sterling Kerman Jun 24, 2024 @ 9:10pm 
For those with the Eltex Mask from VPE, you can use SIMMQOL to fix it by removing the facecover tag from layers and from body parts covered. You also need to add a layer and body part, and I did eyecover for layer and full head for body part. As far as I can tell, you can still wear hats with this as it doesn't take the headgear spot.
TheBronzeWarrior Jun 13, 2024 @ 1:32pm 
man i just want cultists with animals masks and hoods
Mc_Dyno Jun 13, 2024 @ 11:22am 
Its broken, when my psycaster wears a mask its placed on the chest instead of the face.
mithocondria Jun 10, 2024 @ 1:45pm 
i want it with gas mask please sir...
CanAdam420 May 12, 2024 @ 7:51pm 
I second this, most hats would look better drawn on top. There's probably a few exceptions, but yeah, having a gas mask over a cowboy hat seems wrong lol.
Pikachu Pæc May 3, 2024 @ 5:04am 
Is it possible to have the masks draw under the hats? The mask being above the hats looks quite silly.
Narlindir May 2, 2024 @ 2:48pm 
this got integrated into [FSF] FrozenSnowFox Tweaks just fyi
Billy May 1, 2024 @ 11:55am 
Tried it out, it no longer results in baldness, but when a hat is equipped, and then a mask is equipped the mask is still invisible. It's weird, there's no errors thrown, is it to do with the layering of clothing perhaps? Thanks for the speedy update though!
-=JkJkLoL=- tk421storm  [author] Apr 29, 2024 @ 11:09am 
@Billy just pushed up a patch, give it a whirl and let me know!
Billy Apr 27, 2024 @ 10:38am 
Definitely needs a patch, no matter what I've tried it always ends up bald head. Patch please! :D
-=JkJkLoL=- tk421storm  [author] Apr 27, 2024 @ 10:31am 
hmmm haven't tested with that! good mod though, lemme know if mod order fixes it or if it needs a patch of some kind (on 1.5 this mod barely touches pawn rendering anymore since vanilla handles clothing much smoother)
Billy Apr 27, 2024 @ 12:10am 
Is this mod compatible with show hairs as when I have both the masks no longer render, is this a known issue or just a load order problem?
zee Apr 17, 2024 @ 12:40pm 
<3
-=JkJkLoL=- tk421storm  [author] Apr 17, 2024 @ 11:04am 
@zee good catch! added today