边缘世界 RimWorld

边缘世界 RimWorld

[NL] Facial Animation - WIP
Nals  [开发者] 2020 年 12 月 19 日 上午 9:09
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.
----------------------------------------------------------------------------
最后由 Nals 编辑于; 2020 年 12 月 19 日 上午 9:19
< >
正在显示第 1 - 8 条,共 8 条留言
MoJo 2021 年 1 月 29 日 下午 10:16 
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  [开发者] 2021 年 2 月 1 日 上午 3:11 
@Motionless-Jo-san
Thanks for your comments, yes you need to copy another one.
[Meyo]Frakura 2021 年 2 月 28 日 上午 1:21 
Where do I put the patch ? Thank you in advance.
VanillaSky 2021 年 4 月 27 日 上午 6:06 
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 2021 年 4 月 29 日 上午 5:24 
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 2021 年 4 月 29 日 上午 5:26 
引用自 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 2021 年 12 月 7 日 下午 9:44 
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 2022 年 5 月 9 日 上午 7:48 
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
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50