fix-skeleton-bugs #13

Merged
kanym merged 11 commits from fix-skeleton-bugs into main 2026-08-05 18:39:16 +02:00
Showing only changes of commit f012c96911 - Show all commits

style(skeleton): put the head flame back to full size

Both halves of the dimming are reverted: scale to 1.8 and the torch light to half
range at 60% intensity. It was only turned down to get a clear look at the jaw
underneath, and the jaw is settled. The blaze is the point.
kanym 2026-08-05 18:09:04 +02:00

View file

@ -63,10 +63,10 @@ namespace RacesOfValheim
// Above the head bone's own origin, which sits at the base of the skull. // Above the head bone's own origin, which sits at the base of the skull.
private const float HeadFlameHeight = 0.18f; private const float HeadFlameHeight = 0.18f;
// Torch flames are authored for a fist-sized fire on a stick. 1.8 turned the head into a // Torch flames are authored for a fist-sized fire on a stick, so the skull wears a big
// white-hot bloom that washed out the whole screen - and, more to the point, hid the skull // multiple of one. This was briefly dropped to 1.1 to get a clear look at the jaw
// underneath it. This is the knob to turn if it still burns too bright or too small. // underneath; the blaze is the point, so it is back where it was.
private const float HeadFlameScale = 1.1f; private const float HeadFlameScale = 1.8f;
// Fire sources in preference order. The torch is an item every world has; the ground // Fire sources in preference order. The torch is an item every world has; the ground
// torch and the fire pit are the building pieces to fall back on. // torch and the fire pit are the building pieces to fall back on.
@ -490,8 +490,8 @@ namespace RacesOfValheim
// blows out the whole face. Keep the glow, lose the floodlight. // blows out the whole face. Keep the glow, lose the floodlight.
foreach (Light light in headFlameVFX.GetComponentsInChildren<Light>(true)) foreach (Light light in headFlameVFX.GetComponentsInChildren<Light>(true))
{ {
light.range *= 0.35f; light.range *= 0.5f;
light.intensity *= 0.4f; light.intensity *= 0.6f;
} }
// Anything that made the source a torch rather than a fire. // Anything that made the source a torch rather than a fire.