From bc283ec08e184f6bd18b67e6f3b2b63a4ce9f93c Mon Sep 17 00:00:00 2001 From: c0ffee Date: Sat, 4 May 2024 13:09:56 -0700 Subject: [PATCH] better fix for NALS facial anims; no more artifacting --- 1.5/Assemblies/Rimworld-Animations.dll | Bin 50688 -> 51200 bytes .../PawnRenderNodeWorker_GraphicVariants.cs | 2 ++ .../PawnRenderSubWorker_HideWhenAnimating.cs | 10 +++++++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/1.5/Assemblies/Rimworld-Animations.dll b/1.5/Assemblies/Rimworld-Animations.dll index d58497a6ac1fe785e0bb5747af06e42be185de5a..1f8be2a8641dec0deb8420b4dd0e83c81db4717d 100644 GIT binary patch delta 12049 zcmbVy33wD$*7mto)zxd#OFCP366kE*gk6FdBtTe{C9;P_K=wg410y-d)~9$t*WbT zQ}U!-vRYofBKc^S4$C3@^Eo89w2KY^uc1LTjJ-Zv^TJ4RT^Ax~I`=6+f*z3C=wn3C z*6$d4w8Y=n^e04X@rM4A2#Q+$Gm#vh`k4{j5C2GDg1aUIY%T^6dg-fO^dZuX*uz-B zrpk*S1W-UK_TV4&mU={=C}+hU4Qn%+X~*=va*lXa|Cb!n2Pv%_nHUyjguSj0R=Q#b zo=`&imr5)Bf?^jnXp64?Mfue(j_W_WGWD5myPoClC{9+-azCwzm#c3^|5b=n)!SlU zlf{|pseY3~yr<6$wiajgb-{r6n|?6(hB%-Xhgw^zXgbu;OVxWq!$tglV$zUℜT= zdT+@NOB*Z7`*mN&Sg~JUm@zQ;K950Kynx0a55cjWLrcMb0BreYjDw8sEp8QjP<=Jy ztPr2-ue2E`F6wIAPU3UDYui#$rys%g7y9+K72>n%XWKm^#3en{p^vy+J*UHWRiUu>3Dhxwd z@;FLqZDZ4ytiZ-C^&3)$qmWiYN~i@uYYh4)oApq3fAOt8KYNDy9T`UIb=e^?O1E`S z5To^A_Zzr}0zKM@cl1F$I*505tw(m}F_^1u7pb@qv+=a&V+q@m`_bI4WfQZ}EdCk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phicVariants.cs index 4a8b195..e45c0d3 100644 --- a/1.5/Source/PawnRenderNode/GraphicVariants/PawnRenderNodeWorker_GraphicVariants.cs +++ b/1.5/Source/PawnRenderNode/GraphicVariants/PawnRenderNodeWorker_GraphicVariants.cs @@ -71,8 +71,10 @@ namespace Rimworld_Animations { foreach (BaseAnimationOffset offset in offsets) { + if (offset.appliesToPawn(node.tree.pawn)) { + //modify offset of prop for animationOffset position regularOffsets += offset.getOffset(node.tree.pawn) ?? Vector3.zero; return regularOffsets; diff --git a/1.5/Source/RenderSubWorkers/PawnRenderSubWorker_HideWhenAnimating.cs b/1.5/Source/RenderSubWorkers/PawnRenderSubWorker_HideWhenAnimating.cs index 2656a1e..57c174d 100644 --- a/1.5/Source/RenderSubWorkers/PawnRenderSubWorker_HideWhenAnimating.cs +++ b/1.5/Source/RenderSubWorkers/PawnRenderSubWorker_HideWhenAnimating.cs @@ -1,4 +1,5 @@ -using System; +using RimWorld; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -17,9 +18,16 @@ namespace Rimworld_Animations || node.tree.rootNode.children.Any(x => x.AnimationWorker is AnimationWorker_KeyframesExtended)) { material.color = Color.clear; + material.shader = ShaderTypeDefOf.Transparent.Shader; } } + public override void TransformLayer(PawnRenderNode node, PawnDrawParms parms, ref float layer) + { + base.TransformLayer(node, parms, ref layer); + layer -= 1000; + } + } }