边缘世界 RimWorld

边缘世界 RimWorld

[NL] Facial Animation - WIP
shipsail 2019 年 2 月 14 日 上午 2:11
Can you insert this code for CnP & BnC?
private static bool MyRenderPawnInternal(Vector3 rootLoc, float angle, bool renderBody, Rot4 bodyFacing, Rot4 headFacing, RotDrawMode bodyDrawType, bool portrait, bool headStump, ref PawnRenderer __instance, ref Pawn ___pawn, ref PawnWoundDrawer ___woundOverlays, ref PawnHeadOverlays ___statusOverlays)
{


// if pawn is child return to origin (for CnP & BnC)
if (___pawn.ageTracker.CurLifeStageIndex < 3) return true;
//


DrawFaceGraphicsComp comp = ___pawn.GetComp<DrawFaceGraphicsComp>();
if (comp != null )
{
comp.DrawGraphics(rootLoc, angle, renderBody, bodyFacing, headFacing, bodyDrawType, portrait, headStump, ref __instance, ref ___pawn, ref ___woundOverlays, ref ___statusOverlays);
return false;
}
return true;
}
最后由 shipsail 编辑于; 2019 年 2 月 14 日 上午 2:13
< >
正在显示第 1 - 3 条,共 3 条留言
Nals  [开发者] 2019 年 2 月 14 日 上午 3:24 
Thank you for your suggestion! I'll check your codes and mods with my mod for compatibility.
LimeTreeSnake 2019 年 3 月 12 日 上午 8:50 
I'd love for such as well, it's a tad weird having babies with 2 heads. :D
Shinuxen 2020 年 8 月 28 日 上午 12:41 
引用自 Nals
Thank you for your suggestion! I'll check your codes and mods with my mod for compatibility.

Hello, there is a incompability with babies and children and also children school and learning. Pawns faces are changed to the old point eyes unless they reach maturity (18 years). Are you considering to make the children use Facial animation? It would be a nice touch and would not break "inmersion", thanks for you atention.
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50