Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Note: I have not tested it well, so, maybe, probably there are some bugs to use them.
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName="ChjAndroid"]</xpath>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName="ChjAndroid"]/comps</xpath>
<value>
<li>
<compClass>FacialAnimation.DrawFaceGraphicsComp</compClass>
</li>
<li>
<compClass>FacialAnimation.HeadControllerComp</compClass>
</li>
<li>
<compClass>FacialAnimation.EyeballControllerComp</compClass>
</li>
<li>
<compClass>FacialAnimation.LidControllerComp</compClass>
</li>
<li>
<compClass>FacialAnimation.BrowControllerComp</compClass>
</li>
<li>
<compClass>FacialAnimation.MouthControllerComp</compClass>
</li>
<!--<li>
<compClass>FacialAnimation.EmotionControllerComp</compClass>
</li>-->
<li>
<compClass>FacialAnimation.FacialAnimationControllerComp</compClass>
</li>
</value>
</li>
</operations>
</Operation>
</Patch>
I love the mod!
Seems like that patch is for Androids. It looks like a template though so I'm guessing you just need to change some keywords to apply it for Orassians and Dragonians.
With non-human heads like Forsaken or Avali if you patch this in it will replace the heads with human shaped ones, which while cute doesn't fit with those races.
To use you need to place an xml file with the template in the Patch folder of this mod (or create a new local mod folder) so that the game will load and apply it.
So, I've done what you've suggested, but the animations are still not showing up on my alien races. No errors in the console, but definitely no animations either. Humans have them, but Dragonians for example do not.
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName="DRNTF_Race"]/comps</xpath>
<success>Invert</success>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName="DRNTF_Race"]</xpath>
<value>
<comps />
</value>
</li>
</operations>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName="DRNTF_Race"]/comps</xpath>
<value>
<li>
<compClass>FacialAnimation.DrawFaceGraphicsComp</compClass>
</li>
<li>
<compClass>FacialAnimation.HeadControllerComp</compClass>
</li>
<li>
<compClass>FacialAnimation.EyeballControllerComp</compClass>
</li>
<li>
<compClass>FacialAnimation.LidControllerComp</compClass>
</li>
<li>
<compClass>FacialAnimation.BrowControllerComp</compClass>
</li>
<li>
<compClass>FacialAnimation.MouthControllerComp</compClass>
</li>
<!--<li>
<compClass>FacialAnimation.EmotionControllerComp</compClass>
</li>-->
<li>
<compClass>FacialAnimation.FacialAnimationControllerComp</compClass>
</li>
</value>
</Operation>
</Patch>
you planning to release the patches to the public? :)