Hediff Animation - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

<- Back

HediffComp_Animation is a comp class that can be applied to a hediff so it makes the animal move with an animation, such as shamblers in Anomaly do

        public AnimationDef animation;
        public bool shamblerParticles = false;

How do I use this code?

It is a comp class, so you just add it in XML in the <comps> tag of the hediff you want to have this behaviour.

<comps>
	<li Class="VEF.AnimalBehaviours.HediffCompProperties_Animation">
		<animation>ShamblerSway</animation>
	</li>
</comps>
⚠️ **GitHub.com Fallback** ⚠️