feat(skeleton): wear Skeleton_Hildir from Moder, not the charred twitcher
Swaps the model the race takes at Moder. Hildir'''s skeleton is built on the same rig as the plain one, so the 0.85/1.20/0.85 squeeze goes with it - that existed only to make the charred twitcher'''s broader, shorter proportions read as a player, and the bone-by-name remapping the swap relies on now has an exact rig to match against rather than an approximate one. The compendium no longer claims the bones blacken, since they no longer do; the fire aura it describes is unchanged. An unresolved model id used to fail silently and invisibly - the human body is switched off before the replacement is built, so a bad name leaves a player with no mesh at all. It now warns once per name.
This commit is contained in:
parent
5ef7a102da
commit
f192f929f6
3 changed files with 31 additions and 10 deletions
|
|
@ -37,15 +37,15 @@ namespace RacesOfValheim
|
|||
public const string BaseModel = "Skeleton";
|
||||
public const string PoisonModel = "Skeleton_Poison";
|
||||
|
||||
// The published progression calls for a fire skeleton from Moder on, and the charred
|
||||
// twitcher is the only burnt skeleton the game ships. It used to arrive at Fader; if that
|
||||
// is preferred, move the model and its scale back to the state >= 8 block - nothing else
|
||||
// in this file depends on where they sit.
|
||||
public const string FireModel = "Charred_Twitcher";
|
||||
// The model worn from Moder on. It used to arrive at Fader; if that is preferred, move it
|
||||
// and its scale back to the state >= 8 block - nothing else in this file depends on where
|
||||
// they sit.
|
||||
public const string FireModel = "Skeleton_Hildir";
|
||||
|
||||
// The charred rig is broader and shorter than a plain skeleton, so it needs squeezing to
|
||||
// read as a player. Tied to the model, not to a tier.
|
||||
public static readonly UnityEngine.Vector3 FireModelScale = new UnityEngine.Vector3(0.85f, 1.20f, 0.85f);
|
||||
// Hildir's skeleton is built on the same rig as the plain one, so it needs no reshaping to
|
||||
// read as a player - unlike the charred twitcher this replaced, which is broader and
|
||||
// shorter and wore a 0.85/1.20/0.85 squeeze to compensate. Tied to the model, not a tier.
|
||||
public static readonly UnityEngine.Vector3 FireModelScale = UnityEngine.Vector3.one;
|
||||
|
||||
public const string SummonPrefabName = "Skeleton_friendly";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue