mirror of
https://gitgud.io/AbstractConcept/rimworld-animations-patch.git
synced 2024-08-15 00:43:27 +00:00
v 2.0.4
- Fixed a bug that was causing body parts to render over clothes
This commit is contained in:
parent
001121649b
commit
cce0053fd6
10 changed files with 6 additions and 26 deletions
Binary file not shown.
|
@ -1,3 +1,6 @@
|
|||
Change log v 2.0.4
|
||||
- Fixed a bug that was causing body parts to render over clothes
|
||||
|
||||
Change log v 2.0.3
|
||||
- Fixed a bug that was causing alien addons to not render when pawns were wearing apparel
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Manifest>
|
||||
<version>2.0.3</version>
|
||||
<version>2.0.4</version>
|
||||
<downloadUri>https://gitgud.io/AbstractConcept/rimworld-animations-patch</downloadUri>
|
||||
</Manifest>
|
|
@ -18,14 +18,6 @@
|
|||
</match>
|
||||
</li>
|
||||
|
||||
<!-- Hiding these bodyparts is now handled by code -->
|
||||
<li Class="PatchOperationConditional">
|
||||
<xpath>Defs/ThingDef/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[bodyPart="Anus"]/hiddenUnderApparelFor</xpath>
|
||||
<match Class="PatchOperationRemove">
|
||||
<xpath>Defs/ThingDef/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[bodyPart="Anus"]/hiddenUnderApparelFor</xpath>
|
||||
</match>
|
||||
</li>
|
||||
|
||||
</operations>
|
||||
</match>
|
||||
</Operation>
|
||||
|
|
|
@ -7,21 +7,6 @@
|
|||
<match Class="PatchOperationSequence">
|
||||
<operations>
|
||||
|
||||
<!-- Hiding these bodyparts is now handled by code -->
|
||||
<li Class="PatchOperationConditional">
|
||||
<xpath>Defs/ThingDef/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[bodyPart="Genitals"]/hiddenUnderApparelFor</xpath>
|
||||
<match Class="PatchOperationRemove">
|
||||
<xpath>Defs/ThingDef/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[bodyPart="Genitals"]/hiddenUnderApparelFor</xpath>
|
||||
</match>
|
||||
</li>
|
||||
|
||||
<li Class="PatchOperationConditional">
|
||||
<xpath>Defs/ThingDef/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[bodyPart="Chest"]/hiddenUnderApparelFor</xpath>
|
||||
<match Class="PatchOperationRemove">
|
||||
<xpath>Defs/ThingDef/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[bodyPart="Chest"]/hiddenUnderApparelFor</xpath>
|
||||
</match>
|
||||
</li>
|
||||
|
||||
<!-- Changes the layering of belly graphics so they are rendered first -->
|
||||
<li Class="PatchOperationConditional">
|
||||
<xpath>Defs/ThingDef/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/RJW_pregnancy]/offsets/south/layerOffset</xpath>
|
||||
|
|
Binary file not shown.
|
@ -183,7 +183,7 @@ namespace Rimworld_Animations_Patch
|
|||
return 1f;
|
||||
}
|
||||
|
||||
private static Dictionary<string, Vector3> raceSpecifocChildMultipliers = new Dictionary<string, Vector3>()
|
||||
private static Dictionary<string, Vector3> raceSpecificChildMultipliers = new Dictionary<string, Vector3>()
|
||||
{
|
||||
{ "Alien_Orassan", new Vector3(1.4f, 1.4f, 1.4f) },
|
||||
{ "Alien_Cutebold", new Vector3(1.2f, 1f, 1f) },
|
||||
|
@ -194,7 +194,7 @@ namespace Rimworld_Animations_Patch
|
|||
{
|
||||
Vector2 multiplierVector = new Vector2();
|
||||
|
||||
if (GetBodySize(pawn) == 1f || raceSpecifocChildMultipliers.TryGetValue(pawn.def.defName, out Vector3 raceVector) == false)
|
||||
if (GetBodySize(pawn) == 1f || raceSpecificChildMultipliers.TryGetValue(pawn.def.defName, out Vector3 raceVector) == false)
|
||||
{ raceVector = new Vector3(1f, 1f, 1f); }
|
||||
|
||||
if (bodypart?.defName == "tail" || bodypart?.defName == "Tail")
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue