jotunn 2.30 compatibility + minor bugs

This commit is contained in:
Ferdinando 2026-09-10 19:14:05 +02:00
commit ce671e7124
14 changed files with 107 additions and 49 deletions

View file

@ -195,14 +195,17 @@ namespace RacesOfValheim
public static readonly float SpineSizeSmall = 0.45f; // metres, state 5-6
public static readonly float SpineSizeFull = 0.80f; // metres, state 7+
/// <summary>
/// Which bone they ride. Spine3 and ONLY Spine3 - no fallback chain.
/// Which bone they ride. Spine2 and ONLY Spine2 - no fallback chain.
///
/// The earlier version tried Spine2, then Spine1, then Spine, on the theory that a missing
/// bone should degrade rather than disappear. On this rig all three exist, so the fallback
/// never fired for the right reason and only ever meant "somewhere on the back, roughly" -
/// which is not good enough for a crest that was positioned by eye. One bone, or nothing.
///
/// It was Spine3 until this was caught: the player rig counts Spine, Spine1 and Spine2 and has
/// no Spine3, so the crest never mounted anywhere and the only trace was a warning in the log.
/// </summary>
public const string SpineBoneName = "Spine3";
public const string SpineBoneName = "Spine2";
// Found in game with the crest on screen. A ribcage is authored lying around a body, so
// standing it up out of a back is a quarter turn on two axes - not something anybody was