feat(trol): Legacy True Form switch, chosen per player
The Troll Model option becomes Legacy True Form, off by default. On, True Form is the old one: the player's own Trol grown bigger, weapons in hand, body untouched, which player model mods such as VRM need. It is a local preference, not a synced one, so a server cannot force the troll costume on a VRM user. The owner publishes the choice on the ZDO and every other client reads it from there, so onlookers see each Trol the way that Trol's owner picked.
This commit is contained in:
parent
a9e66aeeb7
commit
b2346c1437
4 changed files with 20 additions and 5 deletions
|
|
@ -40,6 +40,9 @@ namespace RacesOfValheim
|
|||
private static readonly string[] LocalKeyParts =
|
||||
{
|
||||
"marker light", "tint", "colour", "color", "glow", "swarm scale", "log rounds", "debug",
|
||||
// Each player picks their own True Form: a player model mod (VRM and the like) breaks
|
||||
// under the troll costume, so a server cannot be allowed to force the costume on.
|
||||
"legacy true form",
|
||||
};
|
||||
|
||||
public static void Apply(ConfigFile config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue