Jump to content

[mod] Rimworld-Animation Patch


Recommended Posts

Cool mod, like where this is going.

 

Seeing an issue that only occurs with this mod being active.

 

I'm using Speak Up along with Dirty Talk. When I add this mod into the mix, I will begin getting speakup related errors, here is an example:

 

[SpeakUp] Error processing extra rules: Object reference not set to an instance of an object
Initator: Faye, recipient: Khloe.
Last successful rule: INITIATOR_jobDefName → RJW_Masturbate
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
SpeakUp.ExtraGrammarUtility:ExtraRules ()
SpeakUp.GrammarResolver_Resolve:Prefix (string&,object,string,Verse.Grammar.GrammarRequest,string,bool,string,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) Verse.Grammar.GrammarResolver:Verse.Grammar.GrammarResolver.Resolve_Patch1 (string,Verse.Grammar.GrammarRequest,string,bool,string,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) Verse.PlayLogEntry_Interaction:Verse.PlayLogEntry_Interaction.ToGameStringFromPOV_Worker_Patch2 (Verse.PlayLogEntry_Interaction,Verse.Thing,bool)
Verse.LogEntry:ToGameStringFromPOV (Verse.Thing,bool)
RimWorld.InteractionCardUtility:DrawInteractionsLog (UnityEngine.Rect,Verse.Pawn,System.Collections.Generic.List`1<Verse.LogEntry>,int)
RimWorld.SocialCardUtility:DrawSocialCard (UnityEngine.Rect,Verse.Pawn)
RimWorld.ITab_Pawn_Social:FillTab ()
Verse.InspectTabBase/<>c__DisplayClass14_0:<DoTabGUI>b__0 ()
Verse.ImmediateWindow:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
 

----

 

Grammar unresolvable. Root 'r_logentry'

GRAMMAR RESOLUTION TRACE
     r_logentry → UNRESOLVABLE


BARE INCLUDES
  recipient → [RECIPIENT_nameDef]
  recipient → [recipient_love]
  recipient → [recipient_love]
  recipient → [recipient_love]
  recipient_love → honey
  recipient_love → honey pot
  recipient_love → love
  recipient_love → lovebug
  recipient_love → sweetie
  recipient_love → sweetheart
  recipient_love → babe
  recipient_love → cutiepie
  recipient_love → starshine
  recipient_love → angelwing
  recipient_love → gummybear
  recipient_love → darling
  recipient_love → dreamship
  recipient_love → amore
  recipient_love → amore mio
  recipient → [recipient_sibling]
  recipient_sibling → [recipient_brother]
  recipient_brother → brother
  recipient_sibling → [recipient_sister]
  recipient_sister → sister
  recipient → [recipient_parent]
  recipient_parent → [recipient_father]
  recipient_father → father
  recipient_father → dad
  recipient_parent → [recipient_mother]
  recipient_mother → mother
  recipient_mother → mum
  recipient → [recipient_child]
  recipient_child → my child
  recipient_child → dear
  recipient_child → [recipient_son]
  recipient_son → son
  recipient_son → my son
  recipient_child → [recipient_daughter]
  recipient_daughter → daughter
  recipient_daughter → my daughter
  recipient → [RECIPIENT_nameDef]
  wanna → would you like to
  wanna → would you like to
  wanna → want to
  wanna → wanna
  intensifier → 
  intensifier → so 
  intensifier → very 
  intensifier → really 
  intensifier → truly 
  intensifier → so [intensifier]
  intensifier → 
  intensifier → so 
  intensifier → very 
  intensifier → really 
  intensifier → so [intensifier]
  intensifier → 
  intensifier → most 
  intensifier → quite 
  intensifier → super 
  damned_intensifier → 
  damned_intensifier → damned 
  damned_intensifier → bloody 
  damned_intensifier → blasted 
  damned_intensifier → sodding 
  damned_intensifier → fucking 
  damned_intensifier → fucking [damned_intensifier]
  damned_intensifier → fucking 
  damned_intensifier → frigging 
  damned_intensifier → goddamned 
  damned_intensifier → fucking [damned_intensifier]
  r_logentry → [bad_opinion]
  bad_opinion → [good_opinion]
  bad_opinion → ...
  bad_opinion → [interjection_dismissive]...
  bad_opinion → What, [recipient]? *scowls*
  interjection_dismissive → Bah
  interjection_dismissive → Tsk
  interjection_dismissive → Ugh
  interjection_dismissive → Meh
  interjection_dismissive → Hmph
  interjection_dismissive → Humph
  r_logentry → [good_opinion]
  good_opinion → Yes, [recipient]?
  good_opinion → Yeah, [recipient]?
  good_opinion → Mhm?
  good_opinion → What is it, [recipient]?
  good_opinion → [interjection_neutral]...?
  good_opinion → [interjection_neutral]? What, [recipient]?
  good_opinion → [interjection_neutral]... What is it, [recipient]?
  interjection_neutral → Huh
  interjection_neutral → Mhm
  interjection_neutral → Mmm
  interjection_neutral → Er
  interjection_neutral → Eh[add_h][add_h]
  interjection_neutral → Uh[add_h][add_h]
  interjection_neutral → Um[add_m][add_m]
  interjection_neutral → Uhm[add_m][add_m]
  interjection_neutral → Ah[add_h][add_h]
  interjection_neutral → Oh[add_h][add_h]
  interjection_neutral → Hm[add_m][add_m]
  add_h → 
  add_h → h
  add_m → 
  add_m → m
CONSTANTS
INITIATOR_faction                      PlayerTribe
INITIATOR_formerlyColonist             True
INITIATOR_flesh                        Normal
INITIATOR_gender                       Female
RECIPIENT_faction                      PlayerTribe
RECIPIENT_formerlyColonist             True
RECIPIENT_flesh                        Normal
RECIPIENT_gender                       Female

CUSTOM RULES
■INITIATOR_nameFull → <color=#D09B61FF>Khloe Tra'Kari</color>
■INITIATOR_label → <color=#D09B61FF>Khloe</color>
■INITIATOR_definite → <color=#D09B61FF>Khloe</color>
■INITIATOR_nameDef → <color=#D09B61FF>Khloe</color>
■INITIATOR_indefinite → <color=#D09B61FF>Khloe</color>
■INITIATOR_nameIndef → <color=#D09B61FF>Khloe</color>
■INITIATOR_pronoun → she
■INITIATOR_possessive → her
■INITIATOR_objective → her
■INITIATOR_factionName → <color=#00BCD8FF>New Tribe</color>
■INITIATOR_kind → revia skullshatterer
■INITIATOR_title → Revian Reaver
■INITIATOR_titleIndef → a Revian Reaver
■INITIATOR_titleDef → the Revian Reaver
■INITIATOR_age → 18
■INITIATOR_chronologicalAge → 18
■formerlyColonistInfo → Khloe was formerly part of your faction.
■INITIATOR_relationInfo → \n\nKhloe has a relationship with a colonist. She is Faye's fiancée.
■INITIATOR_alienRace → Revia
■RECIPIENT_nameFull → <color=#D09B61FF>Faye Tra'Kari</color>
■RECIPIENT_label → <color=#D09B61FF>Faye</color>
■RECIPIENT_definite → <color=#D09B61FF>Faye</color>
■RECIPIENT_nameDef → <color=#D09B61FF>Faye</color>
■RECIPIENT_indefinite → <color=#D09B61FF>Faye</color>
■RECIPIENT_nameIndef → <color=#D09B61FF>Faye</color>
■RECIPIENT_pronoun → she
■RECIPIENT_possessive → her
■RECIPIENT_objective → her
■RECIPIENT_factionName → <color=#00BCD8FF>New Tribe</color>
■RECIPIENT_kind → member
■RECIPIENT_title → archer
■RECIPIENT_titleIndef → a archer
■RECIPIENT_titleDef → the archer
■RECIPIENT_age → 18
■RECIPIENT_chronologicalAge → 18
■formerlyColonistInfo → Faye was formerly part of your faction.
■RECIPIENT_relationInfo → \n\nFaye has a relationship with a colonist. She is Khloe's fiancée.
■RECIPIENT_alienRace → Human

UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.Log:ErrorOnce (string,int)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,bool&,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,bool&,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) Verse.Grammar.GrammarResolver:Verse.Grammar.GrammarResolver.Resolve_Patch1 (string,Verse.Grammar.GrammarRequest,string,bool,string,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) Verse.PlayLogEntry_Interaction:Verse.PlayLogEntry_Interaction.ToGameStringFromPOV_Worker_Patch2 (Verse.PlayLogEntry_Interaction,Verse.Thing,bool)
Verse.LogEntry:ToGameStringFromPOV (Verse.Thing,bool)
Bubbles.Core.Bubble:GetText ()
Bubbles.Core.Bubble:get_Text ()
Bubbles.Core.Bubble:ScaleDimensions (single)
Bubbles.Core.Bubble:Draw (UnityEngine.Vector2,bool,single)
Bubbles.Core.Bubbler:DrawBubble (Verse.Pawn,bool,single)
Bubbles.Core.Bubbler:Draw ()
Bubbles.Patch.RimWorld_MapInterface_MapInterfaceOnGUI_BeforeMainTabs:Postfix ()
(wrapper dynamic-method) RimWorld.MapInterface:RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch1 (RimWorld.MapInterface)
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch1 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)
 

Link to comment

Currently working on an update which expands upon how people react to encountering various sex acts with respect to their ideology. The first pass will probably be ready tomorrow, it's turning out to be more complex than I thought

 

Also I noticed that I left a test animation in the v 1.0.4 release by accident. If you see a weird threesome animation (you'll know if you see it), don't worry about. You can safely delete 'Animations_test.xml' if it bothers you 

 

 

Link to comment

So, it took a while to track it down, but this mod is very much breaking the rendering of all Alien Race `bodyAddons` in my game.  The layering issues were already mentioned, but it also applies to the scaling of bodies as well.  These body add-ons are used in the RJW Nude Patch to do its work, so it becomes quite a big problem once a bad interaction happens.

 

The problems are very subtle with vanilla humans, but any race that uses body sizes that are not exactly `1` will reveal scaling issues ...in that there is no scaling.  All add-on parts are rendered at the vanilla scale.  There may also be odd offset issues as well.

 

I suspect that whatever patches this thing is applying (and I can't know that because no public repository I could find) might be conflicting with other patches to the way Alien Races draws its add-on body parts.  I know that Babies & Children patches its `DrawAddons` method to add its own scaling logic that varies by life-stage, which might be where my particular conflict is arising.  It's the only mod I could find in my list that was doing a pretty invasive patch to that method.

 

Most other RJW mods that I was searching through have their own patches to that method completely commented out, like it was bad, bad mojo to ever try and patch it in the first place...  I get a strong feeling that you either don't want to touch that method or you need to do a far more nuanced patch to ensure its done in a generally compatible way.

Link to comment

I've noticed a strange issue start popping up since using this mod. I'm not sure exactly what causes it but the target of sex acts occasionally gets saved to a specific pawn. Regardless of who a particular pawn is interacting with the results of the act will always be with a specific pawn. A save and a reload will usually fix the issue. Just thought I'd mention it in case anyone else notices.

 

Once I have more solid information on what might cause the issue I'll post again.

 

Really love the direction this is going though.

Edited by Hawk32
Link to comment

I'd say it's quite likely. This patch is rather ambitious and touches a lot of code for pawn rendering. Likely an incompatibility with another mod which also touches pawn rendering (hats, hair and/or faces). Please check for error messages in the log, accessible through dev mode, and I can see about working on it 

Link to comment

I've uploaded v 1.0.5 which enforces the requirement to load Dubs Apparel Tweaks after this mod, as well as removes the test animation. I've also included an experimental preview for v 1.1.0, which expands on how pawns react to sex. This has proven to be a bit finicky to get working, so bug reports and reports on strange pawn behaviours are welcome

 

Experimental preview for v 1.1.0

  • Addition: The reactions of pawns to encountering sex is now more nuanced. A pawn's reaction will now depend on 1) the sex act witnessed and 2) their traits and ideology (the Sexperience Ideology mod is recommended for this but is not required). Pawns can now have specific opinions on
    • Rape
    • Beastiality
    • Necrophilia
    • Xenophilia
  • Specific reactions can be individually toggled on/off. Work on this feature is on going - at the moment, these acts will either treated as a vanilla sex act, as taboo, or as a major taboo. More tailored thoughts are planned to be added
  • Addition: Pawns can have extreme reactions to encountered sex acts. If a major taboo is witnessed the pawn will flee in horror, or may even start a fight the perpetrator! This feature can be toggled on/off
Link to comment

@garniu I was able to have pawns gain nutrition via fellatio with this mod enabled. Loading Licentia Labs before or after this mod didn't impact this 

 

@Rimworld Traveller I wasn't able to replicate that issue, the lovin' bonus is still being applied

 

@wruf, sorry, wasn't able to replicate this issue either! If it happens again, could you please post the full log file

Edited by AbstractConcept
Link to comment

Hello and thank you one more time for your work. In the 1.0.5 I get an error on Rimworld start:

 

Quote

[Rimworld-Animation Patch] Patch operation Verse.PatchOperationFindMod(RimNudeWorld) failed
file: C:\Program Files (x86)\GOG Galaxy\Games\RimWorld\Mods\rimworld-animations-patch-abscon\Patches\RimNudeWorld_AlienPartGenerator.xml
UnityEngine.StackTraceUtility:ExtractStackTrace ()

 

Full log: https://gist.github.com/HugsLibRecordKeeper/38d5b43ffd1d308b4eb9851c96da4e55

 

I'm not playing with any alien races, so I might be missing something that is being patched here (like RJW-Race Support)? I do obviously run RimNudeWorld, which is the current prerequisite for this patch.

Link to comment

Sparked me to take a look, im curious what this operation is for

                <li Class="PatchOperationReplace">
                    <xpath>Defs/ThingDef/alienRace/generalSettings/alienPartGenerator/bodyAddons/li/hediffGraphics/RJW_pregnancy/path</xpath>
                    <value>
                        <path>Genitals/FeaturelessCrotch</path>
                    </value>
                </li>

 

Is it for using a null graphic for first stage of preg? You might be using an old version of rimnude @AbstractConcept I finally added null graphics a few months ago, so this operation shouldnt be needed.

 

But yeah i cant see which one would be erroring here

Link to comment
15 hours ago, Tory187 said:

Sparked me to take a look, im curious what this operation is for

                <li Class="PatchOperationReplace">
                    <xpath>Defs/ThingDef/alienRace/generalSettings/alienPartGenerator/bodyAddons/li/hediffGraphics/RJW_pregnancy/path</xpath>
                    <value>
                        <path>Genitals/FeaturelessCrotch</path>
                    </value>
                </li>

 

Is it for using a null graphic for first stage of preg? You might be using an old version of rimnude @AbstractConcept I finally added null graphics a few months ago, so this operation shouldnt be needed.

 

But yeah i cant see which one would be erroring here

 

Yup, that's exactly what that was for. If it's been fixed, I'll remove it :)

 

I'll be busy the next two weeks or so, I'll review this when I can

Link to comment

I'd be interested to know how people are finding v 1.1.0. Is the overreaction of pawns to major taboos adding something, or is it just annoying? Do people want more individualized reactions rather than the generic 'saw taboo'?

 

I have other ideas to explore, more visual effects / animation related stuff, or I could continue working on expanding on the social aspect, depending on what people are interested in. Or there's the procedural voice patching. Or the possibility of going back to revisit the Animation Converter... let me know

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use