RimWorld

RimWorld

Portraits of the Rim
Braincell Mar 13, 2023 @ 6:30am
Everyone has Gas masks Remedy
For those who have an error partaining to gas masks because of Vanilla Expanded apparels, go to your rimworld workshop folder. Which would be 294100, and then Portraits would be 2937991425. Click on that folder, and then click on "Mods" folder. Then go to VEApparel. Opening that would have 2 other folders called "Defs" and "Textures". Open textures and find "InnerHeadgear" the gas masks will be there. Then open "Defs" with either notepad or notepad++ or any other code editing software, and search for this line

<PortraitsOfTheRim.PortraitElementDef>
<defName>PR_InnerHeadgear_VEApparel-an-gasmask</defName>
<portraitLayer>PR_InnerHeadgear</portraitLayer>
<graphicData>
<texPath>InnerHeadgear/VEApparel-an-gasmask</texPath>
</graphicData>
<requirements>
<ageRange>13~999</ageRange>
<apparels>
<li>VEApparel-an-gasmask</li>

and

<PortraitsOfTheRim.PortraitElementDef>
<defName>PR_InnerHeadgear_VEApparel-cn-gasmask</defName>
<portraitLayer>PR_InnerHeadgear</portraitLayer>
<graphicData>
<texPath>InnerHeadgear/VEApparel-cn-gasmask</texPath>
</graphicData>
<requirements>
<ageRange>13~999</ageRange>
<apparels>
<li>VEApparel-cn-gasmask</li>

Or alternatively you can just search "VEApparel-an-gasmask" and "VEApparel-cn-gasmask" using Ctrl+f and then delete the line of code above. This will prevent the mod from using the gasmask texture and thus wont give everyone the gas mask. It is a temporary remedy CHEERS! :bleach:
< >
Showing 1-4 of 4 comments
Braincell Mar 13, 2023 @ 6:31am 
If you somehow break something unsubscribe and resubscribe to bring things back to normal. Or alternatively backup the workshop folder for this mod
Last edited by Braincell; Mar 13, 2023 @ 6:32am
twopennydoodle  [developer] Mar 15, 2023 @ 12:20pm 
Thank you for sharing this! I'm actually having the programmer look at this today, so hopefully we won't need the workaround soon! This is super helpful for him, though, so also thank you for being so thorough on the walkthrough!
Braincell Mar 16, 2023 @ 4:31am 
Originally posted by twopennydoodle:
Thank you for sharing this! I'm actually having the programmer look at this today, so hopefully we won't need the workaround soon! This is super helpful for him, though, so also thank you for being so thorough on the walkthrough!
No problem <3
Fobrizix May 27, 2023 @ 7:55am 
If anyone has a problem with every portrait having an item, this guide is just the thing you need! For example, for me everyone had some kind of coat with 2 buttons on the bottom. Found the textures with the name "cape" and the code in the "Defs" folder. From what I can see, Vanilla Expanded Apparels is the only mod causing such problem, so if you have it, then its mod folder is the 1st place you need to check!
Last edited by Fobrizix; May 27, 2023 @ 7:56am
< >
Showing 1-4 of 4 comments
Per page: 1530 50