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

@ -62,10 +62,11 @@ namespace RacesOfValheim
Transform jaw = ResolveJaw();
if (jaw == null || jaw.parent == null) return;
if (!SkeletonVisuals.IsSkeletonPlayer(m_player))
if (!SkeletonVisuals.ShowsSkeletonBody(m_player))
{
// Nothing rewrites this bone on its own, so a player who stops being a Skeleton
// would otherwise keep wearing the correction on their human face.
// (or switches the skeleton body off) would otherwise keep wearing the correction
// on their human face.
if (m_applied)
{
jaw.localPosition = m_baseLocalPosition;