compatibility

This commit is contained in:
Platinum 2020-07-11 09:25:13 -07:00
parent 5d63725e9d
commit 94aca1c46b
5 changed files with 191 additions and 1 deletions

View file

@ -1146,5 +1146,139 @@
</animationStages> </animationStages>
</Rimworld_Animations.AnimationDef> </Rimworld_Animations.AnimationDef>
<!--<Rimworld_Animations.AnimationDef>
<defName>Horse_Cowgirl</defName>
<label>HorseCowgirl</label>
<sounds>true</sounds>
<sexTypes>
<li>Anal</li>
<li>Vaginal</li>
</sexTypes>
<actors>
<li>
<defNames>
<li>Human</li>
</defNames>
<isFucked>true</isFucked>
</li>
<li>
<defNames>
</defNames>
<bodyDefTypes>
<li>QuadrupedAnimalWithHooves</li>
</bodyDefTypes>
<isFucking>true</isFucking>
<initiator>true</initiator>
</li>
</actors>
<animationStages>
<li>
<stageName>Insertion</stageName>
<isLooping>true</isLooping>
<playTimeTicks>10000</playTimeTicks>
<stageIndex>0</stageIndex>
<animationClips>
<li Class="Rimworld_Animations.PawnAnimationClip">
<layer>LayingPawn</layer>
<keyframes>
<li>
<tickDuration>130</tickDuration>
<bodyAngle>-16.40062</bodyAngle>
<headAngle>-16.2338867</headAngle>
<genitalAngle>0</genitalAngle>
<bodyOffsetZ>0.624833643</bodyOffsetZ>
<bodyOffsetX>-0.126634032</bodyOffsetX>
<headBob>0</headBob>
<bodyFacing>3</bodyFacing>
<headFacing>3</headFacing>
<quiver>false</quiver>
</li>
<li>
<tickDuration>90</tickDuration>
<bodyAngle>-35.7262344</bodyAngle>
<headAngle>-22.72345</headAngle>
<genitalAngle>0</genitalAngle>
<bodyOffsetZ>0.430831432</bodyOffsetZ>
<bodyOffsetX>-0.0900175</bodyOffsetX>
<headBob>0</headBob>
<bodyFacing>3</bodyFacing>
<headFacing>3</headFacing>
<soundEffect>Slimy</soundEffect>
<quiver>false</quiver>
</li>
<li>
<tickDuration>1</tickDuration>
<bodyAngle>-31.4901123</bodyAngle>
<headAngle>-18.4873352</headAngle>
<genitalAngle>0</genitalAngle>
<bodyOffsetZ>0.4857379</bodyOffsetZ>
<bodyOffsetX>-0.159591332</bodyOffsetX>
<headBob>0</headBob>
<bodyFacing>3</bodyFacing>
<headFacing>3</headFacing>
<quiver>false</quiver>
</li>
</keyframes>
</li>
<li Class="Rimworld_Animations.PawnAnimationClip">
<keyframes>
<li>
<tickDuration>130</tickDuration>
<bodyAngle>-166.182343</bodyAngle>
<headAngle>0</headAngle>
<genitalAngle>0</genitalAngle>
<bodyOffsetZ>-0.267210543</bodyOffsetZ>
<bodyOffsetX>-0.245335519</bodyOffsetX>
<headBob>0</headBob>
<bodyFacing>1</bodyFacing>
<headFacing>0</headFacing>
<quiver>false</quiver>
</li>
<li>
<tickDuration>90</tickDuration>
<bodyAngle>-162.290558</bodyAngle>
<headAngle>0</headAngle>
<genitalAngle>0</genitalAngle>
<bodyOffsetZ>-0.270870954</bodyOffsetZ>
<bodyOffsetX>-0.238014042</bodyOffsetX>
<headBob>0</headBob>
<bodyFacing>1</bodyFacing>
<headFacing>0</headFacing>
<quiver>false</quiver>
</li>
<li>
<tickDuration>1</tickDuration>
<bodyAngle>-162.950531</bodyAngle>
<headAngle>0</headAngle>
<genitalAngle>0</genitalAngle>
<bodyOffsetZ>-0.270870984</bodyOffsetZ>
<bodyOffsetX>-0.256322116</bodyOffsetX>
<headBob>0</headBob>
<bodyFacing>1</bodyFacing>
<headFacing>0</headFacing>
<quiver>false</quiver>
</li>
</keyframes>
</li>
</animationClips>
</li>
</animationStages>
</Rimworld_Animations.AnimationDef>
-->
</Defs> </Defs>

View file

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!--
<Rimworld_Animations.AnimationDef>
<defName></defName>
<label></label>
<sounds>true</sounds>
<sexTypes>
<li>Anal</li>
<li>Vaginal</li>
</sexTypes>
<actors>
<li>
<defNames>
<li>Human</li>
</defNames>
<isFucked>true</isFucked>
</li>
<li>
<defNames>
</defNames>
<bodyDefTypes>
<li>QuadrupedAnimalWithHooves</li>
<li>QuadrupedAnimalWithPawsAndTail</li>
</bodyDefTypes>
<isFucking>true</isFucking>
<initiator>true</initiator>
</li>
</actors>
<animationStages>
<li>
<stageName></stageName>
<isLooping></isLooping>
<playTimeTicks></playTimeTicks>
<stageIndex>0</stageIndex>
<animationClips>
<li Class="Rimworld_Animations.PawnAnimationClip">
<layer>LayingPawn</layer>
<keyframes></keyframes>
</li>
<li Class="Rimworld_Animations.PawnAnimationClip">
<keyframes></keyframes>
</li>
</animationClips>
</li>
</animationStages>
</Rimworld_Animations.AnimationDef>
-->
</Defs>

View file

@ -167,7 +167,7 @@ namespace Rimworld_Animations {
//TESTING ANIMATIONS ONLY REMEMBER TO COMMENT OUT BEFORE PUSH //TESTING ANIMATIONS ONLY REMEMBER TO COMMENT OUT BEFORE PUSH
/* /*
if (x.defName != "Missionary") if (x.defName != "Horse_Cowgirl")
return false; return false;
*/ */

View file

@ -25,6 +25,8 @@ namespace Rimworld_Animations {
if (pawn.IsHashIntervalTick(__instance.ticks_between_thrusts)) { if (pawn.IsHashIntervalTick(__instance.ticks_between_thrusts)) {
__instance.ChangePsyfocus(pawn, pawn2);
__instance.Animate(pawn, pawn2); __instance.Animate(pawn, pawn2);
if (!AnimationSettings.soundOverride || !pawn.TryGetComp<CompBodyAnimator>().isAnimating) { if (!AnimationSettings.soundOverride || !pawn.TryGetComp<CompBodyAnimator>().isAnimating) {