RimWorld

RimWorld

Facial Animations Xenotype Compatibility
Solving the problem of heads with "Oops all BUT PARTS 2"
Open the file using the text editor
"\Mods\2950353635_facial_animations_xenotype_compatibility\1.5\Patches\GeneDefs_Oops_All_Bugparts.xml " and replace everything with the text below

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Oops all BUGPARTS 2</li>
</mods>
<match Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationConditional">
<xpath>Defs/GeneDef[defName="Exoskin"]/renderNodeProperties</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/GeneDef[defName="Exoskin"]</xpath>
<value>
<renderNodeProperties/>
</value>
</nomatch>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/GeneDef[defName="Exoskin"]/renderNodeProperties</xpath>
<value>
<li>
<texPaths>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Average1_Wide</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Average2_Wide</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Average3_Wide</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Average4_Wide</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Heavy_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Average1_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Average2_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Average3_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Average4_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Average5_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Gaunt_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Narrow1_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Narrow2_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Narrow3_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Exoskin_Narrow4_Normal</li>
</texPaths>
<baseLayer>60</baseLayer>
<colorType>Skin</colorType>
<useSkinShader>true</useSkinShader>
<useRottenColor>true</useRottenColor>
<parentTagDef>Head</parentTagDef>
<rotDrawMode>Fresh, Rotting</rotDrawMode>
<drawData>
<dataEast>
<offset>(-0.03, -0.00285, 0.015)</offset>
</dataEast>
<dataSouth>
<offset>(0, -0.00286, 0.015)</offset>
</dataSouth>
</drawData>
</li>
</value>
</li>
<li Class="PatchOperationConditional">
<xpath>Defs/GeneDef[defName="Insectiod_Mantideyes"]/renderNodeProperties</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/GeneDef[defName="Insectiod_Mantideyes"]</xpath>
<value>
<renderNodeProperties/>
</value>
</nomatch>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/GeneDef[defName="Insectiod_Mantideyes"]/renderNodeProperties</xpath>
<value>
<li>
<texPaths>
<li>Things/Pawn/Humanlike/Heads/Mantid/Mantid_Average1_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Mantid/Mantid_Average2_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Mantid/Mantid_Gaunt_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Mantid/Mantid_Heavy_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Mantid/Mantid_Narrow1_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Mantid/Mantid_Narrow2_Normal</li>
</texPaths>
<baseLayer>60</baseLayer>
<colorType>Skin</colorType>
<useSkinShader>true</useSkinShader>
<useRottenColor>true</useRottenColor>
<parentTagDef>Head</parentTagDef>
<rotDrawMode>Fresh, Rotting</rotDrawMode>
<drawData>
<dataEast>
<offset>(-0.03, -0.00285, 0.015)</offset>
</dataEast>
<dataSouth>
<offset>(0, -0.00286, 0.015)</offset>
</dataSouth>
</drawData>
</li>
</value>
</li>
<li Class="PatchOperationConditional">
<xpath>Defs/GeneDef[defName="BP_Motheyes"]/renderNodeProperties</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/GeneDef[defName="BP_Motheyes"]</xpath>
<value>
<renderNodeProperties/>
</value>
</nomatch>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/GeneDef[defName="BP_Motheyes"]/renderNodeProperties</xpath>
<value>
<li>
<texPaths>
<li>Things/Pawn/Humanlike/Heads/Arachnid/Arachnid_Average1_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Arachnid/Arachnid_Gaunt_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Arachnid/Arachnid_Heavy_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Arachnid/Arachnid_Narrow1_Normal</li>
</texPaths>
<baseLayer>60</baseLayer>
<colorType>Skin</colorType>
<useSkinShader>true</useSkinShader>
<useRottenColor>true</useRottenColor>
<parentTagDef>Head</parentTagDef>
<rotDrawMode>Fresh, Rotting</rotDrawMode>
<drawData>
<dataEast>
<offset>(-0.03, -0.00285, 0.015)</offset>
</dataEast>
<dataSouth>
<offset>(0, -0.00286, 0.015)</offset>
</dataSouth>
</drawData>
</li>
</value>
</li>
<li Class="PatchOperationConditional">
<xpath>Defs/GeneDef[defName="BP_Spidereyes"]/renderNodeProperties</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/GeneDef[defName="BP_Spidereyes"]</xpath>
<value>
<renderNodeProperties/>
</value>
</nomatch>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/GeneDef[defName="BP_Spidereyes"]/renderNodeProperties</xpath>
<value>
<li>
<texPaths>
<li>Things/Pawn/Humanlike/Heads/Arachnid/Arachnid_Average1_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Arachnid/Arachnid_Gaunt_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Arachnid/Arachnid_Heavy_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Arachnid/Arachnid_Narrow1_Normal</li>
</texPaths>
<baseLayer>60</baseLayer>
<colorType>Skin</colorType>
<useSkinShader>true</useSkinShader>
<useRottenColor>true</useRottenColor>
<parentTagDef>Head</parentTagDef>
<rotDrawMode>Fresh, Rotting</rotDrawMode>
<drawData>
<dataEast>
<offset>(-0.03, -0.00285, 0.015)</offset>
</dataEast>
<dataSouth>
<offset>(0, -0.00286, 0.015)</offset>
</dataSouth>
</drawData>
</li>
</value>
</li>
<li Class="PatchOperationConditional">
<xpath>Defs/GeneDef[defName="BP_BeeHead"]/renderNodeProperties</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/GeneDef[defName="BP_BeeHead"]</xpath>
<value>
<renderNodeProperties/>
</value>
</nomatch>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/GeneDef[defName="BP_BeeHead"]/renderNodeProperties</xpath>
<value>
<li>
<texPaths>
<li>Things/Pawn/Humanlike/Heads/Bee_Colorable/Bee_Average_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Bee_Colorable/Bee_Gaunt_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Bee_Colorable/Bee_HeavyJaw_Normal</li>
<li>Things/Pawn/Humanlike/Heads/Bee_Colorable/Bee_Narrow_Normal</li>
</texPaths>
<baseLayer>60</baseLayer>
<colorType>Skin</colorType>
<useSkinShader>true</useSkinShader>
<useRottenColor>true</useRottenColor>
<parentTagDef>Head</parentTagDef>
<rotDrawMode>Fresh, Rotting</rotDrawMode>
<drawData>
<dataEast>
<offset>(-0.03, -0.00285, 0.015)</offset>
</dataEast>
<dataSouth>
<offset>(0, -0.00286, 0.015)</offset>
</dataSouth>
</drawData>
</li>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>
Last edited by Emperor; May 4 @ 4:58am
< >
Showing 1-1 of 1 comments
Emperor May 4 @ 5:09am 
Or enter the heads for each gene separately
They all look something like this:<li>Things/Pawn/Humanlike/Heads/Exoskin_Average1_Wide</li>
Just copy from the text at the top and paste where they should be
P.s Remember that you can always compare the results with the text above.
Last edited by Emperor; May 4 @ 5:15am
< >
Showing 1-1 of 1 comments
Per page: 1530 50