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
|
Change log v 2.0.3
|
||||||
- Fixed a bug that was causing alien addons to not render when pawns were wearing apparel
|
- 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"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<Manifest>
|
<Manifest>
|
||||||
<version>2.0.3</version>
|
<version>2.0.4</version>
|
||||||
<downloadUri>https://gitgud.io/AbstractConcept/rimworld-animations-patch</downloadUri>
|
<downloadUri>https://gitgud.io/AbstractConcept/rimworld-animations-patch</downloadUri>
|
||||||
</Manifest>
|
</Manifest>
|
|
@ -18,14 +18,6 @@
|
||||||
</match>
|
</match>
|
||||||
</li>
|
</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>
|
</operations>
|
||||||
</match>
|
</match>
|
||||||
</Operation>
|
</Operation>
|
||||||
|
|
|
@ -7,21 +7,6 @@
|
||||||
<match Class="PatchOperationSequence">
|
<match Class="PatchOperationSequence">
|
||||||
<operations>
|
<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 -->
|
<!-- Changes the layering of belly graphics so they are rendered first -->
|
||||||
<li Class="PatchOperationConditional">
|
<li Class="PatchOperationConditional">
|
||||||
<xpath>Defs/ThingDef/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/RJW_pregnancy]/offsets/south/layerOffset</xpath>
|
<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;
|
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_Orassan", new Vector3(1.4f, 1.4f, 1.4f) },
|
||||||
{ "Alien_Cutebold", new Vector3(1.2f, 1f, 1f) },
|
{ "Alien_Cutebold", new Vector3(1.2f, 1f, 1f) },
|
||||||
|
@ -194,7 +194,7 @@ namespace Rimworld_Animations_Patch
|
||||||
{
|
{
|
||||||
Vector2 multiplierVector = new Vector2();
|
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); }
|
{ raceVector = new Vector3(1f, 1f, 1f); }
|
||||||
|
|
||||||
if (bodypart?.defName == "tail" || bodypart?.defName == "Tail")
|
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