RimWorld

RimWorld

SCP (Only Clothing)
Specter 14 Dec, 2022 @ 10:56am
Gasmasks are broken
<ToxicResistance>-0.90</ToxicResistance> actually reduces resistance.
Also, ToxicResistance is meant for internal resistance against venoms and such.

It should be <ToxicEnvironmentResistance>0.90</ToxicEnvironmentResistance> instead, to be of actual use.

Here's a patch to remedy this:
<?xml version="1.0" encoding="utf-8" ?> <Patch> <Operation Class="PatchOperationFindMod"> <mods> <li>SCP (Only Clothing)</li> </mods> <match Class="PatchOperationReplace"> <xpath>Defs/ThingDef[defName="Apparel_SCPMobileTaskForceHelmetGasmask" or defName="Apparel_GOCStrikeTeamHelmetGasmask" or defName="Apparel_CIInsurgentHelmetGasmask"]/equippedStatOffsets/ToxicResistance</xpath> <value> <ToxicEnvironmentResistance>0.90</ToxicEnvironmentResistance> </value> </match> </Operation> </Patch>
< >
Showing 1-6 of 6 comments
Stwiumfever4 30 Dec, 2022 @ 9:43pm 
Same, all my colonist got cancer :steamthumbsdown:
Specter 31 Dec, 2022 @ 3:24am 
Originally posted by Stwiumfever4:
Same, all my colonist got cancer :steamthumbsdown:
do you know how to install the patch I provided or do you need a how-to?
Black-Jack 4 May, 2023 @ 7:33am 
Originally posted by Specter:
Originally posted by Stwiumfever4:
Same, all my colonist got cancer :steamthumbsdown:
do you know how to install the patch I provided or do you need a how-to?
I could use a how-to...
Specter 4 May, 2023 @ 8:08am 
Originally posted by Black-Jack:
I could use a how-to...

sure!
there are two ways to add a patch: a) a local mod and b) copying the patch into the mod
a) is a bit more effort, but it'll stay until you delete rimworld. b) is easier, but may (I'm not sure) be overwritten by an update of the mod

a)
- you browse to rimworlds local files and open the Mods folder.
- there you create a new folder with whatever name you want (eg scp patch).
- in that new folder you create two folders: "About" and "Patches".
- inside About, create a new file "About.xml" and copy in the text I provide at the end.
- inside Patches, create a new file "SCP_Patch.xml" and copy in the text in my original post.
- once you've done that, launch rimworld and activate your new mod.

b)
- navigate to your SteamLibrary folder, then open the folders steamapps -> workshop -> content -> 294100 -> 2575054534
this is the modfolder for this mod.
- inside this folder make a new folder called "Common",
- inside there a new folder called "Patches",
- there you create a new file "SCP_Patch.xml" and copy in the text in my original post.
- no need to activate a new mod, but again, this may or may not break when the scp clothing mod is updated.


as for the about.xml for route a):
<?xml version="1.0" encoding="utf-8"?> <ModMetaData> <name>SCP Gasmask Patch</name> <packageId>SCP.GasMaskPatch</packageId> <author>Your Mom</author> <supportedVersions> <li>1.3</li> <li>1.4</li> </supportedVersions> <modDependencies> <li> <packageId>SCP.OnlyClothes</packageId> <displayName>SCP (Only Clothing)</displayName> <steamWorkshopUrl>steam://url/CommunityFilePage/2575054534</steamWorkshopUrl> </li> </modDependencies> <loadAfter> <li>SCP.OnlyClothes</li> </loadAfter> </ModMetaData>
Last edited by Specter; 4 May, 2023 @ 8:11am
Black-Jack 5 May, 2023 @ 5:40am 
Originally posted by Specter:
Originally posted by Black-Jack:
I could use a how-to...

sure!
there are two ways to add a patch: a) a local mod and b) copying the patch into the mod
a) is a bit more effort, but it'll stay until you delete rimworld. b) is easier, but may (I'm not sure) be overwritten by an update of the mod

a)
- you browse to rimworlds local files and open the Mods folder.
- there you create a new folder with whatever name you want (eg scp patch).
- in that new folder you create two folders: "About" and "Patches".
- inside About, create a new file "About.xml" and copy in the text I provide at the end.
- inside Patches, create a new file "SCP_Patch.xml" and copy in the text in my original post.
- once you've done that, launch rimworld and activate your new mod.

b)
- navigate to your SteamLibrary folder, then open the folders steamapps -> workshop -> content -> 294100 -> 2575054534
this is the modfolder for this mod.
- inside this folder make a new folder called "Common",
- inside there a new folder called "Patches",
- there you create a new file "SCP_Patch.xml" and copy in the text in my original post.
- no need to activate a new mod, but again, this may or may not break when the scp clothing mod is updated.


as for the about.xml for route a):
<?xml version="1.0" encoding="utf-8"?> <ModMetaData> <name>SCP Gasmask Patch</name> <packageId>SCP.GasMaskPatch</packageId> <author>Your Mom</author> <supportedVersions> <li>1.3</li> <li>1.4</li> </supportedVersions> <modDependencies> <li> <packageId>SCP.OnlyClothes</packageId> <displayName>SCP (Only Clothing)</displayName> <steamWorkshopUrl>steam://url/CommunityFilePage/2575054534</steamWorkshopUrl> </li> </modDependencies> <loadAfter> <li>SCP.OnlyClothes</li> </loadAfter> </ModMetaData>
Thank you for saving my favorite mod!
Last edited by Black-Jack; 5 May, 2023 @ 5:40am
Rivulet 27 Jun, 2024 @ 8:12pm 
Originally posted by Specter:
Originally posted by Black-Jack:
I could use a how-to...

sure!
there are two ways to add a patch: a) a local mod and b) copying the patch into the mod
a) is a bit more effort, but it'll stay until you delete rimworld. b) is easier, but may (I'm not sure) be overwritten by an update of the mod

a)
- you browse to rimworlds local files and open the Mods folder.
- there you create a new folder with whatever name you want (eg scp patch).
- in that new folder you create two folders: "About" and "Patches".
- inside About, create a new file "About.xml" and copy in the text I provide at the end.
- inside Patches, create a new file "SCP_Patch.xml" and copy in the text in my original post.
- once you've done that, launch rimworld and activate your new mod.

b)
- navigate to your SteamLibrary folder, then open the folders steamapps -> workshop -> content -> 294100 -> 2575054534
this is the modfolder for this mod.
- inside this folder make a new folder called "Common",
- inside there a new folder called "Patches",
- there you create a new file "SCP_Patch.xml" and copy in the text in my original post.
- no need to activate a new mod, but again, this may or may not break when the scp clothing mod is updated.


as for the about.xml for route a):
<?xml version="1.0" encoding="utf-8"?> <ModMetaData> <name>SCP Gasmask Patch</name> <packageId>SCP.GasMaskPatch</packageId> <author>Your Mom</author> <supportedVersions> <li>1.3</li> <li>1.4</li> </supportedVersions> <modDependencies> <li> <packageId>SCP.OnlyClothes</packageId> <displayName>SCP (Only Clothing)</displayName> <steamWorkshopUrl>steam://url/CommunityFilePage/2575054534</steamWorkshopUrl> </li> </modDependencies> <loadAfter> <li>SCP.OnlyClothes</li> </loadAfter> </ModMetaData>

the directory for b dosent work for me and it brings me to project zomboid (no workshop file in rimworld???? HELP)
< >
Showing 1-6 of 6 comments
Per page: 1530 50