chore(release): v1.4.21 - dragon form multiplayer sync, Sverm Ravager networking, dorsal spine fix

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Ferdinando 2026-09-23 11:56:09 +02:00
commit e7325e4d25
12 changed files with 303 additions and 10 deletions

View file

@ -32,6 +32,7 @@ namespace RacesOfValheim
public static ConfigEntry<float> SpineRotationX;
public static ConfigEntry<float> SpineRotationY;
public static ConfigEntry<float> SpineRotationZ;
public static ConfigEntry<float> SpineOffsetY;
// ─── Emberform ───────────────────────────────────────────────────────
public static ConfigEntry<float> EmberGlowStrength;
@ -255,6 +256,17 @@ namespace RacesOfValheim
SpineRotationX = config.Bind(spines, "Rotation X", SvermConfig.SpineRotationX, "Pitch of the spines, in degrees.");
SpineRotationY = config.Bind(spines, "Rotation Y", SvermConfig.SpineRotationY, "Yaw of the spines, in degrees.");
SpineRotationZ = config.Bind(spines, "Rotation Z", SvermConfig.SpineRotationZ, "Roll of the spines, in degrees.");
// FOUND IN PLAY: at Size Full (0.8 m) the crest reached up past the shoulders and onto
// the head - ModelBorrow.Attach grounds a borrowed model's BOTTOM at the mount point and
// grows it from there, and Spine2's own local up axis runs toward the head, not out and
// away from the back. ApplySpines now centres the crest on the bone by default (half its
// height below the mount point, half above) instead of basing the whole thing there, which
// is a size-aware correction rather than a guess; this is purely an extra nudge on top of
// that, in metres along the same axis, for whatever an eye still wants adjusted.
SpineOffsetY = config.Bind(spines, "Offset Y", SvermConfig.SpineOffsetY,
"Extra nudge along the mount bone's own up axis, in metres, on top of the automatic " +
"centring. Positive moves the crest toward the head, negative toward the tail.");
}
// ─── Live reads ──────────────────────────────────────────────────────
@ -269,6 +281,8 @@ namespace RacesOfValheim
SpineRotationZ?.Value ?? SvermConfig.SpineRotationZ);
}
public static float SpineOffset => SpineOffsetY?.Value ?? SvermConfig.SpineOffsetY;
public static float EmberStrength => EmberGlowStrength?.Value ?? SvermConfig.EmberGlowStrength;
public static int Brood => CapBrood?.Value ?? SvermConfig.CapBrood;