边缘世界 RimWorld

边缘世界 RimWorld

Combine Face and Hat Items
Ronald Hardest 2022 年 11 月 1 日 下午 5:37
Would love this to cover Biotech's headsets
This version seems to work fine with 1.4, but it understandably doesn't affect Biotech's headsets. You really should be able to wear a headset with a hat, imo. I tried adding them myself to patches.xml but I don't know enough about modding (or how to edit the dll) to get it to work.
< >
正在显示第 1 - 3 条,共 3 条留言
Ronald Hardest 2022 年 11 月 1 日 下午 5:47 
How weird. I managed to make Airwire Headsets become eye cover, but not the other headsets?
Ronald Hardest 2022 年 11 月 1 日 下午 7:56 
Okay, it's because the integrator headset reads from the default recon helmet, which is a full head, but the other two headsets have their own unique parent. I don't know enough about xml editing to replace a parent.

If you add this to the top of patches.xml, it'll make the airwire and array headsets work with hats, at least:

<Operation Class="PatchOperationSequence"> <success>Always</success> <operations> <li Class="PatchOperationReplace"> <xpath>/Defs/ThingDef[defName="Apparel_ArrayHeadset"]/apparel/bodyPartGroups</xpath> <value> <bodyPartGroups> <li>Eyes</li> </bodyPartGroups> </value> </li> <li Class="PatchOperationReplace"> <xpath>/Defs/ThingDef[defName="Apparel_ArrayHeadset"]/apparel/layers</xpath> <value> <layers> <li>EyeCover</li> </layers> </value> </li> <li Class="PatchOperationAdd"> <xpath>/Defs/ThingDef[defName="Apparel_ArrayHeadset"]/apparel</xpath> <value> <forceRenderUnderHair> true </forceRenderUnderHair> </value> </li> <li Class="PatchOperationRemove"> <xpath>/Defs/ThingDef[defName="Apparel_ArrayHeadset"]/apparel/hatRenderedFrontOfFace</xpath> </li> </operations> </Operation> <Operation Class="PatchOperationSequence"> <success>Always</success> <operations> <li Class="PatchOperationReplace"> <xpath>/Defs/ThingDef[defName="Apparel_AirwireHeadset"]/apparel/bodyPartGroups</xpath> <value> <bodyPartGroups> <li>Eyes</li> </bodyPartGroups> </value> </li> <li Class="PatchOperationReplace"> <xpath>/Defs/ThingDef[defName="Apparel_AirwireHeadset"]/apparel/layers</xpath> <value> <layers> <li>EyeCover</li> </layers> </value> </li> <li Class="PatchOperationAdd"> <xpath>/Defs/ThingDef[defName="Apparel_AirwireHeadset"]/apparel</xpath> <value> <forceRenderUnderHair> true </forceRenderUnderHair> </value> </li> <li Class="PatchOperationRemove"> <xpath>/Defs/ThingDef[defName="Apparel_AirwireHeadset"]/apparel/hatRenderedFrontOfFace</xpath> </li> </operations> </Operation>
Dioptrick 2022 年 11 月 21 日 上午 8:46 
is it possible to check this for integrator headset?
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50