RimWorld

RimWorld

Shashlichnik Animated Pawns Framework
16 Comments
Шашлычник ;р  [author] 27 Apr @ 10:26am 
@Mister, remove Defs from mod folder
Mister 25 Apr @ 1:34pm 
Any way to hide the button on the bottom bar?
Шашлычник ;р  [author] 14 Apr @ 3:17pm 
Ensure this mod is up to date. Try to re-sub
Mortagon 14 Apr @ 2:31pm 
Also "XML error: <playOneLine>false</playOneLine> doesn't correspond to any field in type PawnRenderNodeProperties_Animated. Context: <li Class="Shashlichnik.PawnRenderNodeProperties_Animated"><playOneLine>false</playOneLine><debugLabel>RightEar</debugLabel><texPath>Things/Animated/SlowlyMovingRight/1</texPath>Hair<parentTagDef>Head</parentTagDef><useSkinShader>true</useSkinShader><useRottenColor>true</useRottenColor><rotDrawMode>Fresh, Rotting</rotDrawMode><shaderTypeDef>CutoutComplex</shaderTypeDef><subworkerClasses><li>Shashlichnik.PawnRenderSubWorker_ExposableDrawData</li></subworkerClasses><drawData><scale>0.60</scale><defaultData><offset>(-0.051, 0, 0.20)</offset><flip>False</flip><layer>92</layer></defaultData><dataNorth><flip>True</flip><layer>61</layer>
Mortagon 14 Apr @ 2:31pm 
Hi, getting some new red errors: "Could not find a type named Shashlichnik.PawnRenderSubWorker_ExposableDrawData
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.ParseHelper:ParseType (string)
Verse.ParseHelper:FromString<System.Type> (string)
XmlExtensions.CustomXmlLoader:ObjectFromXml<System.Type> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ListFromXml<System.Type> (System.Xml.XmlNode,System.Xml.XmlNode,string)"
Шашлычник ;р  [author] 13 Apr @ 12:37pm 
New update is released!
Now you can change animations settings - select a pawn and click "S/F" in the bottom left corner.

Please, comment if you occured any new error.
Wraith 29 Sep, 2024 @ 10:41am 
One issue I ran into with my approach is that the tails continue to be rendered even if the part is destroyed. With HAR, the tail's body addon was tied to the tail's BodyPartDef, and if the tail was destroyed it was no longer rendered, but there doesn't seem to be any way of accomplishing this within a renderNodeProperties tag.
Wraith 29 Sep, 2024 @ 8:43am 
That might be premature for now since the 1.5 update of the HAR version hasn't been uploaded to Steam yet. I've been testing with the 1.5 branch of it on Github. Not sure if it makes sense to include patches for that yet
Шашлычник ;р  [author] 29 Sep, 2024 @ 7:16am 
Thanks for feedback.
I can publish Github pages there so you can create PR
Wraith 29 Sep, 2024 @ 7:04am 
I was able to get the animated tails rendering for the HAR version of Revia using your patches as an example. It wasn't too bad since the animation data was being added to the HedifDefs which the HAR version has. Just had to remove the tail body addon from the AlienRace def so that the static tails weren't also rendered. I'll have to do some playtesting though to see if everything is still working as intended.

The animated ears however seem like they'll be extra work to patch in, since the Biotech patches are adding the animation data to the GeneDef which the HAR version doesn't have.
RutraNickers 29 Sep, 2024 @ 4:14am 
Sorry for the typo, I meant Melee Animation. Anyways, it probably works together? That's great to hear. Thanks for the answer, mate!
Шашлычник ;р  [author] 28 Sep, 2024 @ 2:16pm 
Facial Animation - yes
Haven't tested combat animation or yayo's animations, but they should be fine
RutraNickers 28 Sep, 2024 @ 1:01pm 
does it work together with facial animations, combat animation and/or yayo's animations?
Шашлычник ;р  [author] 28 Sep, 2024 @ 10:38am 
@Wraith, I'll add patches for HAR-version in the tail and ears mods later.
Haven't used HAR since 1.3, but think it won't be hard
Wraith 28 Sep, 2024 @ 1:04am 
You mentioned in the Revia Tails/Ears mods that they would support the HAR version of Revia when it was updated to 1.5, but how would that work? Looking at the patches in those mods for the Biotech version of Revia, they seem to be expecting a renderNodeProperties field, but from what I've seen, HAR seems to render parts without the use of that field.

Can this framework actually be used with HAR races?
tanyfilina 27 Sep, 2024 @ 9:49am 
I hope someone will make animated tails, wings and ears from Biotech!