From 0cd09bc862c310ecbda36c4bbf2cea28cc09b79a Mon Sep 17 00:00:00 2001 From: kanym Date: Wed, 30 Sep 2026 13:49:44 +0200 Subject: [PATCH] fix(sverm): the dorsal spines are off by default until they are placed right On a body wearing armour the crest came out through the chest and shoulder pieces instead of standing off the back. A new "Enabled" entry under Sverm - Dorsal Spines, false by default, removes it at once; the placement settings are kept for when it comes back. --- JotunnModStub/Sverm/SvermConfigManagement.cs | 8 ++++++++ JotunnModStub/Sverm/SvermVisuals.cs | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/JotunnModStub/Sverm/SvermConfigManagement.cs b/JotunnModStub/Sverm/SvermConfigManagement.cs index 30ebfce..a2627f8 100644 --- a/JotunnModStub/Sverm/SvermConfigManagement.cs +++ b/JotunnModStub/Sverm/SvermConfigManagement.cs @@ -26,6 +26,7 @@ namespace RacesOfValheim // and there is nothing left to tune. // ─── Dorsal spines ─────────────────────────────────────────────────── + public static ConfigEntry SpinesEnabled; public static ConfigEntry SpineSizeSmall; public static ConfigEntry SpineSizeFull; public static ConfigEntry SpineBoneName; @@ -231,6 +232,12 @@ namespace RacesOfValheim "in game at 0.0625 after 1.0 blinded and 0.25 was still too bright. Above the bloom " + "threshold more brightness buys a bigger white area and less red, so tune downward."); + // Off by default until the crest is placed properly: on a body wearing armour it came out + // through the chest and shoulder pieces instead of standing off the back. + SpinesEnabled = config.Bind(spines, "Enabled", false, + "Shows the dorsal spines from Moder on. Off by default: the crest is not placed right " + + "yet and pokes out through armour. Turning it off removes it at once."); + SpineSizeSmall = config.Bind(spines, "Size Vestigial", SvermConfig.SpineSizeSmall, "How tall the dorsal spines stand, in metres, from Moder to the Queen."); @@ -352,6 +359,7 @@ namespace RacesOfValheim public static float RavagerYaw => RavagerYawDegrees?.Value ?? 0f; public static float RavagerAttackOffset => RavagerAttackOffsetValue?.Value ?? 1.5f; + public static bool Spines => SpinesEnabled?.Value ?? false; public static float SizeSmall => SpineSizeSmall?.Value ?? SvermConfig.SpineSizeSmall; public static float SizeFull => SpineSizeFull?.Value ?? SvermConfig.SpineSizeFull; /// diff --git a/JotunnModStub/Sverm/SvermVisuals.cs b/JotunnModStub/Sverm/SvermVisuals.cs index 5dd352c..f39e3ca 100644 --- a/JotunnModStub/Sverm/SvermVisuals.cs +++ b/JotunnModStub/Sverm/SvermVisuals.cs @@ -424,7 +424,7 @@ namespace RacesOfValheim // only the two numbers are live. int state = GetRenderState(player); float wanted = 0f; - if (IsSvermPlayer(player) && !player.IsDead() && SvermProgression.GetRules(state).SpineSize > 0f) + if (SvermConfigManagement.Spines && IsSvermPlayer(player) && !player.IsDead() && SvermProgression.GetRules(state).SpineSize > 0f) { wanted = state >= SvermConfig.FullWingspanState ? SvermConfigManagement.SizeFull