feat(skeleton): dark aura while Summon on Kill is on, archaic toggle messages

Beside the Raise the Dead icon, a faint near-black smoke now rises off
the whole body while Summon on Kill is on: the Draugr's looping smoke,
borrowed like the Draugh aura, emitted from a body-sized box in world
space. The owner writes the switch to the ZDO, so other players see
it. "Raise the Dead Icon" and "Raise the Dead Aura" under Skeleton -
Visuals let each player keep either or both, for a community vote.

The toggle now says "Thy dead shall rise again." / "Raising...
nevermore.", in English, Italian and Russian.
This commit is contained in:
kanym 2026-10-24 15:38:42 +02:00
commit 98b1a1b5f3
7 changed files with 143 additions and 8 deletions

View file

@ -46,6 +46,8 @@ namespace RacesOfValheim
// ─── Visuals ───────────────────────────────────────────────────────────
public static ConfigEntry<bool> HeadFireVFXEnabled;
public static ConfigEntry<bool> BodyModelEnabled;
public static ConfigEntry<bool> RaiseDeadIcon;
public static ConfigEntry<bool> RaiseDeadAura;
public static void Bind(ConfigFile config)
{
@ -72,7 +74,7 @@ namespace RacesOfValheim
// G is the first ability key of every race that has one; the Skeleton had none.
const string keybinds = "Skeleton - Keybinds";
SummonToggleKey = config.Bind(keybinds, "Toggle Summon on Kill", new KeyboardShortcut(KeyCode.G),
"Turns raising a skeleton from each kill on and off (The Queen and later). The Dead Raiser icon shows while it is on.");
"Turns raising a skeleton from each kill on and off (The Queen and later). While it is on, the Raise the Dead icon and a faint dark aura show it (see Skeleton - Visuals).");
const string resurrection = "Skeleton - Resurrection";
ResurrectionCooldown = config.Bind(resurrection, "Cooldown", 300f,
@ -83,6 +85,10 @@ namespace RacesOfValheim
new ConfigDescription("Whether the burning-skull effect (worn from tier 5+) renders at all. A client-side preference: disabling it stops you from seeing it on yourself and on every other skeleton you look at, but does not change what other players see."));
BodyModelEnabled = config.Bind(visuals, "Body Model Enabled", true,
new ConfigDescription("Whether Skeleton players wear the skeleton body. Turn it off if you use a player model mod (EnhancedValheimVRM and the like): Skeletons then keep the vanilla viking body, so the replacement model shows without bones clipping through it. Abilities are unchanged. Client-side, like the option above: it applies to every Skeleton you see, yourself included, and changes nothing for other players."));
RaiseDeadIcon = config.Bind(visuals, "Raise the Dead Icon", true,
new ConfigDescription("Shows the Raise the Dead status icon while your Summon on Kill is on."));
RaiseDeadAura = config.Bind(visuals, "Raise the Dead Aura", true,
new ConfigDescription("A faint dark smoke rises off a Skeleton whose Summon on Kill is on. Client-side: turning it off hides it on yourself and on every other Skeleton you see."));
}
}
}