RimWorld

RimWorld

[NL] Facial Animation - WIP
Nals  [developer] 19 Dec, 2020 @ 9:09am
Replacing Specifed Face Part Images for Non-Human Races
This topic is a work in progress.
I'm not very good at English, so it will take me quite a while to finish writing this topic.

----------------------------------------------------------------------------
I have tried to developed new features to use special face parts for specified races.

If you want to try making diffrecent faces from my default faces, please read following topics. The feature is WIP, not tested so much.

In default, this mod includes about 150 face part images for human. I think it is too hard to replace all images for your races.

So you can replace only some images of them.


You have to write 2 patch files and 3 images at least.

1. Race_Patches.xml
This is needed adding comps to Pawn and working Facial Animation Mod.

2.**Type.xml (HeadType.xml or BrowType.xml or EyeType.xml or LidType.xml or MouthType.xml)
This is needed applying different images from Facial Animation Default images.

3. 3 Images
normal_south.png
normal_east.png
normal_north.png


----------------------------------------------------------------------------
- HeadType.xml -

<?xml version="1.0" encoding="utf-8" ?>

<Defs>
<FacialAnimation.HeadTypeDef>
<defName>AndroidHeadNormal</defName>
<texPath>Things/Pawn/Android/Heads_Blank/Normal</texPath>
<shader>Map/CutoutSkin</shader>
<raceName>ChjAndroid</raceName> // Specify Races
</FacialAnimation.HeadTypeDef>
</Defs>
// If you does not specify races to <raceName>, the shapeType is applied to all races in your game.
----------------------------------------------------------------------------
Last edited by Nals; 19 Dec, 2020 @ 9:19am
< >
Showing 1-8 of 8 comments
MoJo 29 Jan, 2021 @ 10:16pm 
You mention races in <raceName>
What would the format look like for multiple races that share the same part?
Do I need to make another copy of that Def?
Nals  [developer] 1 Feb, 2021 @ 3:11am 
@Motionless-Jo-san
Thanks for your comments, yes you need to copy another one.
[Meyo]Frakura 28 Feb, 2021 @ 1:21am 
Where do I put the patch ? Thank you in advance.
VanillaSky 27 Apr, 2021 @ 6:06am 
Thanks for your effort! I tried this with the Astoriel race but unfortunately it doesn't work. I tried very much, for example specified the gender, changed the location, the HeadType, ... I also was not sure whether the path of the images could be devided into "Female" and "Male".
Could you please write something about that?
VanillaSky 29 Apr, 2021 @ 5:24am 
I figured it out. It just would be nice if there would be a way to change the head shape for exampe with the Character Editor. Are you planning to implement that?
VanillaSky 29 Apr, 2021 @ 5:26am 
Originally posted by MeyoFrakura:
Where do I put the patch ? Thank you in advance.
It's a bit late but maybe it helps someone: You have to put it to your local mod location: ...\Steam\steamapps\common\RimWorld\Mods\
UyTheo 7 Dec, 2021 @ 9:44pm 
I know this may be a bit late in this form but, would it be possible for someone to create a video showing how to do this? I ask as I am a little confused by just reading this ^^;
ShauaPuta 9 May, 2022 @ 7:48am 
henlo
mind me asking
if a part has <raceName> specified, does that race have access to the other parts that do not use <raceName>? or will they only use the one specified?
thanks in advance
< >
Showing 1-8 of 8 comments
Per page: 1530 50