fix(sverm): the Ravager stands still to attack and its slam digs

The hidden player kept walking under the costume, so every swing slid
toward whatever WASD held. A SetControls prefix holds it still while an
attack runs, as Fenrir and the True Form troll do. The middle-click slam
now digs a crater on bare terrain (digg_v3), never inside a ward without
access, behind a new Ground Slam Crater option.
This commit is contained in:
kanym 2026-10-17 19:51:33 +02:00
commit 1c2da77603
2 changed files with 64 additions and 5 deletions

View file

@ -45,6 +45,7 @@ namespace RacesOfValheim
public static ConfigEntry<float> RavagerScaleMultiplier;
public static ConfigEntry<float> RavagerYawDegrees;
public static ConfigEntry<float> RavagerAttackOffsetValue;
public static ConfigEntry<bool> RavagerSlamCraterValue;
// ─── Colony caps ─────────────────────────────────────────────────────
// Every ceiling on how many things the colony can have alive at once, in one section, so
@ -226,6 +227,10 @@ namespace RacesOfValheim
"Raise it if a swing visibly connects short of the model's mouth/claws; lower it " +
"if it connects well past them.");
RavagerSlamCraterValue = config.Bind(ravager, "Ground Slam Crater", true,
"The middle-click slam digs into the ground where it lands, like a pickaxe blow. " +
"Never inside a ward you have no access to.");
EmberGlowStrength = config.Bind(ember, "Glow Strength", SvermConfig.EmberGlowStrength,
"How hot the chitin burns at Fader. This multiplies an HDR colour and it is applied " +
"to the chest, the legs and the helmet at once, so it goes a very long way. Settled " +
@ -358,6 +363,7 @@ namespace RacesOfValheim
public static float RavagerScale => RavagerScaleMultiplier?.Value ?? 1f;
public static float RavagerYaw => RavagerYawDegrees?.Value ?? 0f;
public static float RavagerAttackOffset => RavagerAttackOffsetValue?.Value ?? 1.5f;
public static bool RavagerSlamCrater => RavagerSlamCraterValue?.Value ?? true;
public static bool Spines => SpinesEnabled?.Value ?? false;
public static float SizeSmall => SpineSizeSmall?.Value ?? SvermConfig.SpineSizeSmall;