chore(release): v1.5.10 - Skeleton body switch for player model mods

New client-side option Skeleton - Visuals -> Body Model Enabled. Off,
a Skeleton takes the human branch of the VisEquipment postfix: vanilla
body on, no bone meshes, eye glow, jaw correction or skull flame, and
the helmet is left alone. Requested by players using EnhancedValheimVRM,
where the bones floated around the replacement model.

README: New in block for v1.5.10, changelog entry (also the Russian
fixes since 1.5.9), and a line under the Skeleton features.
This commit is contained in:
kanym 2026-10-13 20:00:03 +02:00
commit bb1ca57924
10 changed files with 43 additions and 15 deletions

View file

@ -49,6 +49,16 @@ namespace RacesOfValheim
public static bool IsSkeletonPlayer(Player player) => GetPlayerRace(player) == RaceId;
/// <summary>
/// Whether this client draws the skeleton's bones on this player. False for every
/// non-Skeleton, and for every Skeleton when "Body Model Enabled" is off: model-replacement
/// mods (EnhancedValheimVRM and the like) hide the vanilla body and draw their own, so the
/// borrowed bones ended up floating around the replacement model. With the option off the
/// Skeleton keeps every ability and only looks like a plain viking.
/// </summary>
public static bool ShowsSkeletonBody(Player player) =>
SkeletonConfig.BodyModelEnabled.Value && IsSkeletonPlayer(player);
/// <summary>
/// Fully hides (or restores) one equipped item instance - a helmet, typically.
///